/* Global Variables - Nueva paleta renovada */
:root {
    --bg-primary: #070f14; /* Fondo principal más profundo, tono teal oscuro */
    --bg-secondary: #0f1c24;
    --bg-card: #16262f;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --gold: #2dd4bf; /* Acento principal ahora en teal/cyan vibrante */
    --gold-hover: #5eead4;
    --gold-glow: rgba(45, 212, 191, 0.45);
    --gold-glow-intense: rgba(45, 212, 191, 0.75);
    --border-color: #1e3a45;
   
    --success-green: #34d399;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(30deg, rgba(45, 212, 191, 0.03) 12%, transparent 12%),
        linear-gradient(-30deg, rgba(45, 212, 191, 0.03) 12%, transparent 12%),
        linear-gradient(30deg, transparent 88%, rgba(45, 212, 191, 0.03) 88%),
        linear-gradient(-30deg, transparent 88%, rgba(45, 212, 191, 0.03) 88%);
    background-size: 28px 28px;
    background-position: 0 0, 0 14px, 14px -14px, -14px 0px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% -10%, var(--gold-glow) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

a:hover {
    color: var(--gold-hover);
}

/* Typography */
h1 { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 1rem; 
    color: #fff; 
    text-shadow: 0 0 18px var(--gold-glow); 
}

h2 { 
    font-size: 2rem; 
    color: #fff; 
    text-align: center; 
    margin-bottom: 2rem; 
}

p { margin-bottom: 1rem; }

/* Top Information Bar */
.top-bar {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Header */
header {
    padding: 1.6rem 2rem;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%);
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 2.05rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 0 20px var(--gold-glow);
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 3.2rem 1rem;
    max-width: 900px;
    margin: 0 auto 3.2rem;
}

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

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.6rem;
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 0 28px var(--gold-glow);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-22deg);
    transition: 0.55s;
}

.card:hover::before {
    left: 150%;
}

.card-rank {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 14px var(--gold-glow);
    min-width: 55px;
    text-align: center;
}

.card-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.card-logo h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.verification-badge {
    color: var(--success-green);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(52, 211, 153, 0.12);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.card-content {
    flex: 1;
}

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

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

.card-features li {
    background: var(--bg-secondary);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-bar-container {
    width: 100%;
    background: var(--bg-secondary);
    height: 9px;
    border-radius: 5px;
    margin-top: 1.1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #99f6e4);
    box-shadow: 0 0 12px var(--gold-glow);
    width: 95%; /* Dynamic width */
}

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

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 1.05rem 1.5rem;
    background: linear-gradient(180deg, var(--gold) 0%, #0d9488 100%);
    color: #042f2e;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 5px 18px var(--gold-glow);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--gold-hover) 0%, #14b8a6 100%);
    transform: scale(1.05);
    box-shadow: 0 7px 24px var(--gold-glow-intense);
    color: #042f2e;
}

/* Regulation Section */
.regulation {
    background: var(--bg-secondary);
    padding: 3.2rem;
    border-radius: 14px;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

.regulation h2 { margin-bottom: 1.5rem; }

.regulation ul { margin-left: 2rem; margin-bottom: 1rem; }

.regulation li { margin-bottom: 0.55rem; color: var(--text-secondary); }

/* Generic Content Pages */
.content-page {
    background: var(--bg-secondary);
    padding: 3.2rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.content-page h2 {
    color: var(--gold);
    text-align: left;
    margin-top: 2rem;
}

.content-page p, .content-page ul {
    color: var(--text-secondary);
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Default Forms */
form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

form.contact-form input, form.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
}

form.contact-form input:focus, form.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
}

/* FAQ Section */
.faq {
    margin-bottom: 4rem;
}

.accordion-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

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

.accordion-header:hover {
    background: rgba(45, 212, 191, 0.05);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

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

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--bg-card);
}

.accordion-content p {
    padding: 1.5rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Footer Section */
.site-footer {
    background: var(--bg-secondary);
    padding: 3.2rem 1rem 1.2rem;
    border-top: 2px solid var(--gold);
    text-align: center;
}

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

.footer-row-1 h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
}

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

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

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

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

.footer-logos img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.trustpilot {
    font-size: 1.2rem;
    color: #fff;
}

.footer-row-5 p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.55;
}

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

.popup-content {
    background: var(--bg-card);
    padding: 3.2rem 2.2rem;
    border-radius: 14px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 40px var(--gold-glow-intense);
}

.popup-content h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(45, 212, 191, 0.08);
    color: #fff;
    border-color: var(--gold);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .card {
        flex-direction: column;
        text-align: center;
    }
   
    .card-rank { margin-bottom: 1rem; }
   
    .card-features {
        justify-content: center;
    }
}