/* ===== RESET & ROOT ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0b0c0f;
    --card-bg: #16171c;
    --card-border: rgba(255, 255, 255, 0.06);
    --accent: #f7931a;
    --accent-light: #ffb84d;
    --accent-grad: linear-gradient(90deg, #f7931a 0%, #ffc107 100%);
    --text: #ffffff;
    --muted: #8a8d9a;
    --prog-bg: #2a2a34;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    line-height: 1.5;
}

/* ===== NAVBAR ===== */
.navbar {
    width: 100%;
    padding: 12px 24px;
}

.nav-inner {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(22, 23, 28, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 14px 28px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.nav-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent);
}

.icon-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* === Hamburger Button === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === Mobile Menu Drawer === */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    max-width: 1050px;
    margin: 8px auto 0;
    background: rgba(22, 23, 28, 0.97);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 12px 20px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.mobile-menu.open {
    display: flex;
    max-height: 400px;
    opacity: 1;
}

.mobile-item {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s;
}

.mobile-item:last-child {
    border-bottom: none;
}

.mobile-item:hover,
.mobile-item.active {
    color: var(--accent);
}

/* ===== HERO SECTION ===== */
.hero-section {
    width: 100%;
    background-image: url('assets/bitcoin.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 64px;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    background: linear-gradient(160deg, #ffc107 0%, #d07000 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.4;
}

.hero-desc {
    font-size: 15px;
    color: white;
    margin-bottom: 56px;
    line-height: 1.7;
}

.hero-stats {
    width: 100%;
}

.day-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.day-label strong {
    color: var(--text);
}

.sats-count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 22px;
}

.sats-num {
    font-size: 46px;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: -1px;
}

.sats-unit {
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
}

/* ===== PROGRESS BAR ===== */
.prog-bar-wrap {
    width: 100%;
    margin-bottom: 8px;
}

.prog-bar {
    width: 100%;
    height: 16px;
    background: var(--prog-bg);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.prog-fill {
    height: 100%;
    background: var(--accent-grad);
    border-radius: 10px;
    position: relative;
}

.prog-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), transparent);
    border-radius: 10px;
}

.prog-pct {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 800;
    color: #000;
    z-index: 2;
    pointer-events: none;
}

.prog-label {
    font-size: 18px;
    color: white;
}

.prog-label strong {
    color: var(--text);
    font-weight: 600;
}

.prog-label.inline {
    align-self: center;
}

/* ===== PAGE BOX (all cards) ===== */
.page-box {
    max-width: 1050px;
    margin: 56px auto 0;
    padding: 0 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===== CARDS ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
}

.card-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.big-number {
    font-size: 44px;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.big-number.sm {
    font-size: 34px;
    margin-bottom: 0;
}

.big-number .accent {
    color: var(--accent-light);
}

.big-number .unit-white {
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
}

/* === MAIN CARD === */
.main-card {
    display: block;
    background-image: url('assets/badge.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    background-color: #151317;
}

.main-card-left {
    max-width: 560px;
}

/* Buttons */
.btn-row {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn-gold {
    padding: 13px 22px;
    border-radius: 8px;
    border: none;
    background: var(--accent-grad);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(247, 147, 26, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-gold:active {
    transform: none;
}

/* === MILESTONE CARD === */
.milestone-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.mile-left {
    flex: 1;
}

.mile-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 14px;
}

.mile-right {
    min-width: 240px;
    text-align: right;
}

.mile-right .card-label {
    text-align: right;
}

/* === STAT ROW === */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.stat-val {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.stat-val.accent {
    color: white;

}

.stat-lbl {
    font-size: 16px;
    color: white;
    font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0d0e12;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.3px;
}

/* ===== TABLET (max 900px) ===== */
@media (max-width: 900px) {
    .milestone-card {
        flex-direction: column;
        gap: 24px;
    }

    .mile-right {
        text-align: left;
    }

    .mile-right .card-label {
        text-align: left;
    }

    .mile-row {
        flex-wrap: wrap;
    }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {

    /* -- Navbar -- */
    .navbar {
        padding: 10px 16px;
    }

    .nav-inner {
        padding: 12px 16px;
        gap: 12px;
        border-radius: 12px;
    }

    .nav-logo {
        height: 48px;
    }

    .nav-links {
        display: none;
        /* hidden; use mobile-menu instead */
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        max-height: 0;
        opacity: 0;
        padding: 0 20px;
    }

    .mobile-menu.open {
        max-height: 400px;
        opacity: 1;
        padding: 12px 20px;
    }

    /* -- Hero -- */
    .hero-section {
        background-size: cover;
        background-position: center;
        min-height: auto;
        padding: 0;
    }

    /* Dark overlay so text stays readable over the bg image */
    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(11, 12, 15, 0.65);
        pointer-events: none;
        z-index: 0;
    }

    .hero-section {
        position: relative;
    }

    .hero-inner {
        position: relative;
        z-index: 1;
        padding: 48px 20px;
        justify-content: center;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 38px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .day-label {
        font-size: 13px;
        letter-spacing: 0.8px;
        margin-bottom: 8px;
    }

    .sats-num {
        font-size: 36px;
    }

    .sats-unit {
        font-size: 16px;
    }

    .sats-count {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 16px;
    }

    /* -- Page box / cards -- */
    .page-box {
        padding: 0 16px 40px;
        gap: 20px;
        margin-top: 32px;
    }

    .card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    /* -- Main card (badge bg) -- */
    .main-card {
        background-size: 55%;
        background-position: right -10px bottom -10px;
        min-height: 320px;
    }

    .main-card-left {
        max-width: 100%;
    }

    .big-number {
        font-size: 32px;
        margin-bottom: 14px;
    }

    .btn-row {
        flex-direction: column;
        gap: 10px;
    }

    .btn-gold {
        width: 100%;
        text-align: center;
        padding: 13px 16px;
    }

    /* -- Milestone card -- */
    .milestone-card {
        flex-direction: column;
        gap: 20px;
    }

    .mile-right {
        text-align: left;
    }

    .mile-right .card-label {
        text-align: left;
    }

    .big-number.sm {
        font-size: 28px;
    }

    .mile-row {
        flex-direction: column;
        gap: 4px;
    }

    /* -- Stat row -- */
    .stat-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-val {
        font-size: 22px;
    }

    /* -- Footer -- */
    .footer-links {
        gap: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }
}