:root {
    --site-bg: #06040d;
    --container-bg: #0d0a1a;
    --card-inner: #130e2b;
    --neon-blue: #00f0ff;
    --neon-purple: #9d00ff;
    --neon-orange: #ff9900;
    --text-white: #ffffff;
    --text-dim: #7b749c;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--site-bg);
    color: var(--text-white);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

.viewport-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: radial-gradient(circle at top right, #11092c, var(--site-bg) 60%);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(6, 4, 13, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.left-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-btn {
    background: #141122;
    border: 1px solid #25203e;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--text-white);
}

.brand-logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.top-connect-action {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-header-nav {
    display: flex;
    gap: 20px;
}

.top-header-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.top-header-nav a:hover {
    color: var(--neon-orange);
}

.wallet-trigger-btn {
    background: var(--neon-orange);
    border: none;
    padding: 12px 26px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    transition: 0.2s;
}

.wallet-trigger-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.main-dashboard-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
    align-items: center;
}

.app-page {
    display: none;
    width: 100%;
}

.app-page.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-info-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--neon-blue);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.live-status-pill .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-blue);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% { opacity: 0.4; }
}

.project-headline {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.project-subtext {
    font-size: 16px;
    color: var(--text-dim);
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.timer-row-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.timer-unit-card {
    background: #0d0a1a;
    border: 1px solid #1c1733;
    border-radius: 10px;
    min-width: 75px;
    padding: 12px;
    text-align: center;
}

.timer-unit-card .num {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
}

.timer-unit-card .lbl {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-top: 2px;
}

.verification-badges-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1a1630;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #a49ebd;
}

.contract-info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background: rgba(19, 14, 43, 0.85);
    border: 1px solid #231d42;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 12px;
}

.contract-lbl {
    color: var(--text-dim);
    font-weight: 700;
}

.contract-info-bar code {
    color: var(--neon-blue);
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
}

.mini-action-btn {
    background: #1c1638;
    border: 1px solid #30275c;
    color: var(--text-white);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.mini-action-btn:hover {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
}

.mini-action-btn.add-token-btn {
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--neon-blue);
}
.purchase-dashboard-panel {
    background-color: var(--container-bg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.panel-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.panel-subtitle {
    font-size: 13px;
    color: var(--text-dim);
    margin: 0 0 25px 0;
}

.rate-banner-box {
    background: rgba(0, 240, 255, 0.04);
    border: 1px dashed rgba(0, 240, 255, 0.25);
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    color: var(--neon-blue);
    font-size: 15px;
    margin-bottom: 20px;
}

.pricing-tier-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.matrix-box {
    background: var(--card-inner);
    border: 1px solid #20193d;
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
    transition: 0.3s;
}

.matrix-box.highlighted {
    border-color: var(--neon-orange);
    background: rgba(255, 153, 0, 0.04);
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.15);
}

.matrix-box.listing-box {
    border: 1px solid rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.02);
}

.matrix-box .tag {
    font-size: 10px;
    color: var(--text-dim);
    font-weight: 700;
    display: block;
}

.matrix-box .amt {
    font-size: 15px;
    font-weight: bold;
    margin-top: 4px;
    display: block;
    color: var(--text-white);
}

.input-label {
    font-size: 13px;
    color: #a49ebd;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.form-input-control {
    width: 100%;
    padding: 14px;
    background: #070512;
    border: 1px solid #231d42;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 20px;
    transition: 0.2s;
}

.form-input-control:focus {
    outline: none;
    border-color: var(--neon-blue);
}

.action-execution-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, #963eff, #bd00ff);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(189, 0, 255, 0.3);
    transition: 0.2s;
}

.action-execution-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.action-execution-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

/* SIDEBAR DRAWER STYLING */
.drawer-sidebar-navigation {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    background-color: #0b0914;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 30px;
    border-right: 1px solid #1a1530;
}

.drawer-header-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px 25px 25px;
    border-bottom: 1px solid #161228;
    margin-bottom: 20px;
}

.drawer-close-trigger {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dim);
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #4b446c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px 25px 5px 25px;
}

.drawer-sidebar-navigation a {
    padding: 12px 25px;
    text-decoration: none;
    font-size: 15px;
    color: #9891ba;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
}

.drawer-sidebar-navigation a:hover,
.drawer-sidebar-navigation a.active-link {
    color: var(--neon-orange);
    background: rgba(255, 153, 0, 0.04);
}

.badge-soon {
    background: #2a1b10;
    color: var(--neon-orange);
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: auto;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
}

/* BACKPAGES ARCHITECTURE FOR AIRDROP / LIVE LEDGER */
.subpage-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: var(--container-bg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    text-align: center;
}

.subpage-headline {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.subpage-subtext {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 30px;
}

.subpage-search-bar {
    display: flex;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.subpage-search-bar input {
    flex: 1;
    padding: 14px;
    background: #070512;
    border: 1px solid #231d42;
    border-radius: 8px;
    color: white;
    font-size: 15px;
}

.subpage-action-btn {
    padding: 14px 28px;
    background: var(--neon-orange);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.subpage-action-btn:hover {
    filter: brightness(1.1);
}

.dist-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.dist-card {
    background: var(--container-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dist-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.dist-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-blue);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--container-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.leaderboard-table th {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-dim);
    font-weight: 600;
    border-bottom: 1px solid #1c1733;
}

.leaderboard-table td {
    padding: 16px;
    border-bottom: 1px solid #1c1733;
    color: var(--text-white);
}

@media (max-width: 1024px) {
    .main-dashboard-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 40px;
    }
    header {
        padding: 18px 20px;
    }
    .top-header-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .project-headline {
        font-size: 34px;
    }
    .pricing-tier-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
    .timer-unit-card {
        min-width: 60px;
        padding: 10px 6px;
    }
    .subpage-search-bar {
        flex-direction: column;
    }
    .dist-summary-grid {
        grid-template-columns: 1fr;
    }
}