/* =======================================================================
   ARQUIVISUAL GAMES - STYLESHEET
   Estilo Cyberpunk, Glassmorphism, Neón y Arquitectura Espacial
   ======================================================================= */

:root {
    --bg-dark: #0a0b12;
    --bg-card: rgba(18, 22, 38, 0.75);
    --bg-card-hover: rgba(28, 34, 60, 0.85);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(99, 102, 241, 0.4);
    
    --neon-cyan: #06b6d4;
    --neon-purple: #8b5cf6;
    --neon-pink: #ec4899;
    --neon-indigo: #6366f1;
    --neon-amber: #f59e0b;
    --neon-emerald: #10b981;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-heading: 'Rajdhani', 'Orbitron', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-neon: 0 0 25px rgba(6, 182, 212, 0.25);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 35%, rgba(236, 72, 153, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
}

/* CONTAINER */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER & NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(10, 11, 18, 0.75);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-indigo));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #ffffff, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .subtitle {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--neon-pink);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-smooth);
    user-select: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-indigo));
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.35);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.55);
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(6, 182, 212, 0.1);
}

/* HERO SECTION */
.hero-section {
    padding: 50px 0 50px;
    position: relative;
}

/* MAIN STUDIO BANNER (CON MINI ANIMACIÓN CYBERPUNK) */
.main-studio-banner-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 44px;
    border: 2px solid rgba(6, 182, 212, 0.45);
    background: #090b14;
    transition: var(--transition-smooth);
    animation: bannerBorderPulse 5s ease-in-out infinite;
    cursor: pointer;
}

@keyframes bannerBorderPulse {
    0%, 100% {
        border-color: rgba(6, 182, 212, 0.5);
        box-shadow: 0 0 35px rgba(6, 182, 212, 0.3), 0 20px 45px -10px rgba(0, 0, 0, 0.85);
    }
    50% {
        border-color: rgba(245, 158, 11, 0.65);
        box-shadow: 0 0 50px rgba(245, 158, 11, 0.35), 0 0 70px rgba(6, 182, 212, 0.25), 0 20px 45px -10px rgba(0, 0, 0, 0.85);
    }
}

/* Mini Animación: Haz de Luz / Escáner Holográfico que recorre el banner */
.main-studio-banner-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(6, 182, 212, 0.4) 50%,
        rgba(245, 158, 11, 0.3) 75%,
        transparent 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 5;
    animation: bannerLightSweep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes bannerLightSweep {
    0% { left: -70%; opacity: 0; }
    10% { opacity: 1; }
    45% { left: 145%; opacity: 0; }
    100% { left: 145%; opacity: 0; }
}

.main-studio-banner-wrapper:hover {
    border-color: rgba(6, 182, 212, 0.9);
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.5), 0 25px 50px -10px rgba(0, 0, 0, 0.95);
    transform: translateY(-3px) scale(1.004);
}

.main-studio-banner-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1024 / 341;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bannerFloat 8s ease-in-out infinite alternate;
}

@keyframes bannerFloat {
    0% { transform: scale(1); }
    100% { transform: scale(1.025); }
}

.main-studio-banner-wrapper:hover .main-studio-banner-img {
    transform: scale(1.04);
}

.main-studio-banner-badge {
    position: absolute;
    bottom: 16px;
    right: 20px;
    background: rgba(10, 11, 18, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.6);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    z-index: 6;
}

/* CONTENEDOR DE LOS 4 BANNERS CHICOS */
.small-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.small-banner-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: #090b14;
    aspect-ratio: 16 / 9;
    display: block;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.small-banner-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 35px rgba(0,0,0,0.8);
}

.small-banner-card[data-cat="videogames"]:hover {
    border-color: #06b6d4;
    box-shadow: 0 14px 35px rgba(0,0,0,0.8), 0 0 25px rgba(6, 182, 212, 0.45);
}

.small-banner-card[data-cat="minigames"]:hover {
    border-color: #f59e0b;
    box-shadow: 0 14px 35px rgba(0,0,0,0.8), 0 0 25px rgba(245, 158, 11, 0.45);
}

.small-banner-card[data-cat="assets"]:hover {
    border-color: #10b981;
    box-shadow: 0 14px 35px rgba(0,0,0,0.8), 0 0 25px rgba(16, 185, 129, 0.45);
}

.small-banner-card[data-cat="gamesystems"]:hover {
    border-color: #38bdf8;
    box-shadow: 0 14px 35px rgba(0,0,0,0.8), 0 0 25px rgba(56, 189, 248, 0.45);
}

.small-banner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        rgba(6, 182, 212, 0.35),
        transparent
    );
    transform: rotate(25deg);
    z-index: 4;
    transition: left 0.7s ease;
    pointer-events: none;
}

.small-banner-card:hover::before {
    left: 150%;
}

.small-banner-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.small-banner-card:hover img {
    transform: scale(1.04);
}

.small-banner-hover-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 11, 18, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 5;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.small-banner-card:hover .small-banner-hover-tag {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

@media (max-width: 968px) {
    .small-banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .small-banners-grid {
        grid-template-columns: 1fr;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
}

.stat-item .stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--neon-cyan);
}

.stat-item .stat-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HERO ARCADE PREVIEW CARD */
.hero-arcade-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card), var(--shadow-neon);
    position: relative;
    overflow: hidden;
}

.hero-arcade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-indigo), var(--neon-pink));
}

.arcade-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.badge-live {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.arcade-screen {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.arcade-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.arcade-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 620px;
    margin: 10px auto 0;
}

/* CATEGORY BANNERS */
.category-banner-card {
    position: relative;
    width: 100%;
    min-height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    border: 2px solid var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    padding: 28px 36px;
    transition: var(--transition-smooth);
}

.category-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(6, 182, 212, 0.3);
}

.category-banner-card .banner-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.35;
    transition: transform 0.6s ease;
}

.category-banner-card:hover .banner-bg-img {
    transform: scale(1.03);
}

.category-banner-card .banner-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.category-banner-card .banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    background: rgba(10, 11, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.category-banner-card h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.category-banner-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FILTER & SEARCH BAR */
.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
    background: rgba(18, 22, 38, 0.5);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.search-box {
    position: relative;
    min-width: 260px;
}

.search-input {
    width: 100%;
    padding: 9px 16px 9px 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-dim);
}

/* GAMES GRID */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-bottom: 70px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    backdrop-filter: blur(12px);
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(99, 102, 241, 0.25);
}

.game-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-thumb-svg,
.game-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-thumb-svg,
.game-card:hover .game-thumb-img {
    transform: scale(1.06);
}

.game-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(10, 11, 18, 0.85);
    backdrop-filter: blur(8px);
    color: var(--neon-cyan);
    border: 1px solid rgba(6, 182, 212, 0.4);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.game-engine-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(99, 102, 241, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.game-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-dim);
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--neon-amber);
    font-weight: 700;
}

.game-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: #ffffff;
}

.game-subtitle {
    font-size: 13px;
    color: var(--neon-cyan);
    font-weight: 600;
    margin-bottom: 12px;
}

.game-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
    margin-top: auto;
}

.tag-item {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.game-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* HOW TO PUBLISH SECTION */
.guide-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    margin-top: 40px;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: var(--transition-smooth);
}

.guide-card:hover {
    border-color: var(--neon-purple);
    transform: translateY(-4px);
}

.guide-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 18px;
}

.guide-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

.guide-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 12px;
    color: var(--neon-cyan);
    margin-top: 12px;
    word-break: break-all;
}

/* MODAL / GAME PLAYER */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 6, 12, 0.88);
    backdrop-filter: blur(14px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #0f121e;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 980px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(6, 182, 212, 0.2);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-glass);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-body {
    padding: 24px;
}

.game-viewport-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-glass);
    margin-bottom: 20px;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-modal-controls {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.controls-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 6px;
}

.controls-text {
    font-size: 14px;
    color: var(--text-muted);
}

.modal-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 50px 0 30px;
    margin-top: 80px;
    background: rgba(8, 9, 14, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    max-width: 380px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-dim);
}

/* TOAST NOTIFICATION */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(18, 22, 38, 0.95);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(6, 182, 212, 0.3);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 40px;
    }
    .nav-links {
        display: none;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
    .spotlight-card {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 24px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================================================
   SECURITY GATE SHIELD - BLOQUEO DE TERCERAS PERSONAS
   ======================================================================= */
.security-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 14, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.security-gate-overlay.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.security-gate-card {
    background: #0d111d;
    border: 2px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.3), 0 25px 60px rgba(0, 0, 0, 0.95);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: gateAppear 0.4s ease-out;
}

@keyframes gateAppear {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.security-shield-icon {
    font-size: 54px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 18px rgba(6, 182, 212, 0.7));
}

.security-gate-card h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.security-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.security-gate-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.security-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.security-input-group input {
    flex-grow: 1;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 15px;
    outline: none;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.security-input-group input:focus {
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.gate-error {
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    min-height: 22px;
    margin-bottom: 10px;
}

.gate-hint {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ==========================================================================
   SECCIÓN WORK IN PROGRESS (EN DESARROLLO)
   ========================================================================== */
.wip-section {
    position: relative;
    padding: 80px 0;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%), #07090e;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.wip-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.wip-card-featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(13, 17, 29, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.15);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.wip-card-featured:hover {
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 45px rgba(245, 158, 11, 0.25);
    transform: translateY(-3px);
}

.wip-card-badge-strip {
    padding: 12px 24px;
    background: rgba(245, 158, 11, 0.15);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wip-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f59e0b;
    color: #000;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    animation: wipPulse 2s infinite ease-in-out;
}

@keyframes wipPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.8); }
    50% { box-shadow: 0 0 22px rgba(245, 158, 11, 1); transform: scale(1.02); }
}

.wip-phase-tag {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wip-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.wip-media-preview {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 320px;
    background: #06080d;
    border: 1px solid rgba(245, 158, 11, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wip-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wip-card-featured:hover .wip-cover-img {
    transform: scale(1.05);
}

.wip-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 11, 18, 0.85) 0%, rgba(10, 11, 18, 0.15) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.wip-placeholder-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(to right, rgba(245, 158, 11, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(245, 158, 11, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.wip-icon-large {
    font-size: 54px;
    filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.6));
    animation: wipFloatIcon 4s ease-in-out infinite alternate;
}

@keyframes wipFloatIcon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.wip-radar-sweep {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg at 50% 50%, rgba(245, 158, 11, 0.18) 0deg, transparent 60deg, transparent 360deg);
    animation: wipRadarRotate 4s linear infinite;
    pointer-events: none;
}

@keyframes wipRadarRotate {
    100% { transform: rotate(360deg); }
}

.wip-status-pill {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(10, 11, 18, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #f59e0b;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.wip-engine-meta {
    display: flex;
    gap: 8px;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 600;
    flex-wrap: wrap;
}

.wip-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.wip-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.wip-progress-bar-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.wip-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.wip-progress-header strong {
    color: #f59e0b;
    font-family: var(--font-heading);
}

.wip-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.wip-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    background-size: 30px 30px;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.25) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.25) 75%,
        transparent 75%,
        transparent
    );
    animation: wipStripes 2s linear infinite;
    border-radius: var(--radius-full);
}

@keyframes wipStripes {
    0% { background-position: 0 0; }
    100% { background-position: 30px 0; }
}

.wip-features-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wip-feat-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: #cbd5e1;
}

.wip-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.wip-secondary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wip-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.wip-mini-card {
    background: rgba(13, 17, 29, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.wip-mini-card:hover {
    border-color: rgba(245, 158, 11, 0.55);
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.wip-mini-icon {
    font-size: 28px;
    padding: 10px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
}

.wip-mini-info {
    flex-grow: 1;
}

.wip-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wip-badge-small {
    font-size: 9px;
    font-weight: 800;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.wip-mini-percent {
    font-size: 12px;
    font-weight: 800;
    color: #f59e0b;
    font-family: var(--font-heading);
}

.wip-mini-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.wip-mini-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 10px;
}

.wip-mini-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.wip-mini-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #eab308);
    border-radius: var(--radius-full);
}

@media (max-width: 968px) {
    .wip-showcase-grid {
        grid-template-columns: 1fr;
    }
    .wip-secondary-grid {
        grid-template-columns: 1fr;
    }
}
