:root {
    --midnight: #04030f;
    --mystic: #433084;
    --ember: #ff6b35;
    --aurora: #7cf4ff;
    --card-bg: rgba(5, 8, 25, 0.75);
}

* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, rgba(124, 244, 255, 0.08), transparent 55%), var(--midnight);
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(124, 244, 255, 0.2), transparent 45%);
    mix-blend-mode: screen;
    animation: shimmerFlow 16s ease-in-out infinite alternate;
}

.hero {
    background-image: linear-gradient(120deg, rgba(4, 3, 15, 0.85), rgba(4, 3, 15, 0.5)), url('645143b4-7a16-4eb8-b905-0ab112fd8558.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
}

.hero-aurora {
    position: absolute;
    width: 28rem;
    height: 28rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(124, 244, 255, 0.25), transparent 60%);
    filter: blur(20px);
    opacity: 0.6;
    animation: auroraDrift 18s linear infinite;
}

.hero-aurora-one {
    top: -10%;
    left: -15%;
    animation-duration: 22s;
}

.hero-aurora-two {
    bottom: -20%;
    right: -10%;
    animation-duration: 18s;
    animation-delay: -4s;
}

.hero-aurora-three {
    top: 10%;
    right: 30%;
    width: 20rem;
    height: 20rem;
    animation-duration: 26s;
    animation-direction: reverse;
}

.text-gradient {
    background: linear-gradient(120deg, #ff8f5c, #7cf4ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-aurora {
    background: var(--aurora);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-aurora:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 244, 255, 0.35);
}

.contract-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contract-pill code {
    font-size: 0.95rem;
    color: #ffffff;
}

.glow-card {
    background: var(--card-bg);
    border: 1px solid rgba(124, 244, 255, 0.2);
    box-shadow: 0 0 50px rgba(67, 48, 132, 0.35);
}

.stat-tile {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1rem;
}

.stat-tile.highlight {
    border-color: var(--aurora);
    background: rgba(124, 244, 255, 0.05);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.timeline-row {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -2.3rem;
    top: 0.2rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: var(--aurora);
    box-shadow: 0 0 15px rgba(124, 244, 255, 0.8);
    animation: pulseBeacon 3.5s ease-in-out infinite;
}

.info-card,
.btc-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.btc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 244, 255, 0.35);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.border-gradient {
    border: 1px solid transparent;
    border-radius: 1.5rem;
    padding: 3rem;
    background: linear-gradient(var(--midnight), var(--midnight)) padding-box,
        linear-gradient(120deg, rgba(124, 244, 255, 0.5), rgba(255, 107, 53, 0.5)) border-box;
}

.copy-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: rgba(4, 3, 15, 0.9);
    border: 1px solid rgba(124, 244, 255, 0.35);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 50;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

body.has-reveal .reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.9s cubic-bezier(0.17, 0.67, 0.26, 1), transform 0.9s cubic-bezier(0.17, 0.67, 0.26, 1);
    transition-delay: var(--reveal-delay, 0s);
}

body.has-reveal .reveal.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes shimmerFlow {
    0% {
        transform: translate3d(-5%, -5%, 0) scale(1);
        opacity: 0.55;
    }
    50% {
        transform: translate3d(3%, 4%, 0) scale(1.05);
        opacity: 0.75;
    }
    100% {
        transform: translate3d(-2%, 2%, 0) scale(0.95);
        opacity: 0.5;
    }
}

@keyframes auroraDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(10%, -6%, 0) scale(1.2);
    }
    100% {
        transform: translate3d(-8%, 4%, 0) scale(0.9);
    }
}

@keyframes pulseBeacon {
    0% {
        box-shadow: 0 0 8px rgba(124, 244, 255, 0.6);
        transform: scale(0.9);
    }
    50% {
        box-shadow: 0 0 25px rgba(124, 244, 255, 0.8);
        transform: scale(1.15);
    }
    100% {
        box-shadow: 0 0 8px rgba(124, 244, 255, 0.6);
        transform: scale(0.9);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-overlay,
    .hero-aurora,
    body.has-reveal .reveal,
    .timeline-dot {
        animation: none !important;
        transition: none !important;
    }
    body.has-reveal .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: 100vh;
    }
}
