:root {
    --bg-dark: #07070a;
    --bg-darker: #040405;
    --bg-glass: rgba(10, 10, 15, 0.7);
    --text-main: #f0f0f5;
    --text-muted: #9aa0a6;
    --accent-red: #d32f2f;
    --accent-cyan: #00e5ff;
    --color-yellow: #facc15;
    --glow-cyan: rgba(0, 229, 255, 0.4);
    --glow-red: rgba(211, 47, 47, 0.6);
    --tape-warning: #ffb300;

    --font-heading: 'Orbitron', sans-serif;
    --font-sub: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Base Full-Page Lock */
html,
body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* Remove standard scrolling entirely */
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Scroll Snap Container */
.scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* Hide scrollbar for clean cinematic look */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Scroll Sections */
.scroll-section {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Typography */
h1,
h2,
h3,
h4,
.subtitle,
.hud-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

h3 {
    font-family: var(--font-sub);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.subtitle {
    font-family: var(--font-sub);
    font-size: 1.2rem;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}



/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    padding: 1vw 0;
}

.navbar.scrolled {
    /* Kept class to avoid breaking JS, but no visual changes applied */
    background: transparent;
    border-bottom: none;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: var(--transition-smooth);
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link:hover {
    color: #e0e0e0;
}

/* Side Navigation Dots */
.side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1000;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: transparent;
    border-color: var(--accent-cyan);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--glow-cyan);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

.dot::before {
    content: attr(title);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-glass);
    color: var(--text-main);
    padding: 0.3rem 0.6rem;
    font-family: var(--font-sub);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
}

.dot:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: #000;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099ff 100%);
    border: none;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #4dffff 0%, var(--accent-cyan) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.6), inset 0 2px 20px rgba(255, 255, 255, 0.5);
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.cta-button:hover::after {
    left: 200%;
}

.cta-button.primary-cta {
    font-size: 1.35rem;
    padding: 1.2rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 35px rgba(0, 229, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    }
}

.cta-button.massive {
    font-size: 1.5rem;
    padding: 1.5rem 4rem;
    border-width: 2px;
}

.icon-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    height: 54px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: var(--font-sub);
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

/* Animations Triggered by Scroller */
.reveal-content {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-content.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 4, 5, 0.6) 0%, rgba(4, 4, 5, 0.2) 50%, var(--bg-darker) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    z-index: 10;
    margin: 0 auto;
    padding: 80px 2rem 0;
    /* 80px = hauteur approximative du navbar */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    color: var(--text-main);
}

.hero-title .highlight {
    color: var(--accent-cyan);
    text-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
}

.hero-description {
    font-size: 1rem;
    max-width: 560px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
}

.hero-description.primary {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description strong {
    color: #fff;
    font-weight: 700;
}

.hero-actions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-button.square {
    padding: 1.2rem 2rem;
    border-radius: 8px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-yellow);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
    color: #000;
    animation: none;
    border: none;
}

.cta-button.square:hover {
    background: #fde047;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
    transform: translateY(-2px);
    color: #000;
    text-shadow: none;
}

.cta-button.square::after {
    display: none;
}

.cta-button.square .cta-text {
    font-size: 1.15rem;
    line-height: 1.1;
    margin-top: 0.5rem;
    font-weight: 900;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.icon-btn.store-format {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    height: 52px;
    font-size: 1rem;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    text-decoration: none;
    transition: var(--transition-smooth);
    width: 200px;
    justify-content: flex-start;
}

.icon-btn.store-format:hover {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-btn.store-format span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.icon-btn.store-format small {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
}

.icon-btn.store-format strong {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.bottom-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    z-index: 10;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-main);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.arrow-down {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

/* Common Section Layout Rules */
.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.full-height-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.header-line {
    width: 60px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 1rem auto 0;
    box-shadow: 0 0 10px var(--glow-cyan);
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Features Section */
.features::before,
.features::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 10vh;
    z-index: 1;
}

.features::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-darker) 0%, transparent 100%);
}

.features::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-darker) 0%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    height: 50vh;
    min-height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: crosshair;
    background: var(--bg-dark);
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: transform 0.8s ease, opacity 0.4s ease;
    filter: grayscale(80%) sepia(20%) hue-rotate(180deg);
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, var(--bg-darker) 10%, rgba(4, 4, 5, 0.4) 60%, transparent 100%);
    transition: var(--transition-smooth);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: auto;
    opacity: 0.8;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.3));
    transition: var(--transition-bounce);
}

.feature-icon svg {
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    transition: var(--transition-smooth);
}

.feature-card p {
    font-size: 0.9rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--accent-cyan);
    transition: height 0.4s ease;
    box-shadow: 0 0 10px var(--glow-cyan);
    z-index: 3;
}

.feature-card:hover .feature-bg {
    transform: scale(1.1);
    opacity: 0.6;
    filter: grayscale(20%) contrast(120%);
}

.feature-card:hover .feature-content {
    background: linear-gradient(to top, rgba(4, 4, 5, 0.95) 0%, rgba(4, 4, 5, 0.6) 70%, transparent 100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) translateY(-10px);
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.feature-card:hover p {
    transform: translateY(0);
    opacity: 1;
}

.feature-card:hover h3 {
    color: var(--accent-cyan);
}

.feature-card:hover::after {
    height: 100%;
}

/* Gameplay Showcase Items */
.showcase-item {
    position: relative;
    padding: 0 5vw;
}

.showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 10s ease-out;
    /* Slow zoom when snapped */
    filter: brightness(0.6) contrast(1.1);
}

.showcase-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, var(--bg-darker) 0%, transparent 15%, transparent 85%, var(--bg-darker) 100%),
        linear-gradient(90deg, var(--bg-darker) 0%, rgba(4, 4, 5, 0.4) 40%, transparent 100%);
}

.showcase-item.reverse::after {
    background: linear-gradient(to bottom, var(--bg-darker) 0%, transparent 15%, transparent 85%, var(--bg-darker) 100%),
        linear-gradient(270deg, var(--bg-darker) 0%, rgba(4, 4, 5, 0.4) 40%, transparent 100%);
}

.showcase-content {
    position: absolute;
    z-index: 10;
    max-width: 500px;
    width: 100%;
}

.showcase-content.left {
    left: 10vw;
}

.showcase-content.right {
    right: 10vw;
}

.hud-box {
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-cyan);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hud-box::before,
.hud-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
}

.hud-box::before {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--text-muted);
    border-right: 2px solid var(--text-muted);
}

.hud-box::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--text-muted);
    border-right: 2px solid var(--text-muted);
}

.showcase-content.right .hud-box {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 3px solid var(--accent-red);
}

.showcase-content.right .hud-box::before {
    right: auto;
    left: -1px;
    border-right: none;
    border-left: 2px solid var(--text-muted);
}

.showcase-content.right .hud-box::after {
    right: auto;
    left: -1px;
    border-right: none;
    border-left: 2px solid var(--text-muted);
}

.hud-label {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-content.right .hud-label {
    color: var(--accent-red);
}

.hud-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hud-box h3 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hud-box p {
    font-size: 1.1rem;
    color: #cfd4db;
}

/* System Requirements */
.requirements {
    background: var(--bg-dark);
}

.requirements .full-height-container {
    padding-top: 80px; /* évite le chevauchement avec le navbar */
    justify-content: center;
    gap: 0;
}

.requirements .section-header {
    margin-bottom: 2.5vh;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
}

.req-panels {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.req-panel {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    position: relative;
}

.req-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-muted);
}

.req-panel.rec-req::before {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--glow-cyan);
}

.panel-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #757575;
    border-radius: 50%;
}

.status-indicator.optimal {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.req-list {
    list-style: none;
    padding: 1.5rem;
}

.req-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
}

.req-list li:last-child {
    margin-bottom: 0;
}

.req-label {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
}

/* Warning Tape */
.section-divider.warning-tape {
    width: 100%;
    background: var(--tape-warning);
    color: #000;
    padding: 0.8rem 0;
    overflow: hidden;
    position: relative;
    /* transform: rotate(-2deg) scale(1.05); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 5;
    border-top: 2px dashed rgba(0, 0, 0, 0.3);
    border-bottom: 2px dashed rgba(0, 0, 0, 0.3);
}

.tape-text {
    display: flex;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    animation: marquee 20s linear infinite;
}

.tape-text span {
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.tape-text span::after {
    content: '☣️';
    margin-left: 2rem;
}

/* Final CTA & Footer Section */
.final-cta-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bg-video-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to top, var(--bg-darker) 30%, rgba(4, 4, 5, 0.6) 100%);
    z-index: 2;
}

.cta-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
}

.cta-content {
    max-width: 800px;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #cfd4db;
    margin-bottom: 2rem;
}

/* Footer locked inside final section */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo {
    width: 120px;
    opacity: 0.8;
}

.copyright-mini {
    font-size: 0.7rem;
    color: #666;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.link-column h4 {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.link-column a,
.link-column p {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.link-column a:hover {
    color: var(--accent-cyan);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    margin: 0 0.5rem;
    pointer-events: none;
    vertical-align: middle;
}



/* Base Keyframes */
@keyframes glitch-anim {
    0% {
        clip: rect(25px, 9999px, 86px, 0);
    }

    5% {
        clip: rect(66px, 9999px, 14px, 0);
    }

    10% {
        clip: rect(74px, 9999px, 81px, 0);
    }

    15% {
        clip: rect(100px, 9999px, 45px, 0);
    }

    20% {
        clip: rect(31px, 9999px, 78px, 0);
    }

    25% {
        clip: rect(71px, 9999px, 50px, 0);
    }

    30% {
        clip: rect(1px, 9999px, 84px, 0);
    }

    35% {
        clip: rect(22px, 9999px, 89px, 0);
    }

    40% {
        clip: rect(37px, 9999px, 78px, 0);
    }

    45% {
        clip: rect(50px, 9999px, 14px, 0);
    }

    50% {
        clip: rect(31px, 9999px, 12px, 0);
    }

    55% {
        clip: rect(72px, 9999px, 5px, 0);
    }

    60% {
        clip: rect(66px, 9999px, 56px, 0);
    }

    65% {
        clip: rect(4px, 9999px, 32px, 0);
    }

    70% {
        clip: rect(21px, 9999px, 49px, 0);
    }

    75% {
        clip: rect(89px, 9999px, 40px, 0);
    }

    80% {
        clip: rect(21px, 9999px, 90px, 0);
    }

    85% {
        clip: rect(46px, 9999px, 7px, 0);
    }

    90% {
        clip: rect(81px, 9999px, 5px, 0);
    }

    95% {
        clip: rect(38px, 9999px, 17px, 0);
    }

    100% {
        clip: rect(69px, 9999px, 41px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(63px, 9999px, 84px, 0);
    }

    5% {
        clip: rect(25px, 9999px, 97px, 0);
    }

    10% {
        clip: rect(48px, 9999px, 13px, 0);
    }

    15% {
        clip: rect(14px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(81px, 9999px, 40px, 0);
    }

    25% {
        clip: rect(12px, 9999px, 66px, 0);
    }

    30% {
        clip: rect(27px, 9999px, 96px, 0);
    }

    35% {
        clip: rect(23px, 9999px, 22px, 0);
    }

    40% {
        clip: rect(18px, 9999px, 2px, 0);
    }

    45% {
        clip: rect(86px, 9999px, 49px, 0);
    }

    50% {
        clip: rect(18px, 9999px, 95px, 0);
    }

    55% {
        clip: rect(58px, 9999px, 69px, 0);
    }

    60% {
        clip: rect(48px, 9999px, 92px, 0);
    }

    65% {
        clip: rect(12px, 9999px, 87px, 0);
    }

    70% {
        clip: rect(22px, 9999px, 33px, 0);
    }

    75% {
        clip: rect(74px, 9999px, 37px, 0);
    }

    80% {
        clip: rect(69px, 9999px, 7px, 0);
    }

    85% {
        clip: rect(85px, 9999px, 86px, 0);
    }

    90% {
        clip: rect(98px, 9999px, 14px, 0);
    }

    95% {
        clip: rect(64px, 9999px, 87px, 0);
    }

    100% {
        clip: rect(58px, 9999px, 87px, 0);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-content.left,
    .showcase-content.right {
        left: 5vw;
        top: auto;
        right: auto;
        transform: none;
    }

    .hud-box {
        padding: 1.5rem;
    }

    .showcase-content.right .hud-box {
        border-left: 3px solid var(--accent-red);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .side-nav {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .feature-card {
        min-height: 250px;
    }

    .scroll-section.features {
        height: auto;
        padding: 5rem 0;
        scroll-snap-align: start;
    }
}

/* Entry Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    max-width: 480px;
    width: 90%;
    background: linear-gradient(to bottom, rgba(30, 15, 5, 0.95), rgba(10, 5, 5, 0.98)), url('img/once-human-4k-cd-2561x1440.jpg') center/cover;
    background-blend-mode: overlay;
    border: 1px solid var(--color-yellow);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(250, 204, 21, 0.1);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(185, 28, 28, 0.8);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.pulsing-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.modal-logo {
    width: 140px;
    margin-bottom: 1.5rem;
    display: block;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    color: var(--text-main);
}

.modal-title .highlight {
    color: var(--color-yellow);
    text-shadow: none;
}

.modal-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.modal-desc strong {
    color: #fff;
    font-weight: 700;
}

.modal-stats-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
}

.avatars-group {
    display: flex;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.stats-text {
    display: flex;
    flex-direction: column;
}

.stats-text strong {
    font-size: 1rem;
    color: #fff;
    line-height: 1.2;
}

.stats-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-button.full-width {
    width: 100%;
}

.modal-footer-proof {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}