:root {
    /* --- ENHANCED PREMIUM COLORS --- */

    /* Branding - Enhanced with Vibrant Gradients */
    --brand-primary: #e63946;
    --brand-primary-dark: #c1121f;
    --brand-primary-light: #ff4d5a;
    --brand-primary-gradient: linear-gradient(135deg, #ff4d5a 0%, #e63946 50%, #d62828 100%);

    --brand-secondary: #29418F;
    --brand-secondary-dark: #1c2e66;
    --brand-secondary-light: #3d5bb8;
    --brand-secondary-gradient: linear-gradient(135deg, #3d5bb8 0%, #29418F 50%, #1c2e66 100%);

    --brand-accent: #FFB800;
    --brand-accent-gradient: linear-gradient(135deg, #FFD93D 0%, #FFB800 50%, #FF9500 100%);

    /* Backgrounds */
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;

    /* Text */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #cbd5e1;

    /* Functional */
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    /* Ticket Status */
    --ticket-disponible: #10b981;
    --ticket-available-bg: #ffffff;
    --ticket-available-border: #e2e8f0;
    --ticket-selected-bg: #e63946;
    --ticket-sold-bg: rgba(239, 68, 68, 0.1);

    /* Dimensions */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;
    --container-max: 1200px;

    /* Enhanced Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 15px 30px -5px rgba(0, 0, 0, 0.12), 0 8px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-glow-red: 0 0 40px rgba(230, 57, 70, 0.4), 0 0 80px rgba(230, 57, 70, 0.2);
    --shadow-glow-blue: 0 0 40px rgba(41, 65, 143, 0.4), 0 0 80px rgba(41, 65, 143, 0.2);
    --shadow-glow-yellow: 0 0 40px rgba(255, 184, 0, 0.5), 0 0 80px rgba(255, 184, 0, 0.3);

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- ANIMATED BACKGROUND --- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.12;
    animation: float-orb 20s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.selector-page .gradient-orb {
    animation: none;
    will-change: auto;
}

.selector-page .orb-1,
.selector-page .orb-2,
.selector-page .orb-3 {
    transform: translate3d(0, 0, 0);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brand-secondary) 0%, transparent 70%);
    top: 50%;
    right: -250px;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--brand-accent) 0%, transparent 70%);
    bottom: -200px;
    left: 30%;
    animation-delay: 14s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(50px, 30px, 0);
    }
}

/* --- LAYOUT --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-decoration {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--brand-primary-gradient);
    border-radius: var(--radius-pill);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- GLASSMORPHISM EFFECTS --- */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.selector-page .glass-card {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

/* --- TOP COUNTDOWN BAR --- */
.top-countdown-bar {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
    color: white;
    padding: 0.9rem 0;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-countdown-bar.is-alert {
    background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 45%, #ef4444 100%);
}

.suspended-home,
.selector-blocked {
    overflow: hidden;
    height: 100vh;
}

.suspended-home > :not(.suspension-overlay),
.selector-blocked > :not(.suspension-overlay) {
    pointer-events: none;
    user-select: none;
}

.suspension-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.suspension-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.suspension-overlay__panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    padding: 2.4rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.suspension-overlay__eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(239, 68, 68, 0.18);
    color: #fecaca;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.suspension-overlay__title {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.suspension-overlay__copy {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    line-height: 1.75;
}

.suspension-overlay__copy a {
    color: #fda4af;
    text-decoration: underline;
    pointer-events: auto;
}

.suspension-overlay__signature {
    margin: 1.5rem 0 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

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

.countdown-message {
    margin: 0;
    max-width: 760px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.96;
    text-align: center;
}

.countdown-label {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.time-block {
    text-align: center;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.time-block .days,
.time-block .hours,
.time-block .minutes,
.time-block .seconds {
    display: block;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
}

.time-block .label {
    font-size: 0.65rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.separator {
    font-weight: 700;
    font-size: 1.5rem;
    opacity: 0.6;
}

/* --- HEADER --- */
.header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    max-height: 135px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition-fast);
}

.logo img:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transform: scale(1.02);
}

.main-nav {
    display: none;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .main-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary-gradient);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- HERO SECTION ENHANCED --- */
.hero-enhanced {
    background: var(--brand-secondary-gradient);
    color: white;
    text-align: center;
    padding: 6rem 2rem 8rem;
    border-radius: 0 0 4rem 4rem;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    min-height: clamp(620px, 82svh, 860px);
    display: flex;
    align-items: center;
    contain: layout paint;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: image-set(
        url('../img/premio/yaris-0.webp') type('image/webp'),
        url('../img/premio/yaris-0.jpg') type('image/jpeg')
    );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.15;
    /* Watermark effect */
    mix-blend-mode: soft-light;
    /* Blend with gradient */
    z-index: 1;
    pointer-events: none;
}

.home-page .gradient-orb,
.home-page .hero-badge,
.home-page .hero-highlight,
.home-page .stat-pill.urgent,
.home-page .floating-element {
    animation: none;
    will-change: auto;
}

.home-page .section-prize,
.home-page .section-how,
.home-page .section-trust,
.home-page .cta-section,
.home-page .section-bases {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.95rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
        transform: scale(1.02);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight {
    color: var(--brand-accent);
    font-size: 5rem;
    text-shadow: 0 0 40px rgba(255, 184, 0, 0.6);
    animation: highlight-glow 3s ease-in-out infinite;
}

@keyframes highlight-glow {

    0%,
    100% {
        text-shadow: 0 0 40px rgba(255, 184, 0, 0.6), 0 0 80px rgba(255, 184, 0, 0.3);
    }

    50% {
        text-shadow: 0 0 60px rgba(255, 184, 0, 0.8), 0 0 120px rgba(255, 184, 0, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 3rem;
    font-weight: 400;
}

.suspension-banner {
    max-width: 860px;
    margin: 0 auto 2.5rem;
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
}

.suspension-banner__eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(239, 68, 68, 0.18);
    color: #fecaca;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.suspension-banner__title {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.suspension-banner__copy {
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
}

.suspension-banner__signature {
    margin: 1.4rem 0 0;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.suspended-home .section-prize,
.suspended-home .section-how,
.suspended-home .section-trust,
.suspended-home .cta-section,
.suspended-home #faq,
.suspended-home .section-bases,
.suspended-home .floating-cta,
.suspended-home .floating-prize-btn,
.suspended-home .modal-overlay {
    display: none !important;
}

.selector-blocked .mobile-ticket-inspector,
.selector-blocked .modal-overlay,
.selector-blocked #countdown-container,
.selector-blocked #sticky-checkout-bar {
    display: none !important;
}

.suspended-home .animated-bg,
.suspended-home .top-countdown-bar,
.suspended-home .header,
.suspended-home .hero-enhanced {
    filter: blur(8px) saturate(0.7);
}

.selector-blocked .animated-bg,
.selector-blocked .top-countdown-bar,
.selector-blocked .header,
.selector-blocked .container,
.selector-blocked .glass-card {
    filter: blur(8px) saturate(0.7);
}

.overlay-only-home > :not(.suspension-overlay) {
    display: none !important;
}

.overlay-only-home {
    background: #0f172a;
}

.highlight-accent {
    color: var(--brand-accent);
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.5);
}

/* Hero Stats Pills */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
    justify-content: center;
    /* Horizontally center content */
    text-align: center;
    /* Ensure text alignment */
}

.stat-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-pill.urgent {
    background: var(--brand-primary-gradient);
    border-color: rgba(255, 255, 255, 0.3);
    animation: pulse-urgent 2s ease-in-out infinite;
}

@keyframes pulse-urgent {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(230, 57, 70, 0.8);
    }
}

.stat-pill i {
    font-size: 2rem;
}

.stat-pill div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center horizontally */
    text-align: center;
    /* Ensure text is centered */
}

.stat-pill strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-pill span {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--brand-accent);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    color: white;
    animation: float-element 6s ease-in-out infinite;
}

@keyframes float-element {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* --- BUTTONS ENHANCED --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background: var(--brand-primary-gradient);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(230, 57, 70, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(230, 57, 70, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--brand-accent-gradient);
    color: var(--bg-dark);
    box-shadow: 0 10px 25px -5px rgba(255, 184, 0, 0.5);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(255, 184, 0, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-secondary);
    color: var(--brand-secondary);
}

.btn-outline:hover {
    background: var(--brand-secondary);
    color: white;
    transform: translateY(-2px);
}

.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.15rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    animation: btn-glow-pulse 3s ease-in-out infinite;
}

@keyframes btn-glow-pulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.1);
    }
}

.pulse-arrow {
    animation: arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* --- PRIZE SECTION --- */
.section-prize {
    margin: 5rem auto;
}

.prize-card {
    max-width: 1300px;
    /* Increased by 30% for web version */
    margin: 0 auto;
}

.detail-item--suspended {
    position: relative;
    overflow: hidden;
}

.detail-item__ribbon {
    position: absolute;
    top: 18px;
    right: -56px;
    z-index: 2;
    width: 220px;
    padding: 0.38rem 0;
    transform: rotate(-23deg);
    background: linear-gradient(135deg, #7f1d1d 0%, #ef4444 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    box-shadow: 0 10px 18px rgba(127, 29, 29, 0.28);
}

.prize-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.prize-label {
    display: inline-block;
    background: var(--brand-primary-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.prize-name {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--brand-secondary);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.prize-tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Prize Carousel */
.prize-carousel-wrapper {
    margin: 2rem 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--brand-secondary-light) 0%, var(--brand-secondary) 100%);
    box-shadow: var(--shadow-xl);
}

.carousel-slides {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    display: block;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev i,
.carousel-next i {
    font-size: 2rem;
    color: var(--brand-secondary);
}

@media (max-width: 768px) {

    .carousel-prev,
    .carousel-next {
        width: 30px;
        /* Reduced from 40px */
        height: 30px;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        opacity: 0.8;
        /* Slightly transparent */
    }

    .carousel-prev i,
    .carousel-next i {
        color: white;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
        font-size: 1.5rem;
        /* Reduced from 2.5rem */
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    /* Slightly lower */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    /* Tighter gap */
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 10px;
    /* Smaller dots */
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    /* Transparent center for minimalist look */
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 0.7;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    opacity: 1;
}

.carousel-indicators .indicator.active {
    background: white;
    /* Solid white for active */
    width: 12px;
    /* Slight scaling */
    height: 12px;
    opacity: 1;
    border-color: white;
    transform: scale(1.1);
}

/* Prize Details */
.prize-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
}

.detail-item:hover {
    border-color: var(--brand-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.detail-item.highlight {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(230, 57, 70, 0.05) 100%);
    border-color: var(--brand-primary);
}

.detail-icon {
    font-size: 3rem;
    color: var(--brand-primary);
}

.detail-content {
    flex: 1;
}

.detail-content strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand-secondary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.detail-content span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- STEPS SECTION --- */
.section-how {
    margin: 6rem auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.step-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    border: 3px solid var(--color-border);
    transition: var(--transition-base);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--brand-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--brand-primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: var(--shadow-glow-red);
}

.step-icon {
    font-size: 4rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.step-arrow {
    font-size: 3rem;
    color: var(--brand-primary);
    margin-top: 1.5rem;
    font-weight: 700;
}

.step-check {
    font-size: 3rem;
    color: var(--color-success);
    margin-top: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {

    .step-arrow,
    .step-check {
        display: none;
    }
}

/* --- TRUST SECTION --- */
.section-trust {
    margin: 6rem auto;
}

.trust-card {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dark) 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trust-header i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--brand-accent);
}

.trust-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.trust-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.trust-feature {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.trust-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--brand-accent);
}

.webpay-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.trust-feature h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.trust-feature p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* --- CTA SECTION --- */
.cta-section {
    margin: 6rem auto;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    color: white;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-urgency {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 77, 90, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255, 77, 90, 0.3);
}

.cta-urgency i {
    font-size: 1.5rem;
    color: var(--brand-accent);
    animation: fire-flicker 1.5s ease-in-out infinite;
}

@keyframes fire-flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* --- BASES LEGALES --- */
.section-bases {
    margin: 6rem auto;
}

.bases-card {
    max-width: 900px;
    margin: 0 auto;
}

.bases-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.bases-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
    line-height: 1.7;
}

.bases-list li:last-child {
    border-bottom: none;
}

.bases-list i {
    font-size: 1.5rem;
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- FOOTER --- */
.footer {
    background: linear-gradient(135deg, var(--brand-secondary-dark) 0%, var(--bg-dark) 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

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

.footer-brand strong {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--brand-accent);
}

.footer-brand p {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

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

.footer-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.footer-info i {
    font-size: 1.2rem;
    color: var(--brand-accent);
}

.footer-info a {
    color: var(--brand-accent);
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.footer-info a:hover {
    border-color: var(--brand-accent);
}

.footer-legal {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* --- FLOATING CTA --- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    animation: float-up-down 3s ease-in-out infinite;
}

@keyframes float-up-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-cta .btn {
    box-shadow: var(--shadow-xl);
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background: rgba(0, 0, 0, 0.8);
     backdrop-filter: blur(10px);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 9998;
     opacity: 0;
     visibility: hidden;
     transition: var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modal-pop 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes modal-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 4rem;
    color: var(--brand-accent);
    text-align: center;
    margin-bottom: 1rem;
}

.modal-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.modal-prize-showcase {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 2rem;
}

.modal-prize-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.modal-prize-showcase h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-prize-price {
    font-size: 1.1rem;
    opacity: 0.9;
}

.modal-prize-price span {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-accent);
}

.modal-content p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal-countdown-label {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-secondary);
}

.small-timer {
    justify-content: center;
    margin-bottom: 2rem;
}

.small-timer .time-block {
    background: var(--bg-page);
    color: var(--brand-secondary);
}

.btn-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1rem;
    padding: 0.5rem;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    width: 100%;
    text-align: center;
}

.btn-link:hover {
    color: var(--brand-secondary);
    text-decoration: underline;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
}

/* --- UTILITIES --- */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-highlight {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .prize-name {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-enhanced {
        padding: 4rem 1.5rem 5rem;
        border-radius: 0 0 3rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-highlight {
        font-size: 3rem;
    }

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

    .suspension-overlay__panel {
        padding: 1.75rem;
    }

    .suspension-overlay__title {
        font-size: 1.7rem;
    }

    .suspension-overlay__copy {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .suspension-banner {
        padding: 1.5rem;
        text-align: center;
    }

    .suspension-banner__title {
        font-size: 1.6rem;
    }

    .suspension-banner__copy,
    .countdown-message {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-xl,
    .btn-large {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .prize-name {
        font-size: 2rem;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .floating-cta .btn {
        width: 100%;
    }

    .cta-card {
        text-align: center;
        justify-content: center;
    }

    .glass-card,
    .glass-card-dark {
        padding: 2rem 1.5rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 45px;
        height: 45px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-highlight {
        font-size: 2.5rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.9rem 1.5rem;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ============================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .gradient-orb {
        animation: none !important;
    }

    .pulse-glow,
    .btn-glow,
    .pulse-arrow {
        animation: none !important;
    }
}

/* --- FLOATING PRIZE BUTTON --- */
.floating-prize-btn {
    position: fixed;
    bottom: 18px;
    left: 14px;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, filter 0.25s ease;
    animation: float-btn-entrance 1s ease-out 1s backwards;
}

.floating-prize-btn:hover {
    transform: scale(1.03) translateY(-3px);
    filter: brightness(1.04);
}

.floating-prize-btn.is-following {
    transition: none;
}

.prize-btn-circle {
    width: 114px;
    height: 114px;
    margin-top: 32px;
    margin-left: 0;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.98);
    box-shadow:
        0 14px 28px rgba(11, 31, 91, 0.34),
        0 0 0 8px rgba(129, 73, 170, 0.18);
    overflow: hidden;
    position: relative;
    background: #fff;
    animation: heart-pulse 1.25s ease-in-out infinite;
}

.prize-btn-circle::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 8px solid rgba(115, 69, 162, 0.24);
    box-shadow: 0 0 14px rgba(167, 108, 232, 0.18);
    animation: flash-border 0.9s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.prize-btn-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f5f7fb;
}

.prize-btn-tooltip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff4b57 0%, #df2736 100%);
    color: white;
    padding: 0.52rem 0.88rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(223, 39, 54, 0.3);
    white-space: nowrap;
    animation: tooltip-bounce 1.8s infinite;
    letter-spacing: 0.2px;
    z-index: 2;
}

.prize-btn-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    border-width: 9px 7px 0;
    border-style: solid;
    border-color: #df2736 transparent transparent transparent;
    transform: translateX(-50%);
}

/* Animations */
@keyframes heart-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(230, 57, 70, 0.45);
    }

    35% {
        transform: scale(1.04);
        box-shadow: 0 18px 38px rgba(230, 57, 70, 0.65);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(230, 57, 70, 0.45);
    }
}

@keyframes flash-border {
    0% {
        border-color: rgba(255, 184, 0, 0.9);
        box-shadow: 0 0 8px rgba(255, 184, 0, 0.6);
    }

    50% {
        border-color: rgba(255, 255, 255, 1);
        box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
    }

    100% {
        border-color: rgba(255, 184, 0, 0.9);
        box-shadow: 0 0 8px rgba(255, 184, 0, 0.6);
    }
}

@keyframes tooltip-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes float-btn-entrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Adjust for Mobile */
@media (max-width: 768px) {
    .floating-prize-btn {
        left: 8px;
        bottom: 84px;
    }

    .prize-btn-circle {
        width: 110px;
        height: 110px;
        margin-top: 32px;
        margin-left: 0;
        border-width: 5px;
    }

    .prize-btn-tooltip {
        font-size: 0.7rem;
        padding: 0.48rem 0.8rem;
    }

    /* Minimalist Carousel Indicators for Mobile */
    /* Modern Segmented Progress Bar for Mobile */
    /* SUPER NUCLEAR OPTION: Mobile Indicators */
    body .carousel-indicators {
        bottom: 10px !important;
        /* Moved slightly lower */
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        gap: 6px !important;
        /* Optimized gap */
        justify-content: center !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        /* PREVENT WRAPPING */
        pointer-events: none !important;
        z-index: 9999 !important;
        /* Ensure on top */
        background: transparent !important;
    }

    body .carousel-indicators .indicator {
        appearance: none !important;
        -webkit-appearance: none !important;
        flex: 1 1 auto !important;
        /* Allow shrinking/growing */
        min-width: 0 !important;
        /* Critical fix */
        width: auto !important;
        height: 2px !important;
        /* FORCE THIN HEIGHT */
        min-height: 2px !important;
        max-height: 2px !important;
        border-radius: 1px !important;
        background: rgba(255, 255, 255, 0.4) !important;
        border: 0 !important;
        outline: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        transition: opacity 0.3s !important;
        display: block !important;
        visibility: visible !important;
        /* Ensure visible */
        opacity: 0.7 !important;
        pointer-events: auto !important;
    }

    body .carousel-indicators .indicator.active {
        background: #ffffff !important;
        height: 2px !important;
        min-height: 2px !important;
        opacity: 1 !important;
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.5) !important;
    }
}

/* ============================================
   PREMIUM CAROUSEL REFINEMENT (NON-BREAKING)
   ============================================ */
.section-prize .prize-card {
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 28px 70px rgba(12, 21, 48, 0.18);
}

.section-prize .carousel-container {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
        radial-gradient(120% 140% at 50% -20%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(145deg, #0f1f52 0%, #1b3e93 52%, #203772 100%);
    box-shadow: 0 22px 56px rgba(9, 16, 43, 0.42);
}

.section-prize .carousel-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.12), transparent 34%, transparent 72%, rgba(255, 255, 255, 0.08));
    pointer-events: none;
    z-index: 2;
}

.section-prize .carousel-slides {
    padding-bottom: 54%;
}

.section-prize .carousel-slide {
    z-index: 1;
}

.section-prize .carousel-slide img {
    object-fit: cover !important;
    object-position: center 52%;
    transform: scale(1.02);
    transition: transform 0.9s ease, filter 0.9s ease;
    filter: saturate(1.06) contrast(1.04);
}

.section-prize .carousel-slide.active img {
    transform: scale(1.05);
}

.section-prize .carousel-prev,
.section-prize .carousel-next {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(8, 16, 44, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 30px rgba(7, 14, 38, 0.35);
}

.section-prize .carousel-prev {
    left: 14px;
}

.section-prize .carousel-next {
    right: 14px;
}

.section-prize .carousel-prev:hover,
.section-prize .carousel-next:hover {
    transform: translateY(-50%) translateY(-2px) scale(1.03);
    background: rgba(13, 23, 60, 0.95);
    box-shadow: 0 16px 34px rgba(7, 14, 38, 0.45);
}

.section-prize .carousel-prev i,
.section-prize .carousel-next i {
    font-size: 1.35rem;
    color: #ffffff;
}

.section-prize .carousel-indicators {
    bottom: 14px;
    gap: 8px;
}

.section-prize .carousel-indicators .indicator {
    width: 22px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    opacity: 0.9;
}

.section-prize .carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.78);
    transform: scale(1.05);
}

.section-prize .carousel-indicators .indicator.active {
    width: 42px;
    height: 6px;
    background: linear-gradient(90deg, #ffd166, #ff7a59);
    box-shadow: 0 0 14px rgba(255, 168, 96, 0.5);
}

/* Floating prize button: less intrusive, still visible */
.floating-prize-btn {
    left: 14px;
    right: auto;
    bottom: 18px;
}

.prize-btn-circle {
    width: 114px;
    height: 114px;
    margin-top: 32px;
    margin-left: 0;
    border-width: 5px;
}

.prize-btn-tooltip {
    font-size: 0.72rem;
    padding: 0.52rem 0.88rem;
}

@media (max-width: 992px) {
    .section-prize .carousel-slides {
        padding-bottom: 64%;
    }

    .section-prize .carousel-prev,
    .section-prize .carousel-next {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .section-prize .carousel-prev i,
    .section-prize .carousel-next i {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .section-prize .carousel-slides {
        padding-bottom: 74%;
    }

    .section-prize .carousel-container {
        border-radius: 18px;
    }

    .section-prize .carousel-prev,
    .section-prize .carousel-next {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        background: rgba(8, 16, 44, 0.72) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        box-shadow: 0 8px 20px rgba(7, 14, 38, 0.28) !important;
    }

    .section-prize .carousel-prev {
        left: 8px !important;
    }

    .section-prize .carousel-next {
        right: 8px !important;
    }

    .section-prize .carousel-prev i,
    .section-prize .carousel-next i {
        font-size: 1rem !important;
        color: #fff !important;
        text-shadow: none !important;
    }

    .section-prize .carousel-indicators {
        bottom: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        padding: 0 !important;
        gap: 6px !important;
        pointer-events: auto !important;
    }

    .section-prize .carousel-indicators .indicator {
        width: 18px !important;
        height: 5px !important;
        min-height: 5px !important;
        max-height: 5px !important;
        border-radius: 999px !important;
        flex: 0 0 auto !important;
        background: rgba(255, 255, 255, 0.45) !important;
        box-shadow: none !important;
    }

    .section-prize .carousel-indicators .indicator.active {
        width: 34px !important;
        height: 5px !important;
        min-height: 5px !important;
        background: linear-gradient(90deg, #ffd166, #ff7a59) !important;
        box-shadow: 0 0 10px rgba(255, 168, 96, 0.45) !important;
    }

    .floating-prize-btn {
        display: flex;
        left: 8px;
        bottom: 84px;
        z-index: 1300;
    }

    .floating-prize-btn .prize-btn-tooltip {
        font-size: 0.7rem;
        padding: 0.48rem 0.8rem;
    }

    .floating-prize-btn .prize-btn-circle {
        width: 110px;
        height: 110px;
        margin-top: 32px;
        margin-left: 0;
        border-width: 5px;
    }
}
