/* ═══════════════════════════════════════════════════════════════════
   TikControl Website - NUEVO DISEÑO ÚNICO
   Cyber/Tech aesthetic - Turquesa/Cian con Acentos Dorados
   Completamente diferente de InteractiveApp.live
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   CSS Variables / Design Tokens - NUEVO ESQUEMA DE COLORES
   ───────────────────────────────────────────────────────────────────── */
:root {
    /* ═══ COLORES NEÓN TIKCONTROL - ELECTRIC BLUE ═══ */
    /* Azul Eléctrico Principal */
    --primary: #237BFF;
    /* Electric Blue */
    --primary-light: #5C9DFF;
    --primary-dark: #0F5ACC;
    --primary-glow: rgba(35, 123, 255, 0.6);
    --primary-neon: 0 0 10px #237BFF, 0 0 20px #237BFF, 0 0 40px #237BFF;

    /* Cian/Turquesa Eléctrico (Acento) */
    --accent: #2FFFE3;
    --accent-light: #7FFFF1;
    --accent-dark: #00CCB4;
    --accent-glow: rgba(47, 255, 227, 0.5);
    --accent-neon: 0 0 10px #2FFFE3, 0 0 20px #2FFFE3, 0 0 40px #2FFFE3;

    /* Azul Secundario */
    --secondary: #2962FF;
    --secondary-glow: rgba(41, 98, 255, 0.4);

    /* Estados */
    --success: #00ff88;
    --warning: #ffd700;
    --error: #ff3366;

    /* Neutros - Negro profundo */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #e5e5e5;
    --gray-200: #d4d4d4;
    --gray-300: #a3a3a3;
    --gray-400: #888888;
    --gray-500: #6b6b6b;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #141414;
    --gray-950: #080808;

    /* Fondos - NEGRO PURO para máximo contraste */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: rgba(35, 123, 255, 0.05);
    --bg-card-hover: rgba(35, 123, 255, 0.12);

    /* Efectos de cristal con neón */
    --glass-bg: rgba(0, 0, 0, 0.8);
    --glass-border: rgba(35, 123, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);

    /* Gradientes NEÓN TikControl */
    --gradient-primary: linear-gradient(135deg, #237BFF 0%, #0F5ACC 100%);
    --gradient-accent: linear-gradient(135deg, #2FFFE3 0%, #237BFF 100%);
    --gradient-neon: linear-gradient(135deg, #237BFF 0%, #2FFFE3 50%, #0F5ACC 100%);
    --gradient-cyber: linear-gradient(180deg, rgba(35, 123, 255, 0.15) 0%, transparent 50%);
    --gradient-dark: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);

    /* Tipografía - Diferente */
    --font-display: 'Sora', system-ui, -apple-system, sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

    /* Espaciado */
    --container-max: 1320px;
    --container-padding: 24px;

    /* Bordes - Más angulares */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ─────────────────────────────────────────────────────────────────────
   Reset & Base
   ───────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-100);
    background: var(--bg-primary);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ─────────────────────────────────────────────────────────────────────
   Layout
   ───────────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ─────────────────────────────────────────────────────────────────────
   Background Effects - NUEVO: Líneas y formas geométricas
   ───────────────────────────────────────────────────────────────────── */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Líneas de cuadrícula cyber */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(80px, 80px);
    }
}

/* Líneas diagonales de acento */
.bg-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 200px,
            rgba(168, 85, 247, 0.02) 200px,
            rgba(168, 85, 247, 0.02) 201px);
}

/* Gradiente superior */
.bg-effects::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60vh;
    background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
}

/* Formas geométricas flotantes */
.geo-shape {
    position: absolute;
    border: 1px solid rgba(168, 85, 247, 0.2);
    animation: geoFloat 15s ease-in-out infinite;
}

.geo-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    transform: rotate(45deg);
    border-color: rgba(255, 215, 0, 0.15);
    animation-delay: 0s;
}

.geo-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 10%;
    transform: rotate(30deg);
    animation-delay: -5s;
}

.geo-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 60%;
    transform: rotate(60deg);
    border-color: rgba(236, 72, 153, 0.1);
    animation-delay: -10s;
}

@keyframes geoFloat {

    0%,
    100% {
        opacity: 0.5;
        transform: rotate(45deg) translate(0, 0);
    }

    50% {
        opacity: 0.8;
        transform: rotate(45deg) translate(20px, -20px);
    }
}

/* Eliminar orbes difusos típicos de otras webs */
.gradient-orb {
    display: none;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.015;
}

/* ─────────────────────────────────────────────────────────────────────
   Typography - NUEVO
   ───────────────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #ff1493, #ff69b4, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.4));
}

.accent {
    color: var(--primary);
}

.text-glow {
    text-shadow: 0 0 30px var(--primary-glow);
}

/* ─────────────────────────────────────────────────────────────────────
   Buttons - NUEVO DISEÑO
   ───────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow:
        0 0 20px var(--primary-glow),
        0 0 40px rgba(255, 20, 147, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        var(--primary-neon),
        0 15px 50px rgba(255, 20, 147, 0.5);
}

.btn-primary .btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover .btn-glow {
    transform: translateX(100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px transparent, inset 0 0 15px transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 20, 147, 0.15);
    border-color: var(--primary-light);
    color: var(--white);
    box-shadow:
        0 0 25px var(--primary-glow),
        inset 0 0 20px rgba(255, 20, 147, 0.2);
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-300);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: var(--primary);
    border-color: rgba(168, 85, 247, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--bg-primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-large {
    padding: 18px 36px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────
   Glass Effect - NUEVO: Más tech, menos genérico
   ───────────────────────────────────────────────────────────────────── */
.glass {
    background: linear-gradient(135deg, rgba(10, 18, 32, 0.9) 0%, rgba(16, 24, 40, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 0 rgba(168, 85, 247, 0.05);
}

/* Efecto de borde brillante al hover */
.glass:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow:
        0 0 40px rgba(168, 85, 247, 0.1),
        inset 0 1px 0 rgba(168, 85, 247, 0.1);
}

/* ─────────────────────────────────────────────────────────────────────
   Navigation - NUEVO DISEÑO
   ───────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(4, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-text {
    color: var(--white);
}

.logo-text .accent {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--gray-400);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ─────────────────────────────────────────────────────────────────────
   Hero Section - COMPLETAMENTE NUEVO
   ───────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 140px var(--container-padding) 100px;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
}

/* Línea decorativa izquierda */
.hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(35, 123, 255, 0.1);
    border: 1px solid rgba(35, 123, 255, 0.3);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--success);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px var(--success);
    }
}

.hero-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    text-shadow: 0 0 60px rgba(35, 123, 255, 0.2);
}

.hero-description {
    font-size: 19px;
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--primary);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(35, 123, 255, 0.15);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 30px var(--primary-glow);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
}

/* Hero Visual - NUEVO: Diseño de consola/terminal */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.overlay-preview {
    position: relative;
}

.overlay-frame {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    padding: 24px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(35, 123, 255, 0.3),
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(35, 123, 255, 0.15),
        inset 0 1px 0 rgba(35, 123, 255, 0.1);
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.overlay-frame:hover {
    transform: rotateY(-2deg) rotateX(2deg);
}

.overlay-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 20px var(--primary-glow);
}

.overlay-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    min-height: 300px;
}

.overlay-widget {
    background: rgba(35, 123, 255, 0.05);
    border: 1px solid rgba(35, 123, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-base);
}

.overlay-widget:hover {
    background: rgba(35, 123, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(35, 123, 255, 0.2);
}

.overlay-widget span {
    font-size: 32px;
}

.overlay-widget small {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.overlay-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(35, 123, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ─────────────────────────────────────────────────────────────────────
   Section Headers - NUEVO
   ───────────────────────────────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(35, 123, 255, 0.1);
    border: 1px solid rgba(35, 123, 255, 0.4);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: #2FFFE3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(35, 123, 255, 0.2);
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────────
   Overlay Section
   ───────────────────────────────────────────────────────────────────── */
.overlay-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

/* Línea decorativa superior */
.overlay-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.overlay-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.overlay-feature {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.overlay-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--primary);
    opacity: 0;
    transition: all var(--transition-base);
}

.overlay-feature:hover::before {
    opacity: 1;
    left: 0;
    right: 0;
}

.overlay-feature:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.overlay-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

.overlay-feature h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.overlay-feature p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────
   Games Section - NUEVO DISEÑO
   ───────────────────────────────────────────────────────────────────── */
.games-section {
    padding: 120px 0;
    position: relative;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.game-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

/* Borde animado */
.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), transparent, var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(168, 85, 247, 0.15);
}

.game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    transition: transform var(--transition-slow);
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-info {
    padding: 20px;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.game-info h4 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 6px;
}

.game-info p {
    font-size: 13px;
    color: var(--gray-400);
}

.games-more {
    text-align: center;
    font-size: 15px;
    color: var(--gray-400);
    padding: 20px;
    background: rgba(168, 85, 247, 0.05);
    border: 1px dashed rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-lg);
}

.games-more strong {
    color: var(--primary);
}

/* ─────────────────────────────────────────────────────────────────────
   Battles Section - NUEVO
   ───────────────────────────────────────────────────────────────────── */
.battles-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.battle-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.battle-demo {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(59, 130, 246, 0.1));
    border: 2px solid rgba(255, 51, 102, 0.3);
    position: relative;
}

.battle-demo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.battle-header-demo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
    color: var(--white);
    text-shadow: 0 0 30px rgba(255, 51, 102, 0.5);
}

.battle-teams-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.battle-team-demo {
    text-align: center;
}

.battle-team-demo .team-name {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.battle-team-demo.red .team-name {
    color: #ff3366;
}

.battle-team-demo.blue .team-name {
    color: #3b82f6;
}

.team-score-demo {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
}

.battle-vs-demo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-600);
}

.battle-bar-demo {
    height: 14px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), rgba(255, 51, 102, 0.3));
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.battle-progress-demo {
    height: 100%;
    background: linear-gradient(90deg, #ff3366, #ff6b35);
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
}

.battle-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.battle-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(168, 85, 247, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.battle-feature:hover {
    border-color: rgba(168, 85, 247, 0.2);
    background: rgba(168, 85, 247, 0.05);
}

.bf-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.battle-feature h4 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 6px;
}

.battle-feature p {
    font-size: 14px;
    color: var(--gray-400);
}

/* ─────────────────────────────────────────────────────────────────────
   Features Section - NUEVO
   ───────────────────────────────────────────────────────────────────── */
.features-section {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Línea de acento en la parte superior */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 32px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--white);
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────────
   Widgets Section
   ───────────────────────────────────────────────────────────────────── */
.widgets-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.widgets-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.widget-tag {
    padding: 12px 22px;
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-200);
    transition: all var(--transition-fast);
}

.widget-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* ─────────────────────────────────────────────────────────────────────
   Pricing Section - NUEVO
   ───────────────────────────────────────────────────────────────────── */
.pricing-preview {
    padding: 120px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

/* Botón siempre al fondo */
.pricing-card .btn {
    margin-top: auto;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
    box-shadow: 0 0 20px var(--primary-glow);
}

.pricing-header {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.pricing-name {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--white);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 40px var(--primary-glow);
}

.price-period {
    font-size: 16px;
    color: var(--gray-500);
}

.pricing-discount {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(70, 211, 105, 0.2);
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.pricing-includes {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: var(--gray-400);
    padding: 24px;
    background: rgba(168, 85, 247, 0.03);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(168, 85, 247, 0.2);
}

.pricing-includes strong {
    color: var(--primary);
}

/* ─────────────────────────────────────────────────────────────────────
   CTA Section - NUEVO
   ───────────────────────────────────────────────────────────────────── */
.cta-section {
    padding: 120px 0;
}

.cta-content {
    position: relative;
    padding: 100px 60px;
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.2);
}

/* Líneas decorativas */
.cta-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: calc(var(--radius-xl) - 10px);
    pointer-events: none;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    display: none;
    /* Eliminamos orbes genéricos */
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    text-shadow: 0 0 40px var(--primary-glow);
}

.cta-description {
    font-size: 18px;
    color: var(--gray-300);
    max-width: 550px;
    margin: 0 auto 40px;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

/* ─────────────────────────────────────────────────────────────────────
   Footer - NUEVO
   ───────────────────────────────────────────────────────────────────── */
.footer {
    padding: 100px 0 50px;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 70px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    padding: 10px 0;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

.footer-disclaimer {
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray-600);
}

/* ─────────────────────────────────────────────────────────────────────
   Responsive Design
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .overlay-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .battle-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 160px;
    }

    .hero::before {
        display: none;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 550px;
        margin: 0 auto;
    }

    .overlay-frame {
        transform: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid rgba(168, 85, 247, 0.1);
        padding: 24px;
        gap: 20px;
    }

    .overlay-features,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .overlay-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 30px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-content {
        padding: 60px 30px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Games Scroll Section - Scroll Horizontal Infinito
   ═══════════════════════════════════════════════════════════════════ */

.games-scroll-section {
    padding: 80px 0 60px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.games-scroll-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-neon);
    box-shadow: 0 0 20px var(--primary-glow);
}

.games-scroll-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.games-scroll-header {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.scroll-controls {
    display: flex;
    gap: 8px;
}

.scroll-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary);
    background: rgba(255, 20, 147, 0.1);
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--primary-neon);
    transform: scale(1.1);
}

.games-scroll-container {
    display: flex;
    gap: 16px;
    padding: 10px var(--container-padding);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.games-scroll-container::-webkit-scrollbar {
    display: none;
}

.games-scroll-container:active {
    cursor: grabbing;
}

/* Cards de juegos COMPACTAS con efecto NEÓN */
.game-card-new {
    flex: 0 0 140px;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 20, 147, 0.2);
    background: var(--bg-tertiary);
    user-select: none;
    -webkit-user-drag: none;
}

.game-card-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.game-card-new:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 0 20px var(--primary-glow),
        0 20px 40px rgba(0, 0, 0, 0.5);
}

.game-card-new:hover::before {
    opacity: 1;
}

.game-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.game-card-new:hover img {
    transform: scale(1.1);
}

.game-card-new .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    z-index: 2;
}

.game-card-new .overlay h4 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.game-card-new .overlay p {
    display: none;
}

.scroll-indicator {
    text-align: center;
    margin-top: 16px;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.scroll-indicator span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Responsive Games Scroll */
@media (max-width: 1200px) {
    .game-card-new {
        flex: 0 0 130px;
        height: 175px;
    }
}

@media (max-width: 768px) {
    .games-scroll-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .game-card-new {
        flex: 0 0 110px;
        height: 150px;
    }

    .scroll-controls {
        display: none;
    }
}