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

:root {
    --bg: #ffffff;
    --fg: #E8641E;
    --fg-light: #FF7A33;
    --fg-dark: #C8520E;
    --accent: #E8641E;
    --accent-dim: #D45A18;
    --muted: rgba(0, 0, 0, 0.5);
    --border: rgba(232, 100, 30, 0.2);
    --glow-orange: rgba(232, 100, 30, 0.3);
    --card-bg: rgba(232, 100, 30, 0.04);
    --card-border: rgba(232, 100, 30, 0.18);
}

body {
    background: #ffffff;
    color: var(--fg);
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ─── Subtle dot grid overlay ─── */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(232, 100, 30, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 999;
}

/* ─── Tech Grid Background (disabled) ─── */
.tech-grid {
    display: none;
}

/* ─── Floating Background Sprites ─── */
.floaters {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floater {
    position: absolute;
    bottom: -100px;
    image-rendering: pixelated;
    mix-blend-mode: multiply;
    will-change: transform;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30vh) translateX(15px);
    }
    50% {
        transform: translateY(-60vh) translateX(-10px);
    }
    75% {
        transform: translateY(-90vh) translateX(12px);
    }
    100% {
        transform: translateY(-120vh) translateX(0);
    }
}

@keyframes floatSpin {
    0% { rotate: 0deg; }
    100% { rotate: 360deg; }
}

/* ─── Main Layout ─── */
main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 24px;
    gap: 32px;
}

/* ─── Logo ─── */
.logo-img {
    width: 180px;
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 12px rgba(232, 100, 30, 0.25));
}

/* ─── Banner (removed) ─── */
.banner-img {
    display: none;
}

/* ─── Title ─── */
.title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(42px, 10vw, 80px);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1;
    background: linear-gradient(180deg, #FF7A33 0%, #E8641E 40%, #C8520E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) drop-shadow(0 4px 20px rgba(232, 100, 30, 0.2));
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(13px, 2.5vw, 17px);
    font-weight: 600;
    background: linear-gradient(135deg, #E8641E 0%, #C8520E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-top: -16px;
    filter: drop-shadow(0 1px 3px rgba(232, 100, 30, 0.2));
}

/* ─── Challenge Text ─── */
.challenge {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
    text-align: center;
    max-width: 500px;
    line-height: 1.6;
    margin-top: -12px;
}

/* ─── Status ─── */
.status {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    min-height: 20px;
}

.status.ended {
    color: var(--accent);
    font-weight: 700;
    animation: pulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(232, 100, 30, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}


/* ─── Market Cap ─── */
.mcap-section {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 4px 12px -2px rgba(232, 100, 30, 0.08);
}

.mcap-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcap-bar-bg {
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.mcap-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #C8520E, #E8641E, #FF7A33);
    border-radius: 10px;
    transition: width 1.5s ease;
    box-shadow: 0 0 24px rgba(232, 100, 30, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
}

.mcap-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 10px 10px 0 0;
}

.mcap-bar-pct {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mcap-labels {
    display: flex;
    justify-content: space-between;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.4);
    letter-spacing: 0.1em;
}

.mcap-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.mcap-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mcap-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.mcap-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--accent);
}

/* ─── CA Box ─── */
.ca-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, monospace;
    color: var(--fg);
    position: relative;
    max-width: 100%;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 4px 12px -2px rgba(232, 100, 30, 0.08);
}

.ca-box:hover {
    border-color: var(--fg);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 8px 20px -4px rgba(232, 100, 30, 0.2),
        0 0 0 3px var(--glow-orange);
    transform: translateY(-1px);
}

.ca-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.ca-address {
    font-size: 14px;
    letter-spacing: 0.05em;
    word-break: break-all;
}

.copy-icon {
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.ca-box:hover .copy-icon {
    color: var(--fg);
}

.copied-toast {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--muted);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ca-box.copied .copied-toast {
    opacity: 1;
}

/* ─── Socials ─── */
.socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--card-bg);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

.social-button:hover {
    color: var(--fg);
    border-color: var(--fg);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 8px 20px -4px rgba(232, 100, 30, 0.2),
        0 0 0 3px var(--glow-orange);
    transform: translateY(-2px);
}

/* ─── Mobile ─── */
@media (max-width: 480px) {
    main {
        gap: 24px;
        padding: 32px 16px;
    }

    .logo-img {
        width: 140px;
    }

    .countdown {
        gap: 8px;
    }

    .ca-box {
        padding: 12px 14px;
        gap: 8px;
    }

    .ca-address {
        font-size: 11px;
    }

    .ca-label {
        font-size: 12px;
    }

    .mcap-section {
        max-width: 100%;
        padding: 16px;
    }

    .mcap-stats {
        gap: 16px;
    }

    .mcap-stat-value {
        font-size: 15px;
    }

    .mcap-bar-bg {
        height: 32px;
    }
}
