/* Importación de nuevas fuentes para el nuevo diseño */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@600;800&display=swap');

/* Global Variables - Nueva Paleta: Azul Profundo y Cian Neón */
:root {
    --bg-primary: #080b12; /* Azul ultra oscuro para el fondo */
    --bg-secondary: #121826; /* Azul oscuro para secciones */
    --bg-card: #1a2235; /* Color de fondo de las tarjetas */
    --text-primary: #e2e8f0; /* Texto principal más suave a la vista */
    --text-secondary: #a0aec0; /* Texto secundario gris azulado */
    
    /* Mantenemos el nombre de la variable --gold para no romper el HTML, pero usamos colores CIAN NEÓN */
    --gold: #00e5ff; 
    --gold-hover: #00bfff;
    --gold-glow: rgba(0, 229, 255, 0.4);
    --gold-glow-intense: rgba(0, 229, 255, 0.8);
    
    --border-color: #2d3748;
    --success-green: #00fa9a;
    
    /* Nuevas tipografías */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    /* Nuevo fondo: Patrón de puntos sutiles en lugar de líneas diagonales */
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Nuevo efecto de iluminación superior */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.5px;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 8px var(--gold-glow);
}

/* Typography */
h1 { 
    font-size: 2.8rem; 
    text-align: center; 
    margin-bottom: 1.2rem; 
    color: #ffffff; 
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
}
h2 { 
    font-size: 2.2rem; 
    color: #ffffff; 
    text-align: center; 
    margin-bottom: 2.5rem; 
    position: relative;
    padding-bottom: 10px;
}

/* Línea decorativa debajo de los H2 */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--gold-glow);
}

p { margin-bottom: 1rem; }

/* Top Information Bar */
.top-bar {
    background: #000000;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    padding: 0.8rem 1rem;
    border-bottom: 2px solid var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Header */
header {
    padding: 2rem 2rem;
    display: flex;
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    /* Efecto Neón para el logo */
    text-shadow: 
        0 0 5px var(--gold),
        0 0 10px var(--gold),
        0 0 20px var(--gold);
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 950px;
    margin: 0 auto 4rem;
    background: linear-gradient(135deg, rgba(26, 34, 53, 0.8) 0%, rgba(18, 24, 38, 0.2) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Featured Bonuses / Cards */
.bonuses {
    margin-bottom: 5rem;
}

.card {
    background: var(--bg-card);
    border: none;
    border-left: 6px solid var(--gold);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
    background: #1e273d;
}

.card-rank {
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold);
    min-width: 60px;
    text-align: center;
    opacity: 0.8;
}

.card-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 1rem;
    border-radius: 12px;
}

.card-logo h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.verification-badge {
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--success-green);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 250, 154, 0.4);
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.card-content p {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
}

.card-features {
    list-style: none;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.card-features li {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 30px; /* Estilo píldora */
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.card-features li:hover {
    background: rgba(255, 255, 255, 0.08);
}

.progress-bar-container {
    width: 100%;
    background: #000;
    height: 10px;
    border-radius: 5px;
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.progress-bar {
    height: 100%;
    /* Nuevo estilo de barra rayada */
    background: repeating-linear-gradient(
        45deg,
        var(--gold),
        var(--gold) 10px,
        var(--gold-hover) 10px,
        var(--gold-hover) 20px
    );
    box-shadow: 0 0 15px var(--gold-glow);
    border-radius: 5px;
}

.card-cta {
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: var(--gold);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px; /* Botón redondeado moderno */
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px var(--gold-glow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--gold-glow-intense);
}

/* Regulation Section */
.regulation {
    background: linear-gradient(to bottom right, var(--bg-secondary), var(--bg-primary));
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-bottom: 5rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.regulation::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 20px 20px 0 0;
}

.regulation h2 { margin-bottom: 2rem; }
.regulation ul { margin-left: 1.5rem; margin-bottom: 1rem; list-style-type: square; }
.regulation li { 
    margin-bottom: 1rem; 
    color: var(--text-primary); 
    padding-left: 0.5rem;
}
.regulation li strong {
    color: var(--gold);
}

/* Generic Content Pages */
.content-page {
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.content-page h2 {
    color: var(--gold);
    text-align: left;
    margin-top: 2.5rem;
}
.content-page h2::after {
    left: 0;
    transform: none;
    width: 40px;
}
.content-page p, .content-page ul {
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Default Forms */
form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}
form.contact-form input, form.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s;
}
form.contact-form input:focus, form.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    background: rgba(0,0,0,0.5);
}

/* FAQ Section */
.faq {
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: transparent;
    color: #fff;
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 229, 255, 0.05);
    color: var(--gold);
}

.accordion-header::after {
    content: '▼';
    font-size: 1rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}

.accordion-header.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0,0,0,0.2);
}

.accordion-content p {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
}

/* Footer Section */
.site-footer {
    background: #05080f;
    padding: 4rem 1rem 2rem;
    border-top: 3px solid var(--gold);
    text-align: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.footer-row { margin-bottom: 2.5rem; }

.footer-row-1 h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.footer-row-1 h3::after { display: none; }

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-links .separator {
    color: var(--border-color);
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.footer-logos img {
    max-height: 45px; 
    width: auto;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.4s ease;
}

.footer-logos img:hover {
    filter: grayscale(0%) brightness(1);
    transform: translateY(-5px);
}

.trustpilot {
    font-size: 1.3rem;
    color: #fff;
    background: rgba(0, 250, 154, 0.1);
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 250, 154, 0.3);
}

.footer-row-5 p {
    font-size: 0.8rem;
    color: #64748b;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Age Verification Popup */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: var(--bg-card);
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    max-width: 550px;
    width: 90%;
    border: none;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.2);
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: var(--gold);
    border-radius: 24px 24px 0 0;
}

.popup-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}
.popup-content h2::after { display: none; }

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .card {
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-top: 6px solid var(--gold);
        padding: 2rem 1rem;
    }
    
    .card-rank { 
        margin-bottom: 0.5rem; 
        font-size: 2.5rem;
    }
    
    .card-features {
        justify-content: center;
    }
    
    .card-cta {
        width: 100%;
    }
    
    header {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
}