:root {
    --gold: #000000;
    --gold-bright: #111111;
    --dark: #FFFFFF;
    --gray: #F5F7F8;
    --text: #000000;
    --text-dim: #60666D;
    --accent: rgba(0, 0, 0, 0.02);
    --border: rgba(0, 0, 0, 0.1);
}

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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden; /* NO SCROLL */
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    position: relative;
    cursor: crosshair;
}

/* Technical CAD Grid Overlay (Pure B&W Blueprint Grid) */
.blueprint-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
}

.blueprint-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--dark) 90%);
    z-index: -2;
}

/* CAD Crosshair Grid (Follows Mouse in B&W) */
.hud-crosshair {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.hud-crosshair::before,
.hud-crosshair::after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.03);
}

/* B&W Laser Scan Line Sweeping Effect */
.laser-scanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    z-index: -1;
    opacity: 0.6;
    animation: sweep 9s infinite linear;
    pointer-events: none;
}

@keyframes sweep {
    0% {
        top: -5%;
    }
    100% {
        top: 105%;
    }
}

/* Coordinate HUD Panel (Glassmorphism B&W) */
.hud-coordinates {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.hud-row {
    margin-bottom: 0.4rem;
}

.hud-row:last-child {
    margin-bottom: 0;
}

.hud-row .label {
    color: var(--text-dim);
}

.hud-row .val {
    color: var(--text);
    font-weight: 700;
}

.pulse-text {
    animation: textPulse 2s infinite ease-in-out;
}

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

/* Active Waypoints Layer */
.waypoints-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.waypoint {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--text);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    animation: pulseNode 1.5s infinite;
}

.waypoint-label {
    position: absolute;
    left: 16px;
    top: -10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 2px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@keyframes pulseNode {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

/* Main Container Layout */
.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

/* Header & Brand Area */
header {
    text-align: center;
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-text {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 16px;
    text-indent: 16px; /* offset letter-spacing for true center */
    line-height: 1;
    color: var(--text);
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.brand-text:hover {
    letter-spacing: 18px;
    text-indent: 18px;
    opacity: 0.95;
}

.logo-area .tagline {
    font-size: 0.7rem;
    letter-spacing: 12px;
    color: var(--text-dim);
    margin-top: 0.8rem;
    text-indent: 12px; /* offset letter-spacing for true center */
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

/* Hero Content Area */
.hero-content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
}

.anniversary-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.anniversary-label .line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text));
}

.anniversary-label .line:last-child {
    background: linear-gradient(-90deg, transparent, var(--text));
}

.anniversary-label .text {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--text);
    letter-spacing: 4px;
    font-weight: 700;
}

.title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--text);
}

.description {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 620px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
}

/* High-Tech Grid Countdown Clock */
.countdown {
    display: flex;
    gap: 2.5rem;
    background: var(--accent);
    padding: 2rem 3.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(5px);
}

.countdown::before {
    content: 'T-MINUS COUNTDOWN';
    position: absolute;
    top: -9px;
    left: 20px;
    background: var(--dark);
    padding: 0 10px;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--text);
    letter-spacing: 2px;
    font-weight: 700;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-unit span {
    font-family: 'Space Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.time-unit label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-dim);
    margin-top: 10px;
    font-weight: 600;
    text-indent: 4px;
}

.interactive-tip {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    animation: pulseText 3s infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Footer Section */
footer {
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    padding-top: 2.2rem;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-item label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--text);
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-item span {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.footer-link {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 600;
}

.footer-link:hover {
    color: #000000;
    border-bottom: 1px solid var(--text);
}

.status-bar {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #000000;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    animation: blink 2.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* Responsive Scaling */
@media (max-width: 900px) {
    .hud-coordinates {
        display: none; /* Hide on smaller screens to prevent clutter */
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 2rem 1.5rem;
    }
    
    .countdown {
        gap: 1.5rem;
        padding: 1.5rem 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .time-unit {
        min-width: 60px;
    }

    .time-unit span {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding-top: 1.5rem;
    }
    
    .title {
        font-size: 2.2rem;
    }
}