:root {
    --bg-color: #050508;
    --text-primary: #f0f0f0;
    --text-secondary: #8c8c9a;
    --accent-yellow: #ffcc00;
    --accent-blue: #00f0ff;
    --accent-purple: #b535ff;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Effects & Overlays */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 100;
    opacity: 0.04;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.1)
    );
    background-size: 100% 4px;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('scene.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.2) saturate(1.2);
    z-index: -1;
    will-change: transform;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
}

.timestamp-hud {
    font-family: var(--font-mono);
    color: #ff3333;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 51, 51, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.rec-dot {
    width: 12px;
    height: 12px;
    background-color: #ff3333;
    border-radius: 50%;
    animation: blink 1s infinite;
}

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

h1.glitch {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-primary);
    position: relative;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

h1.glitch::before, h1.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

h1.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-blue);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

h1.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-yellow);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(15px, 9999px, 86px, 0); }
    5% { clip: rect(66px, 9999px, 12px, 0); }
    10% { clip: rect(25px, 9999px, 99px, 0); }
    15% { clip: rect(80px, 9999px, 32px, 0); }
    20% { clip: rect(9px, 9999px, 76px, 0); }
    25% { clip: rect(48px, 9999px, 15px, 0); }
    30% { clip: rect(91px, 9999px, 44px, 0); }
    35% { clip: rect(2px, 9999px, 60px, 0); }
    40% { clip: rect(73px, 9999px, 28px, 0); }
    45% { clip: rect(35px, 9999px, 82px, 0); }
    50% { clip: rect(55px, 9999px, 19px, 0); }
    55% { clip: rect(84px, 9999px, 63px, 0); }
    60% { clip: rect(12px, 9999px, 94px, 0); }
    65% { clip: rect(41px, 9999px, 31px, 0); }
    70% { clip: rect(98px, 9999px, 57px, 0); }
    75% { clip: rect(27px, 9999px, 8px, 0); }
    80% { clip: rect(69px, 9999px, 71px, 0); }
    85% { clip: rect(5px, 9999px, 49px, 0); }
    90% { clip: rect(88px, 9999px, 22px, 0); }
    95% { clip: rect(18px, 9999px, 85px, 0); }
    100% { clip: rect(52px, 9999px, 36px, 0); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    animation: float 2s infinite ease-in-out;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-primary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* Video Section */
.video-section {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-color) 0%, #0a0a0f 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05),
                inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.video-wrapper::before, .video-wrapper::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-blue);
}

.video-wrapper::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.video-wrapper::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: contrast(1.1) saturate(1.1);
}

/* Story Section */
.story-section {
    padding: 8rem 0;
    background: #0a0a0f;
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.story-text strong {
    color: var(--accent-yellow);
    font-family: var(--font-mono);
    font-weight: normal;
}

.neon-text {
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--accent-purple), 0 0 40px var(--accent-purple), 0 0 80px var(--accent-purple);
}

.story-visuals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-left: 2px solid var(--accent-purple);
    font-family: var(--font-mono);
}

.data-block {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.data-block .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.data-block .value {
    color: var(--text-primary);
    font-weight: bold;
    letter-spacing: 1px;
}

.data-block .value.active {
    color: #00ff66;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0 10rem;
    text-align: center;
    background: linear-gradient(0deg, var(--bg-color) 0%, #0a0a0f 100%);
    position: relative;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.cyber-button {
    display: inline-block;
    position: relative;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--accent-yellow);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--accent-yellow);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}

.cyber-button:hover {
    background: var(--accent-yellow);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.5);
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.cyber-button:hover::before {
    left: 100%;
}

.button-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    z-index: -1;
    transform: translate(-10px, 10px);
    transition: transform 0.2s ease;
    opacity: 0;
}

.cyber-button:hover .button-glitch {
    opacity: 1;
    transform: translate(4px, -4px);
    mix-blend-mode: color-burn;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-meta {
    display: flex;
    gap: 1rem;
}

.footer-meta span {
    color: var(--accent-blue);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    h1.glitch { font-size: 2.5rem; }
    .subtitle { font-size: 1rem; }
    .story-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}
