/* css/demo-app.css - Discovery Cards & Luckhand Palette */

:root {
    --app-accent: #00ff9d; /* Neon Green */
    --app-secondary: #3b82f6; /* Blue */
    --app-bg: #050a0f; /* Deep dark blue/black */
    --app-surface: #0a0f1d;
    --app-gradient: linear-gradient(135deg, #00ff9d, #3b82f6);
    --glass-nav: rgba(5, 10, 15, 0.8);
    --card-radius: 24px;
    --card-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

/* 0. Global Fixed Background Layer */
.demo-global-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center 15%;
    background-attachment: scroll; /* No 'fixed' attachment on the element itself, since parent is fixed */
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
}

.demo-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 3-Step Atmospheric Fade: Top (nav), Center (visual), Bottom (blend) */
    background: linear-gradient(180deg, 
        rgba(5, 10, 15, 0.4) 0%, 
        rgba(5, 10, 15, 0) 25%, 
        rgba(5, 10, 15, 0) 60%, 
        rgba(5, 10, 15, 1) 100%
    );
    z-index: 1;
}

.scroll-darkener-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--app-bg);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.1s ease-out;
}

/* Background image loading state */
.demo-global-bg-container.loading {
    opacity: 0;
}

.demo-global-bg-container.loaded {
    opacity: 1;
}

/* 1. Transparent Hero Content */
.demo-hero-header {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 100px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Disabled: Removed to prevent horizontal cutoff lines */
.demo-hero-header::after {
    display: none !important;
}

/* Desactivar TODOS los overlays genéricos de style.css que ensucian la demo */
.demo-page-premium section::after,
.demo-hero-header::before {
    display: none !important;
}

.demo-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    /* Removed filter to prevent 'hard line' clipping artifacts */
    filter: none !important;
}

.game-title-hero-img {
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.9));
    margin-bottom: 25px;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 2. Premium View Toggle - Tactical "Glider" Design */
.demo-view-toggle-container {
    display: flex;
    justify-content: center; /* Axis centering for top controls */
    align-items: center;
    margin: 45px 0 35px;
    gap: 15px; /* Tighter for a unified cluster */
    width: 100%;
}

.view-switch-premium {
    position: relative;
    display: flex;
    background: rgba(5, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    min-width: 320px; /* Enhanced robust width for alignment */
}

.switch-glider {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    width: calc(50% - 6px);
    background: var(--app-accent);
    border-radius: 12px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.4);
}

.view-btn-premium {
    position: relative;
    z-index: 2;
    flex: 1;
    height: 48px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.view-btn-premium i {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.2));
}

.view-btn-premium.active {
    color: #000;
}

.view-btn-premium.active i {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

/* External Fullscreen Toggle */
.fs-toggle-premium {
    background: rgba(5, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    padding: 0 24px;
    height: 60px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.fs-toggle-premium i {
    font-size: 1.2rem;
    color: var(--app-accent);
}

.fs-toggle-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--app-accent);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 255, 157, 0.1);
}

.player-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    background: transparent; /* Full transparency for surroundings */
}

/* Optimized Game Frame - Master-Slave Unification */
.game-frame-container {
    position: relative;
    width: 100%;
    /* Container now focuses solely on centering and environment */
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0.5, 0.2, 1);
}

.game-frame {
    position: relative; /* Driven by its own aspect-ratio classes */
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 20px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0.5, 0.2, 1);
    display: block !important; /* Block-driven for absolute concentric centering */
}

.game-frame.horizontal {
    aspect-ratio: 16/9;
}

.game-frame.vertical {
    aspect-ratio: 9 / 16; /* Standard cinematic portrait for high-end phones */
    width: 360px !important; /* The frame is the master of the narrow width */
    max-width: 100%;
    margin: 0 auto;
}

/* Ensure iframe is 100% concentric with the frame - ZERO DRIFT LOCKDOWN */
#game-iframe {
    position: absolute;
    inset: 0 !important; /* Forces top/left/right/bottom to 0 */
    margin: auto !important; /* Centers absolute child perfectly */
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: none;
    background: transparent;
    vertical-align: middle;
}

/* Mobile-Specific Refinement & Compaction */
@media (max-width: 768px) {
    .demo-hero-header {
        padding: 60px 0 20px; /* Highly compact for small screens */
        min-height: auto;
    }

    .game-title-hero-img {
        max-width: 260px; /* Reduced for phone */
        margin-bottom: 20px;
    }

    /* Unified Console Row on Mobile */
    .demo-hero-badges {
        grid-template-columns: repeat(3, 1fr); /* Force row layout */
        gap: 8px; /* Tight gap for mobile width */
        max-width: 100%;
        margin-bottom: 25px;
    }

    .hero-badge-card, .hero-original-seal {
        padding: 10px 5px;
        min-height: 80px;
        border-radius: 14px;
    }

    .badge-value { font-size: 0.9rem; }
    .badge-label { font-size: 0.5rem; letter-spacing: 1px; }
    .seal-logo { height: 26px; }
    .seal-text-small { font-size: 0.45rem; letter-spacing: 2px; }

    /* Responsive Premium Toggle */
    .demo-view-toggle-container {
        flex-direction: column;
        gap: 15px;
        margin: 20px auto 30px;
        width: 100%;
        align-items: center;
    }

    .view-switch-premium {
        width: 100%;
        max-width: 320px;
        min-width: auto;
        padding: 5px;
    }

    .view-btn-premium {
        height: 44px;
        font-size: 0.65rem;
        gap: 8px;
    }

    /* Morphing Cabinet - Mobile Precision */
    .game-frame-container {
        border-radius: 18px;
        margin-bottom: 25px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto !important; /* Force fluid height based on children ratio */
    }

    .game-frame-container.horizontal, .game-frame.horizontal {
        aspect-ratio: 16 / 9 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .game-frame-container.vertical, .game-frame.vertical {
        aspect-ratio: 9 / 16 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .player-wrapper {
        padding: 0;
    }
}

/* Adjusted Player Overlap */
.demo-player-section {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    padding-bottom: 80px;
}

/* 3. Hero Badges & Premium Console - Triple-Card Row */
.demo-hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 650px;
    margin: 25px auto 15px;
    width: 100%;
    align-items: stretch;
}

.hero-badge-card, .hero-original-seal {
    background: rgba(10, 15, 25, 0.45);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 15px 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 95px;
}

.hero-badge-card:hover, .hero-original-seal:hover {
    transform: translateY(-5px);
    border-color: var(--app-accent);
    background: rgba(10, 15, 25, 0.6);
}

.badge-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.badge-value {
    font-size: 1.15rem;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.seal-logo {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 157, 0.3));
    margin-bottom: 6px;
    opacity: 1;
}

.seal-text-small {
    font-size: 0.55rem;
    font-weight: 950;
    letter-spacing: 4px;
    color: var(--app-accent);
    text-transform: uppercase;
}

@keyframes sealGlowPulse {
    0%, 100% { text-shadow: 0 0 12px rgba(0, 255, 157, 0.8); opacity: 1; }
    50% { text-shadow: 0 0 25px rgba(0, 255, 157, 1); opacity: 0.8; }
}

/* Updated Player Overlap */
.demo-player-section {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    padding-bottom: 80px;
}

/* 3. Premium Stats Grid */
.demo-stats-section {
    padding: 20px 0 60px;
}

.demo-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card-premium {
    background: var(--app-surface);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card-premium:hover {
    transform: translateY(-5px);
    border-color: var(--app-accent);
}

.stat-icon-wrap {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--app-accent);
}

.stat-label-mini {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 5px;
}

.stat-value-large {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

/* 4. Media Showcase */
.demo-media-showcase {
    padding-bottom: 80px;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.media-item {
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255,255,255,0.05);
}

.media-item img, .media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-narrative-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#demo-narrative-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.demo-features-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.demo-feature-tag {
    padding: 8px 18px;
    background: rgba(0, 255, 157, 0.05);
    color: var(--app-accent);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 5. Discovery Feed */
.demo-discovery-section {
    padding: 100px 0;
    background: rgba(255,255,255,0.02);
    overflow: hidden; /* Prevent horizontal expansion from slider */
}



.section-title-modern {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 950;
    margin-bottom: 70px;
    text-align: center;
    letter-spacing: -2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--app-accent), var(--app-secondary), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShine 8s linear infinite, fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 157, 0.15));
}

/* Marketing Badge Above Title */
.section-title-modern::before {
    content: "CATÁLOGO EXCLUSIVO";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--app-accent);
    opacity: 0.8;
    white-space: nowrap;
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

@keyframes titleShine {
    to { background-position: 200% center; }
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--app-gradient);
    border-radius: 10px;
    transform: translateX(-50%);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-discovery-section:hover .section-title-modern::after {
    width: 140px;
    box-shadow: 0 0 45px rgba(0, 255, 157, 1);
}

.hero-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0 40px;
    scrollbar-width: none;
}

.hero-slider-track::-webkit-scrollbar { display: none; }

.hero-slide {
    flex: 0 0 280px;
    height: 420px;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.hero-slide:hover { transform: scale(1.05); z-index: 5; }

.hero-slide-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }

/* 6. Commercial CTA */
.demo-commercial-section { padding: 80px 0; }

.commercial-card {
    background: var(--app-gradient);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    color: #000;
    box-shadow: 0 20px 50px rgba(0, 255, 157, 0.2);
}

.commercial-card h3 { font-size: 2rem; font-weight: 900; margin-bottom: 15px; }

.commercial-card p { font-size: 1.1rem; font-weight: 600; margin-bottom: 30px; opacity: 0.8; }

.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: #000;
    color: #fff;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-whatsapp-premium:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }

/* 7. Providers Marquee - Styles are now managed via multiproveedores.css for consistency */
.demo-providers-marquee-section { 
    padding-bottom: 50px; 
    overflow: hidden !important; 
    width: 100% !important;
}

.marquee-header { text-align: center; margin-bottom: 20px; }

.marquee-header h4 { font-size: 0.9rem; letter-spacing: 4px; color: var(--app-accent); opacity: 0.8; margin-bottom: 10px; }

.marquee-header p { font-size: 1.5rem; font-weight: 800; opacity: 0.9; }

.marquee-disclaimer {
    margin-top: 30px;
    text-align: center;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.marquee-disclaimer:hover {
    opacity: 0.8;
}

.marquee-disclaimer p {
    font-size: 0.7rem;
    font-style: italic;
    letter-spacing: 0.5px;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .media-grid { grid-template-columns: 1fr; }
    .demo-hero-header { padding-top: 100px; min-height: 350px; }
    .demo-hero-header { padding-top: 100px; min-height: 350px; }
    .demo-player-section { margin-top: -50px; }
    .commercial-card { padding: 40px 20px; }

    /* Compact Stats Grid: 2 columns and smaller cards */
    .demo-stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 0 10px;
    }

    .stat-card-premium {
        padding: 15px 10px !important;
        min-height: auto !important;
    }

    .stat-card-premium i {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .stat-value {
        font-size: 1.1rem !important;
    }

    .stat-label {
        font-size: 0.55rem !important;
        letter-spacing: 1px !important;
    }

    /* Fix background: Filled width, centered top, smooth blend */
    .demo-global-bg-container {
        height: 100vh !important; /* Allow it to cover the viewport height if needed */
        background-position: center top !important;
        background-size: 100% auto !important; /* Fill width, keep aspect ratio */
        background-color: var(--app-bg);
        z-index: -1;
    }

    /* Masking the bottom of the container for a perfect blend */
    .demo-global-bg-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Advanced blend: Top subtle darkening, middle transparency, bottom solid blend */
        background: linear-gradient(to bottom, 
            rgba(5, 10, 15, 0.3) 0%, 
            transparent 20%, 
            transparent 40%, 
            rgba(5, 10, 15, 0.8) 70%, 
            var(--app-bg) 95%
        ) !important;
    }
}

/* 6. Discovery Carousel - Rich Cards */
.hero-slide {
    position: relative;
    flex: 0 0 260px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--app-accent);
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.hero-slide:hover .hero-slide-bg {
    transform: scale(1.1);
}

.hero-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(5, 10, 15, 0.95) 0%, rgba(5, 10, 15, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.hero-slide:hover .hero-slide-info {
    transform: translateY(0);
}

/* 5. Discovery Carousel - Center-Peeking Layout & Rich Cards */
.hero-slider-container {
    padding: 0 40px; /* Essential for "peeking" effect */
    position: relative;
    overflow: visible;
}

#hero-slider-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0 60px;
}

#hero-slider-track::-webkit-scrollbar {
    display: none;
}

.hero-slide {
    flex: 0 0 calc(68% - 15px); /* Slimmer width to show more side cards */
    aspect-ratio: 9 / 18; /* Ultra-vertical skinny poster format */
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.hero-slide:hover {
    transform: scale(1.02);
    border-color: var(--app-accent);
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide:hover .hero-slide-bg {
    transform: scale(1.1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5,10,15,0.98) 0%, rgba(5,10,15,0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-slide-header {
    position: absolute;
    top: 25px; /* Elevated for tallerCards */
    left: 0;
    width: 100%;
    padding: 0 20px;
    z-index: 3;
    text-align: center;
}

.hero-slide-logo {
    max-width: 160px; /* 20% larger per user request */
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-slide:hover .hero-slide-logo {
    transform: scale(1.1);
}

.hero-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 25px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-slide-title-text {
    font-size: 1rem; /* Sophisticated smaller base size */
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px; /* Tighter vertical gap */
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.hero-slide:hover .hero-slide-title-text {
    transform: scale(1.2); /* Interactive scale-up */
    color: var(--app-accent);
}

.hero-slide-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px; /* Compressed spacing to the button */
}

.mini-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 5px 12px; /* More discreet/small badges */
    border-radius: 8px; /* Tactical sharper feel */
    font-size: 0.6rem; /* Minimalist typography */
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-badge.accent {
    color: var(--app-accent);
    border-color: rgba(0, 255, 157, 0.3);
}

.card-play-btn-flashy {
    background: var(--app-accent);
    color: #050a0f;
    padding: 12px 32px; /* Slimmer and smaller per user request */
    border-radius: 50px;
    font-weight: 950;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: btnPulseNeon 2.5s infinite;
}

@keyframes btnPulseNeon {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 157, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 45px rgba(0, 255, 157, 0.8); transform: scale(1.08); }
}

/* Pagination / Progress */
#hero-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.indicator-dot.active {
    width: 35px;
    border-radius: 12px;
    background: var(--app-accent);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

/* Desktop Polish */
@media (min-width: 1024px) {
    .hero-slide {
        flex: 0 0 calc(33.333% - 17px);
        scroll-snap-align: start;
        aspect-ratio: 16/22;
    }
}

/* 7. Floating Fullscreen Button - Integrated */
.fs-btn-floating {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3;
}

.game-frame:hover .fs-btn-floating {
    opacity: 1;
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--app-accent);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.fs-btn-floating:hover {
    transform: scale(1.15) rotate(5deg);
}
