* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.hero-content img {
    max-width: 300px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeInDown 1s;
    /* filter: drop-shadow(0 4px 6px rgba(240, 236, 236, 0.3)); */
}

/* Video Presentación Section */
.video-presentacion-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 20px;
    text-align: center;
}

.video-presentacion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.fb-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    background: #000;
}

.fb-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.info-badge i {
    font-size: 1.3rem;
}

.info-badge span {
    font-weight: 600;
    font-size: 1rem;
}

/* Sorteo Activo */
.sorteo-section {
    max-width: 1200px;
    margin: -50px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.sorteo-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}

.sorteo-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.sorteo-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sorteo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.3);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    margin-top: 10px;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.5);
}

.sorteo-badge i {
    font-size: 1.2rem;
}

.sorteo-body {
    padding: 40px;
}

.sorteo-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-box {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.info-box i {
    font-size: 2.5rem;
    color: #2a5298;
    margin-bottom: 10px;
}

.info-box h3 {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-box p {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

/* Barra de Progreso */
.progress-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-header h3 {
    color: #333;
    font-size: 1.2rem;
    margin: 0;
}

.progress-percentage {
    font-size: 2.5rem;
    font-weight: bold;
    color: #28a745;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar-container {
    width: 100%;
    height: 40px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 20px;
    transition: width 1s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: bold;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.loteria-badge {
    display: inline-flex;
    align-items: center;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.loteria-badge i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Galería de Publicidad */
.publicidad-section {
    margin-bottom: 30px;
}

.publicidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.publicidad-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.publicidad-item:hover {
    transform: scale(1.05);
}

.publicidad-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.publicidad-text {
    background: white;
    padding: 20px;
    text-align: center;
}

.publicidad-text h4 {
    color: #333;
    margin-bottom: 10px;
}

.publicidad-text p {
    color: #666;
    line-height: 1.6;
}

/* Sección de Métodos de Pago */
.metodos-pago-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid #e9ecef;
}

.metodos-pago-section h3 {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.metodos-pago-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.metodo-pago-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.metodo-pago-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.banco-logo {
    font-size: 3rem;
    margin-bottom: 15px;
}

.banco-nombre {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.banco-pichincha {
    color: #FFD700;
}

.banco-guayaquil {
    color: #0066CC;
}

.datos-cuenta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: left;
}

.datos-cuenta p {
    margin: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.datos-cuenta strong {
    color: #333;
}

.qr-container {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 10px;
}

.qr-container img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 10px;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.instrucciones-pago {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #2196F3;
}

.instrucciones-pago h4 {
    color: #1976D2;
    margin-bottom: 10px;
}

.instrucciones-pago ol {
    margin-left: 20px;
    color: #555;
}

.instrucciones-pago li {
    margin: 8px 0;
}

.sorteo-description {
    background: #fff3cd;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #ffc107;
    margin-bottom: 30px;
}

.sorteo-description h3 {
    color: #856404;
    margin-bottom: 10px;
}

.btn-comprar {
    display: block;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-comprar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.6);
}

.btn-comprar i {
    margin-right: 10px;
}

/* Pasos a Seguir */
.pasos-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #2a5298 0%, #7e22ce 100%);
    margin: 20px auto;
    border-radius: 2px;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.paso-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.paso-card:hover {
    transform: translateY(-10px);
}

.paso-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2a5298 0%, #7e22ce 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.paso-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.paso-card p {
    color: #666;
    line-height: 1.6;
}

/* FAQs */
.faq-section {
    padding: 80px 20px;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    color: #2a5298;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Sistema de Sorteo Transparente */
.sistema-sorteo-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.sistema-sorteo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.sistema-sorteo-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.sistema-icon {
    text-align: center;
    margin-bottom: 25px;
}

.sistema-icon i {
    font-size: 5rem;
    color: #28a745;
    animation: pulse 2s infinite;
}

.sistema-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sistema-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.sistema-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #667eea;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.feature-content h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.sistema-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-participar {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-participar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-participar:hover::before {
    width: 400px;
    height: 400px;
}

.btn-participar:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6);
}

.btn-participar i {
    position: relative;
    z-index: 1;
}

.btn-participar span {
    position: relative;
    z-index: 1;
}

/* Diagrama de Transparencia del Proceso */
.transparencia-diagram-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 20px;
}

.diagram-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-flow {
    max-width: 900px;
    margin: 0 auto 60px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 5px solid #2a5298;
    position: relative;
}

.flow-step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.flow-step.flow-highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 5px solid #28a745;
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.2);
}

.flow-step.flow-highlight:hover {
    transform: scale(1.03);
}

.step-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2a5298 0%, #7e22ce 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
}

.flow-highlight .step-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(40, 167, 69, 0.7);
    }
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-badges-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-blue {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.badge-green {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
}

.badge-purple {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
    color: white;
}

.badge-orange {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.badge-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
}

.flow-arrow {
    text-align: center;
    margin: 20px 0;
}

.flow-arrow i {
    font-size: 2.5rem;
    color: #2a5298;
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.transparency-certificates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-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;
    border-top: 4px solid #28a745;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.cert-card h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cert-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Redes Sociales */
.social-section {
    background: #333;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #2a5298;
    transform: scale(1.1);
}

/* Botón WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    text-decoration: none;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #222;
    color: #999;
    padding: 30px 20px;
    text-align: center;
}

.footer p {
    margin: 10px 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
}

/* Estilos Mejorados para Sección del Sorteo */
.sorteo-description-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #2196F3;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.sorteo-description-box i {
    font-size: 1.8rem;
    color: #1976D2;
    margin-top: 3px;
}

.sorteo-description-box div {
    color: #1565C0;
    line-height: 1.6;
}

.info-box.highlight {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    border: none;
    transform: scale(1.05);
}

.info-box.highlight i {
    color: #FFD700;
}

.info-box.highlight h3 {
    color: rgba(255,255,255,0.9);
}

.info-box.highlight p {
    color: white;
}

.info-box .price {
    font-size: 2.5rem;
    color: #FFD700;
    font-weight: bold;
}

.progress-bar .progress-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.loteria-alert {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #28a745;
    margin-bottom: 30px;
}

.alert-icon {
    font-size: 2.5rem;
    color: #28a745;
}

.alert-content h4 {
    color: #155724;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.alert-content p {
    color: #155724;
    line-height: 1.6;
    margin: 0;
}

.video-promocional-section {
    margin-bottom: 30px;
}

.video-promocional-section h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.video-promocional-section h3 i {
    color: #dc3545;
    margin-right: 10px;
}

.premios-sorteo-section {
    margin-bottom: 30px;
}

.premios-sorteo-section h3 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.premios-sorteo-section h3 i {
    color: #FFD700;
    margin-right: 10px;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.premio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.premio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: #FFD700;
}

.premio-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.premio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.premio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.premio-item:hover .premio-image img {
    transform: scale(1.1);
}

.premio-description {
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.premio-description h4 {
    color: #2a5298;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.compra-section {
    text-align: center;
    margin-top: 40px;
}

.btn-comprar {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-comprar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-comprar:hover::before {
    width: 400px;
    height: 400px;
}

.btn-comprar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.6);
}

.btn-comprar span {
    position: relative;
    z-index: 1;
}

.btn-comprar i {
    position: relative;
    z-index: 1;
}

.compra-info {
    margin-top: 20px;
    color: #666;
    font-size: 1rem;
}

.compra-info i {
    color: #28a745;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .sorteo-header h2 {
        font-size: 1.8rem;
    }
    
    .sorteo-info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box.highlight {
        transform: scale(1);
    }
    
    .loteria-alert {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-icon {
        font-size: 3rem;
    }
    
    .premios-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-comprar {
        font-size: 1.2rem;
        padding: 18px 30px;
        width: 100%;
    }
    
    .video-presentacion-section {
        padding: 50px 15px;
    }
    
    .video-info {
        gap: 15px;
    }
    
    .info-badge {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .info-badge i {
        font-size: 1.1rem;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .sorteo-description-box {
        flex-direction: column;
        text-align: center;
    }
    
    .compra-info {
        font-size: 0.9rem;
    }

    /* Diagrama Transparencia Responsive */
    .transparencia-diagram-section {
        padding: 50px 15px;
    }

    .diagram-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .flow-step:hover {
        transform: translateY(-5px);
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin: 0 auto;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .step-badges-row {
        justify-content: center;
    }

    .flow-arrow i {
        font-size: 2rem;
    }

    .transparency-certificates {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-card {
        padding: 25px 20px;
    }

    .cert-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .cert-card h4 {
        font-size: 1.1rem;
    }

    /* Sistema Sorteo Responsive */
    .sistema-sorteo-section {
        padding: 60px 15px;
    }

    .sistema-sorteo-card {
        padding: 40px 25px;
    }

    .sistema-title {
        font-size: 1.8rem;
    }

    .sistema-subtitle {
        font-size: 1rem;
    }

    .sistema-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-item:hover {
        transform: translateY(-5px);
    }

    .btn-participar {
        font-size: 1.2rem;
        padding: 18px 30px;
        width: 100%;
    }

    .sistema-icon i {
        font-size: 3.5rem;
    }
}
