:root {
    /* ==== PALETA DE COLORES - TEMA ATRACCIÓN ESTELAR ==== */
    --color-gold: #FFD700;
    --color-bronze: #AA6C39;
    --color-dark-bg: #1a1a1a;
    --color-card-bg: rgba(34, 34, 34, 0.85);
    --color-text-light: #B0B0B0;
    --color-text-main: #E0E0E0;
    --color-white: #FFFFFF;
    --color-success: #5cb85c;
    --color-danger: #d9534f;
    --color-warning: #f0ad4e;
    --primary-color: var(--color-gold);
    --secondary-color: var(--color-bronze);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-background: var(--color-card-bg);
    --text-dark: var(--color-text-main);
    --glow: 0 0 25px rgba(255, 215, 0, 0.6);
    --font-family: 'Poppins', sans-serif;
    --gradient-cta: linear-gradient(90deg, #FFD700, #FFC700, #FFD700);
}
@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes subtle-glow { 0% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.45); } 50% { box-shadow: 0 0 35px rgba(255, 215, 0, 0.6); } 100% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.45); } }

@keyframes prize-glow { 
    0% { box-shadow: 0 0 25px rgba(240, 173, 78, 0.8), 0 0 40px rgba(240, 173, 78, 0.6), 0 0 60px rgba(240, 173, 78, 0.4); } 
    50% { box-shadow: 0 0 40px rgba(240, 173, 78, 1), 0 0 60px rgba(240, 173, 78, 0.8), 0 0 80px rgba(240, 173, 78, 0.6); } 
    100% { box-shadow: 0 0 25px rgba(240, 173, 78, 0.8), 0 0 40px rgba(240, 173, 78, 0.6), 0 0 60px rgba(240, 173, 78, 0.4); } 
}
@keyframes flow { 0% { background-position: 0% 0; } 100% { background-position: 100% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); } }
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); background: var(--color-dark-bg); color: var(--color-text-main); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.header { background: rgba(26, 26, 26, 0.8); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
.header-content { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 70px; }
.logo { height: 120px; width: 120px; object-fit: contain; transition: transform .2s ease; }
.logo:hover { transform: scale(1.05) rotate(-3deg); }
.card { background: var(--card-background); border-radius: 18px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 0 30px rgba(255, 215, 0, 0.1), 0 0 15px rgba(255, 215, 0, 0.08); border: 1px solid var(--border-color); }

.hero-title {
    /* Agrega el gradiente de color a la imagen de fondo */
    background-image: linear-gradient(90deg, #FFD700, #F3C641, #AA6C39, #B49E7C);
    
    /* Recorta el gradiente para que solo se aplique a las letras */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #F3C641; /* Color de respaldo para navegadores antiguos */

    /* Estilos de fuente y sombra mejorados */
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900; /* Más grueso para mayor impacto */
    line-height: 1.1;
    margin-bottom: .6rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-title span {
    /* El span hereda el estilo del gradiente, ¡no es necesario cambiarlo! */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Sombra más oscura */
}

.btn { padding: .9rem 1.3rem; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: all .2s ease-out; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-primary { background: var(--gradient-cta); color: #000; box-shadow: var(--glow); text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-3px) scale(1.03); filter: saturate(1.2) brightness(1.1); box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5); }
.prize-image {
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 18px;
    /* La animación ahora se encarga del borde y la sombra */
    border: 2px solid transparent; 
    animation: prize-glow 4s infinite ease-in-out;
    margin-bottom: 1rem;
    transform: scale(1.15);
}
.tickets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: .5rem; }
.ticket-number { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 900; font-size: .9rem; cursor: pointer; transition: all .2s ease; border: 2px solid transparent; user-select: none; color: var(--color-text-main); }
.ticket-number.available { background-color: rgba(255, 255, 255, 0.05); border-color: var(--border-color); }
.ticket-number.available:hover { border-color: var(--primary-color); transform: translateY(-3px) scale(1.05); background-color: rgba(255, 215, 0, 0.1); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.ticket-number.selected { background: var(--primary-color); color: #000; transform: translateY(-3px) scale(1.05); border-color: var(--primary-color); animation: subtle-glow 2s infinite ease-in-out; }
.ticket-number.occupied { background: rgba(255, 255, 255, 0.02); color: var(--color-text-light); cursor: not-allowed; opacity: .85; }
.quantity-selector-wrapper { display: grid; gap: .75rem; justify-items: center; }
.quantity-selector { display: flex; align-items: center; gap: .75rem; }
.btn-quantity { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); width: 44px; height: 44px; font-size: 1.5rem; font-weight: 700; border-radius: 50%; cursor: pointer; transition: all 0.2s ease; }
.btn-quantity:hover { background: var(--primary-color); color: #000; }
#randomQuantity { background: transparent; border: none; color: var(--color-text-main); font-size: 2.2rem; font-weight: 800; width: 80px; text-align: center; padding: 0; margin: 0; -moz-appearance: textfield; }
#randomQuantity::-webkit-outer-spin-button, #randomQuantity::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bulk-add-buttons { display: flex; gap: .5rem; justify-content: center; }
.btn-bulk-add { background: rgba(255, 255, 255, 0.05); border: 2px solid var(--border-color); color: var(--color-text-light); padding: 6px 14px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; }
.btn-bulk-add:hover { border-color: var(--primary-color); color: var(--color-text-main); }
.selection-bar-container { position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; transform: translateY(100%); transition: transform .3s ease; }
.selection-bar-container.visible { transform: translateY(0); }
.selection-bar { background: var(--color-card-bg); padding: .85rem 1rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 -10px 40px rgba(0,0,0,.1); border-top: 2px solid var(--primary-color); }
.selection-info p { color: var(--color-text-main); }
.trust-item, .step, .faq details { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.trust-item:hover, .step:hover, .faq details:hover { transform: scale(1.03); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.trust-item, .step, .faq details { background: rgba(255, 255, 255, 0.05); padding: 1rem; border-radius: 12px; border: 1px solid var(--border-color); }
.faq summary { font-weight: 800; list-style: none; cursor:pointer; }
.faq summary::-webkit-details-marker { display: none; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 0.75rem; border: 2px solid var(--border-color); border-radius: 10px; margin-bottom: 1rem; font-size: 1rem; font-family: var(--font-family); background-color: rgba(255, 255, 255, 0.05); color: var(--color-text-main); transition: border-color 0.2s ease; }
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="number"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-color); }
input[type="file"] { padding: 0.6rem; background-color: rgba(255, 255, 255, 0.05); border: 2px solid var(--border-color); border-radius: 10px; }
.header-left, .header-right { flex: 1; display: flex; align-items: center; gap: 0.5rem; }
.header-right { justify-content: flex-end; }
.raffle-selector { display: flex; align-items: center; gap: 8px; }
.raffle-dropdown {
    border: 2px solid var(--border-color); border-radius: 10px; padding: 10px 12px; font-weight: 600; cursor: pointer; background: rgba(255, 255, 255, 0.05); color: var(--color-text-main); font-family: var(--font-family); font-size: 14px;
}
.hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 28px; height: 26px; cursor: pointer; z-index: 1001; }
.hamburger-menu span { display: block; height: 3px; width: 100%; background-color: var(--color-text-main); border-radius: 2px; transition: all 0.3s ease-in-out; }
.hamburger-menu.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.open span:nth-child(2) { opacity: 0; } .hamburger-menu.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-rifa-menu { display: none; position: absolute; top: 70px; left: 0; width: 100%; background-color: var(--card-background); box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 999; padding: 16px; border-radius: 0 0 12px 12px; border-top: 1px solid var(--border-color); }
.mobile-rifa-menu.open { display: block; }
.admin-link { font-size: 14px; font-weight: 600; color: var(--color-text-main); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); transition: all 0.2s ease; }
.admin-link:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.announcement {
    position: relative;
    background-image: url('../images/glitter.png');
    background-size: 120% auto;
    background-repeat: no-repeat;
    min-height: 48px;
    display: flex;
    align-items: center;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    z-index: 1;
    overflow: hidden;
    background-color: #222;
}
.announcement-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 8px 0;
}
.announcement-inner > * {
    position: relative;
    z-index: 2;
    color: var(--color-text-main);
    text-shadow: 0 2px 8px #000, 0 0 6px #fff9;
    padding: 0 14px;
}
.announcement-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0,0,0,0.14);
    pointer-events: none;
}
.logo-container {
    position: relative;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
}
.logo {
    max-width: 180px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px #0008);
}
.kicker { color: var(--color-text-light); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin-bottom: .75rem; display: inline-flex; align-items: center; gap: 8px; }
.kicker i { color: var(--primary-color); }
.hero-sub { color: var(--color-text-light); font-size: 1rem; margin-bottom: 1.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn:disabled { background-color: #333; color: #666; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--color-text-main); border: 2px solid var(--border-color); }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); background: transparent; }
.progress-bar-container { background-color: rgba(255, 255, 255, 0.05); border-radius: 999px; height: 1.2rem; overflow: hidden; position: relative; border: 1px solid var(--border-color); }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)); border-radius: 999px; transition: width .5s ease; }
.progress-text { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--color-text-main); }
.selection-info small { color: var(--color-text-light); display: block; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selection-actions { display: flex; gap: .5rem; align-items: center; }
.cta-sticky { top: 71px; z-index: 900; margin-bottom: 1rem; position: sticky;}
.cta-sticky .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card-background); border: 1px solid var(--border-color); border-radius: 12px; padding: .75rem 1rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.cta-sticky .bar .left { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.cta-sticky .bar .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); animation: pulse 2s infinite; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.trust-item i { font-size: 1.25rem; color: var(--primary-color); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.step .n { font-weight: 900; color: var(--primary-color); }
.faq { display: grid; gap: .5rem; }
.faq p { color: var(--color-text-light); margin-top: .5rem; }
.whatsapp-flotante { position: fixed; width: 60px; height: 60px; right: 25px; background-color: #25D366; color: #FFF; border-radius: 50%; text-align: center; font-size: 30px; box-shadow: 0 8px 25px rgba(0,0,0,0.2); z-index: 999; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; bottom: 25px; }
.whatsapp-flotante.raised { bottom: 100px; }
.whatsapp-flotante:hover { transform: translateY(-5px) scale(1.05); color: #fff; }
.modal { display: none; position: fixed; z-index: 2000; inset: 0; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.modal.visible { opacity: 1; display: flex; }
.modal-content { background: var(--card-background); margin: auto; padding: 1.5rem; border-radius: 1rem; width: 90%; max-width: 520px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.15); border: 1px solid var(--border-color); transform: scale(0.95); transition: transform 0.3s ease; }
.modal.visible .modal-content { transform: scale(1); }
.close-button { position: absolute; right: 1rem; top: 1rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; cursor: pointer; color: var(--color-text-light); background: rgba(255, 255, 255, 0.05); border-radius: 50%; }
#paymentOptionsContainer { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.payment-method-option input[type="radio"] { display: none; }
.payment-method-label { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; min-height: 90px; padding: 0.75rem; background-color: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer; transition: all 0.2s ease-in-out; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.payment-method-icon { height: 25px; max-width: 55px; width: auto; object-fit: contain; margin-bottom: 5px; }
.payment-method-label span { font-size: 0.85rem; font-weight: 600; line-height: 1.2; color: var(--color-text-main); }
.payment-method-label:hover { transform: translateY(-4px); border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.payment-method-option input[type="radio"]:checked + .payment-method-label { border-color: var(--primary-color); background-color: rgba(255, 215, 0, 0.1); transform: translateY(-4px); box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
#paymentInstructionsContainer { background-color: rgba(255, 255, 255, 0.05); border-left: 4px solid var(--primary-color); padding: 1rem; border-radius: 10px; margin-top: 1rem; margin-bottom: 1rem; }
.custom-modal-button { background: var(--primary-color); color: #000; }
#top-buyers-section .buyer-item { background-color: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); color: var(--color-text-main); }
.buyer-item .trophy-icon.gold { color: var(--primary-color); } .buyer-item .trophy-icon.silver { color: #b0b0b0; } .buyer-item .trophy-icon.bronze { color: #CD7F32; }
.d-flex { display: flex; } .align-items-center { align-items: center; } .flex-column { flex-direction: column; } .gap-3 { gap: 1rem; } .text-center { text-align: center; }
.custom-modal { display: none; position: fixed; z-index: 3000; inset: 0; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); justify-content: center; align-items: center; padding: 1rem; opacity: 0; transition: opacity 0.3s ease; }
.custom-modal.is-visible { display: flex; opacity: 1; }
.custom-modal-content { background: var(--card-background); border: 1px solid var(--border-color); border-radius: 1rem; width: 100%; max-width: 400px; text-align: center; padding: 2rem; position: relative; transform: scale(0.95); transition: transform 0.3s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.15); border: 1px solid var(--border-color); }
.custom-modal.is-visible .custom-modal-content { transform: scale(1); }
.custom-modal-close-button { position: absolute; right: 1rem; top: 1rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; color: var(--color-text-light); background-color: rgba(255, 255, 255, 0.05); border-radius: 50%; }
.custom-modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--primary-color);}
.custom-modal-message { color: var(--color-text-light); margin-bottom: 1.5rem; }
.custom-modal-button { width: 100%; padding: 12px; border: none; border-radius: 12px; font-weight: 600; cursor: pointer; }
.custom-modal-icon-container { height: 80px; margin-bottom: 1rem; }
.custom-modal-icon-success { width: 80px; height: 80px; display: inline-block; }
.custom-modal-icon-success-circle { stroke-dasharray: 240; stroke-dashoffset: 240; stroke-width: 3; stroke-miterlimit: 10; stroke: #4CAF50; fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.custom-modal-icon-success-check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; stroke-width: 3; stroke: #4CAF50; fill: none; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards; }
.custom-modal-icon-error .custom-modal-icon-success-circle { stroke: var(--danger-color); }
.custom-modal-icon-error .custom-modal-icon-success-check { stroke: var(--danger-color); }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: white; text-transform: capitalize; }
.status-badge.pagado, .status-badge.Aprobado { background-color: var(--success-color); }
.status-badge.apartado, .status-badge.Por.Revisar { background-color: var(--warning-color); color: #333; }
.status-badge.activa { background-color: #3182CE; }
.status-badge.finalizada { background-color: var(--color-text-light); }
.status-badge.cancelada { background-color: var(--danger-color); }
.pre-purchase-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.pre-purchase-actions .btn-outline { grid-column: 1 / -1; }
.social-proof { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1rem; color: var(--color-text-light); font-weight: 600; }
.social-proof .badge { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); color: var(--color-text-main); }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; }
.kpi { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); padding: .75rem 1rem; border-radius: 12px; text-align: center; }
.kpi .num { font-weight: 900; font-size: 1.1rem; color: var(--primary-color); }
.kpi .lbl { color: var(--color-text-light); font-size: .85rem; }
footer { background: #222; color: var(--color-text-main); text-align: center; padding: 24px; margin-top: 50px; border-top: 1px solid var(--border-color); }
footer a img { filter: brightness(0.8) invert(1); transition: transform 0.2s ease; }
footer a:hover img { transform: scale(1.1); filter: brightness(1) invert(0); }
footer .footer-socials { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem;}
footer .footer-links { margin-bottom: 1rem; }
footer .footer-links a { color: var(--color-text-light); text-decoration: none; margin: 0 10px; font-size: 14px; font-weight: 600; }
footer .footer-links a:hover { color: var(--primary-color); }
.buyer-item .rank-number { font-size: 1.5rem; font-weight: 900; color: var(--primary-color); }
.flex-grow-1 { flex-grow: 1; text-align: left;}
.buyer-item h6 { font-size: 1.1rem; margin: 0; font-weight: 700; color: var(--color-text-main);}
.buyer-item small { color: var(--color-text-light); font-size: 0.9rem; }
#verificationResult .verification-info { text-align: center; background: rgba(255, 255, 255, 0.05); padding: 1rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid var(--border-color); }
.split-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.split-hero > .left, .split-hero > .right {
    flex: 1;
    min-width: 300px;
}
.split-hero > .hero-title {
    width: 100%;
    flex-basis: 100%;
}
@media (max-width: 980px) { 
    .split-hero { 
        flex-direction: column;
        gap: 1.5rem; 
    }
    .split-hero .hero-title { 
        order: 1;
        text-align: center;
    }
    .split-hero .right { 
        order: 2;
        margin: 0 auto;
    }
    .split-hero .left { 
        order: 3;
        text-align: center;
    }
    .hero-ctas, .social-proof { 
        justify-content: center;
    } 
    .prize-image { 
        margin: 0; 
        max-width: 100%;
    }
    .trust-list { grid-template-columns: repeat(2, 1fr); } 
}
@media (max-width: 767px) { 
    .raffle-selector { display: none; } 
    .hamburger-menu { display: flex; } 
    .header-content { display: flex; justify-content: space-between; } 
    .logo-container { position: absolute; left: 50%; transform: translateX(-50%); } 
    .card { padding: 1.25rem; } 
    .hero-title { font-size: 1.8rem; } 
    .btn { padding: .8rem 1.2rem; font-size: .95rem;} 
    .announcement-inner strong:nth-of-type(2) { display: none; } 
    .cta-sticky .bar .left { display: none; } 
    .cta-sticky .bar { justify-content: center; } 
    .steps-grid, .kpi-grid { grid-template-columns: 1fr; } 
    .tickets-grid { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px;} 
    .selection-bar { flex-direction: column; gap: .75rem; padding: .85rem; } 
    .selection-actions { width: 100%; display: grid; grid-template-columns: auto 1fr 1fr; } 
    .whatsapp-flotante.raised { bottom: 155px; } 
}
@keyframes billFall { 
    0% { transform: translateY(-100%) translateX(0) rotate(0deg); opacity: 0; } 
    10% { opacity: 1; } 
    80% { opacity: 1; } 
    100% { transform: translateY(100vh) translateX(var(--horizontal-drift, 200px)) rotate(180deg); opacity: 0; } 
}
.falling-bills-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; z-index: -1; }
.bill-item {
    position: absolute;
    width: 300px;
    height: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
}
canvas.confetti-canvas, canvas[style*="z-index"] {
  z-index: 4000 !important;
  pointer-events: none;
  position: fixed !important;
}
.ticket-verification-item {
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.ticket-verification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.ticket-verification-numbers {
    font-weight: 600;
    color: var(--primary-color);
    word-wrap: break-word;
    margin: 0;
}
.status-badge { 
    padding: 0.25rem 0.75rem; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 700;
    color: white; 
    text-transform: capitalize; 
}
.status-badge.pagado { 
    background-color: var(--color-success); 
}
.status-badge.apartado { 
    background-color: var(--color-warning); 
    color: #333;
}
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.pagination-controls {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
}
.pagination-btn, .pagination-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
    user-select: none;
}
.pagination-btn.current {
    background: var(--gradient-cta);
    color: #000;
    border-color: transparent;
    box-shadow: var(--glow);
    grid-column: 3 / 4;
}
.pagination-info {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}
.floating-buy-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 0;
    background: none;
    border: none;
}
#custom-buy-button-floating {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}
#custom-buy-button-floating img {
    width: 100%;
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.4));
}
#custom-buy-button-floating:hover {
    transform: scale(1.05);
}
.prize-image { transform: scale(1.1); }
.designer-credit a {
    background: linear-gradient(90deg, #FFD700, #FFC700, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    background-size: 200% 100%;
    text-decoration: none;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.7), 
                 0 0 5px rgba(255, 255, 255, 0.5);
}

body {
    /* Mantén tus estilos existentes */
    font-family: var(--font-family);
    color: var(--color-text-main);
    line-height: 1.6;

    /* ==== ESTILOS PARA LA IMAGEN DE FONDO DE PÁGINA ==== */
    background-image: url('https://ganaconayten.gt.tc/public/assets/images/fondo.png');
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center center;

    background-color: var(--color-dark-bg);
}

/* Overlay para mejorar la legibilidad y hacer el fondo más lejano */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aumenta la opacidad del overlay para que el fondo se vea más lejano */
    background-color: rgba(0, 0, 0, 0.7); /* Cambiado de 0.4 a 0.7 */
    z-index: -1;
}

.footer-socials a img {
    width: 32px; /* Ajusta este valor al tamaño que desees, por ejemplo, 32px o 40px */
    height: 32px; /* Mantén el mismo valor para que sea un cuadrado */
    filter: brightness(0.8) invert(1); /* Mantiene el color blanco/claro invertido */
    transition: transform 0.2s ease;
}

.footer-socials a img:hover {
    transform: scale(1.1); /* Efecto de crecimiento al pasar el ratón */
    filter: brightness(1) invert(0); /* Vuelve al color original o se ilumina */
}

@media (max-width: 767px) {
  /* Your existing mobile styles */

  .hero-section-card {
    /* Remove the padding from the card on mobile */
    padding: 0;
  }

  .hero-section-card .split-hero {
    /* Add back the top/bottom padding for the text, but not the image */
    padding: 1.25rem 0;
  }

  .prize-image {
    /* Now the image can stretch to the full width of the screen */
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 0;
    margin-bottom: 0;
    transform: none;
  }
}