/* ========== CSS RESET & VARIABLES ========== */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-orange: #FA9C00;
    --color-blue: #292D84;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-heading: 'Space Mono', 'JetBrains Mono', monospace;
    
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 600ms;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--color-black);
    color: var(--color-white);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
}

/* ========== MINI TIMELINE (STICKY) ========== */
.mini-timeline {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--color-white);
    padding: 0.75rem 0;
}

.mini-timeline-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mini-timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 70px;
    position: relative;
    opacity: 0.4;
    transition: opacity var(--duration-normal) var(--ease);
    cursor: pointer;
}

.mini-timeline-item.active {
    opacity: 1;
}

.mini-timeline-item.past {
    opacity: 0.6;
}

.mini-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-white);
    position: relative;
    transition: all var(--duration-normal) var(--ease);
}

.mini-timeline-item.active .mini-timeline-dot {
    background: var(--color-orange);
    border-color: var(--color-orange);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(250, 156, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(250, 156, 0, 0);
    }
}

.mini-timeline-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
}

.mini-timeline-connector {
    height: 2px;
    background: var(--color-white);
    flex: 1;
    min-width: 15px;
    opacity: 0.3;
}

/* ========== QUICK NAVIGATION ========== */
.quick-nav {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
}

.quick-nav-btn {
    background: var(--color-orange);
    color: var(--color-black);
    border: 2px solid var(--color-black);
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.quick-nav-btn:hover {
    background: var(--color-black);
    color: var(--color-orange);
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .quick-nav {
        bottom: 1rem;
        right: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: calc(100% - 2rem);
    }
    
    .quick-nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
    }
}

/* ========== PARALLAX STARFIELD ========== */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--color-black);
    overflow: hidden;
    will-change: transform;
}

.stars-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.star {
    position: absolute;
    background: var(--color-white);
    border-radius: 50%;
    opacity: 0.8;
}

.star.small { opacity: 0.4; }
.star.medium { opacity: 0.7; }
.star.large { opacity: 1; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.star.twinkle {
    animation: twinkle 2s ease-in-out infinite;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.02) 75%, rgba(255, 255, 255, 0.02) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.02) 75%, rgba(255, 255, 255, 0.02) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

h3 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
    color: var(--color-white);
}

a {
    color: var(--color-orange);
    text-decoration: none;
    border-bottom: 2px solid var(--color-orange);
    transition: all var(--duration-fast) var(--ease);
}

a:hover {
    color: var(--color-white);
    border-bottom-color: var(--color-white);
    background: var(--color-orange);
    padding: 0 4px;
}

/* ========== MYSTERY TEXT ========== */
.mystery-intro {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
}

.mystery-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-orange);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== CONTAINER & LAYOUT ========== */
main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

section {
    padding: 4rem 0;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-separator {
    position: relative;
    height: 60px;
    margin: 2rem 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black) 50%, var(--color-white) 50%, var(--color-white) 100%);
    clip-path: polygon(0 0, 2% 50%, 4% 0, 6% 50%, 8% 0, 10% 50%, 12% 0, 14% 50%, 16% 0, 18% 50%, 20% 0, 22% 50%, 24% 0, 26% 50%, 28% 0, 30% 50%, 32% 0, 34% 50%, 36% 0, 38% 50%, 40% 0, 42% 50%, 44% 0, 46% 50%, 48% 0, 50% 50%, 52% 0, 54% 50%, 56% 0, 58% 50%, 60% 0, 62% 50%, 64% 0, 66% 50%, 68% 0, 70% 50%, 72% 0, 74% 50%, 76% 0, 78% 50%, 80% 0, 82% 50%, 84% 0, 86% 50%, 88% 0, 90% 50%, 92% 0, 94% 50%, 96% 0, 98% 50%, 100% 0, 100% 100%, 0 100%);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.logo-text {
    display: inline-block;
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: blink-glow 1.5s ease-in-out infinite;
}

@keyframes blink-glow {
    0%, 100% { 
        text-shadow: 0 0 0px transparent, 0 0 20px var(--color-orange);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px var(--color-orange), 0 0 40px var(--color-orange);
        transform: scale(1.05);
    }
}

.subtitle {
    font-size: 1.75rem;
    color: var(--color-white);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
}

/* ========== COUNTDOWN ========== */
.countdown-container {
    background: var(--color-white);
    color: var(--color-black);
    border: 3px solid var(--color-black);
    padding: 2rem 1.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(250, 156, 0, 0.1) 2px,
            rgba(250, 156, 0, 0.1) 4px
        );
    pointer-events: none;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.countdown-item {
    text-align: center;
    padding: 1rem 0.5rem;
    border: 2px solid var(--color-black);
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(250, 156, 0, 0.3), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

.countdown-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-black);
    position: relative;
    z-index: 2;
}

.countdown-label-item {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-black);
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

/* ========== MYSTERY BOX ========== */
.mystery-box-container {
    text-align: center;
    margin: 2rem 0;
    perspective: 1000px;
}

.mystery-box {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}

.mystery-box-front,
.mystery-box-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-orange);
    background: var(--color-black);
    font-size: 4rem;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.mystery-box-back {
    transform: rotateY(180deg);
    background: var(--color-orange);
    color: var(--color-black);
    padding: 1rem;
}

.hint-text {
    font-size: 1rem;
    font-style: italic;
    font-family: var(--font-sans);
    text-align: center;
}

.mystery-hint-display {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-orange);
    min-height: 3em;
    font-style: italic;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 3px solid var(--color-orange);
    background: var(--color-orange);
    color: var(--color-black);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease);
    text-decoration: none;
    position: relative;
    font-weight: 700;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.btn:hover {
    background: var(--color-black);
    color: var(--color-orange);
    transform: translate(3px, -3px);
    box-shadow: -6px 6px 0 var(--color-orange);
    border-bottom: 3px solid var(--color-orange);
    padding: 1rem 2rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ========== CONTENT BOXES ========== */
.content-box {
    background: var(--color-white);
    color: var(--color-black);
    padding: 2.5rem;
    margin: 2.5rem 0;
    position: relative;
    border: 2px solid var(--color-black);
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.content-box h3 {
    color: var(--color-black);
    margin-top: 0;
}

.content-box p {
    color: var(--color-black);
}

/* ========== IMAGES ========== */
.section-image {
    width: 100%;
    max-height: 300px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.parallax-image {
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* ========== CARDS ========== */
.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.card {
    border: 2px solid var(--color-white);
    padding: 2rem;
    background: var(--color-black);
    position: relative;
    transition: all var(--duration-normal) var(--ease);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    cursor: pointer;
}

.card:hover {
    border-color: var(--color-orange);
    transform: translate(-4px, -4px) rotateY(5deg);
    box-shadow: 4px 4px 0 var(--color-orange);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform var(--duration-normal) var(--ease);
}

.card:hover .card-icon {
    transform: rotateY(180deg) scale(1.1);
}

.card-title {
    color: var(--color-orange);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.card-price {
    color: var(--color-white);
    font-family: var(--font-mono);
    font-weight: 700;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-white);
}

/* ========== NEWSLETTER CTA ========== */
.newsletter-cta-inline {
    background: var(--color-orange);
    color: var(--color-black);
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
    border: 3px solid var(--color-black);
    position: relative;
}

.newsletter-cta-inline h4 {
    color: var(--color-black);
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
}

.newsletter-cta-inline p {
    color: var(--color-black);
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.newsletter-cta-inline .btn {
    background: var(--color-black);
    color: var(--color-orange);
    border-color: var(--color-black);
}

.newsletter-cta-inline .btn:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

/* ========== EASTER EGGS ========== */
.easter-eggs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.egg {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all var(--duration-normal) var(--ease);
    background: var(--color-black);
    position: relative;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.egg:hover {
    border-color: var(--color-orange);
    background: var(--color-orange);
    transform: translate(-2px, -2px) rotate(10deg);
}

.egg.found {
    border-color: var(--color-orange);
    background: var(--color-orange);
    animation: eggFound 0.6s ease-out;
}

@keyframes eggFound {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* ========== SECTION TITLE ========== */
.section-title-wrapper {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--color-white);
}

.section-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--color-white);
    font-weight: 900;
    opacity: 0.5;
}

/* ========== TIMELINE ========== */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.timeline-item {
    border-left: 4px solid var(--color-orange);
    padding-left: 1.5rem;
    position: relative;
    transition: all var(--duration-normal) var(--ease);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--color-orange);
    border: 2px solid var(--color-black);
}

.timeline-item:hover {
    border-left-color: var(--color-white);
    transform: translateX(8px);
}

.timeline-item:hover::before {
    background: var(--color-white);
}

.timeline-month {
    font-family: var(--font-mono);
    color: var(--color-orange);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-item h4 {
    margin-top: 0;
}

/* ========== FORM ========== */
.newsletter-form {
    background: var(--color-black);
    border: 2px solid var(--color-white);
    padding: 2rem;
    max-width: 500px;
    margin: 2rem auto 0;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    transition: all var(--duration-normal) var(--ease);
}

.newsletter-form.hidden {
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-orange);
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-white);
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-sans);
    transition: all var(--duration-fast) var(--ease);
    font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange);
    background: rgba(250, 156, 0, 0.05);
}

.info-box {
    background: rgba(250, 156, 0, 0.1);
    border: 2px solid var(--color-orange);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box p {
    margin: 0;
    color: var(--color-white);
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--color-white);
    color: var(--color-black);
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 3px solid var(--color-black);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

footer h3 {
    color: var(--color-black);
    margin-bottom: 1rem;
}

footer p {
    color: var(--color-black);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
}

.footer-links a:hover {
    color: var(--color-orange);
    border-bottom-color: var(--color-orange);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .mini-timeline-inner {
        justify-content: flex-start;
        padding: 0 1rem;
    }
    
    .mini-timeline-item {
        min-width: 55px;
    }
    
    .mini-timeline-label {
        font-size: 0.55rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .countdown-item {
        padding: 0.75rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.85rem;
    }
    
    .mystery-box {
        width: 150px;
        height: 150px;
    }
    
    .mystery-box-front,
    .mystery-box-back {
        font-size: 3rem;
    }
    
    .game-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-number {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    main { padding: 0 1rem; }
    section { padding: 3rem 0; }
    
    .section-image {
        max-height: 200px;
    }
    
    .mystery-text {
        font-size: 1rem;
    }
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-orange { color: var(--color-orange); }
.hidden { display: none; }