/* =========================================
            VARIABLES Y CONFIGURACIÓN BASE
           ========================================= */
           :root {
            --primary: #9d4edd; /* Violeta Neón */
            --secondary: #00f2ff; /* Cian Eléctrico */
            --accent: #ff0055; /* Rojo Neón */
            --bg-dark: #050508;
            --bg-card: #13131f;
            --bg-semi: rgba(10, 10, 18, 0.85);
            --text-main: #ffffff;
            --text-muted: #a0a0b0;
            --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
            --shadow-glow: 0 0 20px rgba(157, 78, 221, 0.5);
            --border-light: rgba(255, 255, 255, 0.1);
            --font-display: 'Orbitron', sans-serif;
            --font-body: 'Rajdhani', sans-serif;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: var(--font-body);
            overflow-x: hidden;
            line-height: 1.7;
            min-height: 100vh;
            position: relative;
        }
        
        /* =========================================
                    EFECTOS CYBERPUNK (SCANLINES)
                   ========================================= */
        .scanlines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: linear-gradient(
                to bottom,
                rgba(255,255,255,0),
                rgba(255,255,255,0) 50%,
                rgba(0,0,0,0.2) 50%,
                rgba(0,0,0,0.2)
            );
            background-size: 100% 4px;
            z-index: 9999;
            pointer-events: none;
            opacity: 0.15;
        }
        
        /* =========================================
                    ANIMACIONES SCROLL REVEAL
                   ========================================= */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        }
        
        .scroll-reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* =========================================
                    FONDO DE PARTÍCULAS
                   ========================================= */
        #particles-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }
        
        /* =========================================
                    ENLACES
                   ========================================= */
        a {
            text-decoration: none !important;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        
        /* =========================================
                    HEADER & NAV
                ========================================= */
        header {
            background: rgba(5, 5, 8, 0.9);
            backdrop-filter: blur(12px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
            box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-family: var(--font-display);
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--text-main);
            text-transform: uppercase;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo i {
            color: var(--secondary);
            font-size: 1.6rem;
            filter: drop-shadow(0 0 5px var(--secondary));
        }
        
        .nav-links {
            display: flex;
            gap: 35px;
            list-style: none;
        }
        
        .nav-links a {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
        }
        
        .nav-links a:hover,
        .nav-links a.active {
            color: var(--secondary);
            text-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: width 0.3s ease;
            box-shadow: 0 0 10px var(--secondary);
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            font-size: 1.8rem;
            color: var(--text-main);
            background: none;
            border: none;
            cursor: pointer;
            text-shadow: 0 0 10px var(--primary);
        }
        
        /* =========================================
               HERO SECTION & GLITCH
               ========================================= */
        #inicio {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 80px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-bg-glow {
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(157,78,221,0.15) 0%, rgba(0,0,0,0) 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 0;
            pointer-events: none;
        }
        
        .hero-content {
            background: rgba(18, 18, 30, 0.85);
            backdrop-filter: blur(15px);
            padding: 4rem;
            text-align: center;
            max-width: 800px;
            border: 1px solid var(--border-light);
            position: relative;
            z-index: 10;
            clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
            box-shadow: 0 0 40px rgba(0, 242, 255, 0.1);
        }
        
        .hero-title {
            font-family: var(--font-display);
            font-size: 3.5rem;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            color: white;
            position: relative;
        }
        
        /* Glitch */
        .glitch {
            position: relative;
        }
        .glitch::before, .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-dark); 
        }
        .glitch::before {
            left: 2px;
            text-shadow: -1px 0 var(--accent);
            clip-path: inset(44% 0 61% 0);
            animation: glitch-anim-1 2s infinite linear alternate-reverse;
        }
        .glitch::after {
            left: -2px;
            text-shadow: -1px 0 var(--secondary);
            clip-path: inset(12% 0 55% 0);
            animation: glitch-anim-2 2s infinite linear alternate-reverse;
        }
        
        @keyframes glitch-anim-1 {
            0% { clip-path: inset(80% 0 5% 0); }
            20% { clip-path: inset(10% 0 80% 0); }
            40% { clip-path: inset(50% 0 30% 0); }
            60% { clip-path: inset(5% 0 70% 0); }
            80% { clip-path: inset(90% 0 5% 0); }
            100% { clip-path: inset(30% 0 40% 0); }
        }
        @keyframes glitch-anim-2 {
            0% { clip-path: inset(10% 0 60% 0); }
            20% { clip-path: inset(80% 0 5% 0); }
            40% { clip-path: inset(40% 0 20% 0); }
            60% { clip-path: inset(10% 0 80% 0); }
            80% { clip-path: inset(30% 0 50% 0); }
            100% { clip-path: inset(70% 0 10% 0); }
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* =========================================
               BOTONES CIBERPUNK & RGB
               ========================================= */
        .btn {
            display: inline-block;
            padding: 14px 35px;
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-align: center;
            border: none;
            z-index: 1;
        }
        
        .btn-primary {
            background: var(--gradient);
            color: #fff;
            clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
            box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 30px rgba(0, 242, 255, 0.6);
            filter: brightness(1.2);
        }
        
        /* Animación RGB Border para botones y cards */
        @keyframes rgb-border {
            0% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000, inset 0 0 10px #ff0000; }
            20% { border-color: #ff8800; box-shadow: 0 0 10px #ff8800, inset 0 0 10px #ff8800; }
            40% { border-color: #ffff00; box-shadow: 0 0 10px #ffff00, inset 0 0 10px #ffff00; }
            60% { border-color: #00ff00; box-shadow: 0 0 10px #00ff00, inset 0 0 10px #00ff00; }
            80% { border-color: #0088ff; box-shadow: 0 0 10px #0088ff, inset 0 0 10px #0088ff; }
            100% { border-color: #ff00ff; box-shadow: 0 0 10px #ff00ff, inset 0 0 10px #ff00ff; }
        }
        
        /* Clase helper para activar RGB en hover */
        .rgb-border-hover:hover {
            animation: rgb-border 1.5s linear infinite;
        }
        
        .btn-outline {
            background: transparent;
            color: var(--secondary);
            border: 2px solid var(--secondary);
            clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
        }
        
        .btn-outline:hover {
            background: rgba(0, 242, 255, 0.1);
            box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
            text-shadow: 0 0 8px var(--secondary);
        }
        
        /* =========================================
               SECCIONES GENERALES
               ========================================= */
        section {
            padding: 6rem 0;
            position: relative;
            z-index: 5;
            border-top: 1px solid rgba(255,255,255,0.03);
        }
        
        .section-title {
            font-family: var(--font-display);
            font-size: 2.8rem;
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
            text-transform: uppercase;
        }
        
        .section-title span {
            color: var(--secondary);
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--gradient);
            margin: 15px auto 0;
            box-shadow: 0 0 10px var(--primary);
        }
        
        /* =========================================
               STATS BAR
               ========================================= */
        .stats-bar {
            background: var(--bg-semi);
            backdrop-filter: blur(10px);
            padding: 2.5rem 0;
            border-top: 1px solid var(--primary);
            border-bottom: 1px solid var(--primary);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
            background: rgba(255, 255, 255, 0.03);
            padding: 20px;
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }
        
        .stat-item:hover {
            transform: translateY(-5px);
            border-color: var(--secondary);
            box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
        }
        
        .stat-number {
            font-family: var(--font-display);
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--text-main);
            display: block;
        }
        
        .stat-label {
            color: var(--text-muted);
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }
        
        /* =========================================
               SERVIDORES (CARDS CORREGIDAS - SIN 3D)
               ========================================= */
        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        /* Contenedor relativo para posicionar el badge */
        .card-image-wrapper {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
        }
        
        .game-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
        }
        
        /* Efecto Hover Simple (Elevación) sin 3D */
        .game-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
        }
        
        .game-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-bottom: 2px solid var(--secondary);
            transition: transform 0.5s ease;
        }
        
        /* Zoom suave a la imagen al hacer hover */
        .game-card:hover .game-image {
            transform: scale(1.05);
        }
        
        /* =========================================
               BADGE JUGADORES (ESQUINA IMAGEN)
               ========================================= */
        .player-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(5, 5, 8, 0.85); /* Fondo oscuro semitransparente */
            backdrop-filter: blur(5px);
            color: #fff;
            padding: 5px 12px;
            border-radius: 4px;
            font-family: var(--font-display);
            font-size: 0.8rem;
            border: 1px solid var(--primary);
            box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 5;
            transition: all 0.3s ease;
        }
        
        .player-badge i {
            color: var(--secondary);
            font-size: 0.9rem;
        }
        
        .player-badge.offline {
            background: rgba(255, 0, 0, 0.2);
            border-color: #ff0000;
            color: #ff0000;
        }
        
        .player-badge.offline i {
            color: #ff0000;
        }
        
        /* =========================================
               INFO DE LA TARJETA
               ========================================= */
        .game-info {
            padding: 25px;
            position: relative;
            z-index: 2;
            background: var(--bg-card);
            flex-grow: 1; /* Permite que las tarjetas crezcan igual */
            display: flex;
            flex-direction: column;
        }
        
        .game-title {
            font-family: var(--font-display);
            font-size: 1.6rem;
            margin-bottom: 10px;
            color: var(--text-main);
        }
        
        .game-status, .game-maintance {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 0.8rem;
            padding: 4px 10px;
            border-radius: 4px;
            margin-bottom: 15px;
            border: 1px solid;
            align-self: flex-start; /* Alinea a la izquierda */
        }
        
        .game-status {
            color: #00ff88;
            background: rgba(0, 255, 136, 0.1);
            border-color: rgba(0, 255, 136, 0.3);
        }
        
        .game-maintance {
            color: #e5ff00;
            background: rgba(238, 255, 0, 0.1);
            border-color: rgba(168, 185, 10, 0.699);
        }
        
        .status-avaliable, .status-maintance {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            box-shadow: 0 0 10px currentColor;
            animation: pulse 1.5s infinite;
        }
        
        .ip-box {
            margin-top: auto; /* Empuja el IP box al fondo */
            background: rgba(0, 0, 0, 0.5);
            padding: 12px;
            border: 1px dashed var(--text-muted);
            font-family: monospace;
            color: var(--secondary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s;
        }
        
        .ip-box:hover {
            background: rgba(0, 242, 255, 0.1);
            border-color: var(--secondary);
        }
        
        /* =========================================
               DONAR (PRECIOS)
               ========================================= */
        .donate-options {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .donate-card {
            background: var(--bg-card);
            padding: 40px;
            text-align: center;
            width: 300px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
            border: 1px solid var(--border-light);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .donate-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
        }
        
        .donate-card.featured {
            border: 2px solid var(--accent);
            background: linear-gradient(180deg, rgba(255,0,85,0.1) 0%, var(--bg-card) 100%);
            transform: scale(1.05);
            z-index: 2;
        }
        
        .donate-card.featured:hover {
            transform: scale(1.08);
        }
        
        .price {
            font-family: var(--font-display);
            font-size: 3rem;
            margin: 20px 0;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .features-list {
            list-style: none;
            text-align: left;
            margin: 25px 0;
        }
        
        .features-list li {
            margin-bottom: 12px;
            color: var(--text-muted);
        }
        
        .features-list li i {
            color: var(--secondary);
            margin-right: 10px;
        }
        
        /* =========================================
               FAQ & COMUNIDAD
               ========================================= */
        .split-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .faq-item {
            background: var(--bg-card);
            margin-bottom: 15px;
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .faq-item:hover {
            border-color: var(--primary);
        }
        
        .faq-question {
            padding: 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-family: var(--font-display);
            background: rgba(255,255,255,0.02);
        }
        
        .faq-question i {
            transition: transform 0.3s ease;
        }
        
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
            padding: 0 20px;
        }
        
        .faq-item.active {
            border-color: var(--secondary);
            box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
        }
        
        .faq-item.active .faq-answer {
            padding-bottom: 20px; 
            padding-top: 10px;
        }
        
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
            color: var(--secondary);
        }
        
        /* =========================================
               FOOTER
               ========================================= */
        footer {
            background: #020205;
            border-top: 1px solid var(--border-light);
            padding: 4rem 0 2rem;
            margin-top: 4rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        
        .footer-col h4 {
            font-family: var(--font-display);
            color: var(--text-main);
            margin-bottom: 20px;
            font-size: 1.2rem;
            border-bottom: 2px solid var(--accent);
            display: inline-block;
            padding-bottom: 5px;
        }
        
        .footer-links li {
            list-style: none;
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-link {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 5px;
            font-size: 1.2rem;
            color: #fff;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid var(--border-light);
        }
        
        .social-link:hover .fa-facebook { color: #1877F2; text-shadow: 0 0 10px #1877F2; }
        .social-link:hover .fa-twitter { color: #1DA1F2; text-shadow: 0 0 10px #1DA1F2; }
        .social-link:hover .fa-instagram { color: #E1306C; text-shadow: 0 0 10px #E1306C; }
        .social-link:hover .fa-discord { color: #5865F2; text-shadow: 0 0 10px #5865F2; }
        .social-link:hover .fa-youtube { color: #FF0000; text-shadow: 0 0 10px #FF0000; }
        
        .social-link:hover {
            transform: translateY(-5px) rotate(5deg);
            background: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        
        .copyright {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border-light);
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        /* =========================================
               WHATSAPP FLOTANTE
               ========================================= */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #25d366;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
            z-index: 999;
            transition: all 0.3s ease;
            clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
        }
        
        .whatsapp-float:hover {
            transform: scale(1.1) rotate(10deg);
            box-shadow: 0 0 40px rgba(37, 211, 102, 0.8);
        }
        
        /* =========================================
               ANIMACIONES VARIAS
               ========================================= */
        @keyframes pulse {
            0% { transform: scale(0.95); opacity: 0.7; }
            50% { transform: scale(1.05); opacity: 1; }
            100% { transform: scale(0.95); opacity: 0.7; }
        }
        
        /* =========================================
               RESPONSIVE
               ========================================= */
        @media (max-width: 992px) {
            .split-section { grid-template-columns: 1fr; }
            .hero-title { font-size: 2.8rem; }
        }
        
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: rgba(10, 10, 18, 0.98);
                padding: 20px;
                border-bottom: 2px solid var(--primary);
            }
            .nav-links.active { display: flex; }
            .mobile-menu-btn { display: block; }
            
            .hero-content { padding: 2.5rem 1.5rem; margin: 0 15px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
        }
        
        @media (max-width: 480px) {
            .hero-title { font-size: 2.2rem; }
            .stats-grid { grid-template-columns: 1fr; }
            .donate-options { flex-direction: column; align-items: center; }
            .donate-card.featured { transform: scale(1); }
        }