/* === COMBOS COL - MODERN RESPONSIVE STYLES === */

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background: linear-gradient(135deg, #0b0b0b 0%, #1a1a1a 100%);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Ensure no horizontal overflow on any screen size */
.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all sections stay within viewport */
section {
    max-width: 100%;
    overflow-x: hidden;
}

/* === NAVIGATION === */
.nav-superior {
    background: linear-gradient(90deg, #111 0%, #222 50%, #111 100%);
    padding: 12px 20px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-center {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.nav-superior a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-superior a:hover {
    color: #f5d742;
    background: rgba(245, 215, 66, 0.1);
    transform: translateY(-2px);
}

.nav-superior a.activo {
    color: #f5d742;
    background: rgba(245, 215, 66, 0.1);
}

.nav-superior a.btn-primary-nav {
    background: linear-gradient(45deg, #f5d742, #ffd700);
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 215, 66, 0.3);
}

.nav-superior a.btn-primary-nav:hover {
    background: linear-gradient(45deg, #ffd700, #f5d742);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 215, 66, 0.4);
}

.admin-link {
    position: absolute;
    right: 0;
    color: #ccc;
    font-size: 1.5em;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.admin-link:hover {
    color: #f5d742;
    background: rgba(245, 215, 66, 0.1);
    transform: scale(1.1);
}

/* === HAMBURGER MENU (Mobile Only) === */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    backdrop-filter: blur(5px);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0b0b0b 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-nav-links {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-links a:hover {
    background: rgba(245, 215, 66, 0.1);
    border-left-color: #f5d742;
    color: #f5d742;
    transform: translateX(5px);
}

.mobile-nav-links a.btn-primary-nav {
    background: linear-gradient(45deg, #f5d742, #ffd700);
    color: #000;
    margin: 10px 20px;
    border-radius: 25px;
    border-left: none;
    transform: none;
    text-align: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(245, 215, 66, 0.3);
}

.mobile-nav-links a.btn-primary-nav:hover {
    background: linear-gradient(45deg, #ffd700, #f5d742);
    transform: translateY(-2px);
    color: #000;
}

.mobile-nav-links a.admin-active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    margin: 10px 20px;
    border-radius: 25px;
    border-left: none;
    text-align: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-center {
        display: none;
    }
    
    .admin-link {
        display: none; /* Hide admin button on mobile - it's in hamburger menu */
    }
    
    .hamburger-menu {
        display: flex;
        order: 2;
    }
    
    .mobile-nav-overlay.active {
        display: block;
    }
    
    .mobile-nav-menu {
        display: block;
    }
}

/* Tablet Navigation (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-center {
        gap: 20px;
    }
    
    .nav-superior a {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    
    .admin-link {
        font-size: 1.3em;
    }
    
    .hamburger-menu {
        display: none;
    }
    
    .mobile-nav-overlay,
    .mobile-nav-menu {
        display: none !important;
    }
    
    .payment-methods-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Center Transfiya on tablets when it's the third item */
    .payment-method-modern.transfiya {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Desktop Navigation (1025px and up) */
@media (min-width: 1025px) {
    .nav-center {
        gap: 30px;
    }
    
    .hamburger-menu {
        display: none;
    }
    
    .mobile-nav-overlay,
    .mobile-nav-menu {
        display: none !important;
    }
    
    .admin-link {
        display: block;
    }
}

/* Phone Navigation (up to 480px) */
@media (max-width: 480px) {
    .nav-superior {
        padding: 10px 15px;
    }
    
    .hamburger-menu {
        padding: 6px;
    }
    
    .hamburger-line {
        width: 22px;
        height: 2px;
    }
    
    .mobile-nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .mobile-nav-links a {
        font-size: 1.05em;
        padding: 12px 20px;
    }
}

/* Additional responsive navigation improvements */
@media (max-width: 1200px) {
    .nav-center {
        gap: 20px;
    }
    
    .nav-superior a {
        padding: 8px 14px;
        font-size: 0.95em;
    }
}

@media (max-width: 992px) {
    .nav-center {
        gap: 15px;
    }
    
    .nav-superior a {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .nav-superior a i {
        display: none; /* Hide icons on smaller desktop screens to save space */
    }
}

@media (max-width: 890px) {
    .nav-center {
        display: none; /* Start hiding nav menu earlier */
    }
    
    .admin-link {
        display: none; /* Hide admin button on tablet/mobile */
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .mobile-nav-overlay.active {
        display: block;
    }
    
    .mobile-nav-menu {
        display: block;
    }
}

/* Improved mobile navigation styles */
@media (max-width: 768px) {
    .nav-superior {
        padding: 10px 15px;
    }
}

/* Small mobile phones */
@media (max-width: 375px) {
    .nav-superior {
        padding: 8px 12px;
    }
    
    .hamburger-menu {
        padding: 4px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
}

/* === LOGO HEADER === */
.logo-header {
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
}

.logo-centro-lg {
    width: 260px;
    max-width: 80%;
    height: auto;
    margin: 10px auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo-centro-lg:hover {
    transform: scale(1.05);
}

/* === MAIN CONTENT === */
.contenido {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

.titulo-principal {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f5d742, #ffd700, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.3em;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* === URGENCY AND TRUST INDICATORS === */
.urgency-banner {
    background: linear-gradient(135deg, #ff0000, #ff8000);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    margin: 15px auto;
    max-width: 600px;
    font-weight: bold;
    animation: pulse 2s infinite;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Responsive urgency banner */
@media (max-width: 768px) {
    .urgency-banner {
        padding: 12px 18px;
        font-size: 0.95em;
        max-width: 85%;
        margin: 12px auto;
    }
}

@media (max-width: 480px) {
    .urgency-banner {
        padding: 10px 15px;
        font-size: 0.85em;
        border-radius: 35px;
        max-width: 90%;
    }
}

@media (max-width: 360px) {
    .urgency-banner {
        padding: 8px 12px;
        font-size: 0.8em;
        border-radius: 30px;
        max-width: 95%;
    }
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.trust-item {
    background: rgba(245, 215, 66, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    border: 1px solid rgba(245, 215, 66, 0.3);
}

/* === ANIMATIONS === */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 215, 66, 0.3); }
    50% { box-shadow: 0 0 30px rgba(245, 215, 66, 0.6); }
}

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

.pulse-animation {
    animation: glow 2s infinite;
}

/* === CALL TO ACTION === */
.cta-inicio {
    margin: 40px 0;
}

.boton-participa {
    display: inline-block;
    background: linear-gradient(45deg, #f5d742, #ffd700);
    color: #000;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.3em;
    box-shadow: 0 8px 25px rgba(245, 215, 66, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border: 2px solid rgba(0,0,0,0.1);
}

.boton-participa:hover {
    background: linear-gradient(45deg, #ffd700, #f5d742);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(245, 215, 66, 0.6);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.cta-subtitle {
    margin-top: 10px;
    color: #f5d742;
    font-size: 0.9em;
    font-style: italic;
}

/* === PROGRESS BAR === */
.progress-section {
    margin: 40px 0;
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.progress-container {
    background: #333;
    border-radius: 25px;
    overflow: hidden;
    margin: 15px 0;
    height: 30px;
    position: relative;
}

.progress-bar {
    background: linear-gradient(45deg, #f5d742, #ffd700);
    height: 100%;
    width: 0%;
    border-radius: 25px;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-text {
    color: #000;
    font-weight: bold;
    font-size: 0.9em;
    position: absolute;
    width: 100%;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

/* Responsive progress bar */
@media (max-width: 768px) {
    .progress-container {
        height: 25px;
    }
    
    .progress-text {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .progress-container {
        height: 22px;
    }
    
    .progress-text {
        font-size: 0.75em;
    }
}

/* === WHATSAPP FLOATING BUTTON MODERNIZED === */
.wa-boton-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: visible;
    
    /* Animación de zumbido constante */
    animation: whatsapp-pulse 2s infinite;
}

/* Animaciones de zumbido */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@keyframes whatsapp-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Efecto de ondas al hacer hover */
.wa-boton-flotante::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid rgba(37, 211, 102, 0.6);
    border-radius: 50%;
    animation: whatsapp-ring 1.5s infinite;
    z-index: -1;
}

.wa-boton-flotante::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: whatsapp-ring 1.5s infinite 0.5s;
    z-index: -2;
}

.wa-boton-flotante:hover {
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.wa-boton-flotante:hover::before,
.wa-boton-flotante:hover::after {
    animation-play-state: paused;
    opacity: 0;
}

.wa-boton-flotante img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.wa-boton-flotante:hover img {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 1);
}

/* Contenedor del texto emergente */
.wa-boton-flotante span {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #128c7e;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.2);
    
    /* Inicialmente oculto */
    opacity: 0;
    transform: translateY(-50%) translateX(10px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

/* Flecha del tooltip */
.wa-boton-flotante span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(255, 255, 255, 0.95);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Mostrar texto en hover y focus */
.wa-boton-flotante:hover span,
.wa-boton-flotante:focus span {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wa-boton-flotante {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .wa-boton-flotante img {
        width: 38px;
        height: 38px;
    }
    
    .wa-boton-flotante span {
        right: 65px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .wa-boton-flotante {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .wa-boton-flotante img {
        width: 34px;
        height: 34px;
    }
    
    .wa-boton-flotante span {
        right: 60px;
        font-size: 11px;
        padding: 6px 8px;
        max-width: 180px;
    }
}

@media (max-width: 360px) {
    .wa-boton-flotante {
        bottom: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
    }
    
    .wa-boton-flotante img {
        width: 30px;
        height: 30px;
    }
    
    .wa-boton-flotante span {
        right: 55px;
        font-size: 10px;
        padding: 5px 7px;
        max-width: 160px;
    }
}

/* Estados de accesibilidad */
.wa-boton-flotante:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

.wa-boton-flotante:active {
    transform: scale(0.95);
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .wa-boton-flotante {
        /* En dispositivos táctiles, mostrar el texto por más tiempo */
        animation-duration: 3s;
    }
    
    .wa-boton-flotante:active span {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }
}

/* Prevención de interferencias con otros elementos */
.wa-boton-flotante {
    /* Asegurar que no interfiera con scrollbars */
    margin-right: env(scrollbar-width, 0);
    
    /* Evitar conflictos con elementos sticky */
    isolation: isolate;
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
    .wa-boton-flotante span {
        background: rgba(40, 40, 40, 0.95);
        color: #25d366;
        border-color: rgba(37, 211, 102, 0.3);
    }
    
    .wa-boton-flotante span::after {
        border-left-color: rgba(40, 40, 40, 0.95);
    }
}

/* === VIDEO TESTIMONIALS === */
.video-testimonials {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.video-wrapper {
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
}

.testimonial-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
}

.video-caption {
    padding: 15px;
    text-align: center;
    background: rgba(245, 215, 66, 0.1);
    color: #fff;
    margin: 0;
}

/* Tablet landscape video testimonials optimization (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-testimonials {
        padding: 25px 20px;
    }
    
    .videos-container {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
        margin: 20px auto 0;
    }
    
    .video-wrapper {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .testimonial-video {
        max-width: 100%;
        max-height: 320px;
        object-fit: contain;
        width: auto;
        margin: 0 auto;
        display: block;
    }
    
    .video-caption {
        padding: 12px;
        font-size: 0.95em;
    }
}

/* === WRITTEN TESTIMONIALS === */
.written-testimonials {
    margin: 40px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.tarjeta-testimonio {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(245, 215, 66, 0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.tarjeta-testimonio:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(245, 215, 66, 0.2);
    border-color: rgba(245, 215, 66, 0.4);
}

.testimonio-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.testimonio-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f5d742;
    flex-shrink: 0;
}

.testimonio-text {
    flex: 1;
}

.testimonio-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #f5d742;
    margin: 0 0 5px 0;
}

.testimonio-location {
    font-size: 0.85em;
    color: #aaa;
    margin: 0 0 10px 0;
}

.testimonio-quote {
    font-style: italic;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

/* === COUNTDOWN SECTION === */
.countdown-container {
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.1), rgba(255, 215, 0, 0.05));
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid rgba(245, 215, 66, 0.2);
}

.countdown-date {
    font-size: 1.5em;
    color: #f5d742;
    margin: 10px 0;
}

.countdown-method {
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
}

.timer-display {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    background: rgba(0,0,0,0.3);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin: 15px 0;
    letter-spacing: 2px;
}

.live-info {
    color: #ff5722;
    font-weight: bold;
    margin-top: 15px;
}

/* === PRIZES SECTION === */
.premios-destacados {
    margin: 50px 0;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.premio-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.premio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5d742, #ffd700);
}

.premio-card.gold {
    border-color: rgba(255, 215, 0, 0.3);
}

.premio-card.gold::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.premio-card.silver {
    border-color: rgba(192, 192, 192, 0.3);
}

.premio-card.silver::before {
    background: linear-gradient(90deg, #c0c0c0, #e5e5e5);
}

.premio-card.bronze {
    border-color: rgba(205, 127, 50, 0.3);
}

.premio-card.bronze::before {
    background: linear-gradient(90deg, #cd7f32, #d4af37);
}

.premio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.premio-position {
    font-size: 3em;
    font-weight: bold;
    color: #f5d742;
    line-height: 1;
    margin-bottom: 10px;
}

.premio-amount {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    margin: 15px 0;
}

.premio-bonus {
    color: #f5d742;
    font-weight: bold;
    font-size: 1.1em;
}

.promotion-banner {
    background: linear-gradient(135deg, #ff0000, #ff8000);
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
    color: white;
    font-weight: bold;
    animation: pulse 3s infinite;
}

/* === STEPS SECTION === */
.guia-pasos {
    margin: 50px 0;
    background: rgba(255,255,255,0.02);
    padding: 40px 20px;
    border-radius: 20px;
}

.pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.paso-item {
    text-align: center;
    padding: 25px 15px;
    background: rgba(245, 215, 66, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 215, 66, 0.1);
}

.paso-item:hover {
    transform: translateY(-5px);
    background: rgba(245, 215, 66, 0.1);
    border-color: rgba(245, 215, 66, 0.3);
}

.paso-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.paso-item h4 {
    color: #f5d742;
    margin: 15px 0 10px;
    font-size: 1.2em;
}

.paso-item p {
    color: #ccc;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

/* === GENERAL SECTION STYLES === */
section {
    margin-bottom: 50px;
}

h1 {
    color: #f5d742;
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

h2 {
    color: #ffd700;
    margin-bottom: 25px;
    font-size: 2.2em;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

h3 {
    color: #f5d742;
    font-size: 1.5em;
    margin-bottom: 20px;
}

h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 15px;
}

/* ===== CONTACT PAGE MODERN STYLING ===== */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(245, 215, 66, 0.2);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 215, 66, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.contact-hero h2 {
    color:#ffc107;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.contact-hero .lead {
    color: #f8f9fa;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #fff;
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.hero-stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 215, 66, 0.2);
}

.hero-stats .stat i {
    font-size: 1.5rem;
    color: #2c3e50;
}

.hero-stats .stat span {
    font-weight: 600;
    color: #333;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Contact Cards */
.contact-card {
    background:linear-gradient(135deg, rgba(245, 215, 66, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(245, 215, 66, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5d742, #ffd700, #f5d742);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(245, 215, 66, 0.15);
    border-color: rgba(245, 215, 66, 0.4);
}

.contact-card .contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #212529, #6c757d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-card .contact-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(245, 215, 66, 0.4);
}

.contact-card h3 {
    color:#ffc107;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-card p {
    color: #f8f9fa;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-card .contact-info {
    margin: 1.5rem 0;
}

.contact-card .contact-info strong {
    display: block;
    font-size: 1.2rem;
    color: #f8f9fa;
    margin-bottom: 0.5rem;
}

.contact-card .contact-info span {
    color: #f8f9fa;
    font-size: 0.9rem;
}

.contact-card .features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.contact-card .features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #f8f9fa;
}

.contact-card .features i {
    color: #28a745;
    font-size: 0.8rem;
}

/* Special styling for WhatsApp primary card */
.whatsapp-primary {
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(37, 211, 102, 0.2);
}

.whatsapp-primary:hover {
    box-shadow: 0 20px 60px rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-primary .contact-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Social Media Buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #4267b2);
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fd1d1d);
    color: white;
}

.social-btn.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Quick Contact Section */
.quick-contact-section {
    margin: 4rem 0;
}

.quick-contact-card {
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(245, 215, 66, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.quick-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 215, 66, 0.03) 50%, transparent 70%);
    pointer-events: none;
}

.quick-contact-card h3 {
    color: #ffc107;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.quick-contact-card > p {
    text-align: center;
    font-weight: 600;
    color: #f8f9fa;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.quick-contact-form .form-label {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-contact-form .form-label i {
    color: #f5d742;
    font-size: 1rem;
}

.quick-contact-form .form-control,
.quick-contact-form .form-select {
    border: 2px solid rgba(245, 215, 66, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.quick-contact-form .form-control:focus,
.quick-contact-form .form-select:focus {
    border-color: #f5d742;
    box-shadow: 0 0 0 0.2rem rgba(245, 215, 66, 0.25);
    background: rgba(255, 255, 255, 0.95);
    outline: none;
}

.quick-contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.quick-contact-form button[type="submit"] {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    border-radius: 15px;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
}

.quick-contact-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.quick-contact-form button[type="submit"]:hover::before {
    left: 100%;
}

/* FAQ Quick Section */
.contact-faq {
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem 2rem;
    border: 1px solid rgba(245, 215, 66, 0.2);
    margin-top: 4rem;
}

.contact-faq h3 {
    color: #ffd700;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.faq-quick-item {
    background: #fff;
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 215, 66, 0.2);
    transition: all 0.3s ease;
}

.faq-quick-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 215, 66, 0.15);
    background: whitesmoke;
}

.faq-quick-item h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.faq-quick-item h5 i {
    color: #2c3e50;
    font-size: 1.2rem;
}

.faq-quick-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ================================
   GLOBAL OVERFLOW AND RESPONSIVENESS FIXES
   ================================ */

/* Ensure no horizontal overflow on any screen size */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all sections stay within viewport */
section {
    max-width: 100%;
    overflow-x: hidden;
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Reduce spacing on very small screens */
    section {
        margin-bottom: 2rem !important;
    }
    
    h1, h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* ==============================================
   RAFFLE PAGE STYLES (sorteo-junio.html)
   ============================================== */

/* Main content area */
.contenido {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

.titulo-principal {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f5d742, #ffd700, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Pricing Info Section */
.pricing-info {
    margin-bottom: 2rem;
}

.pricing-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pricing-banner h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f5d742, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.price-card.early-bird {
    border: 2px solid #f5d742;
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.1), rgba(255, 215, 0, 0.1));
}

.price-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #ff0000, #ff8000);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #f5d742, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.price-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.remaining {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-info {
  background: linear-gradient(135deg, #ff4500, #ff9900) !important;
  color: white !important;
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  font-weight: bold;
}

.bonus-info p {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

/* Prizes Section */
.premios-actuales {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.premios-actuales h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f5d742, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lista-premios {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.premio-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.premio-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.premio-pos {
    font-weight: bold;
    color: #f5d742;
    font-size: 1.1rem;
}

.premio-valor {
    color: white;
    font-weight: 600;
}

.sorteo-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sorteo-info p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Selection Summary */
.selection-summary {
    margin-bottom: 2rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f5d742, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.selection-details {
    display: grid;
    gap: 0.5rem;
}

.selection-details p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
}

/* Improved spacing for counts and numbers */
.selection-details p span {
    margin-left: 0.25rem;
}

#selected-count {
    margin-left: 0.02rem !important;
}

#bonus-number {
    margin-left: auto !important;
    text-align: right;
}

.selection-details .total {
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.2), rgba(255, 215, 0, 0.2));
    border: 1px solid #f5d742;
    font-weight: bold;
    font-size: 1.1rem;
}

.bonus-ticket {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(129, 199, 132, 0.2)) !important;
    border: 1px solid #4caf50 !important;
    color: #4caf50 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Tickets Selection */
.boletos-seleccion {
    margin-bottom: 2rem;
}

.boletos-seleccion h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.boletos-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Tickets Grid */
.boletos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.ticket-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ticket-item.available {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.ticket-item.available:hover {
    background: rgba(245, 215, 66, 0.3);
    border-color: #f5d742;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 215, 66, 0.3);
}

.ticket-item.selected {
    background: linear-gradient(135deg, #f5d742, #ffd700);
    border: 2px solid #ffb347;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 215, 66, 0.4);
}

.ticket-item.sold {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
}

.ticket-item.bonus {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border: 2px solid #81c784;
    color: white;
    animation: bonusGlow 2s infinite;
}

@keyframes bonusGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.8); }
}

/* Confirm Section */
.confirm-section {
    text-align: center;
    margin-top: 2rem;
}

.boton-confirmar {
    background: linear-gradient(135deg, #f5d742, #ffd700, #ffb347);
    border: none;
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 215, 66, 0.3);
    min-width: 280px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.boton-confirmar:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 215, 66, 0.4);
    background: linear-gradient(135deg, #ffd700, #ffb347, #f5d742);
}

.boton-confirmar:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.pulse-animation:not(:disabled) {
    animation: pulse 2s infinite;
}

.payment-info {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ========================================
   CONFIRMAR PAGE MODERN STYLES
   ======================================== */

/* Timer Alert Modern - FIXED */
.timer-alert-modern {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 107, 107, 0.15));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.2);
    animation: pulseGlow 3s infinite;
    overflow: hidden;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(255, 193, 7, 0.2);
        border-color: rgba(255, 193, 7, 0.3);
    }
    50% { 
        box-shadow: 0 12px 40px rgba(255, 193, 7, 0.4);
        border-color: rgba(255, 193, 7, 0.5);
    }
}

.timer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.timer-icon {
    font-size: 1.8rem;
    color: #ffc107;
    animation: tickTock 1s infinite;
    flex-shrink: 0;
}

@keyframes tickTock {
    0%, 50% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.timer-text {
    flex: 1;
    min-width: 0;
}

.timer-text h4 {
    color: #ffc107;
    font-weight: bold;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.timer-text p {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.timer-display {
    text-align: right;
    flex-shrink: 0;
}

#countdown-display-large {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px rgba(255, 193, 7, 0.5);
    font-family: 'Courier New', monospace;
    background: rgba(255, 193, 7, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.time-warning {
    color: #ff4757 !important;
    animation: urgentBlink 1s infinite !important;
}

@keyframes urgentBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

/* Purchase Summary Modern */
.purchase-summary {
    margin-bottom: 3rem;
}

.summary-card-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.summary-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5d742, #ffd700, #f5d742);
}

.summary-card-modern h2 {
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f5d742, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: bold;
}

.tickets-selected-modern {
    margin-bottom: 2rem;
}

.tickets-selected-modern h5 {
    color: #f5d742;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tickets-display-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 100px;
}

.tickets-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
    align-items: center;
    justify-items: center;
}

.loading-tickets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    width: 100%;
    padding: 2rem;
}

.loading-tickets i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ticket-number-modern {
    background: linear-gradient(135deg, #f5d742, #ffd700);
    color: #000;
    padding: 12px 8px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ticket-number-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.ticket-number-modern:hover::before {
    left: 100%;
}

.ticket-number-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 215, 66, 0.4);
}

/* Tickets bonus diferenciados */
.ticket-number-modern.bonus {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ticket-number-modern.bonus::after {
    content: '🎁';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.7rem;
    background: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ticket-number-modern.bonus:hover {
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.5);
}

.ticket-number:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 215, 66, 0.5);
}

/* Pricing Breakdown Modern */
.pricing-breakdown-modern {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-grid {
    display: grid;
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.breakdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.breakdown-item.early-bird {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.breakdown-item.regular {
    border-color: rgba(0, 123, 255, 0.3);
    background: rgba(0, 123, 255, 0.05);
}

.breakdown-item.bonus {
    border-color: rgba(40, 167, 69, 0.3);
    background: rgba(40, 167, 69, 0.05);
}

.breakdown-item.total {
    border-color: rgba(245, 215, 66, 0.5);
    background: linear-gradient(135deg, rgba(245, 215, 66, 0.15), rgba(255, 215, 0, 0.15));
    font-weight: bold;
    font-size: 1.1rem;
}

.item-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.item-label i {
    font-size: 1.1rem;
}

.item-value {
    color: #f5d742;
    font-weight: 600;
    font-size: 1rem;
}

.breakdown-item.total .item-value {
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(245, 215, 66, 0.3);
}

/* Payment Methods Modern */
.payment-methods-section {
    margin-bottom: 3rem;
}

.payment-methods-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.payment-method-modern {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.payment-method-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.payment-method-modern.nequi::before {
    background: linear-gradient(90deg, #663399, #9d59c7);
}

.payment-method-modern.daviplata::before {
    background: linear-gradient(90deg, #e53e3e, #f56565);
}

.payment-method-modern.transfiya::before {
    background: linear-gradient(90deg, #3182ce, #4299e1);
}

.payment-method-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.payment-header-modern {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.payment-method-modern.nequi .payment-icon-modern {
    background: linear-gradient(135deg, #663399, #9d59c7);
}

.payment-method-modern.daviplata .payment-icon-modern {
    background: linear-gradient(135deg, #e53e3e, #f56565);
}

.payment-method-modern.transfiya .payment-icon-modern {
    background: linear-gradient(135deg, #3182ce, #4299e1);
}

.payment-method-modern:hover .payment-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.payment-header-modern h3 {
    color: white;
    font-weight: bold;
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

.payment-badge-modern {
    position: static;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    display: inline-block;
}

.payment-badge-modern.recommended {
    background: linear-gradient(135deg, #28a745, #34ce57);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.payment-badge-modern.popular {
    background: linear-gradient(135deg, #ff0000, #ff8000);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.payment-badge-modern.secure {
    background: linear-gradient(135deg, #3182ce, #4299e1);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.payment-info-modern {
    text-align: left;
}

.account-info-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.account-info-modern label {
    color: #f5d742;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.account-number-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    font-family: 'Courier New', monospace;
}

.account-number-modern span {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.copy-btn-modern {
    background: linear-gradient(135deg, #f5d742, #ffd700);
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.copy-btn-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(245, 215, 66, 0.4);
}

.payment-steps-modern {
    margin-bottom: 1.5rem;
}

.payment-steps-modern h5 {
    color: #f5d742;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.payment-steps-modern ol {
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.payment-steps-modern li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.payment-steps-modern strong {
    color: #f5d742;
    font-weight: 600;
}

.payment-features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-features-modern span {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.payment-features-modern i {
    font-size: 0.7rem;
}

/* WhatsApp Form Modern */
.whatsapp-form-section {
    margin-bottom: 3rem;
}

.whatsapp-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.1);
    position: relative;
    overflow: hidden;
}

.whatsapp-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25d366, #128c7e, #25d366);
}

.whatsapp-form-card h2 {
    background: linear-gradient(135deg, #25d366, #34ce57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

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

.payment-form-modern {
    max-width: 400px;
    margin: 0 auto;
}

.form-group-modern {
    margin-bottom: 1.2rem;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #25d366;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control-modern {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(37, 211, 102, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-whatsapp-modern {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    border-radius: 15px;
    padding: 1.2rem 2.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #075e54);
}

.btn-whatsapp-modern i {
    font-size: 1.3rem;
}

/* Important Notes Modern */
.important-notes-section {
    margin-bottom: 3rem;
}

.important-notes-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(255, 193, 7, 0.1);
    position: relative;
    overflow: hidden;
}

.important-notes-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #ffed4e, #ffc107);
}

.important-notes-card h3 {
    background: linear-gradient(135deg, #ffc107, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.6rem;
}

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

/* Responsive adjustments for important notes */
@media (max-width: 768px) {
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .note-item {
        padding: 1.2rem;
        margin: 0;
        overflow: hidden;
    }
    
    .note-content {
        overflow: hidden;
        word-wrap: break-word;
    }
    
    .note-content h5 {
        font-size: 0.95rem;
    }
    
    .note-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

.note-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.note-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.note-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.note-content h5 {
    color: white;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.note-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.note-content strong {
    color: #f5d742;
    font-weight: 600;
}

/* Copy functionality */
.copy-success {
    background: linear-gradient(135deg, #28a745, #34ce57) !important;
    color: white !important;
}

.copy-success::after {
    content: ' ✓';
}

/* =========================
   TOAST NOTIFICATIONS
   ========================= */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 215, 66, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.toast-success {
    border-color: rgba(40, 167, 69, 0.5);
    color: #28a745;
}

.toast-notification.toast-error {
    border-color: rgba(220, 53, 69, 0.5);
    color: #dc3545;
}

.toast-notification i {
    font-size: 18px;
}

/* =========================
   MODERN TICKETS GRID
   ========================= */
.tickets-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(245, 215, 66, 0.2);
}

.ticket-number-modern {
    background: linear-gradient(135deg, #f5d742, #ffd700);
    color: #000;
    padding: 12px 8px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ticket-number-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.ticket-number-modern:hover::before {
    left: 100%;
}

.ticket-number-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 215, 66, 0.4);
}

.no-tickets-selected {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-tickets-selected i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.no-tickets-selected p {
    margin: 0;
    font-size: 16px;
}

/* =========================
   TIMER ALERT STATES
   ========================= */
.timer-alert-modern.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border-color: rgba(255, 193, 7, 0.5);
    animation: warning-pulse 2s infinite;
}

.timer-alert-modern.urgent {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(255, 107, 107, 0.2));
    border-color: rgba(220, 53, 69, 0.5);
    animation: urgent-pulse 1s infinite;
}

@keyframes warning-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(255, 193, 7, 0.2);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(255, 193, 7, 0.4);
    }
}

@keyframes urgent-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(220, 53, 69, 0.3);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 15px 45px rgba(220, 53, 69, 0.6);
    }
}

.time-warning {
    color: #dc3545 !important;
    font-weight: bold;
    animation: warning-blink 1s infinite;
}

@keyframes warning-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

/* =========================
   TIMER ALERT RESPONSIVE
   ========================= */

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .timer-alert-modern {
        padding: 1rem 1.25rem;
    }
    
    .timer-content {
        gap: 1rem;
    }
    
    .timer-icon {
        font-size: 1.6rem;
    }
    
    .timer-text h4 {
        font-size: 1rem;
    }
    
    .timer-text p {
        font-size: 0.85rem;
    }
    
    #countdown-display-large {
        font-size: 1.6rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .timer-alert-modern {
        padding: 0.8rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .timer-content {
        gap: 0.5rem;
        flex-direction: row;
        align-items: center;
    }
    
    .timer-icon {
        font-size: 1.4rem;
        order: 1;
    }
    
    .timer-text {
        order: 2;
        flex: 1;
        min-width: 0;
    }
    
    .timer-text h4 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    
    .timer-text p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .timer-display {
        order: 3;
        text-align: right;
        flex-shrink: 0;
    }
    
    #countdown-display-large {
        font-size: 1.2rem;
        padding: 0.3rem 0.5rem;
        border-radius: 6px;
    }
}

/* Responsive adjustments for payment methods */
@media (min-width: 768px) and (max-width: 1024px) {
    .payment-methods-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Center Transfiya on tablets when it's the third item */
    .payment-method-modern.transfiya {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .payment-methods-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .payment-method-modern {
        padding: 1.5rem;
    }
}

/* ================================
   FOOTER STYLES
   ================================ */

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff20, transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p i {
    color: #4facfe;
    font-size: 1.1rem;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

/* Footer responsive design */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-section p {
        justify-content: center;
        font-size: 0.95rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer {
        margin-top: 1.5rem;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}