/* =====================================================
   TABLA DE CONTENIDO
   =====================================================
   1. RESET Y VARIABLES
   2. CONTENEDORES
   3. NAVBAR (Desktop + Mobile Fix)
   4. HERO
   5. BOTONES
   6. NÚMEROS DE LOTERÍA
   7. SECCIONES INFORMATIVAS
   8. ESTADÍSTICAS ANIMADAS
   9. TIMELINE DE PROCESO
   10. TESTIMONIOS
   11. FAQs
   12. CARRUSEL
   13. PÁGINA JUGAR
   14. PÁGINA RESULTADOS
   15. PÁGINA RECLAMAR
   16. PÁGINA CONTACTO
   17. FOOTER
   18. RESPONSIVE
===================================================== */

/* ====================== 1. RESET Y VARIABLES ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e31e24;
    --secondary: #fdb913;
    --tertiary: #003da5;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====================== 2. CONTENEDORES ====================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================== 3. NAVBAR (Desktop + Mobile ARREGLADO) ====================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    color: var(--dark);
}

.nav-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.08) rotate(5deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(227,30,36,0.1);
}

/* Botones de autenticación */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-login {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(227,30,36,0.3);
}

.btn-login:hover {
    background: #c11a1f;
    transform: translateY(-2px);
}

.btn-dashboard {
    background: var(--tertiary);
    color: white;
    box-shadow: 0 4px 12px rgba(0,61,165,0.3);
}

.btn-dashboard:hover {
    background: #002d7a;
    transform: translateY(-2px);
}

.btn-logout {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(253,185,19,0.3);
}

.btn-logout:hover {
    background: #e5a610;
    transform: translateY(-2px);
}

/* Hamburger menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 30px;
    height: 4px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ====================== 4. HERO ====================== */
.hero {
    position: relative;
    height: calc(100vh - 70px);
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 650px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227,30,36,0.78), rgba(0,61,165,0.70));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
}

.hero-logo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-title {
    font-size: 6.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 4px 4px 15px rgba(0,0,0,0.6);
    background: linear-gradient(45deg, #fff, #fdb913, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

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

.hero-slogan {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 2.1rem;
    font-weight: 900;
    background: #fdb913;
    color: #1a1a1a;
    padding: 18px 55px;
    border-radius: 50px;
    display: inline-block;
    margin: 20px 0 30px;
    box-shadow: 0 12px 35px rgba(253,185,19,0.6);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 12px 35px rgba(253,185,19,0.6);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 15px 40px rgba(253,185,19,0.7);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====================== 5. BOTONES ====================== */
.btn {
    display: inline-block;
    padding: 24px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-tertiary {
    background: var(--tertiary);
    color: white;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.btn-large {
    padding: 28px 70px;
    font-size: 1.6rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* ====================== 6. NÚMEROS DE LOTERÍA ====================== */
.numero,
.numero-elegido,
.num-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    color: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Números principales - AMARILLOS */
.numero:not(.super-balota),
.numero-elegido:not(.super-balota),
.num-small:not(.super-balota) {
    background: linear-gradient(135deg, #fdb913, #f5a500);
}

/* Súper Balota - ROJO */
.numero.super-balota,
.numero-elegido.super-balota,
.num-small.super-balota {
    background: linear-gradient(135deg, #e31e24, #c11a1f) !important;
}

.numero {
    width: 75px;
    height: 75px;
    font-size: 1.8rem;
    margin: 8px;
}

.numero-elegido {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
    margin: 6px;
}

.num-small {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    margin: 3px;
}

/* ====================== 7. SECCIONES INFORMATIVAS ====================== */
.trust-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.trust-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

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

.trust-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.trust-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.trust-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* ====================== 8. ESTADÍSTICAS ANIMADAS ====================== */
.stats-live-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a3a5c, #2457a0);
    color: white;
}

.stats-live-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.stats-grid-live {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card-live {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 20px; /* ← Reducido padding horizontal */
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s;
    overflow: hidden; /* ← AGREGADO: evita desbordamiento */
}

.stat-card-live:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.stat-number {
    font-size: 2.6rem; /* ← Reducido de 3rem a 2.6rem */
    font-weight: 900;
    color: #fdb913;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    word-break: break-all; /* ← AGREGADO: rompe números largos */
    line-height: 1.1; /* ← AGREGADO: compacta altura */
    padding: 0 10px; /* ← AGREGADO: espacio interno */
}

.stat-number-simple {
    font-size: 2.8rem; /* ← Reducido de 3rem a 2.8rem */
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    word-break: break-all; /* ← AGREGADO */
    line-height: 1.1; /* ← AGREGADO */
    padding: 0 10px; /* ← AGREGADO */
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 10px; /* ← AGREGADO: espacio interno */
}

.stat-pulse {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(74, 222, 128, 0);
    }
}

/* RESPONSIVE STATS */
@media (max-width: 768px) {
    .stats-grid-live {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* ← Más pequeño en mobile */
        gap: 20px;
    }

    .stat-card-live {
        padding: 30px 15px; /* ← Menos padding en mobile */
    }

    .stat-number {
        font-size: 2rem; /* ← Más pequeño en mobile */
    }

    .stat-number-simple {
        font-size: 2.2rem; /* ← Más pequeño en mobile */
    }

    .stat-icon {
        font-size: 2.8rem; /* ← Más pequeño en mobile */
    }

    .stat-label {
        font-size: 0.95rem; /* ← Más pequeño en mobile */
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 1.7rem; /* ← Aún más pequeño en móviles pequeños */
    }

    .stat-number-simple {
        font-size: 1.9rem;
    }
}
/* ====================== 9. TIMELINE DE PROCESO ====================== */
.process-section {
    padding: 100px 20px;
    background: white;
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--tertiary));
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e31e24, #c11a1f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(227,30,36,0.4);
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    margin: 0 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #e31e24;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
}

.timeline-icon {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 3rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

/* ====================== 10. TESTIMONIOS ====================== */
.testimonials-pro-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.testimonials-pro-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-pro {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.testimonial-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #e31e24;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e31e24, #003da5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.location,
.date {
    font-size: 0.85rem;
    color: #666;
}

.prize-badge {
    background: linear-gradient(135deg, #fdb913, #e5a610);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(253,185,19,0.4);
}

.testimonial-body {
    margin-bottom: 20px;
}

.stars {
    color: #fdb913;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-body p {
    line-height: 1.7;
    color: #333;
    font-size: 0.95rem;
}

.verified-badge {
    background: #d4edda;
    color: #155724;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* ====================== 11. FAQs ====================== */
.faq-section {
    padding: 100px 20px;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #e31e24;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0;
}

.faq-toggle {
    width: 35px;
    height: 35px;
    background: #e31e24;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    line-height: 1.7;
    color: #555;
}

/* ====================== 12. CARRUSEL ====================== */
.carousel-section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    background: #f8f9fa;
}

.carousel-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.carousel-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.18);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    color: white;
    padding: 70px 40px 40px;
    text-align: center;
    z-index: 4;
}

.carousel-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: var(--secondary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    font-size: 2.4rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: all 0.3s;
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn span {
    color: var(--dark);
    line-height: 1;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: var(--primary);
    width: 45px;
    border-radius: 20px;
}

/* ====================== 13. PÁGINA JUGAR ====================== */
.jugar-section {
    padding: 120px 20px 100px;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    min-height: 100vh;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.85rem;
    margin: 45px 0 25px;
    color: var(--dark);
}

.super-title {
    color: #e31e24;
}

.numeros-grid,
.super-balota-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}

.numero-btn {
    position: relative;
    cursor: pointer;
}

.numero-btn input {
    display: none;
}

.numero-btn span {
    display: block;
    width: 72px;
    height: 72px;
    line-height: 72px;
    text-align: center;
    font-size: 1.65rem;
    font-weight: 700;
    border-radius: 50%;
    background: #f0f0f0;
    border: 3px solid #ddd;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.numero-btn input:checked + span {
    background: linear-gradient(135deg, #fdb913, #f5a500);
    border-color: #e5a610;
    color: #000;
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(253,185,19,0.4);
}

.super-balota input:checked + span {
    background: linear-gradient(135deg, #e31e24, #c11a1f) !important;
    color: white;
    border-color: #b0181f;
    box-shadow: 0 8px 20px rgba(227,30,36,0.5);
}

.numeros-seleccionados {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.numeros-elegidos {
    margin-top: 15px;
    min-height: 80px;
}

/* ====================== 14. PÁGINA RESULTADOS ====================== */
.resultados-section {
    padding: 120px 20px 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.sorteo-proximo {
    background: linear-gradient(135deg, #e31e24, #c11a1f);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(227,30,36,0.3);
}

.sorteo-proximo h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 20px 30px;
    border-radius: 15px;
    min-width: 100px;
}

.countdown-item span {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: #fdb913;
}

.countdown-item label {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sorteo-actual {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.sorteo-actual h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.numeros-ganadores {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.tabla-resultados {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-collapse: collapse;
}

.tabla-resultados thead {
    background: var(--tertiary);
    color: white;
}

.tabla-resultados th,
.tabla-resultados td {
    padding: 15px;
    text-align: center;
}

.tabla-resultados tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.numeros-celda {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.info-legal {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border-left: 5px solid var(--primary);
}

.info-legal h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.info-legal p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ====================== 15. PÁGINA RECLAMAR ====================== */
.reclamar-section {
    padding: 120px 20px 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.whatsapp-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 35px rgba(37,211,102,0.3);
}

.whatsapp-icon {
    font-size: 4.5rem;
    margin-bottom: 15px;
}

.whatsapp-number {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 15px;
}

.btn-whatsapp {
    display: inline-block;
    background: white;
    color: #25D366;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}

.form-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
    color: #666;
}

.form-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: -1;
}

.form-divider span {
    background: #f8f9fa;
    padding: 0 20px;
}

.reclamacion-form {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(227,30,36,0.1);
}

.proceso-reclamacion {
    background: #fff9e6;
    padding: 40px;
    border-radius: 16px;
    border-left: 6px solid #fdb913;
    margin-top: 40px;
}

.proceso-reclamacion h3 {
    color: #d97706;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.proceso-reclamacion ol {
    counter-reset: step;
    list-style: none;
}

.proceso-reclamacion li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

.proceso-reclamacion li:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.info-box {
    background: #e8f4f8;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    text-align: center;
}

.info-box h3 {
    color: var(--tertiary);
    margin-bottom: 15px;
}

/* ====================== 16. PÁGINA CONTACTO ====================== */
.contacto-section {
    padding: 120px 20px 80px;
    background: #f8f9fa;
}

.map-section {
    margin-bottom: 70px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-bottom: 40px;
}

.map-container iframe {
    width: 100%;
    height: 480px;
    border: none;
}

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

.contact-card {
    background: white;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 1.45rem;
    font-weight: 700;
}

.contact-card p {
    margin-bottom: 8px;
    color: #444;
    line-height: 1.5;
}

.contact-icon {
    font-size: 3.2rem;
    margin-bottom: 20px;
    display: block;
}

/* ====================== 17. FOOTER ====================== */
.footer {
    background: #111;
    color: #ccc;
    padding: 70px 0 30px;
    margin-top: 80px;
}

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

.footer-col h3,
.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-col p {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #888;
}

.footer-legal {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #888;
}

.small {
    font-size: 0.82rem;
    line-height: 1.5;
}

.responsible {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* ====================== 18. RESPONSIVE ====================== */
@media (max-width: 768px) {
    /* NAVBAR MOBILE ARREGLADO */
    .navbar {
        padding: 8px 0;
    }

    .nav-container {
        padding: 0 15px;
        position: relative;
    }

    .nav-logo a {
        font-size: 18px;
        gap: 8px;
    }

    .nav-logo img {
        height: 42px;
        width: 42px;
        border-width: 2px;
    }

    /* MENU MOBILE */
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 9998;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 0;
    }

    /* BOTONES AUTH MOBILE - DENTRO DEL NAVBAR */
    .nav-auth {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        border-top: 2px solid #f0f0f0;
        margin-top: 15px;
        width: 100%;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* HAMBURGER VISIBLE */
    .nav-hamburger {
        display: flex;
        position: relative;
        z-index: 10001;
    }

    /* HERO MOBILE */
    .hero {
        margin-top: 65px;
        height: auto;
        min-height: calc(100vh - 65px);
        padding: 40px 20px 60px;
    }

    .hero-content {
        transform: none;
        padding-top: 20px;
    }

    .hero-logo img {
        width: 150px;
        height: 150px;
    }

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

    .hero-slogan {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        padding: 12px 25px;
    }

    .btn {
        padding: 18px 40px;
        font-size: 1.2rem;
    }

    /* FORMULARIOS */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* NÚMEROS JUGAR */
    .numeros-grid,
    .super-balota-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 10px;
    }

    .numero-btn span {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.4rem;
    }

    /* CARRUSEL */
    .carousel-slide img {
        height: 350px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    /* TIMELINE */
    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .timeline-content {
        margin-left: 20px;
        margin-right: 0 !important;
    }

    /* TESTIMONIOS */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* COUNTDOWN */
    .countdown-item {
        padding: 15px 20px;
        min-width: 80px;
    }

    .countdown-item span {
        font-size: 2.5rem;
    }
}

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

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .carousel-slide img {
        height: 280px;
    }

    .btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
}