/* ========================================
   JUEGOS DE TRAGAMONEDAS - Estilos Principales
   Tema: Púrpura Neón y Rosa - Vegas Slots
   ======================================== */

:root {
    --purpura-primario: #9B30FF;
    --purpura-oscuro: #6A0DAD;
    --rosa-neon: #FF1493;
    --naranja-neon: #FF6B35;
    --dorado-primario: #FFD700;
    --negro-fondo: #0D0015;
    --negro-card: #1A0025;
    --blanco: #FFFFFF;
    --gris-texto: rgba(255, 255, 255, 0.85);
    --gris-suave: rgba(255, 255, 255, 0.6);
    --gradiente-hero: linear-gradient(135deg, #0D0015 0%, #9B30FF 50%, #FF1493 100%);
    --gradiente-card: linear-gradient(145deg, #1A0025 0%, #0D0015 100%);
    --sombra-neon: 0 0 30px rgba(155, 48, 255, 0.5);
    --sombra-rosa: 0 0 20px rgba(255, 20, 147, 0.4);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--negro-fondo);
    color: var(--gris-texto);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--blanco);
    line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin-bottom: 1.5rem; color: var(--gris-texto); }
a { color: var(--rosa-neon); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--purpura-primario); }
.contenedor { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* NAVEGACIÓN */
.navegacion-principal {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13, 0, 21, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(155, 48, 255, 0.2);
    transition: all 0.3s ease;
}
.navegacion-principal.scrolled {
    background: rgba(13, 0, 21, 0.98);
    box-shadow: 0 5px 30px rgba(155, 48, 255, 0.3);
}
.nav-contenedor {
    max-width: 1400px; margin: 0 auto; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-marca img {
    width: 55px; height: 55px; border-radius: 50%;
    border: 2px solid var(--rosa-neon);
    box-shadow: var(--sombra-rosa);
}
.nombre-marca {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 700;
    background: linear-gradient(135deg, var(--rosa-neon), var(--purpura-primario));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.menu-navegacion { display: flex; align-items: center; gap: 30px; list-style: none; }
.menu-navegacion a {
    color: var(--blanco); font-weight: 500; font-size: 0.95rem;
    padding: 8px 0; position: relative;
}
.menu-navegacion a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--rosa-neon); transition: width 0.3s ease;
}
.menu-navegacion a:hover::after { width: 100%; }
.menu-navegacion .boton-cta {
    background: linear-gradient(135deg, var(--purpura-primario), var(--rosa-neon));
    padding: 12px 28px; border-radius: 30px; color: var(--blanco);
    font-weight: 600; border: 2px solid var(--rosa-neon);
    box-shadow: var(--sombra-neon);
}
.menu-navegacion .boton-cta:hover {
    background: linear-gradient(135deg, var(--rosa-neon), var(--naranja-neon));
    transform: translateY(-2px);
}
.menu-navegacion .boton-cta::after { display: none; }
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 10px;
}
.menu-toggle span {
    width: 28px; height: 3px; background: var(--rosa-neon);
    border-radius: 3px; transition: all 0.3s ease;
}

/* HERO */
.seccion-hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding-top: 80px;
}
.hero-fondo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(13,0,21,0.7) 0%, rgba(155,48,255,0.3) 50%, rgba(13,0,21,0.9) 100%);
    z-index: 2;
}
.hero-contenido {
    position: relative; z-index: 3; text-align: center;
    max-width: 900px; padding: 40px 20px;
}
.hero-titulo {
    font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(255, 20, 147, 0.6);
    animation: brilloNeon 3s ease-in-out infinite;
}
@keyframes brilloNeon {
    0%, 100% { text-shadow: 0 0 40px rgba(255, 20, 147, 0.6); }
    50% { text-shadow: 0 0 60px rgba(255, 20, 147, 0.9), 0 0 80px rgba(155, 48, 255, 0.5); }
}
.hero-subtitulo {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--gris-texto);
    margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto;
}

/* BOTONES */
.boton-primario {
    display: inline-block;
    background: linear-gradient(135deg, var(--rosa-neon), var(--purpura-primario));
    color: var(--blanco); padding: 18px 45px; border-radius: 50px;
    font-weight: 700; font-size: 1.1rem; text-transform: uppercase;
    letter-spacing: 1px; border: none; cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
    position: relative; overflow: hidden;
}
.boton-primario::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.boton-primario:hover::before { left: 100%; }
.boton-primario:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.5);
    color: var(--blanco);
}
.boton-secundario {
    display: inline-block; background: transparent; color: var(--rosa-neon);
    padding: 16px 40px; border-radius: 50px; font-weight: 600;
    border: 2px solid var(--rosa-neon); transition: all 0.3s ease; margin-left: 15px;
}
.boton-secundario:hover { background: var(--rosa-neon); color: var(--negro-fondo); }

/* SECCIONES */
.seccion { padding: 100px 0; }
.seccion-oscura { background: var(--negro-fondo); }
.seccion-gradiente { background: var(--gradiente-hero); }
.seccion-titulo { text-align: center; margin-bottom: 60px; }
.seccion-titulo h2 { margin-bottom: 20px; position: relative; display: inline-block; }
.seccion-titulo h2::after {
    content: ''; position: absolute; bottom: -15px; left: 50%;
    transform: translateX(-50%); width: 80px; height: 4px;
    background: linear-gradient(90deg, var(--purpura-primario), var(--rosa-neon));
    border-radius: 2px;
}
.seccion-titulo p { max-width: 700px; margin: 30px auto 0; color: var(--gris-suave); }

/* TARJETAS DE JUEGOS */
.juegos-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px; margin-top: 50px;
}
.juego-card {
    background: var(--gradiente-card); border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(155, 48, 255, 0.2); transition: all 0.4s ease; position: relative;
}
.juego-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--purpura-primario), var(--rosa-neon));
    opacity: 0; transition: opacity 0.3s ease;
}
.juego-card:hover::before { opacity: 1; }
.juego-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(155, 48, 255, 0.3);
    border-color: rgba(255, 20, 147, 0.4);
}
.juego-imagen { position: relative; height: 220px; overflow: hidden; }
.juego-imagen img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.juego-card:hover .juego-imagen img { transform: scale(1.1); }
.juego-badge {
    position: absolute; top: 15px; right: 15px;
    background: linear-gradient(135deg, var(--rosa-neon), var(--naranja-neon));
    color: var(--blanco); padding: 6px 14px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
}
.juego-contenido { padding: 25px; }
.juego-contenido h3 { margin-bottom: 12px; font-size: 1.4rem; }
.juego-contenido p { color: var(--gris-suave); font-size: 0.95rem; margin-bottom: 20px; }
.juego-stats {
    display: flex; justify-content: space-between;
    padding-top: 15px; border-top: 1px solid rgba(155, 48, 255, 0.2); margin-bottom: 20px;
}
.stat-item { text-align: center; }
.stat-valor { display: block; color: var(--rosa-neon); font-weight: 700; font-size: 1.1rem; }
.stat-label { font-size: 0.75rem; color: var(--gris-suave); text-transform: uppercase; }
.juego-boton {
    display: block; text-align: center;
    background: linear-gradient(135deg, var(--purpura-primario), var(--rosa-neon));
    color: var(--blanco); padding: 14px; border-radius: 10px;
    font-weight: 600; transition: all 0.3s ease;
}
.juego-boton:hover {
    background: linear-gradient(135deg, var(--rosa-neon), var(--naranja-neon));
}

/* BONOS */
.bono-destacado {
    background: var(--gradiente-card); border-radius: 30px; padding: 60px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
    border: 2px solid rgba(155, 48, 255, 0.3); position: relative; overflow: hidden;
}
.bono-destacado::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.bono-imagen img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.bono-contenido h3 {
    font-size: 2.5rem; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--rosa-neon), var(--purpura-primario));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bono-lista { list-style: none; margin: 30px 0; }
.bono-lista li {
    padding: 12px 0; padding-left: 35px; position: relative;
    border-bottom: 1px solid rgba(155, 48, 255, 0.2);
}
.bono-lista li::before {
    content: '🎰'; position: absolute; left: 0; font-size: 1.2rem;
}

/* MÉTODOS DE PAGO */
.metodos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.metodo-card {
    background: var(--gradiente-card); border-radius: 15px; padding: 30px;
    text-align: center; border: 1px solid rgba(155, 48, 255, 0.2); transition: all 0.3s ease;
}
.metodo-card:hover { border-color: var(--rosa-neon); transform: translateY(-5px); }
.metodo-card h4 { margin: 15px 0 10px; color: var(--rosa-neon); }
.metodo-info { font-size: 0.9rem; color: var(--gris-suave); }
.metodo-info strong { color: var(--blanco); }

/* SEGURIDAD */
.seguridad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.seguridad-item { display: flex; gap: 20px; align-items: flex-start; }
.seguridad-icono { width: 80px; height: 80px; flex-shrink: 0; }
.seguridad-icono img { width: 100%; height: 100%; object-fit: contain; }
.seguridad-texto h4 { margin-bottom: 10px; color: var(--rosa-neon); }

/* JUEGO RESPONSABLE */
.responsable-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.responsable-card {
    background: var(--gradiente-card); border-radius: 15px; padding: 30px;
    text-align: center; border: 1px solid rgba(155, 48, 255, 0.2);
}
.responsable-card img { width: 70px; height: 70px; margin-bottom: 20px; }
.responsable-card h4 { margin-bottom: 15px; color: var(--purpura-primario); }

/* FAQ */
.faq-lista { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: var(--gradiente-card); border-radius: 15px; margin-bottom: 15px;
    border: 1px solid rgba(155, 48, 255, 0.2); overflow: hidden;
}
.faq-pregunta {
    padding: 25px 30px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s ease;
}
.faq-pregunta:hover { background: rgba(155, 48, 255, 0.1); }
.faq-pregunta h4 { color: var(--blanco); font-size: 1.1rem; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.faq-icono { color: var(--rosa-neon); font-size: 1.5rem; transition: transform 0.3s ease; }
.faq-item.activo .faq-icono { transform: rotate(45deg); }
.faq-respuesta { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.activo .faq-respuesta { max-height: 500px; padding: 0 30px 25px; }

/* AUTOR */
.autor-box {
    background: var(--gradiente-card); border-radius: 20px; padding: 40px;
    display: flex; gap: 30px; align-items: center;
    border: 1px solid rgba(155, 48, 255, 0.3); margin-top: 60px;
}
.autor-imagen {
    width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--rosa-neon); flex-shrink: 0;
}
.autor-imagen img { width: 100%; height: 100%; object-fit: cover; }
.autor-info h4 { color: var(--rosa-neon); margin-bottom: 5px; }
.autor-cargo { color: var(--purpura-primario); font-size: 0.9rem; margin-bottom: 15px; }

/* FOOTER */
.footer-principal {
    background: linear-gradient(180deg, var(--negro-fondo) 0%, #050008 100%);
    padding: 80px 0 30px; border-top: 1px solid rgba(155, 48, 255, 0.2);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-marca p { margin-top: 20px; color: var(--gris-suave); font-size: 0.9rem; }
.footer-titulo {
    color: var(--rosa-neon); font-size: 1.1rem; margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif; font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gris-suave); font-size: 0.95rem; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--rosa-neon); padding-left: 5px; }
.footer-inferior { padding-top: 30px; border-top: 1px solid rgba(155, 48, 255, 0.2); text-align: center; }
.footer-inferior p { color: var(--gris-suave); font-size: 0.85rem; margin-bottom: 10px; }
.footer-legal { display: flex; justify-content: center; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--gris-suave); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--rosa-neon); }

/* ANIMACIONES */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bono-destacado { grid-template-columns: 1fr; padding: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .menu-navegacion {
        position: fixed; top: 80px; left: 0; right: 0;
        background: rgba(13, 0, 21, 0.98); flex-direction: column;
        padding: 30px; gap: 20px; transform: translateY(-150%); transition: transform 0.4s ease;
    }
    .menu-navegacion.activo { transform: translateY(0); }
    .hero-contenido { padding: 20px; }
    .boton-secundario { margin-left: 0; margin-top: 15px; }
    .seccion { padding: 60px 0; }
    .juegos-grid { grid-template-columns: 1fr; }
    .autor-box { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 480px) {
    .nav-contenedor { padding: 10px 15px; }
    .logo-marca img { width: 45px; height: 45px; }
    .nombre-marca { font-size: 1rem; }
    .boton-primario { padding: 14px 30px; font-size: 1rem; }
}
