:root {
    /* Light mode defaults */
    --bg: #ffffff;
    --text: #1a1a1a;
    --text-muted: #666666;
    --card-bg: #f8f9fa;
    --header-bg: linear-gradient(135deg, #f1f1f1, #e5e5e5);
    --border: #e5e5e5;
    --hover: #f1f1f1;
    --emerald: #10b981;
    --gold: #fbbf24;
}

body.dark-mode {
    --bg: #0a0a0a;
    --text: #f1f1f1;
    --text-muted: #a3a3a3;
    --card-bg: #111113;
    --header-bg: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    --border: #222;
    --hover: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ==================== HEADER ==================== */
header {
    background: var(--header-bg);
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--emerald);

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--emerald);
    transition: transform 0.3s ease;

    &:hover {
        transform: rotate(30deg);
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--emerald);
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(16, 185, 129, 0.08), transparent);

    h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        color: var(--gold);
    }
}

/* ==================== TOKENOMICS ==================== */
.tokenomics-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;

    h2 {
        text-align: center;
        margin-bottom: 3rem;
        color: var(--emerald);
        font-size: 2.5rem;
    }
}

.table-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 60px;
    overflow-x: auto;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;

    th,
    td {
        padding: 16px;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    th {
        color: var(--emerald);
        font-weight: 500;
    }

    tr:hover {
        background: var(--hover);
    }
}

.pie-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

/* ==================== FOOTER ==================== */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.1rem;
    }

    header {
        padding: 1rem 5%;
    }

    .tokenomics-section {
        padding: 60px 5%;
    }

    .table-container {
        padding: 20px;
    }

    th,
    td {
        padding: 12px 8px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 15px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}