

/* === VARIABLES CSS === */
:root {
    --primary-green: #00C853;
    --dark-green: #00A043;
    --light-green: #69F0AE;
    --accent-gold: #FFD700;
    --accent-gold-dark: #FFA000;
    --bg-dark: #0D1B0F;
    --bg-darker: #071209;
    --bg-card: #132816;
    --bg-card-hover: #1A3A1F;
    --text-primary: #FFFFFF;
    --text-secondary: #A8D5B0;
    --text-muted: #6B8F72;
    --border-green: #2D5A32;
    --shadow-green: rgba(0, 200, 83, 0.3);
    --gradient-main: linear-gradient(135deg, #00C853 0%, #00A043 50%, #007B33 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    --gradient-dark: linear-gradient(180deg, #132816 0%, #0D1B0F 100%);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET Y BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.header-top {
    margin-top: 0;
    padding-top: 0;
}

/* === FONDO ANIMADO === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 160, 67, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 123, 51, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* === CONTENEDOR PRINCIPAL === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TIPOGRAFIA - ESTILOS UNICOS AUTOMATICOS
   ======================================== */

/* === H1 - TITULO PRINCIPAL === */
h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--accent-gold);
}

/* === H2 - TITULOS DE SECCION === */
h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem;
    padding-left: 1.2rem;
    position: relative;
    border-left: 4px solid var(--primary-green);
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: -5px;
    bottom: -5px;
    width: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--shadow-green);
}

h2::after {
    content: '';
    position: absolute;
    left: 1.2rem;
    bottom: -8px;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
}

/* === H3 - SUBTITULOS === */
h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: var(--light-green);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

h3::before {
    content: '◆';
    color: var(--accent-gold);
    font-size: 0.8em;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* === H4, H5, H6 === */
h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--border-green);
}

h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 1.2rem 0 0.6rem;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === PARRAFOS === */
p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    position: relative;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(90deg, rgba(19, 40, 22, 0.5) 0%, transparent 100%);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

p:hover {
    border-left-color: var(--primary-green);
    background: linear-gradient(90deg, rgba(19, 40, 22, 0.8) 0%, transparent 100%);
}

p::first-letter {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-green);
}

/* === ENLACES === */
a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--light-green);
}

main a:not(.btn):not(.cta-button) {
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 2px;
    transition: background-size 0.3s ease;
}

main a:not(.btn):not(.cta-button):hover {
    background-size: 100% 2px;
}

/* === LISTAS UL === */
ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

main ul {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border: 1px solid var(--border-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

main ul li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(45, 90, 50, 0.3);
    transition: var(--transition);
}

main ul li:last-child {
    border-bottom: none;
}

main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--gradient-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--shadow-green);
}

main ul li:hover {
    color: var(--text-primary);
    padding-left: 2.5rem;
    background: rgba(0, 200, 83, 0.05);
}

main ul li:hover::before {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.3); }
    100% { transform: translateY(-50%) scale(1); }
}

/* === LISTAS OL === */
ol {
    counter-reset: item;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

main ol {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-green);
}

main ol li {
    counter-increment: item;
    position: relative;
    padding: 1rem 0 1rem 3.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(45, 90, 50, 0.3);
    transition: var(--transition);
}

main ol li:last-child {
    border-bottom: none;
}

main ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg-dark);
    box-shadow: 0 4px 15px var(--shadow-green);
}

main ol li:hover {
    color: var(--text-primary);
    background: rgba(0, 200, 83, 0.05);
    border-radius: 8px;
}

/* === TABLAS === */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-green);
}

thead {
    background: var(--gradient-main);
}

th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--bg-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

th::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(0, 0, 0, 0.2);
}

th:last-child::after {
    display: none;
}

td {
    padding: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-green);
    transition: var(--transition);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: var(--transition);
}

tbody tr:nth-child(even) {
    background: rgba(0, 200, 83, 0.03);
}

tbody tr:hover {
    background: rgba(0, 200, 83, 0.1);
}

tbody tr:hover td {
    color: var(--text-primary);
}

/* === BLOCKQUOTE === */
blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 200, 83, 0.1) 100%);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    color: var(--text-primary);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: Georgia, serif;
}

blockquote p {
    background: none;
    padding: 0;
    margin: 0;
    border: none;
}

blockquote p::first-letter {
    font-size: inherit;
    color: inherit;
}

/* === CODIGO === */
code {
    background: rgba(0, 200, 83, 0.15);
    color: var(--light-green);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid var(--border-green);
}

pre {
    background: var(--bg-darker);
    border: 1px solid var(--border-green);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    background: none;
    border: none;
    padding: 0;
}

/* === LINEA HORIZONTAL === */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), var(--accent-gold), var(--primary-green), transparent);
    margin: 3rem 0;
    position: relative;
}

hr::before {
    content: '♦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-darker);
    padding: 0 1rem;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* === IMAGENES === */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

main img {
    display: block;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--border-green);
    transition: var(--transition);
}

main img:hover {
    transform: scale(1.02);
    border-color: var(--primary-green);
    box-shadow: 0 12px 40px var(--shadow-green);
}

/* === FIGURAS === */
figure {
    margin: 2rem 0;
    text-align: center;
}

figcaption {
    margin-top: 1rem;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* ========================================
   BOTONES Y CTA
   ======================================== */

/* === BOTON PRINCIPAL === */
.btn,
button:not(.mobile-menu-btn),
input[type="submit"],
input[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px var(--shadow-green);
    position: relative;
    overflow: hidden;
}

.btn::before,
button:not(.mobile-menu-btn)::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: 0.5s;
}

.btn:hover::before,
button:not(.mobile-menu-btn):hover::before {
    left: 100%;
}

.btn:hover,
button:not(.mobile-menu-btn):hover,
input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-green);
}

/* === BOTON SECUNDARIO === */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--bg-dark);
}

/* === BOTON DORADO === */
.btn-gold {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* === CTA GRANDE === */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
    transition: var(--transition);
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 6px 40px rgba(255, 215, 0, 0.8); }
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    color: var(--bg-dark);
}

/* ========================================
   HEADER
   ======================================== */
header {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-bottom: 1px solid var(--border-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    background: var(--gradient-main);
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--bg-dark);
    font-weight: 600;
}

.header-main {
    padding: 1rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px var(--shadow-green);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span {
    color: var(--accent-gold);
    -webkit-text-fill-color: var(--accent-gold);
}

/* === NAVEGACION === */
nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a {
    padding: 0.8rem 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--primary-green);
    background: rgba(0, 200, 83, 0.1);
}

nav a:hover::after {
    width: 60%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* === MENU MOVIL === */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.1) 0%, transparent 50%);
    animation: heroGlow 10s linear infinite;
}

@keyframes heroGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 200, 83, 0.2);
    border: 1px solid var(--primary-green);
    border-radius: 50px;
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 200, 83, 0); }
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

.hero-subtitle::first-letter {
    font-size: inherit !important;
    color: inherit !important;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   SECCIONES DE CONTENIDO
   ======================================== */
main {
    padding: 3rem 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

section {
    margin-bottom: 4rem;
}

/* === TARJETAS DE CONTENIDO === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-green);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 12px 40px rgba(0, 200, 83, 0.2);
}

/* === GRID DE JUEGOS === */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-green);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-green);
    border-color: var(--primary-green);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.game-card-content {
    padding: 1.2rem;
}

.game-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.game-card h3::before {
    display: none;
}

/* === SECCION DE BONOS === */
.bonus-section {
    background: var(--gradient-dark);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    border: 2px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.bonus-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: bonusGlow 15s linear infinite;
}

@keyframes bonusGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bonus-amount {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

/* === FAQ ACORDEON === */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-green);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 200, 83, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    background: none;
    padding: 0;
    border: none;
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050A06 100%);
    border-top: 1px solid var(--border-green);
    padding: 4rem 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 3rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-green);
}

.footer-section ul {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.footer-section ul li {
    padding: 0.5rem 0;
    border: none;
}

.footer-section ul li::before {
    display: none;
}

.footer-section ul li:hover {
    padding-left: 0;
    background: none;
}

.footer-section a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-green);
    padding-left: 0.5rem;
}

/* === LOGOS DE PAGO === */
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-logos img {
    height: 35px;
    filter: grayscale(100%) brightness(0.7);
    transition: var(--transition);
    margin: 0;
    border: none;
    box-shadow: none;
}

.payment-logos img:hover {
    filter: grayscale(0%) brightness(1);
}

/* === LOGOS DE PROVEEDORES === */
.provider-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-green);
    border-bottom: 1px solid var(--border-green);
    margin-bottom: 2rem;
}

.provider-logos img {
    height: 40px;
    filter: grayscale(100%) brightness(0.6);
    transition: var(--transition);
    margin: 0;
    border: none;
    box-shadow: none;
}

.provider-logos img:hover {
    filter: grayscale(0%) brightness(1);
}

/* === RESPONSABILIDAD === */
.responsible-gaming {
    background: rgba(0, 200, 83, 0.05);
    border: 1px solid var(--border-green);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 20px;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

.responsible-gaming h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.responsible-gaming p {
    background: none;
    padding: 0;
    border: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.responsible-gaming p::first-letter {
    font-size: inherit;
    color: inherit;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #FF0000;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.responsible-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.responsible-links a {
    padding: 0.5rem 1rem;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid var(--border-green);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.responsible-links a:hover {
    background: var(--primary-green);
    color: var(--bg-dark);
}

/* === DISCLAIMER === */
.disclaimer {
    background: var(--bg-darker);
    padding: 2rem 20px;
    text-align: center;
    border-top: 1px solid var(--border-green);
}

.disclaimer p {
    background: none;
    padding: 0;
    border: none;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 1000px;
    margin: 0 auto 1rem;
    text-align: center;
}

.disclaimer p::first-letter {
    font-size: inherit;
    color: inherit;
}

/* === COPYRIGHT === */
.footer-bottom {
    background: #030503;
    padding: 1.5rem 20px;
    text-align: center;
}

.footer-bottom p {
    background: none;
    padding: 0;
    border: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom p::first-letter {
    font-size: inherit;
    color: inherit;
}

.footer-bottom a {
    color: var(--primary-green);
}

/* ========================================
   ELEMENTOS INTERACTIVOS
   ======================================== */

/* === TOOLTIP === */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 0.85rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-green);
    z-index: 100;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* === BADGES === */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.badge-new {
    background: var(--primary-green);
    color: var(--bg-dark);
}

.badge-hot {
    background: #FF4444;
    color: white;
}

.badge-vip {
    background: var(--gradient-gold);
    color: var(--bg-dark);
}

/* === PROGRESS BAR === */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-darker);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === RATING ESTRELLAS === */
.rating {
    display: flex;
    gap: 0.2rem;
}

.rating-star {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.rating-star.filled {
    color: var(--accent-gold);
}

/* === CONTADORES ANIMADOS === */
.counter {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px var(--shadow-green);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top::before {
    content: '↑';
    font-size: 1.5rem;
    color: var(--bg-dark);
    font-weight: bold;
}

/* ========================================
   ANIMACIONES DE ENTRADA
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        display: none;
        flex-direction: column;
        background: var(--bg-dark);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-bottom: 1px solid var(--border-green);
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid var(--border-green);
    }

    nav a:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .bonus-amount {
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    main {
        padding: 2rem 15px;
    }

    h1 {
        font-size: 1.8rem;
        padding: 0.5rem 0;
    }

    h1::after {
        width: 80px;
        height: 3px;
    }

    h2 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .header-cta .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn,
    .hero-cta .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .bonus-section {
        padding: 2rem 1.5rem;
    }

    .bonus-amount {
        font-size: 2.5rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h4 {
        border-bottom-width: 1px;
    }

    .payment-logos,
    .provider-logos {
        justify-content: center;
    }

    .responsible-gaming {
        margin: 1.5rem 15px;
        padding: 1.5rem;
    }

    .responsible-links {
        justify-content: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .header-top {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .header-cta .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    main ul,
    main ol {
        padding: 1rem;
    }

    main ul li,
    main ol li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }

    main ol li {
        padding-left: 3rem;
    }

    main ol li::before {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .card {
        padding: 1.5rem;
    }

    .game-card img {
        height: 150px;
    }
}

/* === PRINT STYLES === */
@media print {
    body {
        background: white;
        color: black;
    }

    header, footer, .scroll-top, .cta-button, .btn {
        display: none;
    }

    main {
        padding: 0;
    }

    h1, h2, h3 {
        color: black;
        background: none;
        -webkit-text-fill-color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
.header-top {
margin-top: 0;
padding-top: 0;
}

/* === FONDO ANIMADO === */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(ellipse at 20% 20%, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
radial-gradient(ellipse at 80% 80%, rgba(0, 160, 67, 0.06) 0%, transparent 50%),
radial-gradient(ellipse at 50% 50%, rgba(0, 123, 51, 0.04) 0%, transparent 70%);
pointer-events: none;
z-index: -1;
animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}

/* === CONTENEDOR PRINCIPAL === */
.container {
max-width: 1400px;