:root {
    --color-primary: #2a5298;
    --color-primary-dark: #1e3c72;
    --color-secondary: #7e22ce;
    --color-success: #28a745;
    --color-success-light: #20c997;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-purple: #667eea;
    --color-purple-dark: #764ba2;
    --color-gold: #FFD700;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-600: #666;
    --color-gray-700: #555;
    --color-gray-900: #333;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --border-radius-sm: 10px;
    --border-radius-md: 15px;
    --border-radius-lg: 20px;
    --border-radius-xl: 25px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    padding-top: 70px;
}

html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 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: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-emoji {
    font-size: clamp(2rem, 8vw, 4rem);
    display: block;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.hero-content img {
    max-width: 300px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeInDown 1s;
}

/* Video Presentación Section */
.video-presentacion-section {
    background: linear-gradient(180deg, var(--color-gray-100) 0%, #ffffff 100%);
    padding: 80px 20px;
    text-align: center;
}

.video-presentacion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.fb-video-container,
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    background: #000;
}

.fb-video-container {
    margin-bottom: 30px;
}

.fb-video-container iframe,
.video-wrapper iframe {
    position: absolute;
    inset: 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, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
}

.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: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.sorteo-header {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.sorteo-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sorteo-badge,
.loteria-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

.sorteo-badge {
    background: rgba(255,255,255,0.3);
    margin-top: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.5);
}

.loteria-badge {
    background: var(--color-success);
    color: white;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.sorteo-badge i,
.loteria-badge i {
    font-size: 1.2rem;
}

.loteria-badge i {
    margin-right: 8px;
}

.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: var(--color-gray-100);
    border-radius: var(--border-radius-md);
    border: 2px solid var(--color-gray-200);
    transition: var(--transition);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.info-box h3 {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-box p {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-gray-900);
}

/* Barra de Progreso */
.progress-section {
    background: var(--color-gray-100);
    padding: 25px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-header h3 {
    color: var(--color-gray-900);
    font-size: 1.2rem;
    margin: 0;
}

.progress-percentage {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-success);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar-container {
    width: 100%;
    height: 40px;
    background: var(--color-gray-200);
    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, var(--color-success) 0%, var(--color-success-light) 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;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-bar .progress-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.info-box.highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    transform: scale(1.05);
}

.info-box.highlight i {
    color: var(--color-gold);
}

.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: var(--color-gold);
    font-weight: bold;
}

@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: var(--color-gray-600);
}

.step-badges-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Galería de Publicidad */
.publicidad-section,
.video-promocional-section,
.premios-sorteo-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: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.publicidad-item:hover {
    transform: scale(1.05);
}

.publicidad-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.publicidad-text {
    background: white;
    padding: 20px;
    text-align: center;
}

.publicidad-text h4 {
    color: var(--color-gray-900);
    margin-bottom: 10px;
}

.publicidad-text p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Sección de Métodos de Pago */
.metodos-pago-section {
    background: var(--color-gray-100);
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    border: 2px solid var(--color-gray-200);
}

.metodos-pago-section h3 {
    color: var(--color-gray-900);
    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: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.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: var(--color-gray-900);
    margin-bottom: 20px;
}

.banco-pichincha {
    color: var(--color-gold);
}

.banco-guayaquil {
    color: #0066CC;
}

.datos-cuenta {
    background: var(--color-gray-100);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    text-align: left;
}

.datos-cuenta p {
    margin: 8px 0;
    color: var(--color-gray-700);
    font-size: 0.95rem;
}

.datos-cuenta strong {
    color: var(--color-gray-900);
}

.qr-container {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: var(--border-radius-sm);
}

.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: var(--border-radius-sm);
    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;
}

/* Descripciones y Alerts */
.sorteo-description,
.sorteo-description-box,
.loteria-alert,
.instrucciones-pago {
    padding: 25px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.sorteo-description {
    background: #fff3cd;
    border-left: 5px solid var(--color-warning);
}

.sorteo-description h3 {
    color: #856404;
    margin-bottom: 10px;
}

.sorteo-description-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 5px solid #2196F3;
}

.sorteo-description-box i {
    font-size: 1.8rem;
    color: #1976D2;
    margin-top: 3px;
}

.sorteo-description-box div {
    color: #1565C0;
    line-height: 1.6;
}

.loteria-alert {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid var(--color-success);
}

.alert-icon {
    font-size: 2.5rem;
    color: var(--color-success);
}

.alert-content h4 {
    color: #155724;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.alert-content p {
    color: #155724;
    line-height: 1.6;
    margin: 0;
}

.instrucciones-pago {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
}

.instrucciones-pago h4 {
    color: #1976D2;
    margin-bottom: 10px;
}

.instrucciones-pago ol {
    margin-left: 20px;
    color: var(--color-gray-700);
}

.instrucciones-pago li {
    margin: 8px 0;
}

/* Pasos a Seguir */
.pasos-section {
    background: var(--color-gray-100);
    padding: 80px 20px;
}

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

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

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-gray-900);
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    margin: 20px auto;
    border-radius: 2px;
}

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

.paso-card,
.faq-item,
.metodo-pago-card,
.cert-card {
    transition: var(--transition);
}

.paso-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
}

.paso-card:hover {
    transform: translateY(-10px);
}

.paso-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 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: var(--color-gray-900);
    margin-bottom: 15px;
}

.paso-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

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

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

.faq-item {
    background: var(--color-gray-100);
    margin-bottom: 15px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--color-gray-200);
}

.faq-question i {
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.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, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.sistema-sorteo-section::before {
    content: '';
    position: absolute;
    inset: 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: var(--border-radius-xl);
    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: var(--color-success);
    animation: pulse 2s infinite;
}

.sistema-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-gray-900);
    margin-bottom: 15px;
    line-height: 1.3;
}

.sistema-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-gray-600);
    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, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--color-purple);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

/* Botones principales */
.btn-comprar,
.btn-participar {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-comprar {
    background: linear-gradient(135deg, var(--color-danger) 0%, #c82333 100%);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.btn-participar {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-comprar::before,
.btn-participar::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,
.btn-participar:hover::before {
    width: 400px;
    height: 400px;
}

.btn-comprar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.6);
}

.btn-participar:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6);
}

.btn-comprar span,
.btn-comprar i,
.btn-participar span,
.btn-participar i {
    position: relative;
    z-index: 1;
}

/* Diagrama de Transparencia del Proceso */
.transparencia-diagram-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--color-gray-100) 100%);
    padding: 80px 20px;
}

.diagram-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-gray-600);
    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: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-left: 5px solid var(--color-primary);
    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 var(--color-success);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.2);
}

.flow-step.flow-highlight:hover {
    transform: scale(1.03);
}

.step-icon,
.feature-icon,
.cert-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.step-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
}

.flow-highlight .step-icon {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    animation: pulse-green 2s infinite;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    font-size: 1.8rem;
}

.cert-icon {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    margin: 0 auto 20px;
}

.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;
}

/* Badges Comunes */
.step-badge,
.badge-blue,
.badge-green,
.badge-purple,
.badge-orange,
.badge-success,
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.badge-blue {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.badge-green {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.badge-purple {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.badge-orange {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.badge-success {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
}

.badge-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, #FFA500 100%);
    color: var(--color-gray-900);
}

.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: var(--color-gray-900);
    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: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    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 fadeInUp {
    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 bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
        opacity: 1;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@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);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* 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 h3,
.premios-sorteo-section h3 {
    text-align: center;
    color: var(--color-gray-900);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.premios-sorteo-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.video-promocional-section h3 i {
    color: var(--color-danger);
    margin-right: 10px;
}

.premios-sorteo-section h3 i {
    color: var(--color-gold);
    margin-right: 10px;
}

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

.premio-item {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 3px solid transparent;
}

.premio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: var(--color-gold);
}

.premio-badge {
    background: linear-gradient(135deg, var(--color-gold) 0%, #FFA500 100%);
    color: var(--color-gray-900);
    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, var(--color-gray-100) 0%, #ffffff 100%);
}

.premio-description h4 {
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.compra-section {
    text-align: center;
    margin-top: 40px;
}

.sistema-cta {
    text-align: center;
    margin-top: 40px;
}

.compra-info {
    margin-top: 20px;
    color: var(--color-gray-600);
    font-size: 1rem;
}

.compra-info i {
    color: var(--color-success);
    margin: 0 5px;
}

/* Control de visibilidad de banners según dispositivo */
.banner-desktop {
    display: block !important;
}

.banner-movil {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    /* Control de visibilidad de banners según dispositivo */
    .banner-desktop {
        display: none !important;
    }
    
    .banner-movil {
        display: block !important;
    }
    
    .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;
    }
}
/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    transition: var(--transition);
}

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

.nav-logo img {
    height: 45px;
    width: auto;
    max-width: 150px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 12px 25px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.nav-link.nav-cta:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.nav-toggle:hover {
    transform: scale(1.1);
}
        
        /* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero-content img {
        max-width: 200px !important;
    }
    
    .hero h1,
    .sistema-title {
        font-size: 2rem;
    }
    
    .sorteo-header h2 {
        font-size: 1.8rem;
    }
    
    .sorteo-info-grid,
    .premios-grid,
    .transparency-certificates {
        grid-template-columns: 1fr;
    }
    
    .info-box.highlight {
        transform: scale(1);
    }
    
    .loteria-alert,
    .sorteo-description-box {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-icon {
        font-size: 3rem;
    }
    
    .btn-comprar,
    .btn-participar {
        font-size: 1.2rem;
        padding: 18px 30px;
        width: 100%;
    }
    
    .video-presentacion-section,
    .transparencia-diagram-section,
    .sistema-sorteo-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;
    }
    
    .compra-info {
        font-size: 0.9rem;
    }

    .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;
    }

    .cert-card {
        padding: 25px 20px;
    }

    .cert-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .cert-card h4 {
        font-size: 1.1rem;
    }

    .sistema-sorteo-card {
        padding: 40px 25px;
    }

    .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);
    }

    .sistema-icon i {
        font-size: 3.5rem;
    }
    
    /* Banner Section Mobile */
    .banner-section {
        padding: 30px 10px !important;
    }
    
    .banner-section img {
        border-radius: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .banner-section .container {
        padding: 0 5px !important;
    }
    
    /* Navbar Mobile */
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 10px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .nav-link.nav-cta {
        margin-top: 10px;
        justify-content: center;
    }
    
    .nav-logo span {
        font-size: 1.1rem;
    }
    
    .nav-logo img {
        height: 35px;
        max-width: 120px;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
}
