/* =====================================================
   XPLOIT.ZERO V7 - MULTI-PAGE SITE
   
   COLOR SCHEME:
   - Primary accent: Cyan (#00FFFF)
   - Secondary accent: Logo Red (#E63333)
   - Background: Dark (#0A0A0A)
   ===================================================== */

/* FONTS */
@font-face {
    font-family: 'ShareTech';
    src: url('../assets/fonts/ShareTech-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SquareHead';
    src: url('../assets/fonts/SF Square Head Pro.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES - Colores corregidos */
:root {
    --bg: #0A0A0A;
    --bg-alt: #111111;
    --bg-transparent: rgba(10, 10, 10, 0.92);
    --bg-alt-transparent: rgba(17, 17, 17, 0.92);
    --frame-color: rgba(207, 209, 204, 0.5);
    --cyan: #00FFFF;
    --red: #E63333;
    /* Rojo del logo */
    --text-color: #FFFFFF;
    --text-dim: #888888;
    --text-darker: #555555;
}

html {
    scroll-behavior: smooth;
}

/* ANIMATIONS */
@keyframes flicker {

    0%,
    0.199%,
    0.4%,
    0.499%,
    0.6%,
    0.699%,
    0.9%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
    }

    0.2%,
    0.399%,
    0.5%,
    0.599%,
    0.7%,
    0.899% {
        opacity: 0.4;
        filter: none;
    }
}

/* FLICKER UTILITIES */
.flicker {
    animation: flicker 10s infinite;
}

.flicker-fast {
    animation: flicker 2s infinite;
}

.flicker-slow {
    animation: flicker 15s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes holoScan {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 100%;
    }
}

@keyframes holoPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(0, 255, 255, 0.02);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), inset 0 0 30px rgba(0, 255, 255, 0.05);
    }
}

@keyframes dataGlitch {

    0%,
    90%,
    100% {
        transform: translate(0);
        opacity: 1;
    }

    92% {
        transform: translate(-2px, 1px);
        opacity: 0.8;
    }

    94% {
        transform: translate(2px, -1px);
        opacity: 0.9;
    }

    96% {
        transform: translate(-1px, 2px);
        opacity: 0.7;
    }
}

body {
    background: var(--bg);
    color: var(--text-color);
    font-family: 'ShareTech', 'Courier New', monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =====================================================
   MAIN NAVIGATION
   ===================================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo img {
    height: 85px;
    /* Logo grande */
    margin: -15px 0;
    /* Negativo para no aumentar altura del nav */
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
    transition: filter 0.3s ease;
    animation: flicker 20s infinite;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
}

/* =====================================================
   HERO SECTION (HOME)
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 110px 20px 20px;
    overflow: visible;
}

.cyber-frame {
    position: relative;
    min-height: calc(100vh - 130px);
}

.frame-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.frame-path {
    fill: none;
    stroke: var(--frame-color);
    stroke-width: 1.5;
}

.frame-content {
    position: relative;
    padding: 100px 100px;
    /* Máximo aire vertical y horizontal */
    min-height: inherit;
    display: flex;
    flex-direction: column;
}

/* HERO GRID REDESIGN - STACKED 3-TIER */
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* Mucho más aire entre título, imagen y descripción */
    align-items: center;
}

.title-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* border-bottom: 2px solid rgba(0, 255, 255, 0.15); */
    padding-bottom: 30px;
    /* Un poco más de aire antes de la línea */
}

.hero-title {
    font-family: 'SquareHead', 'ShareTech', sans-serif;
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
    /* Restaurado tamaño legible */
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

.hero-title.white {
    color: #fff;
    text-align: left;
}

.hero-title.cyan {
    color: var(--cyan);
    text-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
    animation: flicker 4s infinite;
    text-align: right;
}

.hero-image-full {
    position: relative;
    width: 100%;
    margin: 10px 0;
    overflow: visible;
}

.hero-image-full img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 80px rgba(0, 255, 255, 0.15);
}

.hero-footer-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding-top: 30px;
    /* Más aire debajo de la imagen */
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0;
}

.hero-action {
    text-align: right;
}

/* =====================================================
   PAGE HERO (Secondary pages)
   ===================================================== */
.page-hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    text-align: center;
}

.page-hero h1 {
    font-family: 'SquareHead', 'ShareTech', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-intro {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
}

/* =====================================================
   DIAGONAL SEPARATORS (estilo referencia 2.png)
   Corte angular esquina + bloque de color
   ===================================================== */
.section-divider {
    width: 100%;
    height: 100px;
    margin: 0;
    line-height: 0;
    position: relative;
    overflow: hidden;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-divider.flip svg {
    transform: scaleX(-1);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--cyan);
    color: var(--bg);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.cta-button-large {
    display: inline-block;
    padding: 20px 60px;
    background: var(--cyan);
    color: var(--bg);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    transform: scale(1.05);
}

.cta-button-huge {
    display: inline-block;
    padding: 25px 80px;
    background: var(--cyan);
    color: var(--bg);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button-huge:hover {
    background: #fff;
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.6);
    transform: scale(1.05);
}

/* =====================================================
   SECTION COMMON STYLES
   ===================================================== */
section {
    padding: 100px 0;
}

.section-label {
    display: block;
    font-size: 0.75rem;
    color: var(--cyan);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

section h2 {
    font-family: 'SquareHead', 'ShareTech', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
}

section h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* =====================================================
   TRAILER SECTION
   ===================================================== */
.trailer-section {
    background: var(--bg-alt);
    padding: 80px 0;
    text-align: center;
}

.trailer-container {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.1);
}

.trailer-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trailer-placeholder {
    background: var(--bg);
    padding: 100px;
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--cyan);
    color: var(--bg);
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
    background: var(--bg);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    padding: 30px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
}

/* HOLOGRAPHIC UI ENHANCEMENTS - V3 */
.holo-card {
    position: relative;
    overflow: hidden;
    background: rgba(0, 255, 255, 0.01);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.holo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    width: 200%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 255, 255, 0.08) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Corner accents */
.holo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    pointer-events: none;
    transition: all 0.3s ease;
}

.holo-card:hover {
    border-color: var(--cyan);
    background: rgba(0, 255, 255, 0.04);
    transform: translateY(-5px) scale(1.03);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.3),
        0 0 40px rgba(0, 255, 255, 0.15),
        0 15px 50px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(0, 255, 255, 0.3);
}

.holo-card:hover::before {
    opacity: 1;
    animation: holoSweep 1.5s ease-in-out infinite;
}

.holo-card:hover::after {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow:
        inset 0 0 15px rgba(0, 255, 255, 0.1),
        0 0 8px rgba(0, 255, 255, 0.4);
}

@keyframes holoSweep {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.holo-inner {
    position: relative;
    z-index: 2;
    transition: transform 0.1s ease-out;
}

.feature-icon {
    font-size: 2rem;
    color: var(--cyan);
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* =====================================================
   NARRATIVE SECTION
   ===================================================== */
.narrative-section {
    background: var(--bg-alt);
}

.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.narrative-text h2 {
    color: var(--cyan);
}

.narrative-text blockquote {
    font-size: 1.3rem;
    color: var(--text-color);
    font-style: italic;
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid var(--cyan);
}

.narrative-text p {
    color: var(--text-dim);
    margin-bottom: 20px;
}

.warning-text {
    color: var(--red) !important;
    font-style: italic;
}

.narrative-image {
    text-align: center;
}

.narrative-image img {
    max-width: 100%;
    max-height: 450px;
    filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.2));
}

.image-label {
    display: block;
    margin-top: 20px;
    font-size: 0.7rem;
    color: var(--text-darker);
    letter-spacing: 2px;
}

/* =====================================================
   GAMEPLAY LOOP SECTION
   ===================================================== */
.gameplay-loop-section {
    background: var(--bg-alt);
}

.gameplay-loop {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.loop-step {
    padding: 30px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.loop-step:hover {
    border-color: var(--cyan);
}

.step-number {
    display: block;
    font-size: 2.5rem;
    color: var(--cyan);
    font-family: 'SquareHead', sans-serif;
    margin-bottom: 15px;
}

.loop-step h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.loop-step p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.step-image {
    max-width: 100%;
    max-height: 120px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.2));
}

/* =====================================================
   ENEMIES SECTION  
   ===================================================== */
.enemies-section {
    background: var(--bg);
}

.enemy-category {
    margin-bottom: 60px;
}

.enemy-category h3 {
    color: var(--red);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.category-desc {
    color: var(--text-dim);
    margin-bottom: 30px;
}

.enemy-grid {
    display: grid;
    gap: 20px;
}

.crawlers-grid {
    grid-template-columns: repeat(6, 1fr);
}

.flyers-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
}

.enemy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(230, 51, 51, 0.02);
    border: 1px solid rgba(230, 51, 51, 0.1);
    transition: all 0.3s ease;
}

.enemy-card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
}

.enemy-card img {
    width: auto;
    max-width: 100%;
    max-height: 150px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(230, 51, 51, 0.2));
    display: block;
}

.enemy-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* =====================================================
   DEFENSES SECTION
   ===================================================== */
.defenses-section {
    background: var(--bg-alt);
    text-align: center;
}

.defenses-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.defense-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.defense-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.defense-card img {
    width: auto;
    max-width: 100%;
    max-height: 150px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.2));
    display: block;
}

.defense-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   HYBRID GAMEPLAY
   ===================================================== */
.hybrid-section {
    background: var(--bg);
    text-align: center;
}

.hybrid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.hybrid-card {
    padding: 50px 40px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.hybrid-card h3 {
    color: var(--cyan);
    margin-bottom: 15px;
}

.hybrid-card p {
    color: var(--text-dim);
}

.philosophy {
    padding: 40px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.philosophy h3 {
    color: var(--cyan);
    margin-bottom: 20px;
}

.philosophy ul {
    list-style: none;
}

.philosophy li {
    color: var(--text-dim);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.philosophy li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: var(--cyan);
}

/* =====================================================
   GAME MODES
   ===================================================== */
.modes-section {
    background: var(--bg-alt);
    text-align: center;
}

.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mode-card {
    padding: 50px 40px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.mode-card h3 {
    color: var(--cyan);
    margin-bottom: 15px;
}

.mode-card p {
    color: var(--text-dim);
}

.closing-quote {
    font-size: 1.5rem;
    color: var(--text-dim);
    font-style: italic;
    margin-top: 40px;
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-section {
    background: var(--bg);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--cyan);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =====================================================
   STATUS SECTION (Early Access)
   ===================================================== */
.status-section {
    background: var(--bg-alt);
    text-align: center;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.status-card {
    padding: 50px 40px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    text-align: left;
}

.status-card.main-status {
    text-align: center;
}

.status-number {
    font-size: 5rem;
    font-family: 'SquareHead', sans-serif;
    color: var(--cyan);
    display: block;
    margin-bottom: 10px;
}

.status-card h3 {
    color: var(--cyan);
}

.status-card p {
    color: var(--text-dim);
    margin-bottom: 15px;
}

.status-card ul {
    list-style: none;
}

.status-card li {
    color: var(--text-dim);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.status-card li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: var(--cyan);
}

/* =====================================================
   COMMUNICATION SECTION
   ===================================================== */
.communication-section {
    background: var(--bg);
    text-align: center;
}

.discord-cta {
    padding: 60px;
    background: rgba(88, 101, 242, 0.05);
    border: 1px solid rgba(88, 101, 242, 0.2);
    max-width: 600px;
    margin: 60px auto 0;
}

.discord-icon {
    color: #5865F2;
    margin-bottom: 20px;
}

.discord-cta h3 {
    color: #5865F2;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.discord-cta p {
    color: var(--text-dim);
    margin-bottom: 30px;
}

/* =====================================================
   SUPPORT SECTION
   ===================================================== */
.support-section {
    background: var(--bg-alt);
    text-align: center;
}

.support-intro {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 60px;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-item {
    padding: 40px 30px;
    background: rgba(0, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    border-color: var(--cyan);
}

.roadmap-icon {
    font-size: 2rem;
    color: var(--cyan);
    display: block;
    margin-bottom: 15px;
}

.roadmap-item h3 {
    color: var(--text-color);
    font-size: 1rem;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: var(--bg);
    text-align: center;
    padding: 120px 0;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 40px;
}

.cta-tagline {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--cyan);
    text-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    margin-bottom: 40px;
}

/* =====================================================
   GET THE GAME PAGE
   ===================================================== */
.get-game-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.get-game-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.get-game-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.get-game-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.5) 0%,
            rgba(10, 10, 10, 0.9) 100%);
}

.get-game-content {
    position: relative;
    z-index: 1;
}

.get-game-logo {
    max-width: 400px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.4));
}

.get-game-hero h1 {
    font-family: 'SquareHead', 'ShareTech', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.get-game-tagline {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.platform-badge img {
    width: 40px;
    height: 40px;
}

.platform-badge span {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.key-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.key-features span {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 85px;
    /* Tamaño igual al del menú */
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-darker);
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom span {
    font-size: 0.7rem;
    color: var(--text-darker);
    letter-spacing: 3px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {

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

    .crawlers-grid,
    .defenses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav {
        padding: 10px 20px;
    }

    .nav-logo img {
        height: 45px;
    }

    .nav-links {
        display: none;
    }

    .hero-grid,
    .narrative-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .narrative-text blockquote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--cyan);
        padding-top: 20px;
    }

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

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

    .flyers-grid {
        grid-template-columns: 1fr;
    }

    .hybrid-grid,
    .modes-grid,
    .status-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .key-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .frame-content {
        padding: 30px 20px;
    }

    .features-grid,
    .gameplay-loop,
    .crawlers-grid,
    .defenses-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* =====================================================
   3D LIGHTBOX
   ===================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

.lightbox-content {
    width: 80vw;
    height: 80vh;
    position: relative;
    /* Canvas will be appended here */
}

.lightbox-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cyan);
    font-family: 'ShareTech', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
