/* ================================================
   BETGROUP CASINO – style.css
   Casino Premium Theme · Orange & Black
   ================================================ */

/* ====== VARIABLES ====== */
:root {
    --orange: #FF6B00;
    --orange-light: #FF8C33;
    --orange-dark: #CC5500;
    --orange-glow: rgba(255, 107, 0, 0.35);
    --orange-glow-strong: rgba(255, 107, 0, 0.6);
    --black: #0A0A0A;
    --black-2: #111111;
    --black-3: #181818;
    --black-4: #222222;
    --dark-card: rgba(20, 20, 20, 0.9);
    --dark-card-border: rgba(255, 107, 0, 0.15);
    --white: #FFFFFF;
    --white-muted: rgba(255, 255, 255, 0.7);
    --white-dim: rgba(255, 255, 255, 0.08);
    --gold: #FFD700;
    --gold-light: rgba(255, 215, 0, 0.2);
    --green-win: #00E676;
    --red-live: #FF1744;
    --font-body: 'Outfit', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
    --shadow-orange: 0 0 40px rgba(255, 107, 0, 0.05);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* ====== RESET & BASE ====== */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

button, .btn, .btn-primary, .btn-ghost, .btn-nav, .nav-link {
    cursor: pointer !important;
}

.btn-primary, .btn-nav {
    color: #ffffff !important;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ====== CANVAS PARTICLES ====== */
#bg-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ====== CONTAINER ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* ====== TYPOGRAPHY ====== */
.text-orange { color: var(--orange); }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid rgba(255, 107, 0, 0.35);
    background: rgba(255, 107, 0, 0.08);
    padding: .45rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: .03em;
    margin-bottom: 1.5rem;
}

.section-body {
    font-size: 1.1rem;
    color: var(--white-muted);
    line-height: 1.75;
    max-width: 640px;
}

/* ====== BUTTONS ====== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .9rem 2.2rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.05);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.05);
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
}
.btn-primary:active { transform: translateY(0); }

/* Botón CTA principal - grande en PC, compacto en mobile */
.btn-cta-main {
    font-size: 1.2rem;
    padding: 1.5rem 5rem;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .btn-cta-main {
        font-size: 1rem;
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
        white-space: normal;
    }
}


.btn-pulse {
    animation: pulseBtnAnim 2.5s ease-in-out infinite;
}
@keyframes pulseBtnAnim {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,107,0,.05); }
    50% { box-shadow: 0 4px 30px rgba(255,107,0,.08), 0 0 0 6px rgba(255,107,0,.04); }
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .9rem 2.2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.25);
    cursor: pointer;
    transition: var(--transition);
}
.btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255,107,0,.08);
    transform: translateY(-2px);
}

.btn-nav {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .65rem 1.8rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(255,107,0,.05);
    white-space: nowrap;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255,107,0,.05);
}

.mt-1 { margin-top: 1rem; }

/* ====== NAV ====== */
#mainNav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1500;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}
#mainNav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: .8rem 0;
    border-bottom: 1px solid rgba(255,107,0,.1);
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1600; /* Above mobile menu */
}

.logo-img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255,107,0,.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: .9rem;
    font-weight: 600;
    color: var(--white-muted);
    letter-spacing: .04em;
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width var(--transition);
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: .5rem;
    z-index: 2000;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: .5rem;
    padding: 85px 1.5rem 2rem 1.5rem;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    overflow-y: auto;
    z-index: 1400;
}
.mobile-menu.open { display: flex; }
.mobile-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-muted);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: var(--transition);
}
.mobile-link:hover { color: var(--orange); }
.mobile-menu .btn-primary {
    margin-top: auto;
    margin-bottom: 2rem;
    width: 100%;
    justify-content: center;
}

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(20,10,5,0.9) 50%, rgba(10,10,10,0.95) 100%),
        url('../img/casino_hero_bg.png') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,107,0,.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255,107,0,.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}
.hero-glow-1 {
    width: 400px; height: 400px;
    background: rgba(255,107,0,.12);
    top: 20%; left: -100px;
    animation: glowFloat1 8s ease-in-out infinite;
}
.hero-glow-2 {
    width: 300px; height: 300px;
    background: rgba(255,107,0,.08);
    bottom: 20%; right: -50px;
    animation: glowFloat2 10s ease-in-out infinite;
}
@keyframes glowFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}
@keyframes glowFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}
@media (min-width: 1024px) {
    .hero-content {
        max-width: 1300px; /* Aun mas ancho */
    }
    .hero h1 {
        font-size: clamp(4rem, 8.5vw, 6.5rem); /* Un poco mas pequeño el titulo */
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--orange);
    background: rgba(255,107,0,.1);
    border: 1px solid rgba(255,107,0,.3);
    padding: .5rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    letter-spacing: .04em;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-win);
    display: inline-block;
    animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,230,118,.5); }
    50% { box-shadow: 0 0 0 6px rgba(0,230,118,0); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    letter-spacing: .03em;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--white-muted);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
    .hero-sub {
        max-width: 800px; /* Mas ancho el parrafo */
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-bonus-badge {
    display: inline-flex;
    margin-bottom: 3rem;
}
.bonus-badge-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255,107,0,.15), rgba(255,107,0,.05));
    border: 1px solid rgba(255,107,0,.3);
    border-radius: var(--radius);
    padding: .8rem 1.5rem;
    backdrop-filter: blur(10px);
}
.bonus-badge-icon { font-size: 2rem; }
.bonus-badge-amount {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--orange);
    line-height: 1;
}
.bonus-badge-label {
    font-size: .85rem;
    color: var(--white-muted);
    margin-top: .2rem;
}

/* Ajuste PC - Mas ancho */
@media (min-width: 1024px) {
    .hero-bonus-badge {
        width: 100%;
        max-width: 800px; /* Alineado con el nuevo ancho de hero-sub */
    }
    .bonus-badge-inner {
        width: 100%;
        padding: 1.4rem 3rem;
        justify-content: flex-start;
        gap: 3.5rem;
    }
    .bonus-badge-amount {
        font-size: 2.2rem;
    }
    .bonus-badge-icon {
        font-size: 3rem;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.stat-item { text-align: left; }
.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--orange);
    line-height: 1;
    letter-spacing: .03em;
}
.stat-label {
    font-size: .8rem;
    color: var(--white-muted);
    margin-top: .3rem;
    font-weight: 500;
    letter-spacing: .04em;
}

/* Floating card decorations */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.float-card {
    position: absolute;
    font-size: 4rem;
    opacity: .06;
    animation: floatCard linear infinite;
}
.card-1 { top: 15%; right: 10%; font-size: 6rem; animation-duration: 10s; animation-delay: 0s; }
.card-2 { top: 60%; right: 25%; font-size: 4rem; animation-duration: 14s; animation-delay: -3s; }
.card-3 { top: 30%; right: 35%; font-size: 8rem; animation-duration: 12s; animation-delay: -6s; }
.card-4 { top: 75%; right: 5%; font-size: 5rem; animation-duration: 11s; animation-delay: -2s; }
@keyframes floatCard {
    0% { transform: translateY(0) rotate(0deg); opacity: .06; }
    50% { transform: translateY(-30px) rotate(15deg); opacity: .1; }
    100% { transform: translateY(0) rotate(0deg); opacity: .06; }
}

/* ====== MARQUEE ====== */
.marquee-section {
    background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--orange-dark));
    overflow: hidden;
    padding: .9rem 0;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeAnim 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.dot { font-size: 1rem; }
@keyframes marqueeAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ====== BONOS SECTION ====== */
.bonos-section {
    padding: 7rem 0;
    background: var(--black-2);
    position: relative;
    overflow: hidden;
}
.bonos-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.bonos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.bono-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.bono-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,0,.05) 0%, transparent 60%);
    pointer-events: none;
}
.bono-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,107,0,.4);
    box-shadow: var(--shadow-orange), var(--shadow-card);
}

.bono-featured {
    border-color: rgba(255,107,0,.4);
    background: linear-gradient(135deg, rgba(255,107,0,.1), rgba(20,20,20,.9));
    grid-column: span 1;
}

.bono-badge-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--gold);
    background: rgba(255,215,0,.1);
    border: 1px solid rgba(255,215,0,.3);
    padding: .3rem .8rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    width: fit-content;
}

.bono-icon { font-size: 2.5rem; margin-bottom: 1rem; } /* legacy – kept for CMS compatibility */
.bono-title { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .05em; margin-bottom: .2rem; }
.bono-amount { font-size: 1.2rem; font-weight: 700; color: var(--orange); margin-bottom: 1rem; }
.bono-desc { font-size: .9rem; color: var(--white-muted); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.bono-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .8rem; }
.bono-tag {
    font-size: .75rem;
    font-weight: 600;
    color: var(--white-muted);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    padding: .2rem .7rem;
    border-radius: 100px;
}

/* Bono action button – always single line, full width */
.bono-btn {
    width: 100%;
    margin-top: 1.5rem;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ====== JUEGOS SECTION ====== */
.juegos-section {
    padding: 7rem 0;
    background: var(--black);
}

.juegos-tabs {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.juego-tab {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .55rem 1.4rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    color: var(--white-muted);
    cursor: pointer;
    transition: var(--transition);
}
.juego-tab:hover { border-color: var(--orange); color: var(--orange); }
.juego-tab.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,0,.4);
}

.juegos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.juego-card {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--black-3);
    border: 1px solid rgba(255,255,255,.05);
}
.juego-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-orange); border-color: rgba(255,107,0,.3); }

.juego-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}
/* Gradient game card images */
.juego-img-slots { background: linear-gradient(135deg, #1a0a2e, #3d1a6e, #ff6b00); }
.juego-img-blackjack { background: linear-gradient(135deg, #0a1a0a, #1a3d1a, #2d8a2d); }
.juego-img-ruleta { background: linear-gradient(135deg, #1a0a0a, #6e1a1a, #cc2200); }
.juego-img-poker { background: linear-gradient(135deg, #0a0a1a, #1a1a5e, #2233aa); }
.juego-img-slots2 { background: linear-gradient(135deg, #1a1000, #6e4a00, #ff8800); }
.juego-img-baccarat { background: linear-gradient(135deg, #0a1a14, #1a4a3a, #00aa77); }
.juego-img-sport { background: linear-gradient(135deg, #0a0a1a, #1a1a3d, #3344bb); }

.juego-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
    opacity: 0.85; /* Slight opacity so the gradient and overlays still tint it */
}
.juego-card:hover .juego-bg-image {
    transform: scale(1.1);
    opacity: 1;
}


/* Card inner decorations */
.juego-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.05), transparent);
}
.juego-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}

.juego-overlay-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.5);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}
.juego-overlay-play i { font-size: 3rem; color: var(--orange); filter: drop-shadow(0 0 20px var(--orange)); }
.juego-card:hover .juego-overlay-play { opacity: 1; }

.juego-badge-hot, .juego-badge-live, .juego-badge-new {
    position: absolute;
    top: .7rem; right: .7rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .25rem .6rem;
    border-radius: 100px;
    z-index: 3;
}
.juego-badge-hot { background: var(--orange); color: #fff; }
.juego-badge-live { background: var(--red-live); color: #fff; animation: livePulse 1.5s ease-in-out infinite; }
.juego-badge-new { background: var(--gold); color: #000; }
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

.juego-info {
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.juego-name { font-weight: 700; font-size: .9rem; }
.juego-rtp { font-size: .75rem; color: var(--green-win); font-weight: 600; }

.juego-card-more .juego-more-inner {
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,107,0,.3);
    border-radius: var(--radius);
    transition: var(--transition);
    padding: 2rem;
    text-align: center;
}
.juego-card-more:hover .juego-more-inner { border-color: var(--orange); background: rgba(255,107,0,.05); }
.juego-more-icon { font-family: var(--font-display); font-size: 4rem; color: var(--orange); line-height: 1; }
.juego-more-text { font-weight: 700; font-size: 1rem; color: var(--white-muted); margin-top: .5rem; }

/* ====== STEPS (HOW TO PLAY) ====== */
.steps-bg {
    padding: 7rem 0;
    background: var(--black-2);
    position: relative;
    overflow: hidden;
}
.steps-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,107,0,.06) 0%, transparent 60%);
}

.steps-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: start;
}
.steps-intro-text { padding-top: 2rem; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

/* Connecting line – gradient naranja */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255,107,0,.7) 0%,
        rgba(255,107,0,.2) 50%,
        rgba(255,107,0,.7) 100%
    );
    z-index: 0;
}
/* Dashed helper overlay */
.steps-grid::after {
    content: '';
    position: absolute;
    top: 23px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 9px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 5px,
        rgba(255,107,0,.1) 5px,
        rgba(255,107,0,.1) 10px
    );
    z-index: 0;
}

.step-block {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-n {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: .05em;
    background: var(--black-2);
    color: var(--orange);
    border: 2px solid var(--orange);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: background var(--transition), color var(--transition);
}
.step-block:hover .step-n {
    background: var(--orange);
    color: #fff;
}

.step-title { font-weight: 700; font-size: 1rem; margin-bottom: .8rem; }
.step-desc { font-size: .88rem; color: var(--white-muted); line-height: 1.6; }


/* ====== PROMO SECTION ====== */
.promo-section {
    padding: 7rem 0;
    background: var(--black);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.promo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 360px;
    cursor: pointer;
    transition: var(--transition);
}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-orange); }

.promo-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .5s ease;
}
.promo-card:hover .promo-img { transform: scale(1.05); }

.promo-img-torneo { background: linear-gradient(135deg, #1a0050, #5500cc, #ff6b00); }
.promo-img-cashback { background: linear-gradient(135deg, #001a05, #005510, #00cc33); }
.promo-img-vip { background: linear-gradient(135deg, #1a1000, #554000, #ffaa00); }

/* decorative pattern */
.promo-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,.02) 20px,
        rgba(255,255,255,.02) 40px
    );
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.9) 30%, rgba(0,0,0,.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
}

.promo-tag {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid rgba(255,107,0,.3);
    background: rgba(255,107,0,.1);
    padding: .25rem .7rem;
    border-radius: 100px;
    width: fit-content;
    margin-bottom: .8rem;
}

.promo-title { font-family: var(--font-display); font-size: 2rem; letter-spacing: .04em; margin-bottom: .3rem; }
.promo-prize { font-weight: 700; font-size: 1.1rem; color: var(--gold); margin-bottom: .6rem; }
.promo-desc { font-size: .88rem; color: var(--white-muted); line-height: 1.5; margin-bottom: .5rem; }

/* Countdown */
.promo-countdown {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,107,0,.15);
    border: 1px solid rgba(255,107,0,.3);
    border-radius: var(--radius);
    padding: .4rem .7rem;
    min-width: 50px;
}
.countdown-item span {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--orange);
    line-height: 1;
}
.countdown-item small {
    font-size: .65rem;
    color: var(--white-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .1rem;
}

/* ====== WHY BETGROUP ====== */
.why-strip {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255,107,0,.08) 0%, rgba(20,20,20,1) 50%, rgba(255,107,0,.08) 100%);
    border-top: 1px solid rgba(255,107,0,.1);
    border-bottom: 1px solid rgba(255,107,0,.1);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.why-item:hover {
    background: rgba(255,107,0,.06);
    border: 1px solid rgba(255,107,0,.15);
    transform: translateY(-4px);
}

.why-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.why-title { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.why-desc { font-size: .85rem; color: var(--white-muted); line-height: 1.5; }

/* ====== TESTIMONIALS ====== */
.testimonials-bg {
    padding: 7rem 0;
    background: var(--black-2);
    position: relative;
    overflow: hidden;
}
.testimonials-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.t-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}
.t-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,107,0,.3);
    box-shadow: var(--shadow-card);
}

.t-stars { font-size: 1rem; margin-bottom: .8rem; letter-spacing: .05em; }
.t-quote {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--orange);
    opacity: .3;
    line-height: .8;
    margin-bottom: 1rem;
}
.t-text { font-size: .9rem; color: var(--white-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.t-author { font-size: .8rem; font-weight: 700; color: var(--orange); letter-spacing: .04em; }

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 8rem 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,0,.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-chip { font-size: 4rem; margin-bottom: 1.5rem; display: block; }
.cta-bonus-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.cta-bonus-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--white-muted);
    font-weight: 600;
}
.cta-bonus-item i { color: var(--green-win); }

/* ====== FOOTER ====== */
footer {
    background: var(--black-2);
    border-top: 1px solid rgba(255,107,0,.1);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-logo .logo-img { height: 36px; margin-bottom: 1.2rem; }
.footer-desc { font-size: .9rem; color: var(--white-muted); line-height: 1.6; margin-bottom: 1.5rem; max-width: 260px; }
.footer-col-title { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .08em; color: var(--white); margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--white-muted); transition: var(--transition); }
.footer-links li:hover { color: var(--orange); }
.footer-links a { color: inherit; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-icon { color: var(--orange); width: 16px; flex-shrink: 0; }

.footer-social { display: flex; gap: .8rem; flex-wrap: wrap; }
.social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: var(--white-muted);
    transition: var(--transition);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(255,107,0,.4); }

.footer-legal {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    text-align: center;
}
.legal-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 1.2rem; }
.legal-badge {
    font-size: .8rem;
    font-weight: 600;
    color: var(--white-muted);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    padding: .35rem .9rem;
    border-radius: 100px;
}
.footer-legal-text { font-size: .8rem; color: rgba(255,255,255,.3); }

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.25); }

/* ====== CONTACTO SECTION ====== */
.contacto-section {
    padding: 7rem 0;
    background: var(--black);
    position: relative;
    border-top: 1px solid rgba(255,107,0,.15);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contacto-card {
    background: var(--black-2);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contacto-card:hover {
    border-color: rgba(255,107,0,.3);
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(20,20,20,1), rgba(30,15,5,1));
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.contacto-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(255,107,0,.08);
    border: 1px solid rgba(255,107,0,.3);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contacto-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .8rem;
    color: #fff;
    letter-spacing: .02em;
}

.contacto-card p {
    font-size: .95rem;
    color: var(--white-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    flex: 1;
}

.contacto-link {
    display: inline-block;
    font-weight: 700;
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.3);
    text-underline-offset: 4px;
    transition: var(--transition);
}
.contacto-link:hover {
    color: var(--orange) !important;
    text-decoration-color: var(--orange);
}

.contacto-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}
.contacto-list span {
    font-size: .9rem;
    color: var(--white-muted);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.contacto-list i { color: var(--gold); }
/* ====== FAQ / ACCORDION ====== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--black-2);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    border-color: rgba(255,107,0,.3);
    background: rgba(255,107,0,.02);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}
.faq-question:hover {
    color: var(--orange);
}
.faq-icon {
    color: var(--orange);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: .9rem;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}
.faq-answer p {
    margin: 0;
    color: var(--white-muted);
    line-height: 1.6;
    font-size: .95rem;
}


/* ====== MODAL ====== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal.active { display: flex; }

.modal-content {
    background: var(--black-2);
    border: 1px solid rgba(255,107,0,.2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.8), 0 0 60px rgba(255,107,0,.1);
    animation: modalIn .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-modal {
    position: absolute;
    top: 1.2rem; right: 1.5rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--white-muted);
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.close-modal:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.modal-header { text-align: center; margin-bottom: 2rem; }
.modal-logo { height: 40px; margin: 0 auto 1.2rem; }
.modal-header h2 { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: .05em; margin-bottom: .5rem; }
.modal-header p { font-size: .95rem; color: var(--white-muted); }

.modal-bonus-bar {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    background: linear-gradient(135deg, rgba(255,107,0,.15), rgba(255,107,0,.05));
    border: 1px solid rgba(255,107,0,.3);
    border-radius: var(--radius);
    padding: .6rem 1.2rem;
    font-size: .9rem;
    color: var(--orange);
}

/* Form Styles */
.reg-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-grid { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--white-muted); letter-spacing: .04em; text-transform: uppercase; }

.form-group input,
.form-group select,
.form-questions input[type="text"],
.form-questions select {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: .95rem;
    padding: .8rem 1rem;
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-questions select:focus {
    border-color: var(--orange);
    background: rgba(255,107,0,.05);
    box-shadow: 0 0 0 3px rgba(255,107,0,.15);
}
.form-group input::placeholder { color: rgba(255,255,255,.25); }
.reg-form select option { background: var(--black-2); color: var(--white); }

.phone-input { display: flex; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); transition: var(--transition); background: rgba(255,255,255,.04); }
.phone-input:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,0,.15); background: rgba(255,107,0,.05); }

.phone-prefix-select { 
    background: rgba(255,107,0,.1); 
    color: var(--orange); 
    font-weight: 700; 
    font-size: .95rem; 
    border: none; 
    border-right: 1px solid rgba(255,255,255,.08); 
    padding: .8rem .5rem .8rem 1rem; 
    outline: none; 
    cursor: pointer;
    -webkit-appearance: none;
}
.phone-prefix-select option { background: var(--black-2); color: var(--white); }
.phone-input input { flex: 1; border: none !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }

.form-questions { display: flex; flex-direction: column; gap: 1rem; }
.question-item p { font-size: .88rem; font-weight: 600; color: var(--white-muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .6rem; }
.question-item.full-width select { width: 100%; }
.radio-group { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; color: var(--white-muted); transition: var(--transition); }
.radio-group label:hover { color: var(--orange); }
.radio-group input[type="radio"] { accent-color: var(--orange); width: 16px; height: 16px; }

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    font-size: .85rem;
    color: var(--white-muted);
    cursor: pointer;
    line-height: 1.5;
}
.terms-check input[type="checkbox"] { accent-color: var(--orange); flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }

.submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
    margin-top: .5rem;
}

/* ====== TOAST ====== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    transform: translateX(120%);
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.toast.active { transform: translateX(0); }
.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--black-3);
    border: 1px solid rgba(0,230,118,.3);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 20px rgba(0,230,118,.1);
    min-width: 300px;
}
.toast-icon { font-size: 1.8rem; color: var(--green-win); }
.toast-title { font-weight: 700; color: var(--white); font-size: .95rem; }
.toast-text { font-size: .85rem; color: var(--white-muted); margin-top: .2rem; }

/* ====== WhatsApp Float ====== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.7); }
.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* ====== SCROLL REVEAL ====== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ====================================
   SUPPORT CHAT WIDGET
===================================== */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse; /* bubble stays at BOTTOM, panel grows UP */
    align-items: flex-end;
    gap: 1rem;
}

/* ── Bubble button ── */
.chat-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 30px rgba(255,107,0,.5);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(255,107,0,.7);
}

/* icon swap */
.chat-bubble-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease, transform .2s ease;
}
.chat-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
}
.chat-bubble[aria-expanded="true"] .chat-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(.6);
}
.chat-bubble[aria-expanded="true"] .chat-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* pulse ring */
.chat-bubble-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255,107,0,.5);
    animation: chatPulseRing 2s ease-out infinite;
}
@keyframes chatPulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* online dot on bubble */
.chat-online-dot {
    position: absolute;
    top: 2px; right: 2px;
    width: 13px; height: 13px;
    background: #00e676;
    border-radius: 50%;
    border: 2px solid var(--black);
}

/* ── Chat Panel ── */
.chat-panel {
    position: absolute;
    bottom: calc(100% + 1rem);
    right: 0;
    width: 360px;
    height: 650px;
    background: #141414;
    border: 1px solid rgba(255,107,0,.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.8), 0 0 30px rgba(255,107,0,.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* hidden state */
    opacity: 0;
    transform: translateY(20px) scale(.95);
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.chat-panel.chat-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
}

/* ── Header ── */
.chat-panel-header {
    background: linear-gradient(135deg, rgba(255,107,0,.2), rgba(30,10,0,.9));
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,107,0,.15);
    flex-shrink: 0;
}
.chat-header-info {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.chat-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}
.chat-status-dot {
    position: absolute;
    bottom: 1px; right: 1px;
    width: 11px; height: 11px;
    background: #00e676;
    border-radius: 50%;
    border: 2px solid #141414;
}
.chat-header-name {
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
}
.chat-header-status {
    font-size: .75rem;
    color: #00e676;
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .1rem;
}
.chat-status-dot-sm {
    width: 7px; height: 7px;
    background: #00e676;
    border-radius: 50%;
    animation: chatPulseRing 1.8s ease-out infinite;
    flex-shrink: 0;
}
.chat-close-btn {
    background: rgba(255,255,255,.08);
    border: none;
    color: rgba(255,255,255,.7);
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.chat-close-btn:hover { background: rgba(255,107,0,.3); color: #fff; }

/* ── Body / Messages ── */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,107,0,.3) transparent;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,107,0,.3); border-radius: 2px; }

/* Messages */
.chat-msg {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
}
.chat-msg-bot { flex-direction: row; }
.chat-msg-user { flex-direction: row-reverse; }

.chat-msg-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: .2rem;
}
.chat-msg-content {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    max-width: 82%;
}
.chat-msg-user .chat-msg-content { align-items: flex-end; }

.chat-msg-bubble {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px 16px 16px 4px;
    padding: .7rem 1rem;
    font-size: .88rem;
    color: rgba(255,255,255,.9);
    line-height: 1.5;
}
.chat-msg-user .chat-msg-bubble {
    background: linear-gradient(135deg, rgba(255,107,0,.25), rgba(255,107,0,.15));
    border-color: rgba(255,107,0,.3);
    border-radius: 16px 16px 4px 16px;
    color: #fff;
}
.chat-msg-time {
    font-size: .68rem;
    color: rgba(255,255,255,.35);
    padding: 0 .3rem;
}

/* Typing indicator */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: .7rem 1rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px 16px 16px 4px;
    width: fit-content;
}
.chat-typing span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
    0%, 80%, 100% { transform: scale(1); opacity: .4; }
    40% { transform: scale(1.3); opacity: 1; }
}

/* Quick option buttons */
.chat-options {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.chat-opt-btn {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,107,0,.25);
    border-radius: 10px;
    color: rgba(255,255,255,.85);
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 600;
    padding: .65rem 1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.chat-opt-btn:hover {
    background: rgba(255,107,0,.15);
    border-color: var(--orange);
    color: #fff;
    transform: translateX(4px);
}

/* ── Footer / Input ── */
.chat-footer {
    padding: .9rem 1.2rem;
    border-top: 1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.3);
    flex-shrink: 0;
}
.chat-input-wrap {
    display: flex;
    gap: .6rem;
    align-items: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    padding: .4rem .4rem .4rem 1rem;
    transition: border-color .2s;
}
.chat-input-wrap:focus-within {
    border-color: rgba(255,107,0,.5);
}
.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: .88rem;
}
.chat-input::placeholder { color: rgba(255,255,255,.35); }
.chat-send-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--orange);
    color: #fff;
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.chat-send-btn:hover { background: var(--orange-dark); transform: scale(1.1); }
.chat-send-btn:disabled { opacity: .4; cursor: not-allowed; }

.chat-footer-note {
    font-size: .72rem;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin-top: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
}
.chat-footer-note a { color: rgba(255,255,255,.5); text-decoration: underline; }
.chat-footer-note a:hover { color: #25D366; }

/* Mobile adjustments */
@media (max-width: 480px) {
    .chat-widget { bottom: 1rem; right: 1rem; }
    .chat-panel { width: calc(100vw - 2rem); max-height: 70vh; }
}

/* ====== NAV LINK SORTEO ====== */
.nav-link-sorteo {
    color: var(--orange) !important;
    font-weight: 700 !important;
}
.nav-link-sorteo::after {
    background: var(--orange) !important;
}
.sorteo-mobile-link {
    color: var(--orange) !important;
}

/* ====== SORTEO SECTION ====== */
.sorteo-section {
    padding: 8rem 0;
    background: var(--black-2);
    position: relative;
    overflow: hidden;
}
.sorteo-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,107,0,.07) 0%, transparent 70%);
    pointer-events: none;
}
.sorteo-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.sorteo-header {
    text-align: center;
    margin-bottom: 1rem;
}
.sorteo-header .section-label {
    display: inline-flex;
}

/* ── Featured 1st prize card ── */
.sorteo-prize-featured {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #1a0800 0%, #2d1100 40%, var(--orange-dark) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,107,0,.3);
    min-height: 280px;
    position: relative;
    box-shadow: 0 0 60px rgba(255,107,0,.15), var(--shadow-card);
}
.sorteo-prize-featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.2) 0%, transparent 60%);
    pointer-events: none;
}
.sorteo-prize-featured-content {
    padding: 3rem;
    position: relative;
    z-index: 2;
}
.sorteo-prize-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--orange);
    padding: .4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    width: fit-content;
    box-shadow: 0 4px 16px rgba(255,107,0,.5);
}
.sorteo-prize-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: .04em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.sorteo-prize-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    line-height: 1.5;
}
.sorteo-prize-featured-img {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
    min-height: 260px;
}
.sorteo-prize-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform .5s ease;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.6));
}
/* Removed hover scale */

/* ── Prize grid (2nd–10th) ── */

/* Wrapper: collapsed shows ~1 row (40%) */
.sorteo-grid-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    /* collapsed: shows first row only (~1 card height + gap) */
    max-height: 160px;
}
.sorteo-grid-wrapper.sorteo-expanded {
    max-height: 2000px; /* large enough for all cards */
}

/* Fade overlay that sits at the bottom */
.sorteo-fade-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 90px;
    background: linear-gradient(to top, var(--black-2) 30%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 3;
}
.sorteo-grid-wrapper.sorteo-expanded .sorteo-fade-overlay {
    opacity: 0;
}

/* Hidden cards: fade in when expanded */
.sorteo-card-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.sorteo-grid-wrapper.sorteo-expanded .sorteo-card-hidden {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
/* stagger the hidden cards */
.sorteo-grid-wrapper.sorteo-expanded .sorteo-card-hidden:nth-child(4)  { transition-delay: 0.05s; }
.sorteo-grid-wrapper.sorteo-expanded .sorteo-card-hidden:nth-child(5)  { transition-delay: 0.1s; }
.sorteo-grid-wrapper.sorteo-expanded .sorteo-card-hidden:nth-child(6)  { transition-delay: 0.15s; }
.sorteo-grid-wrapper.sorteo-expanded .sorteo-card-hidden:nth-child(7)  { transition-delay: 0.2s; }
.sorteo-grid-wrapper.sorteo-expanded .sorteo-card-hidden:nth-child(8)  { transition-delay: 0.25s; }
.sorteo-grid-wrapper.sorteo-expanded .sorteo-card-hidden:nth-child(9)  { transition-delay: 0.3s; }

/* Toggle button */
.sorteo-toggle-wrap {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2.5rem;
}
.sorteo-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    background: transparent;
    border: 2px solid rgba(255,107,0,.4);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .85rem 2.5rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.sorteo-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    opacity: 0;
    transition: opacity var(--transition);
}
.sorteo-toggle-btn:hover {
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,0,.35);
}
.sorteo-toggle-btn:hover::before { opacity: 1; }
.sorteo-toggle-btn span { position: relative; z-index: 1; }
.sorteo-toggle-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sorteo-toggle-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.sorteo-toggle-count {
    background: var(--orange);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: .2rem .65rem;
    border-radius: 100px;
    letter-spacing: .04em;
    transition: opacity var(--transition);
}
.sorteo-toggle-btn[aria-expanded="true"] .sorteo-toggle-count {
    opacity: 0;
    width: 0;
    padding: 0;
    overflow: hidden;
}
.sorteo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.sorteo-card {
    background: linear-gradient(135deg, rgba(30,12,0,.9) 0%, rgba(60,25,0,.85) 100%);
    border: 1px solid rgba(255,107,0,.2);
    border-radius: var(--radius);
    padding: 1.4rem 1.2rem;
    padding-right: 195px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    align-content: center;
    gap: .15rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
    min-height: 140px;
}
.sorteo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,0,.05) 0%, transparent 50%);
    pointer-events: none;
}
.sorteo-card:hover {
    border-color: rgba(255,107,0,.5);
}

.sorteo-card-tag {
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--orange);
    padding: .25rem .65rem;
    border-radius: 100px;
    width: fit-content;
    margin-bottom: 0px;
}

.sorteo-card-name {
    grid-column: 1;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: .04em;
    line-height: 1.1;
    color: #fff;
}

.sorteo-card-sub {
    grid-column: 1;
    font-size: .82rem;
    color: rgba(255,255,255,.75);
    font-weight: 500;
}

.sorteo-card-img {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%) translateY(-6px);
    width: 180px;
    height: 135px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    text-align: center;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
    transition: transform .3s ease;
}
.sorteo-card:hover .sorteo-card-img {
    transform: translateY(-50%) translateY(-6px) scale(1.1) rotate(-5deg);
}

/* individual card accent colors */
.sorteo-img-viaje { color: #5bc8f5; }
.sorteo-img-tv    { color: #a0c4ff; }
.sorteo-img-moto  { color: #ff6b6b; }
.sorteo-img-iphone { color: #ffd580; }
.sorteo-img-notebook { color: #c0c0c0; }
.sorteo-img-smarttv { color: #90e0ef; }
.sorteo-img-robot { color: #d3d3d3; }
.sorteo-img-cava  { color: #c0392b; }
.sorteo-img-jbl   { color: #ff6eb4; }

/* ── CTA Sorteo ── */
.sorteo-cta {
    background: linear-gradient(135deg, rgba(255,107,0,.08), rgba(20,20,20,.9));
    border: 1px solid rgba(255,107,0,.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.sorteo-cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}
.sorteo-cta-left {
    padding: 3rem;
    border-right: 1px solid rgba(255,107,0,.15);
}
.sorteo-cta-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: .05em;
    margin-bottom: 1.5rem;
    color: var(--white);
}
.sorteo-cta-steps {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    list-style: none;
}
.sorteo-cta-steps li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    font-size: .95rem;
    color: rgba(255,255,255,.75);
    line-height: 1.5;
}
.sorteo-cta-steps li i { color: var(--green-win); flex-shrink: 0; margin-top: .2rem; }

.sorteo-cta-right {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.sorteo-fecha-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white-muted);
    margin-bottom: .5rem;
}
.sorteo-fecha {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--orange);
    letter-spacing: .05em;
    margin-bottom: 1.5rem;
}
.sorteo-countdown-wrap {
    display: flex;
    gap: .8rem;
    justify-content: center;
    flex-wrap: wrap;
}
.sorteo-cd span {
    font-size: 2rem !important;
}

/* ====== REGISTRATION MODAL ====== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.modal.modal-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #141414;
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(255, 107, 0, 0.1);
    scrollbar-width: none; /* Firefox */
}

.modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.modal.modal-open .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-modal:hover {
    background: var(--orange);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-logo {
    height: 30px;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--white-muted);
    font-size: 0.95rem;
}

.modal-bonus-bar {
    background: rgba(255, 107, 0, 0.1);
    border: 1px dashed var(--orange);
    padding: 0.8rem;
    border-radius: 12px;
    color: var(--white);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    display: inline-block;
}

.reg-form .form-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.reg-form .form-group {
    margin-bottom: 0.5rem;
    text-align: left;
}

.reg-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white-muted);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reg-form input, 
.reg-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.reg-form input:focus, 
.reg-form select:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255, 107, 0, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.phone-input {
    display: flex;
    gap: 0.5rem;
}

.phone-prefix-select {
    width: 100px !important;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff6b00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-questions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.question-item p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--white);
    text-align: left;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.terms-check {
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    margin: 1.5rem 0 2.5rem;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem !important;
    font-size: 1.1rem !important;
    justify-content: center;
}

/* ====== POST-REG CASINOS ====== */
.casinos-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.casino-post-card {
    background: #0f0f0f;
    border: 1px solid rgba(255,107,0,0.15);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.casino-post-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(255,107,0,0.25);
}

.casino-post-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 0;
    transition: all 0.6s ease;
}

.casino-post-card:hover .casino-post-img {
    transform: scale(1.1);
    opacity: 1;
    filter: brightness(1.2) contrast(1.1);
}

.casino-post-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 70%);
    z-index: 1;
}

.casino-post-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.casino-post-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.9);
}

.casino-post-btn {
    width: 100%;
    background: rgba(255,107,0,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid var(--orange);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 0 30px var(--orange-glow-strong);
    transform: translateY(-2px) scale(1.02);
}

.btn-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255,255,255,0.5);
    width: 0%;
    transition: width 0.3s ease;
}

/* ====== RESPONSIVE REVOLUTION (UP TO 1024PX) ====== */
@media screen and (max-width: 1024px) {
    html, body { overflow-x: hidden; width: 100%; position: relative; }
    
    #mainNav .nav-links, 
    #mainNav .btn-nav,
    #mainNav #nav-register-btn { 
        display: none !important; 
    }
    
    .hamburger { 
        display: flex !important; 
    }
    
    .nav-inner {
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .logo-img { height: 28px !important; }
    
    .hero { padding: 8rem 0 4rem; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 3rem !important; line-height: 1.1; }
    .hero-actions { width: 100%; max-width: 400px; }
    
    .juegos-grid, .why-grid, .sorteo-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .sorteo-card {
        padding-right: 165px;
        min-height: 120px;
    }
    .sorteo-card-img {
        width: 150px;
        height: 112px;
        right: 1rem;
        font-size: 2.8rem;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-links li { justify-content: center; }
    
    .promo-grid, .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .steps-grid::before, .steps-grid::after { display: none !important; }
    .steps-header { grid-template-columns: 1fr !important; gap: 1rem !important; text-align: center !important; margin-bottom: 2rem !important; }
    .steps-intro-text { padding-top: 0 !important; }
    
    .sorteo-cta-inner { grid-template-columns: 1fr !important; }
    .sorteo-cta-left { border-right: none !important; border-bottom: 1px solid rgba(255,107,0,.15) !important; padding: 2rem !important; }
    .sorteo-cta-right { padding: 2rem !important; }
    
    .sorteo-prize-featured { grid-template-columns: 1fr !important; }
    .sorteo-prize-featured-img { order: -1 !important; min-height: 200px !important; }
    .sorteo-prize-featured-content { padding: 2rem !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
    
    .testimonials-grid { 
        display: flex !important; 
        overflow-x: auto !important; 
        scroll-snap-type: x mandatory !important; 
        gap: 1.2rem !important; 
        padding: 0 1rem 2rem !important;
        margin: 0 -1.5rem !important; /* Pull out to edges */
        scrollbar-width: none;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .t-card { 
        min-width: 280px !important; 
        max-width: 85% !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important; 
    }

    /* Hide chat widget when mobile menu is open */
    body.menu-open .chat-widget { display: none !important; }

    /* Full Page Modal on Mobile */
    .modal { padding: 0 !important; }
    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 4rem 1.5rem 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }
    .close-modal { top: 1.5rem !important; right: 1.5rem !important; background: rgba(255,255,255,0.1) !important; width: 40px !important; height: 40px !important; }

    /* Full Page Chat on Mobile */
    .chat-widget { z-index: 99999 !important; }
    .chat-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        z-index: 99999 !important;
        transform: none !important;
    }
    .chat-panel-header { border-radius: 0 !important; padding: 1.5rem !important; }
    .chat-bubble { z-index: 100000 !important; }
    
    /* Hide bubble when chat is open on mobile */
    .chat-bubble[aria-expanded="true"] { 
        opacity: 0 !important; 
        visibility: hidden !important; 
        pointer-events: none !important; 
    }
}

@media screen and (max-width: 600px) {
    .hero h1 { font-size: 2.5rem !important; }
    .juegos-grid, .why-grid, .sorteo-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.5rem !important; }
    .sorteo-card {
        padding-right: 145px;
        min-height: 110px;
    }
    .sorteo-card-img {
        width: 130px;
        height: 98px;
        right: .8rem;
        font-size: 2.5rem;
    }
}