/* CSS Reset and Variables */
:root {
    --primary-bg: #0D1B2A;
    --gold-accent: #D4AF37;
    --gold-hover: #b8972e;
    --text-primary: #F2F2F2;
    --text-dark: #0a1522;
    --font-main: 'Outfit', sans-serif;
    --header-transition: 0.3s ease;
    --hover-transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--primary-bg);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================================
   HEADER STYLES
   ========================================= */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.9rem 0;
    /* Reduced padding slightly to avoid bulkiness with larger logo */
    background-color: transparent;
    transition: background-color var(--header-transition), padding var(--header-transition), box-shadow var(--header-transition);
}

#main-header.scrolled {
    background-color: var(--primary-bg);
    padding: 0.5rem 0;
    /* Tighter padding on scroll */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

.logo-container {
    margin-left: 16px;
    /* Increase logo distance from screen edge */
}

.logo-link {
    display: block;
}

.logo-link img {
    height: 88px;
    width: auto;
    object-fit: contain;
    transition: height var(--header-transition), transform 0.2s ease;
}

.logo-link:hover img {
    transform: scale(1.05);
}

#main-header.scrolled .logo-link img {
    height: 72px;
    /* Slightly smaller on scroll */
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--hover-transition);
}

/* Thin animated gold underline */
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--gold-accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
    left: 0;
}

.main-nav a:hover {
    color: var(--text-primary);
}

/* CTA Button Header */
.btn-cta-header {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(180deg, #D4AF37 0%, #B8972E 100%);
    color: var(--text-dark);
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Subtle Shimmer effect */
.btn-cta-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.btn-cta-header:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.btn-cta-header:hover::before {
    left: 150%;
}


/* =========================================
   HERO SECTION STYLES
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.video-container {
    position: fixed;
    /* Keep the video behind the whole page */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.75) contrast(0.9) saturate(0.9);
    opacity: 0.60;
}

/* Unified cinematic overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 14, 24, 0.57);
    z-index: 1;
}

.video-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
}

.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1000px;
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: 5vh;
}

.radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(17, 34, 64, 0.5) 0%, rgba(13, 27, 42, 0) 65%);
    z-index: -1;
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}

.hero-subtitle {
    font-size: 0.85rem;
    color: #B89C50;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

.hero-headline {
    font-size: 5.75rem;
    /* Increase overall size by ~4% */
    font-weight: 900;
    /* Slightly increase font weight */
    line-height: 1.1;
    letter-spacing: 0px;
    /* Reduce letter spacing slightly */
    color: #FFFFFF;
    /* Increase contrast slightly (cleaner white) */
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
    text-shadow: 0 4px 15px rgba(13, 27, 42, 0.5);
    /* Ultra subtle soft shadow */
}

.hero-headline::after {
    content: '';
    display: block;
    width: 90px;
    height: 2px;
    background-color: #D4AF37;
    margin: 14px auto 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    color: rgba(242, 242, 242, 0.9);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

/* Primary Button */
.btn-primary {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(180deg, #D4AF37 0%, #B8972E 100%);
    color: var(--text-dark);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    /* Specifically requested */
    letter-spacing: 1px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    /* Slightly enhance shadow */
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

/* Shimmer overlay for primary button */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover {
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.btn-primary:hover::after {
    left: 150%;
}

/* Bottom minimal scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold-accent);
    animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }

    50% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media screen and (max-width: 1024px) {
    .hero-headline {
        font-size: 4rem;
    }

    .header-container {
        padding: 0 2rem;
    }

    .main-nav {
        display: none;
        /* In a real app, implement a hamburger menu */
    }
}

@media screen and (max-width: 768px) {
    .hero-headline {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .logo-container img {
        height: 45px;
    }

    #main-header.scrolled .logo-container img {
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .hero-headline {
        font-size: 2.5rem;
    }
}

/* =========================================
   PREMIOS HOY SECTION
   ========================================= */
.premios-section {
    position: relative;
    padding: 6rem 0;
    z-index: 5;
    background-color: transparent;
}

.premios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.gold-line {
    width: 90px;
    height: 2px;
    background: #D4AF37;
    margin: 1rem auto 2rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.premios-hero-stat {
    margin-bottom: 3rem;
    background: rgba(10, 18, 28, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Static Jackpot Title */
.premios-static-heading h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    /* Gold underline */
    display: inline-block;
    text-transform: uppercase;
}

/* Pulsing Payout Wrapper */
.monto-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
}

.monto-prefix {
    font-size: 2.2rem;
    font-weight: 700;
    color: #D4AF37;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

/* Pulsing Payout Amount */
.premios-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #D4AF37;
    line-height: 1;
    display: inline-block;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35), 0 0 48px rgba(212, 175, 55, 0.18);
    animation: amountPulse 2.8s ease-in-out infinite;
    position: relative;
}

.monto-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* Diagonal Shine on Payout Amount */
.premios-stat-number::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -100%;
    width: 300%;
    height: 140%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shineSweep 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes amountPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
    }

    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.28));
    }
}

/* --- JACKPOT REEL ANIMATION (VERTICAL ENHANCED) --- */
.premios-section.inner-casino-premios {
    margin-top: 2.5rem;
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.jackpot-reel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0 4rem 0;
    text-align: left;
}

.jackpot-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: scrollJackpots 30s linear infinite;
    padding-left: 20px;
    margin: 0;
    perspective: 1000px;
}

.jackpot-reel:hover .jackpot-track {
    animation-play-state: paused;
}

@keyframes scrollJackpots {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Premium Vertical Posters with Spin */
.premios-card {
    flex: 0 0 auto;
    position: relative;
    height: 320px;
    width: 220px;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: slotSpinResolve 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slotSpinResolve {
    0% {
        transform: rotateX(-90deg) translateY(-50px);
        opacity: 0;
        box-shadow: 0 0 0px rgba(0, 0, 0, 0);
    }

    70% {
        transform: rotateX(10deg);
        opacity: 1;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    100% {
        transform: rotateX(0deg) translateY(0);
        opacity: 1;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }
}

@keyframes jackpotPulse {

    0%,
    100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }

    50% {
        box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    }
}

.premios-card:nth-child(even) {
    animation: jackpotPulse 3s ease-in-out infinite;
}

.premios-card:nth-child(5n) {
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.25);
}

.premios-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* We let JS transform-origin and scale(1.6) drive it dynamically */
    transition: transform 0.15s ease-out;
}

/* Base Gradient Overlay */
.premios-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Diagonal Shine Sweep */
.premios-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    z-index: 3;
    pointer-events: none;
    animation: shineSweep 4.5s ease-in-out infinite;
}

@keyframes shineSweep {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }

    /* Wait cycle before swooping again */
}

/* Wow Hover Effect */
.premios-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    /* Amplified glow on hover */
    z-index: 10;
}

/* Hover States for Magnifier Effect */
.premios-card:hover .magnifier-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
    /* Slight pop in */
}

.premios-card:hover::after {
    opacity: 0.3;
    /* Fade gradient out slightly when zooming */
}

.premios-card:hover img {
    transform: scale(1.05);
}

.premios-card:hover::after {
    opacity: 0.4;
}

.premios-fallback {
    color: rgba(255, 255, 255, 0.6);
    grid-column: 1 / -1;
    font-size: 1.2rem;
    font-style: italic;
    padding: 2rem;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #D4AF37;
}

/* Responsive Overrides for Premios */
@media screen and (max-width: 1024px) {
    .premios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .premios-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   STATISTICS & TESTIMONIALS SECTION
   ========================================= */
.stats-section {
    background-color: transparent;
    /* Changed to transparent let video bleed through */
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}


.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.section-pre-title {
    font-size: 0.9rem;
    color: var(--gold-accent);
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    /* Soft gold shadow glow */
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #D4AF37;
    /* Gold accent */
    margin-bottom: 0.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.stat-star {
    font-size: 2.2rem;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    opacity: 0.9;
}

/* TESTIMONIALS CAROUSEL */
.testimonials-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 6rem;
    position: relative;
    /* Fade edges to deep blue */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollCarousel 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    /* Glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    /* Enhanced dark shadow */
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    /* Shadow glow */
}

.stars {
    color: #D4AF37;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review {
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(242, 242, 242, 0.9);
    line-height: 1.5;
}

.reviewer-info {
    margin-top: auto;
    /* Pushes to the bottom of the card */
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(242, 242, 242, 0.6);
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }

    /* Scrolls half the width (the original 4 cards) */
}

/* FINAL CTA */
.reviews-cta-container {
    text-align: center;
    margin-top: 2rem;
}

.cta-headline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cta-subtext {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(242, 242, 242, 0.8);
    margin-bottom: 2rem;
}

.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-review:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.star-icon {
    font-size: 1.2rem;
}

/* Scroll Fade-In Animation classes */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE UPDATES FOR STATS */
@media screen and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media screen and (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* =========================================
   DESCUBRIR SECTION (EXPERIENCE GRID)
   ========================================= */
.descubrir-section {
    position: relative;
    padding: 1.5rem 0 4rem;
    z-index: 5;
    /* Above video */
}

.descubrir-section .section-title {
    margin-top: 0;
}


.descubrir-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Specific Entrance Animation Overrides for Descubrir Section */
.descubrir-section .section-title.fade-in-on-scroll,
.descubrir-section .section-subtitle.fade-in-on-scroll {
    transform: translateY(12px);
    /* Subtle premium entrance movement */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.descubrir-section .experience-card.fade-in-on-scroll {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease-out;
    /* 500más entrance */
}

.descubrir-section .fade-in-on-scroll.visible {
    transform: translateY(0);
}

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

.experience-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 250px;
    padding: 1.25rem;
    text-decoration: none;
    overflow: hidden;

    /* Glassmorphism Specs */
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.45);

    transition: transform 0.3s ease, box-shadow 0.3s ease-out;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Real image setup */
    background-size: cover;
    background-position: center;
    background-color: #0D1B2A;
    /* Fallback */
    transition: transform 0.5s ease;
}

/* Dark overlay gradient applied over the image via an ::after pseudo-element */
.card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.10) 100%);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    /* Vignette effect */
    transition: background 0.3s ease;
}


.card-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.card-icon {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.card-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(242, 242, 242, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    /* Subtle gold glow */
}

.experience-card:hover .card-bg {
    transform: scale(1.05);
    /* Image zoom */
}

/* Brighten the overlay on hover so the image feels more vivid */
.experience-card:hover .card-bg::after {
    background: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40));
}

.experience-card:hover .card-icon {
    transform: translateY(-5px);
    opacity: 1;
}

.experience-card:hover .card-title {
    transform: translateY(-8px);
}

.experience-card:hover .card-subtitle {
    opacity: 1;
}

/* Sibling focus dimming effect */
.experience-grid:hover .experience-card {
    opacity: 0.6;
}

.experience-grid:hover .experience-card:hover {
    opacity: 1;
}

/* RESPONSIVE EXPERIENCE GRID */
@media screen and (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .experience-card {
        height: 280px;
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   OVERLAY VIEWS (MODALS) LOGIC
   ========================================= */

/* Base Overlay Container */
.overlay-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 10, 18, 0.85);
    /* Darker transparent layer to dim the background */
    -webkit-backdrop-filter: blur(12px) brightness(0.8);
    backdrop-filter: blur(12px) brightness(0.8);
    z-index: 2000;
    /* Extremely high so it sits above EVERYTHING including headers if necessary */
    overflow-y: auto;
    /* Internal scroll only */
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    /* Start slightly lower for a slide effect */
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.4s;
}

/* Active State for Overlays */
.overlay-view.overlay-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Slide up to original position */
}

/* Internal Content Wrapper */
.overlay-content {
    padding-top: 40px;
    min-height: 100%;
    position: relative;
    padding-bottom: 4rem;
}

/* Unified Overlay Header Controls */
.overlay-header-controls {
    position: sticky;
    top: 0;
    z-index: 2500;
    padding: 1.5rem 2rem 0;
    display: flex;
    justify-content: flex-end;
    /* Soft gradient to prevent content bumping into the button abruptly when scrolling */
    background: linear-gradient(to bottom, rgba(6, 10, 18, 0.9) 0%, rgba(6, 10, 18, 0) 100%);
    pointer-events: none;
    /* Let clicks pass to content below unless clicking the button itself */
}

/* Close Button Style */
.btn-close-overlay, .btn-juego-back-internal {
    pointer-events: auto;
    /* Re-enable for the button */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-close-overlay:hover, .btn-juego-back-internal:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.btn-close-overlay svg, .btn-juego-back-internal svg {
    transition: transform 0.3s ease;
}

.btn-close-overlay:hover svg, .btn-juego-back-internal:hover svg {
    transform: translateX(-3px);
}

/* Prevents the body from scrolling when an overlay is active */
body.overlay-open {
    overflow: hidden;
}

/* Hide the main fixed header when an overlay is open */
body.overlay-open #main-header {
    display: none !important;
}

#overlay-juego .overlay-content {
    padding-top: 0;
    padding-bottom: 0;
}

#overlay-juego .overlay-header-controls {
    position: absolute;
    width: 100%;
}

.juego-casino-section {
    position: relative;
    z-index: 5;
    padding: 0;
    min-height: 100vh;
}

.juego-casino-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================
   JUEGO OVERLAY - VISITA SELECTOR (RESTAURADO)
   ========================================= */
.sbc-multi-view-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.sbc-juego-view {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.juego-selector-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
}
@media (max-width: 900px) {
    .juego-selector-container {
        grid-template-columns: 1fr;
    }
}

.juego-split-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.juego-split-panel .panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.juego-split-panel:hover .panel-bg {
    transform: scale(1.05);
}

.juego-split-panel .panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.6);
    transition: background 0.3s ease;
    z-index: 2;
}

.juego-split-panel:hover .panel-overlay {
    background: rgba(0,0,0, 0.3);
}

.juego-split-panel .panel-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    width: 90%;
    max-width: 650px;
}

.juego-split-panel .panel-title {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .juego-split-panel .panel-title {
        white-space: normal;
    }
}

.juego-split-panel .panel-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-panel-cta {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #fff;
    border: 2px solid var(--gold-accent, #D4AF37);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-panel-cta:hover, .juego-split-panel:hover .btn-panel-cta {
    background: var(--gold-accent, #D4AF37);
    color: #000;
}

/* =========================================
   JUEGO OVERLAY - SUBVISITAS MíQUINAS Y MESAS
   ========================================= */
.sbc-module-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    color: #fff;
}

.sbc-module-hero .mod-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-accent, #D4AF37);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.sbc-module-hero .mod-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.sbc-module-hero .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold-accent, #D4AF37);
    margin: 0 auto 1.5rem auto;
}

.sbc-module-hero .mod-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.sbc-maquíinas-content, .sbc-mesas-content {
    background-color: var(--bg-dark, #0d0d0d);
    padding: 2.5rem 2rem;
}

.sbc-module-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.sbc-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
    transition: transform 0.3s ease;
}

.sbc-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent, #D4AF37);
}

.sbc-stat-card h4 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-accent, #D4AF37);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.sbc-stat-card p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}

.sbc-module-text {
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
}

.mod-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.text-col h3.grp-title {
    font-size: 1.5rem;
    color: var(--gold-accent, #D4AF37);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.text-col p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sbc-featured-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

@media (max-width: 992px) {
    .sbc-featured-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sbc-featured-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

.sbc-games-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
}

.sbc-featured-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sbc-featured-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent, #D4AF37);
}

.fc-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.fc-content {
    padding: 1.5rem;
}

.fc-content h4 {
    font-size: 1.2rem;
    color: var(--gold-accent, #D4AF37);
    margin-bottom: 0.5rem;
}

.fc-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}


/* =========================================
   EVENTOS HOY SECTION
   ========================================= */
.eventos-hoy-section {
    padding: 6rem 0;
    background-color: transparent;
    position: relative;
    z-index: 5;
}

.eventos-hoy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eventos-hoy-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
}

.eventos-hoy-empty {
    width: 100%;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.6;
}

.eventos-hoy-card {
    width: 100%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.eventos-hoy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.evt-hoy-flyer {
    width: 100%;
    height: 180px;
    background: #111;
    position: relative;
    overflow: hidden;
}

.evt-hoy-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eventos-hoy-card:hover .evt-hoy-flyer img {
    transform: scale(1.05);
}

.evt-hoy-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.evt-hoy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.evt-hoy-badge {
    background: #D4AF37;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.evt-hoy-time {
    color: #D4AF37;
    font-size: 0.9rem;
    font-weight: 600;
}

.evt-hoy-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.evt-hoy-artist {
    color: #D4AF37;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.evt-hoy-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* =========================================
   CONTACTO SECTION
   ========================================= */
.contacto-section {
    padding: 6rem 0;
    background-color: transparent;
    position: relative;
    z-index: 5;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contacto-info {
    display: flex;
    flex-direction: column;
}

.contacto-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contacto-details {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

.contacto-details li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #f2f2f2;
    font-size: 1.05rem;
}

.contacto-details li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contacto-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

.contacto-socials a {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contacto-socials a:hover {
    background: #D4AF37;
    color: #0d1b2a;
    transform: translateY(-3px);
}

.contacto-form-wrapper {
    background: rgba(0, 0, 0, 0.2);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.contacto-form .form-group {
    margin-bottom: 1.5rem;
}

.contacto-form label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: #D4AF37;
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   STARCLUB MODAL OVERRIDES (Legibilidad)
   ========================================= */

#affiliation-modal .contacto-form-wrapper {
    /* Fondo oscuro neutro SIN rastro de azul, totalmente en escala de grises/negro */
    background: rgba(14, 14, 14, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

#affiliation-form .form-group {
    margin-bottom: 1.8rem; /* Mayor respiración */
}

#affiliation-form label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600; /* Mejor peso visual */
}

#affiliation-form input,
#affiliation-form select,
#affiliation-form textarea {
    background: #111111 !important; /* Totalmente neutral gris oscuro/negro */
    border: 1px solid #222222 !important; /* Borde oscuro neutral */
    color: rgba(255, 255, 255, 0.9) !important; /* Texto claro */
}

#affiliation-form input::placeholder,
#affiliation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1; /* Visibilidad escrita sin fade */
}

#affiliation-form input:hover,
#affiliation-form select:hover,
#affiliation-form textarea:hover {
    border-color: #D4AF37;
}

#affiliation-form input:focus,
#affiliation-form select:focus,
#affiliation-form textarea:focus {
    outline: none !important;
    border-color: #D4AF37 !important;
    background: #151515 !important; /* Fondo neutral sutilmente aclarado al hacer focus */
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25) !important; /* Dorado elegante */
}

#affiliation-form .form-row {
    gap: 20px; /* Mayor respiración entre columnas */
}

.contacto-feedback {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.contacto-feedback.hidden {
    display: none;
}

/* OVERHAUL CONTACTO - CANALES E FORMULARIO EXPERIENCIA */

.contact-channel-primary {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-channel-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.4);
}

.channel-icon-wrapper {
    background: rgba(37, 211, 102, 0.15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-channel-whatsapp {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-channel-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    color: #fff;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-channel-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-channel-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.btn-channel-outline {
    display: inline-block;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-channel-outline:hover {
    background: #D4AF37;
    color: #020617;
}

/* =========================================
   COMPACT CONTACT CHANNELS (REDUCCIÓN VERTICAL)
   ========================================= */

.contact-channels-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* Reducir gap vertical de 1.5rem a 0.8rem */
}

.contact-channel-compact {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.contact-channel-compact.primary {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.contact-channel-compact.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.4);
}

.contact-channel-compact.secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-channel-compact.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.channel-icon-wrapper-sm {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-channel-compact.primary .channel-icon-wrapper-sm {
    background: rgba(37, 211, 102, 0.15);
}

.channel-content-sm {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-channel-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
    margin-left: auto;
}

.btn-channel-whatsapp-sm:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    color: #fff;
}

.btn-channel-outline-sm {
    display: inline-block;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    margin-left: auto;
}

.btn-channel-outline-sm:hover {
    background: #D4AF37;
    color: #020617;
}

/* Formularios de Contacto */
.contacto-details-compact .detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}
.mt-2 { margin-top: 0.8rem; }

.btn-maps-link {
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid #D4AF37;
    padding-bottom: 2px;
    margin-left: auto;
    transition: color 0.3s ease;
}
.btn-maps-link:hover { color: #fff; border-color: #fff; }

.form-row {
    display: flex;
    gap: 1rem;
}

.half-width {
    flex: 1;
}

.req {
    color: #D4AF37;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #D4AF37;
    background: rgba(255, 255, 255, 0.05);
}

.select-wrapper select option {
    background: #0d1b2a;
    color: #fff;
    padding: 10px;
}

.select-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255,255,255,0.5);
}

.contact-helper-text {
    font-size: 0.85rem;
    color: #D4AF37;
    margin-bottom: 0.8rem;
    font-style: italic;
    min-height: 1.2rem;
    transition: opacity 0.3s ease;
}

.checkbox-group {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: #D4AF37;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #D4AF37;
    border-color: #D4AF37;
}

.checkmark svg {
    display: none;
    color: #000;
}

.custom-checkbox input:checked ~ .checkmark svg {
    display: block;
}

@media (max-width: 900px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    .contacto-form-wrapper {
        padding: 2rem;
    }
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    color: var(--gold-accent);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-back-home:hover {
    color: #FFF;
    transform: translateX(-5px);
}

.casino-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.casino-col-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.casino-col-subtitle {
    font-size: 1.1rem;
    color: var(--gold-accent);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.casino-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.casino-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 180px;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.casino-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.casino-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.casino-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.casino-card:hover img {
    transform: scale(1.08);
}

.casino-card:hover::after {
    opacity: 0.4;
}

.inner-casino-premios {
    padding-top: 0;
}

@media screen and (max-width: 1024px) {
    .casino-columns {
        grid-template-columns: 1fr;
    }

    /* Jackpot Reel Tablet Resize */
    .premios-card {
        height: 290px;
        width: 200px;
    }

    /* Tablet Header Logo */
    .logo-link img {
        height: 72px;
    }

    #main-header.scrolled .logo-link img {
        height: 60px;
    }
}

@media screen and (max-width: 600px) {
    .casino-gallery {
        grid-template-columns: 1fr;
    }

    /* Mobile Header Logo */
    .logo-link img {
        height: 60px;
    }

    #main-header.scrolled .logo-link img {
        height: 50px;
    }

    /* Jackpot Reel Mobile Resize & Touch Scroll */
    .jackpot-reel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* smooth momentum scrolling */
        padding-bottom: 2rem;
    }

    /* Hide the scrollbar for aestáhetic purposes while keeping touch scroll */
    .jackpot-reel::-webkit-scrollbar {
        display: none;
    }

    .premios-card {
        height: 250px;
        width: 170px;
    }
}

/* =========================================
   HOME EVENTS SECTION (Luxury Night)
   ========================================= */
.home-events-section {
    padding: 6rem 2rem;
    background: transparent;
    position: relative;
    z-index: 2;
    /* Sobre videos y overlays */
}

.home-events-container {
    max-width: 1300px;
    margin: 0 auto;
}

.venue-group-container {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.venue-group-title {
    font-size: 2.2rem;
    color: var(--gold-accent);
    margin-bottom: 2rem;
    padding-top: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    width: 100%;
}

.venue-group-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: rgba(212, 175, 55, 0.4);
}

.venue-events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
}

/* Responsive Grid / Flex widths */
@media screen and (max-width: 1200px) {
    .home-event-card {
        width: calc(33.333% - 1.2rem) !important;
    }
}

@media screen and (max-width: 900px) {
    .home-event-card {
        width: calc(50% - 1.2rem) !important;
    }
}

@media screen and (max-width: 600px) {
    .home-event-card {
        width: 100% !important;
    }
}

.home-event-card {
    width: calc(25% - 1.2rem);
    min-width: 240px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.home-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

.home-event-flyer {
    width: 100%;
    aspect-ratio: 1/1;
    /* Squarer ratio to reduce vertical height */
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
}

.home-event-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.home-event-card:hover .home-event-flyer img {
    transform: scale(1.05);
}



.home-event-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}

.home-event-date {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold-accent);
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.home-event-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.home-event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-event-artist {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-event-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-event-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.btn-home-event-primary {
    flex: 1;
    background: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-home-event-primary:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-home-event-secondary {
    flex: 1;
    background: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    color: #000;
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-home-event-secondary:hover {
    background: #e6c855;
    transform: scale(1.02);
}

/* =========================================
   EVENTOS PAGE STYLES (eventos.html)
   ========================================= */

.eventos-hero {
    position: relative;
    padding: 60px 2rem 80px;
    text-align: center;
    background: transparent;
    /* Changed to use the global video overlay for consistent luxury dark */
}

.eventos-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.eventos-hero .hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 3px;
    color: #FFF;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.eventos-hero .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gold-accent);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.eventos-gold-line {
    width: 80px;
    height: 2px;
    background: #D4AF37;
    margin: 1.5rem auto 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Filter Tabs */
.cartelera-section {
    padding: 4rem 2rem 6rem;
    max-width: 1300px;
    margin: 0 auto;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.filter-btn.active {
    background: var(--gold-accent);
    color: #000;
    border-color: var(--gold-accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Day Sections */
.event-day-section {
    margin-bottom: 5rem;
}

.day-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

/* Event Grid */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Event Cards */
.event-card {
    background: rgba(255, 255, 255, 0.03);
    /* Glassmorphism base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    /* Soft gold glow */
    border-color: rgba(212, 175, 55, 0.4);
    /* subtle gold border on hover */
}

.event-image-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}

.event-flyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: zoom-in;
    /* Custom zoom pointer */
}

.event-image-wrapper:hover .event-flyer-img {
    transform: scale(1.05);
}

/* Modal Zoom out cursor class added by js */
.zoom-out-cursor {
    cursor: zoom-out !important;
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image-wrapper img {
    transform: scale(1.05);
}

.event-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-tag {
    font-size: 0.75rem;
    color: var(--gold-accent);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.event-time {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

/* Event Buttons */
.btn-evento,
.btn-tickets {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-evento {
    background: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
}

.btn-evento:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-tickets {
    background: var(--gold-accent);
    color: #000;
    border: 1px solid var(--gold-accent);
    margin-top: 0.8rem;
    /* Space below btn-evento */
}

.btn-tickets:hover {
    background: #e6c855;
    transform: scale(1.02);
}

/* Event Grid Responsive */
@media screen and (max-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* =========================================
   GLOBAL SITE FOOTER
   ========================================= */
.site-footer {
    background-color: var(--bg-dark);
    /* Using dark theme variable */
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    position: relative;
    z-index: 10;
    /* Ensure it stays above videos/backgrounds */
}

/* =========================================
   ADMIN PANEL STYLES (admin.html)
   ========================================= */

/* Admin Body Override */
body.admin-mode {
    background-color: #0D1B2A;
    color: var(--text-primary);
}

.admin-login-card {
    max-width: 400px;
    margin: 5rem auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.admin-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Modal Overlay for Add/Edit Event */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.admin-modal-content {
    background: #0D1B2A;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.admin-form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-form-group {
    flex: 1;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .admin-form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =========================================
   GASTRONOMIA PAGE STYLES
   ========================================= */

/* Venue Grid System */
.venue-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.venue-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.venue-row.reverse {
    direction: rtl;
}

.venue-row.reverse>* {
    direction: ltr;
}

/* Base wrapper becomes a strict clipping container */
.venue-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    height: 600px;
    /* Force height so carousel respects it */
    background: rgba(13, 27, 42, 0.5);
    /* Subtle fallback */
}

/* Horizontal scrolling carousel */
.venue-image-carousel {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Smooth iOS swipe */
}

/* Hide scrollbar for a cleaner look */
.venue-image-carousel::-webkit-scrollbar {
    display: none;
}

.venue-image-carousel {
    -más-overflow-style: none;
    scrollbar-width: none;
}

/* Individual itemás in the gallery */
.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover slightly scales the image even inside carousel */
.carousel-item:hover img {
    transform: scale(1.05);
}

.empty-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.venue-content {
    padding: 2rem;
}

/* Dedicated styling for injected Logos */
.venue-logo {
    max-width: 250px;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

.venue-title {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.venue-desc {
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Menu Placeholder Grid */
.menu-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 6rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.menu-grid {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-category-card {
    background: rgba(13, 27, 42, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.menu-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-category-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.menu-category-card:hover::before {
    opacity: 1;
}

.menu-cat-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #D4AF37;
}

.menu-cat-title {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Popup Banner (Floating Bottom Right) */
/* Popup Banner (Floating Bottom Left) */
.promo-popup {
    position: fixed;
    bottom: 20px;
    left: -100%;
    /* Start off-screen to the left */
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
    border: 1px solid #D4AF37;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 9999;
    backdrop-filter: blur(10px);
    transition: left 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 220px;
    max-width: 220px;
    overflow: hidden;
    box-sizing: border-box;
}

.promo-popup.active {
    left: 20px;
    /* Slide into view */
}

/* Slider Overrides for Multiple Promos */
.promo-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%; /* Adapts to fixed width */
    display: flex;
    overflow: hidden;
}

.promo-slide {
    min-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease-in-out;
}

/* Navigation Controls */
.promo-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    box-sizing: border-box;
    z-index: 5;
    pointer-events: none;
}

.promo-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    pointer-events: auto;
    transition: background 0.2s, color 0.2s;
}

.promo-nav-btn:hover {
    background: rgba(212, 175, 55, 0.8);
    color: #000;
}

/* Pagination Dots */
.promo-slider-dots {
    position: absolute;
    bottom: -15px; /* Pull it slightly up into the content gradient */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 5;
    padding-bottom: 25px; /* Space from the bottom edge */
    pointer-events: none;
}

.promo-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

.promo-dot.active {
    background: #D4AF37;
    transform: scale(1.2);
}

.promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}

.promo-close:hover {
    background: rgba(212, 175, 55, 0.8);
    color: #fff;
}

.promo-image-container {
    width: 100%;
    display: flex;
}

.promo-image-container img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
}

.promo-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.promo-tag {
    background: #D4AF37;
    color: #000;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    align-self: flex-start;
}

.promo-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    word-wrap: break-word;
}

.promo-desc {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.promo-action-btn {
    background: transparent;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.promo-action-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.promo-price-compact {
    color: #D4AF37;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Full Promotion Info Modal */
.promo-full-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

.promo-full-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.promo-full-modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
    border: 1px solid #D4AF37;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-full-modal-overlay.active .promo-full-modal-content {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .promo-full-modal-content {
        flex-direction: row;
        align-items: stretch;
    }
}

.promo-full-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.promo-full-modal-close:hover {
    background: #D4AF37;
    color: #000;
}

.promo-full-modal-image {
    width: 100%;
    background: #000;
}

@media (min-width: 768px) {
    .promo-full-modal-image {
        width: 45%;
        flex-shrink: 0;
    }
}

.promo-full-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.promo-full-modal-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tablet Adjustments */
@media (max-width: 900px) {
    .promo-popup {
        max-width: 200px;
    }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .promo-popup {
        bottom: 20px;
        left: -100%;
        max-width: 170px;
        padding: 0;
    }

    .promo-popup.active {
        left: 15px;
    }
    
    .promo-title {
        font-size: 0.95rem;
    }
    
    .promo-desc {
        font-size: 0.75rem;
    }
}

/* =========================================
   GASTRONOMIA HERO & VENUES
   ========================================= */
.gastro-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 100;
    padding-top: 80px;
}

.venue-section {
    position: relative;
    z-index: 100;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.venue-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.venue-row.reverse {
    direction: rtl;
}

.venue-row.reverse .venue-content {
    direction: ltr;
}

.venue-content {
    max-width: 500px;
}

.venue-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #D4AF37;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.venue-desc {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.venue-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    aspect-ratio: 4/3;
    background: rgba(0, 0, 0, 0.5);
}

.venue-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.venue-image-carousel {
    width: 100%;
    height: 100%;
}

/* =========================================
   INTERACTIVE DIGITAL MENU (Gastronomia)
   ========================================= */
.menu-nav-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto 3.5rem auto;
    flex-wrap: wrap;
    max-width: fit-content;
    background: rgba(10, 18, 28, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 60px;
    padding: 0.6rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.menu-nav-tab {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
}

.menu-nav-tab svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.menu-nav-tab:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.menu-nav-tab:hover svg {
    transform: scale(1.1);
}

.menu-nav-tab.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}

.menu-nav-tab.active svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

#menu-general {
    position: relative;
    z-index: 100;
}

.menu-panes-container {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 400px;
    position: relative;
    z-index: 100;
}

.menu-content-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.menu-content-pane.active {
    display: block;
    animation: fadeInMenuPane 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInMenuPane {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-subcategory-title {
    font-size: 1.6rem;
    color: #D4AF37;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    display: inline-block;
    position: relative;
}

/* Elegant gold line extension */
.menu-subcategory-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #D4AF37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.menu-itemás-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.menu-item-card {
    background: rgba(10, 18, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(10, 18, 28, 0.7);
}

.menu-item-info {
    flex: 1;
    padding-right: 1.5rem;
}

.menu-item-title {
    font-size: 1.3rem;
    color: #f2f2f2;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.menu-item-desc {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.4;
}

.menu-item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D4AF37;
    white-space: nowrap;
}

.menu-item-card.compact {
    padding: 1.2rem;
}

.menu-item-card.compact .menu-item-title {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.menu-item-card.compact .menu-item-price {
    font-size: 1.25rem;
}

.menu-item-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.menu-item-card.has-image {
    flex-direction: row;
    padding: 1.5rem;
    align-items: center;
    gap: 1.5rem;
    overflow: visible;
}

.menu-item-card.has-image .menu-item-content {
    padding: 0;
    flex: 1;
}

.menu-item-image {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.menu-item-image::after {
    content: '+';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 18, 28, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #D4AF37;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.menu-item-image:hover::after {
    opacity: 1;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-item-image:hover img {
    transform: scale(1.1);
}

.menu-item-card:hover .menu-item-image img {
    transform: scale(1.0);
}
.menu-item-card:hover .menu-item-image:hover img {
    transform: scale(1.1);
}

.menu-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-left: 0.5rem;
}

.menu-badge.popular {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    color: #F3DD85;
    border: 1px solid rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.menu-badge.spicy {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.05) 100%);
    color: #FF7878;
    border: 1px solid rgba(230, 57, 70, 0.6);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.1);
}

@media screen and (max-width: 768px) {
    .menu-nav-tabs {
        gap: 0.4rem;
        padding: 0.5rem;
        border-radius: 16px;
        background: rgba(10, 18, 28, 0.7);
        flex-direction: column;
        width: 100%;
        max-width: 380px;
    }

    .menu-nav-tab {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        flex: 1;
        text-align: left;
        justify-content: flex-start;
        min-width: unset;
        width: 100%;
        border-radius: 10px;
    }

    .menu-itemás-grid {
        grid-template-columns: 1fr;
        display: grid;
        width: 100%;
        overflow: visible;
        margin-bottom: 2rem;
    }

    .menu-item-card {
        padding: 1.2rem;
        width: 100%;
        display: flex;
        box-sizing: border-box;
        overflow: visible;
        flex-direction: column; /* FORZAR COLUMNA EN MOBILE PARA NO ROMPER */
        align-items: flex-start;
    }

    .menu-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
    }
    
    .menu-item-info {
        padding-right: 0;
        width: 100%;
    }

    .menu-item-title {
        font-size: 1.2rem;
        color: #fff;
    }

    .menu-item-card.has-image {
        padding: 1rem;
        gap: 1rem;
        flex-direction: row; /* La imagen al lado */
        align-items: flex-start;
    }

    .menu-item-card.has-image .menu-item-content {
        padding: 0;
        width: calc(100% - 95px); /* Restáar img ancho y gap */
    }

    .menu-item-image {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        flex-shrink: 0;
    }

}

/* ==========================================
   JACKPOT HERO STAT
   ========================================== */
.premios-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.10) 0%, transparent 70%);
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.premios-static-heading h4 {
    color: #f2f2f2;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.monto-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: #D4AF37;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.monto-prefix {
    font-size: 2rem;
    font-weight: 300;
}

.premios-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.monto-subtitle {
    color: #bbb;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .premios-stat-number {
        font-size: 2.5rem;
    }

    .monto-prefix {
        font-size: 1.5rem;
    }
}

/* ==========================================
   PREMIOS DE HOY (INTERACTIVE GRID)
   ========================================== */

.premios-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 2rem;
    cursor: grab;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    -webkit-overflow-scrolling: touch;
}
.premios-carousel-container:active {
    cursor: grabbing;
}
.premios-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
}
.premios-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 216px; /* 9:16 */
    height: 384px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.premios-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.premios-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(11,27,43,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}
.premios-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(212,175,55,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: premium-shine 6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    animation-delay: calc(var(--delay, 0) * 1s);
    z-index: 2;
    pointer-events: none;
}
@keyframes premium-shine {
    0%, 70% { left: -100%; }
    100% { left: 200%; }
}
.premios-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
    z-index: 10;
}
.premios-card:hover img {
    transform: scale(1.08); /* slight zoom in on card hover */
}
.premios-card .card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 27, 43, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 3;
}
.premios-card:hover .card-overlay {
    opacity: 1;
}
.zoom-icon {
    color: #D4AF37;
    font-size: 3rem;
    font-weight: 300;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.premios-card:hover .zoom-icon {
    transform: scale(1);
}

/* PREMIUM LIGHTBOX MODAL */
.premios-lightbox-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.premios-lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}
.premios-lightbox-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 10, 15, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.premios-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.premios-lightbox-modal.active .premios-lightbox-content {
    transform: scale(1);
}
.premios-lightbox-content img {
    max-width: 100vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 175, 55, 0.3);
    user-select: none;
}
.premios-lightbox-close,
.premios-lightbox-nav {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.premios-lightbox-close:hover,
.premios-lightbox-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    transform: scale(1.1);
}
.premios-lightbox-close {
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
}
.premios-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
}
.premios-lightbox-nav.prev { left: 2rem; }
.premios-lightbox-nav.next { right: 2rem; }

@media (max-width: 768px) {
    .premios-card { width: 180px; height: 320px; }
    .premios-lightbox-close { top: 1rem; right: 1rem; width: 40px; height: 40px; }
    .premios-lightbox-nav { width: 40px; height: 40px; }
    .premios-lightbox-nav.prev { left: 0.5rem; }
    .premios-lightbox-nav.next { right: 0.5rem; }
    .premios-lightbox-content img { width: 95%; max-height: 70vh; }
}

/* ==========================================
   STARCLUB SECTION (VIP LOYALTY)
   ========================================== */

.starclub-section {
    padding: 60px 2rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Fondo decorativo StarClub */
.starclub-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.starclub-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header StarClub */
.starclub-header {
    text-align: center;
    margin-bottom: 4rem;
}

.starclub-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #D4AF37;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.starclub-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #f2f2f2;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Intro Grid (Qué es StarClub) */
.starclub-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.starclub-intro-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.starclub-intro-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.starclub-icon {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.starclub-intro-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f2f2f2;
}

.starclub-intro-card p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

/* Tiers Grid (Tarjetas VIP) */
.starclub-tiers-wrapper {
    margin-bottom: 5rem;
}

.starclub-section-title {
    text-align: center;
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.starclub-tiers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* EVITAR EXPANSIÓN (stretch) automático por flex */
    gap: 3rem; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   STARCLUB FLIP CARDS (3D)
   ========================================== */
.starclub-card {
    perspective: 1400px; /* Perspectiva ampliada para flip fí­sico más natural */
    display: inline-block;
    width: fit-content;
    padding: 0;
    background: none;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06); /* Micro-borde premium fí­sico */
    overflow: visible; /* Clave para el giro 3D sin recortes! */
    transition: transform 0.3s ease;
    cursor: pointer; /* Indicar interactividad */
    align-self: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Glow VIP por Categorí­a - Concentrados y Elegantes (Efecto Halo) */
.starclub-card.tier-classic  { box-shadow: 0 0 20px rgba(20, 80, 180, 0.35); }
.starclub-card.tier-gold     { box-shadow: 0 0 25px rgba(212, 175, 55, 0.45); }
.starclub-card.tier-platinum { box-shadow: 0 0 20px rgba(240, 245, 255, 0.40); }
.starclub-card.tier-diamond  { box-shadow: 0 0 25px rgba(180, 200, 255, 0.15); } /* VIP silencioso azulado frí­o */

/* Interacción Hover Elegante Pro */
.starclub-card:hover {
    transform: translateY(-6px) rotateX(2deg);
}

/* Tarjeta Interna pivotante */
.starclub-card-inner {
    position: relative;
    transition: transform 0.7s cubic-bezier(.4, .2, .2, 1); /* Giro dinámico pesado premium */
    transform-style: preserve-3d;
    width: 300px; 
}

/* Estado Volteado por JS */
.starclub-card.is-flipped .starclub-card-inner {
    transform: rotateY(180deg);
}

/* Caras de la Tarjeta */
.starclub-card-front,
.starclub-card-back {
    position: absolute;
    inset: 0;
    border-radius: 18px; /* Redondeado idéntico a la imagen PNG para el reverso */
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: 100%;
    height: 100%;
}

.starclub-card-front {
    position: relative; /* Define la altura estáructural basada en la imagen interior */
}

/* Imagen Frontal limpia */
.tier-card-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* Efecto Light Sweep (Shine) anidado en las caras para respetar el 3D */
.starclub-card-front::after,
.starclub-card-back::after {
    content: "";
    position: absolute;
    top: 0;
    left: -85%;
    width: 30%; /* Haz fino y elegante tipo metal */
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255,255,255,0.02) 30%,
        rgba(255,255,255,0.08) 48%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.08) 52%,
        rgba(255,255,255,0.02) 70%,
        transparent 100%
    );
    transform: skewX(-18deg);
    z-index: 10;
}

.starclub-card:hover .starclub-card-front::after,
.starclub-card:hover .starclub-card-back::after {
    opacity: 0.18; /* Reflejo sin sobrescribir el arte */
    animation: starclub-light-sweep 0.9s ease forwards;
}

@keyframes starclub-light-sweep {
    from { left: -85%; }
    to { left: 140%; }
}

/* Cara Trasera (Reverso) Premium */
.starclub-card-back {
    transform: rotateY(180deg);
    background: 
        linear-gradient(180deg, rgba(10,15,20,0.98), rgba(6,10,15,1)),
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.05), transparent 40%);
    box-shadow: 
        inset 0 0 0 1px rgba(212,175,55,0.15), /* Inner stroke dorado sutil */
        inset 0 10px 40px rgba(0,0,0,0.9); /* Profundidad visual plástica */
    color: rgba(255,255,255,0.95);
    padding: 20px; /* Reducido para evitar empuje y cortes */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar todo el bloque armónicamente */
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden; /* Evita desbordes feos si textos largos */
}

/* Borde Texturizado Interno del Reverso */
.starclub-card-back::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.05);
    pointer-events: none;
    z-index: 0;
} 

/* Asegurando que Textos y Decoración queden por encima del pseudo-borde */
.back-content, .back-badge {
    z-index: 1;
    position: relative;
}

/* Textos y Decoración del Reverso */
.back-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tier-back-title {
    font-size: 1.25rem; /* Ajustado al lienzo real de la tarjeta */
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.tier-back-title.classic-title  { color: #d1d1d1; }
.tier-back-title.gold-title     { color: #D4AF37; }
.tier-back-title.platinum-title { color: #e5e4e2; }
.tier-back-title.diamond-title  { color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.5); }

.gold-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 6px auto;
}

.tier-back-desc {
    font-size: 0.85rem; /* Letra legible y contenida */
    line-height: 1.35;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    padding: 0 5px;
    margin-bottom: 12px;
}

.back-badge {
    background: linear-gradient(180deg, rgba(20,25,30,0.9) 0%, rgba(5,8,12,1) 100%);
    border: 1px solid rgba(212,175,55,0.4);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #E5C158;
    margin: 0;
    text-transform: uppercase;
}


/* Responsive: Carrusel Horizontal Móvil para Tiers */
@media screen and (max-width: 768px) {
    .starclub-tiers-grid {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2.5rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-left: 20px;
        padding-right: 20px;
        /* Oculta temporalmente la barra de scroll nativa visualmente para elegancia */
        scrollbar-width: none; 
    }
    .starclub-tiers-grid::-webkit-scrollbar {
        display: none;
    }
    .starclub-card {
        flex: 0 0 calc(75% - 20px); /* Toma gran parte de la pantalla as carrusel */
        scroll-snap-align: center;
    }
}

/* Benefits Banner */
.starclub-benefits-banner {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 5rem;
}

.benefits-text {
    flex: 1;
    min-width: 300px;
}

.benefits-text h3 {
    font-size: 1.8rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.benefits-text p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefits-rule {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: #D4AF37;
    font-weight: 600;
    font-size: 1.1rem;
}

.benefits-list {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #f2f2f2;
}

.benefit-item svg {
    min-width: 20px;
}

/* CTA Footer */
.starclub-cta {
    text-align: center;
    padding: 2rem 0;
}

.starclub-cta h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Responsive StarClub */
@media (max-width: 768px) {
    .starclub-title {
        font-size: 2.5rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .starclub-benefits-banner {
        padding: 2rem 1.5rem;
    }

    .starclub-cta h3 {
        font-size: 1.5rem;
    }
}

/* =========================================
   GASTRONOMIA LAYOUT
   ========================================= */
.gastro-hero,
.venue-section,
.reviews-cta-container {
    position: relative;
    z-index: 20;
}

.menu-section {
    position: relative;
    z-index: 20;
    padding: 6rem 2rem;
    background: transparent;
}

.gastro-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 50px;
}

.venue-section {
    padding: 0 1rem;
}

.venues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 0;
}

.venue-card {
    background: rgba(6, 10, 18, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease;
    max-width: 340px; 
    margin: 0 auto;
    width: 100%;
}

.venue-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.3);
}

.venue-card-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 430px;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Force image focus upward to capture venue marquee signs */
.venue-card-image .carousel-item img {
    object-position: 50% 15% !important;
}

.venue-image-carousel {
    width: 100%;
    height: 100%;
}

.venue-card-content {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.venue-card-title {
    font-size: 1.45rem;
    color: var(--gold-accent);
    margin-bottom: 0.4rem;
    font-weight: 800;
    line-height: 1.1;
}

.venue-card-desc {
    font-size: 0.85rem;
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 1.1rem;
    flex: 1; /* Pushes button to bottom boundary dynamically */
}

.venue-card-logo {
    max-width: 80px;
    margin-bottom: 0.8rem;
}

.venue-card .btn-primary {
    align-self: flex-start;
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .venues-grid {
        grid-template-columns: 1fr;
        padding: 2rem 0;
        gap: 1.5rem;
    }
    .venue-card {
        max-width: 360px;
    }
    .venue-card-image {
        aspect-ratio: 4 / 5;
        max-height: 340px;
    }
    .venue-card-content {
        padding: 1.35rem;
    }
}

/* =========================================
   UNIVERSO SOCIAL STARBAY (ECOSISTEMA)
   ========================================= */
.social-universe-section {
    padding: 6rem 0;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 42, 0.95) 15%, var(--primary-bg) 100%);
}

.social-universe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 1) HERO / INTRO */
.social-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.social-eyebrow {
    font-size: 0.9rem;
    color: var(--gold-accent);
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.social-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(242, 242, 242, 0.9);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.social-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-accent);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 2) BRANDS GRID */
.social-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.social-brand-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.social-brand-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
}

.social-brand-card:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 4px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.brand-ig .brand-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.brand-yt .brand-icon {
    background: #FF0000;
}

.brand-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.brand-info p {
    font-size: 0.9rem;
    color: rgba(242, 242, 242, 0.6);
    line-height: 1.3;
}

/* 3 & 4) SPLIT LAYOUT */
.social-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.social-block-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-desc {
    font-size: 1.1rem;
    color: rgba(242, 242, 242, 0.8);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Impact Metrics */
.impact-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.impact-stat {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.impact-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}

.impact-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 0.95rem;
    color: rgba(242, 242, 242, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Audience Stats */
.audience-stats-wrapper {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.3rem 2.5rem;
    display: flex;
    gap: 3rem;
}

.audience-ages,
.audience-locations {
    flex: 1;
}

.social-sub-title {
    font-size: 1.2rem;
    color: var(--gold-accent);
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.age-row {
    display: flex;
    align-items: center;
    height: 28px;
    margin-bottom: 0.7rem;
    gap: 1rem;
}

.age-label {
    width: 45px;
    font-size: 0.9rem;
    font-weight: 600;
}

.age-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.age-bar-fill {
    height: 100%;
    background: var(--gold-accent);
    border-radius: 4px;
}

.age-pct {
    width: 35px;
    font-size: 0.9rem;
    color: rgba(242, 242, 242, 0.8);
    text-align: right;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    font-size: 1rem;
    height: 28px;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(242, 242, 242, 0.9);
}

.loc-marker {
    font-size: 1.2rem;
}

/* 5) SOCIAL INDEX CARD */
.social-index-block {
    margin-bottom: 5rem;
}

.index-card-inner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.index-header {
    background: rgba(10, 20, 30, 0.8);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.index-month {
    background: var(--gold-accent);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.index-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.index-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.idx-label {
    font-size: 0.9rem;
    color: rgba(242, 242, 242, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.idx-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.idx-val.gold {
    color: var(--gold-accent);
}

.index-footer {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-index-report {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.btn-index-report::after {
    content: 'â†’';
    transition: transform 0.3s ease;
}

.btn-index-report:hover {
    color: #FFF;
}

.btn-index-report:hover::after {
    transform: translateX(5px);
}

/* 6) FOOTER CTA */
.social-footer-cta {
    text-align: center;
}

/* RESPONSIVE SOCIAL UNIVERSE */
@media screen and (max-width: 1024px) {
    .social-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-split-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .audience-stats-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .index-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .social-universe-section {
        padding: 4rem 0;
    }

    .social-subtitle {
        font-size: 1.1rem;
    }

    .social-indicators {
        flex-direction: column;
        align-items: center;
    }

    .social-brands-grid {
        grid-template-columns: 1fr;
    }

    .impact-metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
/* Ensure hard hidden state when logged out */
#admin-main-interface[style*="display: none"],
#admin-main-interface[style*="display:none"],
#admin-main-interface.is-hidden {
    display: none !important;
}

#admin-login-section[style*="display: none"],
#admin-login-section[style*="display:none"],
#admin-login-section.is-hidden {
    display: none !important;
}

.admin-layout-wrapper {
    display: flex;
    min-height: calc(100vh - 120px);
    gap: 2.5rem;
    align-items: flex-start;
}

.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #0B1B2B;
    border: none;
    border-radius: 0;
    padding: 1.5rem 0;
    margin: 0;
    box-shadow: none;
}

.admin-sidebar-group {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border: none;
}

.admin-sidebar-header {
    color: #D4A93A;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    transition: color 0.3s ease;
}

.admin-sidebar-header-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.admin-sidebar-header-icon {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #D4A93A;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.admin-sidebar-header:hover {
    color: #E2B94A;
}

.admin-sidebar-header:hover .admin-sidebar-header-icon {
    opacity: 1;
    transform: scale(1.08);
}

.admin-sidebar-header::after {
    content: '▼';
    font-size: 0.6rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar-group.collapsed .admin-sidebar-header::after {
    transform: rotate(-90deg);
}

.admin-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 1;
}

.admin-sidebar-group.collapsed .admin-sidebar-menu {
    max-height: 0;
    opacity: 0;
}

.admin-submenu-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #9BA7B4;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    display: block;
    position: relative;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 0 0 rgba(212, 169, 58, 0); /* Invisible baseline */
}

.admin-submenu-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.04);
    /* Premium micro-detail: Sharp gold left tracking line + extremely soft inner lighting */
    box-shadow: inset 3px 0 0 rgba(212, 169, 58, 0.9), inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.admin-submenu-btn.active {
    color: #111;
    /* Soft metallic vertical gradient for a denser, polished surface */
    background: linear-gradient(180deg, #DEBA53 0%, #D4A93A 100%);
    font-weight: 600;
    /* Subtle 3D polish: Under-shadow for depth, top interior highlight for premium edge */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.admin-content-area {
    flex-grow: 1;
    min-width: 0; /* Prevents edge overflow in grid/flex */
    background: transparent;
}

/* Base style for simple sections */
.admin-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(13, 27, 42, 0.5);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: #aaa;
    text-align: center;
}

.admin-coming-soon h2 {
    color: #D4AF37;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

/* Mobile responsive rules for admin are unified below */

/* =========================================
   ADMIN DASHBOARD COMPONENTS
   ========================================= */
.admin-dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-kpi-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.admin-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-kpi-title {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-kpi-icon {
    font-size: 1.2rem;
    color: rgba(212, 175, 55, 0.8);
}

.admin-kpi-value {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.admin-kpi-footer {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
    gap: 0.5rem;
}

.admin-kpi-trend.positive {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.admin-kpi-trend.neutral {
    color: #aaa;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.admin-dashboard-charts-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-dashboard-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-dashboard-panel {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* ========================================================= */
/* DASHBOARD PANELS REDESIGN (Matches Promociones Generales) */
/* ========================================================= */
#admin-dashboard-pane .admin-dashboard-panel {
    background: rgba(13, 27, 42, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#admin-dashboard-pane .admin-dashboard-kpi-grid {
    gap: 1.5rem; /* Increase breathing room */
}

#admin-dashboard-pane .admin-kpi-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.1rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to top, rgba(13,27,42,1) 0%, rgba(18,33,52,0.9) 100%);
}

.mc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mc-header h4 {
    font-size: 1.4rem;
    color: #FFF;
    margin: 0;
}

.mc-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.mc-limits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.mc-limits li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mc-limits li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.limit-qty {
    color: #FFF;
    font-weight: 600;
}

.mc-simple-limits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.limit-box {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.2);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold-accent);
}

.limit-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.limit-value {
    font-size: 1.1rem;
    color: #FFF;
    font-weight: 600;
}

.limit-value small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
}

.mc-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.mc-jackpot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gold-accent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HORARIOS Y PRINCIPIANTES */
.sbc-module-schedule {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.schedule-box {
    background: linear-gradient(135deg, rgba(18, 33, 52, 0.8) 0%, rgba(13, 27, 42, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.schedule-box h3 {
    font-size: 1.5rem;
    color: #FFF;
    margin: 1rem 0 2rem 0;
    letter-spacing: 1px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media screen and (min-width: 600px) {
    .schedule-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.schedule-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.schedule-day {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.schedule-time {
    color: var(--gold-accent);
    font-size: 1.2rem;
    font-weight: 700;
}

.sbc-module-beginners {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.beginners-content {
    flex: 1;
}

.beginners-content h3 {
    font-size: 1.8rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.beginners-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.beginners-icon {
    color: var(--gold-accent);
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .sbc-module-beginners {
        flex-direction: column-reverse;
        text-align: center;
        padding: 2rem;
    }
}

/* RESPONSIVE AJUSTES (MÓVIL) */
@media screen and (max-width: 600px) {
    .juego-split-panel {
        min-height: 50vh;
    }
    
    .panel-title {
        font-size: 1.8rem;
    }
    
    .panel-subtitle {
        font-size: 0.8rem;
    }
    
    .sbc-module-hero .mod-title {
        font-size: 2.2rem;
    }
    
    .sbc-internal-nav {
        top: 1rem;
        left: 1rem;
    }
    
    .sbc-stat-card {
        min-width: 100%;
        padding: 1rem;
    }
    
    .sbc-stat-card h4 {
        font-size: 1.6rem;
    }
    
    .mod-text-grid {
        gap: 1.5rem;
    }
    
    .sbc-games-container {
        gap: 2rem;
    }
    
    .fc-image {
        height: 160px;
    }
}@media (max-width: 768px) { #dash-hist-chart-container { max-height: 240px !important; } #dash-hist-chart { max-height: 240px !important; } }


/* Proyecciones Dashboard Operativo */
.dash-proy-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 2px;
    column-gap: 8px;
    margin-top: 4px;
    width: 100%;
}

.dash-proy-label {
    font-size: 0.62rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
}

.dash-proy-val {
    font-size: 0.65rem;
    line-height: 1.25;
    color: #fff;
    font-weight: 700;
    text-align: right;
}

/* Modificamos admin-kpi-card para asegurar un alto aproximado y mantener 5 columnas */
#admin-dashboard-pane .admin-dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

#admin-dashboard-pane .admin-kpi-card {
    min-height: 150px;
    /* max-height removed to avoid clipping */
}


/* Restáore KPI Colors & Accents for Dashboard Operativo */

/* Titles */
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(1) .admin-kpi-title { color: #D4AF37 !important; }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(2) .admin-kpi-title { color: #a78bfa !important; }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(3) .admin-kpi-title { color: #f472b6 !important; }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(4) .admin-kpi-title { color: #4ade80 !important; }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(5) .admin-kpi-title { color: #D4AF37 !important; } /* Amarillo/Dorado */

/* Subtle Borders & Glow/Tint */
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(1) { background: rgba(212, 175, 55, 0.03); border: 1px solid rgba(212, 175, 55, 0.2); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(2) { background: rgba(167, 139, 250, 0.03); border: 1px solid rgba(167, 139, 250, 0.2); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(3) { background: rgba(244, 114, 182, 0.03); border: 1px solid rgba(244, 114, 182, 0.2); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(4) { background: rgba(74, 222, 128, 0.03); border: 1px solid rgba(74, 222, 128, 0.2); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(5) { background: rgba(212, 175, 55, 0.03); border: 1px solid rgba(212, 175, 55, 0.2); }

/* Icons background glow */
#admin-dashboard-pane .admin-kpi-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(1) .admin-kpi-icon { background: rgba(212, 175, 55, 0.1); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(2) .admin-kpi-icon { background: rgba(167, 139, 250, 0.1); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(3) .admin-kpi-icon { background: rgba(244, 114, 182, 0.1); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(4) .admin-kpi-icon { background: rgba(74, 222, 128, 0.1); }
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:nth-child(5) .admin-kpi-icon { background: rgba(212, 175, 55, 0.1); }

/* Text color for specific cards when hovering or inside */
#admin-dashboard-pane .admin-dashboard-kpi-grid > .admin-kpi-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Ensure the main value font size stays in check, and not overridden */
#admin-dashboard-pane .admin-kpi-value > span:first-child {
    font-size: 1.45rem;
    font-weight: 700;
}
@media (max-width: 1599px) {
    #admin-dashboard-pane .admin-kpi-value > span:first-child {
        font-size: 1.25rem;
    }
}


/* TWEAKS FINALES - Tipografia y Separador */

/* Titulos de tarjetas */
#admin-dashboard-pane .admin-kpi-title {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
}

/* Valor principal */
#admin-dashboard-pane .admin-kpi-value > span:first-child {
    font-size: 1.65rem !important;
}
@media (max-width: 1599px) {
    #admin-dashboard-pane .admin-kpi-value > span:first-child {
        font-size: 1.45rem !important;
    }
}

/* Grilla de proyecciones y separador */
.dash-proy-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 8px !important;
    margin-top: 8px !important;
    row-gap: 4px !important;
    column-gap: 12px !important;
}

/* Datos secundarios */
.dash-proy-label {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
}
.dash-proy-val {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}


/* FIX ABSOLUTO DE GRILLA PROYECCIONES */
#admin-dashboard-pane .dash-proy-grid {
    display: grid !important;
    grid-template-columns: 72px 1fr !important;
    align-items: center !important;
    column-gap: 16px !important;
    row-gap: 4px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 8px !important;
    margin-top: 8px !important;
    width: 100% !important;
}

#admin-dashboard-pane .dash-proy-label {
    text-align: left !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
}

#admin-dashboard-pane .dash-proy-val {
    text-align: right !important;
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}


/* =========================================
   BOTTOM GRID (Actividad, Alertas, Accesos)
   ========================================= */
#admin-dashboard-pane .admin-dashboard-bottom-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
    align-items: stretch !important;
}

/* ========================================================= */
/* DASHBOARD PANELS REDESIGN (Matches Promociones Generales) */
/* ========================================================= */
#admin-dashboard-pane .admin-dashboard-panel {
    background: rgba(13, 27, 42, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 250px !important;
}

#admin-dashboard-pane .admin-dashboard-panel-title {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: #fff !important;
    margin-bottom: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Accesos Rapidos Premium Buttons */
#admin-dashboard-pane .admin-quick-link-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 0.8rem !important;
    transition: all 0.2s !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

#admin-dashboard-pane .admin-quick-link-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-2px) !important;
}

#admin-dashboard-pane .admin-quick-link-btn i {
    color: #D4AF37 !important;
    font-size: 1.1rem !important;
}

@media (max-width: 992px) {
    #admin-dashboard-pane .admin-dashboard-bottom-grid {
        grid-template-columns: 1fr !important;
    }
}

body.admin-mode .site-footer {
    display: none !important;
}

body.admin-mode .grain-overlay {
    display: none !important;
}

/* Admin Layout Desktop (>= 993px) */
@media screen and (min-width: 993px) {
    body.admin-mode {
        height: 100vh !important;
        overflow: hidden !important;
    }

    .admin-layout-wrapper {
        display: flex;
        flex-direction: row !important;
        height: calc(100vh - 120px) !important;
        overflow: hidden !important;
        padding-bottom: 0 !important;
    }

    .admin-sidebar {
        width: 260px !important;
        flex-shrink: 0 !important;
        height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        padding-bottom: 2rem !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .admin-sidebar::-webkit-scrollbar {
        width: 6px;
    }
    .admin-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    .admin-sidebar::-webkit-scrollbar-thumb {
        background: rgba(212, 175, 55, 0.3);
        border-radius: 10px;
    }
    .admin-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(212, 175, 55, 0.5);
    }

    .admin-content-area {
        flex: 1 !important;
        min-width: 0 !important;
        height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        padding-top: 2rem !important;
        padding-bottom: 4rem !important;
        scroll-behavior: smooth !important;
    }

    .admin-content-area::-webkit-scrollbar {
        width: 8px;
    }
    .admin-content-area::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.2);
        border-radius: 10px;
    }
    .admin-content-area::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
    .admin-content-area::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }

    .admin-mobile-header-bar,
    .admin-sidebar-backdrop,
    .admin-sidebar-mobile-drawer-header,
    .admin-sidebar-mobile-drawer-footer {
        display: none !important;
    }
}

/* =========================================
   ADMIN PANEL RESPONSIVE MOBILE ARCHITECTURE
   ========================================= */
@media screen and (max-width: 992px) {
    html, body.admin-mode {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.mobile-drawer-open {
        overflow: hidden !important;
    }

    /* Optimización de fluidez en celulares: evitar filtros de desenfoque pesados durante el scroll */
    .admin-kpi-card,
    .admin-modal-premium-window,
    .admin-login-card,
    .admin-action-group,
    .btn-admin-action {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .admin-main-content {
        padding-top: 85px !important;
        min-height: 100vh !important;
        height: auto !important;
        overflow: visible !important;
    }

    .cartelera-container {
        height: auto !important;
        overflow: visible !important;
        width: 100% !important;
    }

    .header-container {
        padding: 0 1rem !important;
    }

    /* Ocultar acciones desktop del header en mobile */
    #admin-header-actions {
        display: none !important;
    }

    /* Mostrar barra móvil del header */
    .admin-mobile-header-bar {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }

    .admin-mobile-menu-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 0.4rem;
        background: rgba(212, 175, 55, 0.2);
        border: 1px solid rgba(212, 175, 55, 0.6);
        color: #D4AF37;
        padding: 0.45rem 0.85rem;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .admin-mobile-menu-toggle-btn:active {
        background: rgba(212, 175, 55, 0.4);
        transform: scale(0.96);
    }

    .admin-mobile-logout-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 0.3rem;
        background: rgba(255, 71, 87, 0.15);
        border: 1px solid rgba(255, 71, 87, 0.5);
        color: #ff6b6b;
        padding: 0.45rem 0.75rem;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .admin-mobile-logout-btn:active {
        background: rgba(255, 71, 87, 0.3);
    }

    /* Layout Wrapper en móviles - Natural Document Flow */
    .admin-layout-wrapper {
        display: block;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Off-Canvas Drawer en móviles */
    .admin-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 300px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 1000000 !important;
        background: #0B1622 !important;
        border-right: 1px solid rgba(212, 175, 55, 0.4) !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .admin-sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    /* Backdrop para el drawer */
    .admin-sidebar-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999999;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    .admin-sidebar-backdrop.active {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Drawer Header & Footer */
    .admin-sidebar-mobile-drawer-header {
        display: flex !important;
        padding: 1.1rem 1.2rem;
        background: rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    .admin-sidebar-mobile-drawer-brand {
        display: flex;
        flex-direction: column;
    }
    .admin-sidebar-mobile-title {
        color: #D4AF37;
        font-weight: 800;
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .admin-sidebar-mobile-sub {
        color: #888;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .admin-sidebar-close-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .admin-sidebar-close-btn:active {
        background: rgba(255, 71, 87, 0.4);
        color: #ff6b6b;
    }

    .admin-sidebar-mobile-drawer-footer {
        display: block !important;
        padding: 1rem 1.2rem;
        background: rgba(0, 0, 0, 0.6);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: auto;
        position: sticky;
        bottom: 0;
    }
    .admin-sidebar-mobile-user-info {
        display: flex;
        flex-direction: column;
        margin-bottom: 0.4rem;
    }
    .admin-sidebar-mobile-user-email {
        color: #fff;
        font-size: 0.82rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .admin-sidebar-mobile-user-role {
        color: #D4AF37;
        font-size: 0.7rem;
        text-transform: uppercase;
        font-weight: 700;
    }

    /* Content Area móvil - Full Natural Scroll */
    .admin-content-area {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        padding: 1rem 0.8rem 6rem 0.8rem !important;
        box-sizing: border-box !important;
    }

    .admin-pane {
        height: auto !important;
        overflow: visible !important;
    }

    /* Responsive KPI Cards */
    .admin-dashboard-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .admin-kpi-card {
        padding: 0.8rem !important;
    }
    .admin-kpi-title {
        font-size: 0.72rem !important;
    }
    .admin-kpi-value span {
        font-size: 1.25rem !important;
    }
    .admin-pane h1 {
        font-size: 1.5rem !important;
    }
    .admin-action-group {
        width: 100% !important;
        gap: 0.6rem !important;
    }
    .admin-primary-action-btn {
        flex: 1 1 auto !important;
        font-size: 0.85rem !important;
        padding: 0.6rem 0.9rem !important;
    }
    .admin-primary-action-btn + .admin-primary-action-btn {
        margin-left: 0 !important;
    }

    /* Table Scrollability */
    .admin-table-wrapper {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .admin-table {
        min-width: 580px !important;
    }

    /* Modals en móviles */
    .admin-modal-premium-window,
    div[id$="-modal"] > div {
        width: 95% !important;
        max-width: 95% !important;
        max-height: 90vh !important;
        margin: auto !important;
    }
}

@media screen and (max-width: 480px) {
    .admin-dashboard-kpi-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   ADMIN PRIMARY ACTION BUTTONS
   ========================================= */
.admin-action-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-primary-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #DEBA53 0%, #D4A93A 100%);
    color: #111;
    border: none;
    border-radius: 8px; /* Elegant slightly rounded edges */
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 169, 58, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    text-transform: uppercase;
}

.admin-primary-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 169, 58, 0.4);
    background: linear-gradient(135deg, #EAD078 0%, #DEBA53 100%);
    color: #000;
}

.admin-primary-action-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(212, 169, 58, 0.3);
}

.admin-primary-action-btn + .admin-primary-action-btn {
    margin-left: 1rem;
}


/* =========================================
   EMERGENCY FIX: PUBLIC INDEX HERO LOGO
   ========================================= */
/* Ensure header logo never blows up */
#header-logo, .logo-white {
    max-height: 88px !important;
    width: auto !important;
}
@media screen and (max-width: 1024px) {
    #header-logo, .logo-white { max-height: 72px !important; }
}
@media screen and (max-width: 600px) {
    #header-logo, .logo-white { max-height: 60px !important; }
}

/* Hide any ghost classes that might have been injected */
.brand-watermark, .hero-logo, .background-logo {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Ensure no global img tag is unconstrained in the hero section */
.hero-section img {
    max-width: 100% !important;
    height: auto !important;
}


/* =========================================
   RESTORED MOBILE MENU CSS
   ========================================= */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}
.mobile-menu-toggle:hover {
    color: #D4AF37;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

.mobile-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}
.mobile-menu-close:hover {
    transform: scale(1.1);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

.mobile-nav-item {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #D4AF37;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.lang-toggle-mobile {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 1rem;
}
.lang-option-mob {
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
}
.lang-option-mob.active {
    color: #D4AF37;
    font-weight: bold;
}
.lang-separator-mob {
    color: rgba(255, 255, 255, 0.3);
}

.btn-cta-mobile {
    background: linear-gradient(135deg, #DEBA53 0%, #D4A93A 100%);
    color: #111;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 169, 58, 0.4);
}

@media screen and (max-width: 1024px) {
    .main-nav, .cta-container {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}



/* FIX: MAQUINAS DESTACADAS CARDS */
.sbc-featured-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.fc-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}
.fc-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}
.fc-content {
    margin-bottom: auto;
    padding: 0;
}
.fc-cta {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.sbc-featured-card:hover .fc-cta {
    color: var(--gold-accent, #D4AF37);
}
.fc-cta .arrow-icon {
    transition: transform 0.3s ease;
}
.sbc-featured-card:hover .fc-cta .arrow-icon {
    transform: translateX(4px);
}


