/* Reset and Base Styles */
:root {
    --blue: #0000FF;
    --white: #ffffff;
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background-color: #000000;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--blue) !important;
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    height: 40px;
    width: auto;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.3rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.navigation {
    display: flex;
    gap: 2rem;
}

.navigation a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Barlow Condensed', 'Barlow', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2.2px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.navigation a:hover {
    color: #e0e0e0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    background: var(--blue);
    color: var(--white);
    border: 2px solid #ffffff;
    padding: 1rem 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: #ffffff;
    color: #0000FF;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000; /* fallback */
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.1);
    opacity: 1;
    transition: opacity 0.15s linear;
}

.hero-video.is-hidden { opacity: 0; }

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0,0,0,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.typewriter {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tw-line {
    font-family: 'Barlow Condensed', 'Barlow', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #ffffff;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid rgba(255,255,255,0.9);
}

#tw-line-1 { font-size: 4rem; }
#tw-line-2 { font-size: 1.6rem; font-weight: 600; opacity: 0.9; }

.tw-line.caret-off { border-right-color: transparent; }

.hero-title {
    font-family: 'Barlow Condensed', 'Barlow', Arial, sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-button {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 1rem 2.2rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.hero-button:hover {
    background: #ffffff;
    color: #0000FF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.85);
    z-index: 3;
}
.scroll-cue::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 6px;
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 12px); }
    100% { opacity: 0; transform: translate(-50%, 22px); }
}

/* Replay button on left side */
/* removed replay link */

/* Content Section */
.content-section {
    min-height: 100svh;
    min-height: 100vh;
    background: linear-gradient(180deg, #0f0f12 0%, #1a1f2b 60%, #0f0f12 100%);
    padding: 5rem 0 7rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 7rem;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(1200px 600px at 50% 0%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.0) 60%), rgba(0, 0, 0, 0.22);
    z-index: 1;
}

/* Subtle noise overlays */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.06;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/ filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
    overflow: visible;
}

.content-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.05;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/ filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.content-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex: 1 1 auto;
    width: 100%;
    max-width: 820px;
    padding: 2.6rem 2rem;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    z-index: -1;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(0,0,0,0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

.content-card h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.content-card h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
    border-radius: 2px;
}

.content-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-button {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.85);
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 999px;
}

.card-button:hover {
    background: #ffffff;
    color: #0000FF;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .navigation {
        display: none;
    }
    
    .menu-icon {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .content-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        overflow: visible;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .content-card h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Footer */
.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blue);
    color: var(--white);
    z-index: 1000;
    box-shadow: 0 -6px 16px rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo {
    height: 20px;
    width: auto;
}

.footer-tag {
    font-family: 'Barlow Condensed', 'Barlow', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-right {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }
    .footer-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .content-card {
        padding: 1.5rem 1rem;
    }
    
    .content-card h2 {
        font-size: 1.3rem;
    }
    
    .content-card p {
        font-size: 1rem;
    }
}
