/* ===== CSS VARIABLES & ROOT ===== */
:root {
    --color-dark: #0a0020;
    --color-darker: #050010;
    --color-purple: #8b5cf6;
    --color-cyan: #06b6d4;
    --color-pink: #ec4899;
    --color-text: #ffffff;
    --color-text-secondary: #b0b0c0;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-darker) 0%, #1a0040 50%, #0a0020 100%);
    color: var(--color-text);
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Starfield Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    /* animation: drift 20s infinite linear; */
    pointer-events: none;
    z-index: 1;
}

@keyframes drift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 50px);
    }
}

/* ===== PARENT CONTAINER ===== */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER / NAVIGATION ===== */
header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

header>.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav>a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    position: relative;
}

nav>a:hover {
    color: var(--color-cyan);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.btn-connect {
    padding: 10px 20px;
    border: 2px solid var(--color-cyan);
    background: transparent;
    color: var(--color-cyan);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.btn-connect:hover {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero>h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.hero>p {
    font-size: 20px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.hero>.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: 2px solid;
    background: transparent;
    cursor: pointer;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    border-color: var(--color-purple);
    color: var(--color-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
}

.btn-secondary {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.8);
}

.btn>span {
    margin-right: 8px;
}

.hero>.subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.hero .btn-group a {
    text-decoration: none !important;
}

/* ===== FEATURED WALLS SECTION ===== */
.section {
    padding: 80px 20px;
    position: relative;
}

.section>h2 {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--color-text);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
} */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 30px;
    margin-bottom: 50px;
    justify-content: start;
    /* prevents stretching */
}

.card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 2px solid var(--color-purple);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--color-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

.card>.card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(45deg, #1a004d, #0a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 5px;
}

.card>.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card>.card-content {
    padding: 20px;
}

.card-content>h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.card-content>.stat {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.card-content>.stat>.percentage {
    color: var(--color-cyan);
}

.card-content>.stat>.blocks {
    color: var(--color-purple);
}

.card>.btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
}

/* ===== TWO COLUMN SECTION ===== */
.section-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-two-col>div>h3 {
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-two-col>div>h3>span {
    color: var(--color-purple);
}

.trending-item {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
}

.trending-item:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.trending-item>.icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4d2600, #3d6600);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.trending-item>.content>h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.trending-item>.content>p {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.steps-container {
    display: grid;
    gap: 35px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step>.step-number {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-cyan) 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step>.step-content>h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step>.step-content>p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 80px 20px;
}

.stats-section>h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 2px solid var(--color-purple);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.stat-card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

.stat-card>.number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-cyan);
}

.stat-card>.label {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--color-text-secondary);
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero>h1 {
        font-size: 32px;
    }

    .hero>p {
        font-size: 16px;
    }

    .hero>.btn-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    nav {
        gap: 20px;
    }

    nav>a {
        font-size: 12px;
    }

    .section-two-col {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .section>h2 {
        font-size: 24px;
    }
}