/* VARIABLES DE DISEÑO GOLORACULO */
:root {
    --primario: #39FF14;      /* Verde Neón */
    --secundario: #0A192F;    /* Azul Profundo */
    --acento: #FFFFFF;        /* Blanco */
    --alerta: #FF5733;        /* Naranja Eléctrico */
    --fondo-tarjeta: #112240; /* Azul Marino Suave */
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secundario);
    color: var(--acento);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVEGACIÓN */
nav {
    background: rgba(10, 25, 47, 0.95);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primario);
    position: sticky;
    top: 0; z-index: 1000;
}

nav .logo {
    color: var(--primario);
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a {
    color: var(--acento);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: 0.3s;
}
nav ul li a:hover { color: var(--primario); }

/* MAIN Y SECCIONES */
main { max-width: 1000px; margin: auto; padding: 2rem; }

section {
    background: var(--fondo-tarjeta);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--primario);
    margin-bottom: 2rem;
}

h1, h2, h3 { text-transform: uppercase; margin-bottom: 1rem; }

.btn {
    display: inline-block;
    background: var(--primario);
    color: var(--secundario);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.4s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 0 25px var(--primario);
    transform: scale(1.05);
}

.alerta { color: var(--alerta); font-weight: bold; }

footer { text-align: center; padding: 3rem; opacity: 0.5; font-size: 0.8rem; }

/* ANIMACIÓN CASINO MUNDIAL */
#casino-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s;
}

#casino-overlay.activo { visibility: visible; opacity: 1; }

.ruleta-container { text-align: center; animation: palpitar 0.6s infinite alternate; }

.emojis-girando span {
    font-size: 5rem;
    display: inline-block;
    margin: 0 15px;
    animation: girar 0.5s infinite linear;
}

.texto-casino {
    color: #FFD700;
    font-size: 2.5rem;
    text-shadow: 0 0 20px #FFD700;
    margin-top: 20px;
}

@keyframes girar { 100% { transform: rotate(360deg); } }
@keyframes palpitar { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }

/* RESPONSIVE */
@media (max-width: 768px) {
    nav ul { display: none; }
    h1 { font-size: 2.5rem !important; }
    div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
