:root {
    --primary: #FF6D1B;
    --primary-dark: #E55A0B;
    --primary-light: #FF8A4F;
    --secondary: #0a0a0a;
    --success: #5bff89;
    --error: #ff6565;
    --background: #ffffff;
    --surface: #ffffff;
    --text-primary: #0a0a0a;
    --text-secondary: rgba(0,0,0,0.6);
    --border: #e5e5e5;
    --shadow: rgba(0, 0, 0, 0.08);
    --muted: #f5f5f5;
    --card: #ffffff;
    --radius: 0.5rem;
    --radius-lg: 8px;
    --radius-xl: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: flex-end;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-crear-rifa {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-crear-rifa:hover {
    background: var(--primary-dark);
}

/* Carrusel */
.carousel-section {
    width: 100%;
    background: #f0f0f0;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: none;
    background: linear-gradient(135deg, #FF6D1B 0%, #ff5500 100%);
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6D1B 0%, #ff5500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-slide-placeholder img {
    max-width: 300px;
    max-height: 200px;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    z-index: 2;
}

.carousel-slide-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-image: url('assets/images/Logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

/* Hero Overlay */
.hero-overlay {
    display: none;
}

.hero-content {
    display: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: white;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 24px;
    max-width: 500px;
    line-height: 1.6;
    color: white;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
    background: white;
    width: 12px;
    height: 12px;
    border-color: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.carousel-btn {
    display: none;
}

/* Stats Card */
.stats-card {
    max-width: 800px;
    margin: -40px auto 0;
    position: relative;
    z-index: 5;
    background: white;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 4px 12px var(--shadow);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 350px;
    }
    
    .hero-overlay {
        padding: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .stats-card {
        flex-direction: column;
        gap: 20px;
        margin-top: -30px;
        padding: 24px;
    }

    .stat-divider {
        display: none;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .carousel-logo {
        max-width: 180px;
        max-height: 120px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How Works Section */
.how-works-section {
    padding: 80px 20px;
    background: var(--muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-dark {
    background: var(--surface);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* Ganadores Grid */
.ganadores-section {
    padding: 80px 20px;
    background: white;
}

.ganadores-header {
    text-align: center;
    margin-bottom: 40px;
}

.ganadores-tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.ganadores-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.calendar-container {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.date-picker {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.tab-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.ganadores-grid-compacto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.ganadores-carrusel-container {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.ganadores-carrusel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.ganadores-carrusel::-webkit-scrollbar {
    height: 4px;
}

.ganadores-carrusel::-webkit-scrollbar-track {
    background: transparent;
}

.ganadores-carrusel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.ganadores-carrusel-item {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 280px;
    background: #fff7ef;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ganadores-carrusel-item:hover {
    box-shadow: 0 2px 8px var(--shadow);
    transform: translateY(-2px);
}

.ganadores-carrusel-item-nombre {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.ganadores-carrusel-item-numero {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.ganadores-carrusel-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    gap: 8px;
}

.ganadores-carrusel-item-estado {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    color: var(--text-secondary);
}

.ganadores-carrusel-item-boton {
    padding: 8px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.ganadores-carrusel-item-boton:hover {
    background: var(--primary-dark);
}

.ganadores-calendario-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 250px;
}

.ganadores-calendario-titulo {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ganadores-calendar-input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.ganador-card-compacto {
    background: #fff7ef;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.ganador-card-compacto:hover {
    box-shadow: 0 2px 8px var(--shadow);
    transform: translateY(-2px);
}

.ganador-compacto-nombre {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.ganador-compacto-numero {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.ganador-compacto-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    gap: 8px;
}

.ganador-compacto-estado {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    color: var(--text-secondary);
    background: transparent;
    padding: 0;
}

.estado-label {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    padding: 4px 8px;
}

.ganador-compacto-boton {
    padding: 8px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.ganador-compacto-boton:hover {
    background: var(--primary-dark);
}

.ganador-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.ganador-content {
    padding: 24px;
}

.ganador-titulo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ganador-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ganador-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ganador-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.ganador-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.ganador-numero {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
}

.ganador-numero-label {
    font-size: 12px;
    opacity: 0.9;
    display: block;
}

.ganador-numero-value {
    font-size: 32px;
    font-weight: 700;
    display: block;
}

/* Verificación Card */
.verificacion-section {
    padding: 80px 20px;
    background: var(--background);
}

.verificacion-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.verificacion-left,
.verificacion-right {
    display: flex;
    flex-direction: column;
}

.verificacion-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.verificacion-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.verificacion-form-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.input-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.input-field {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 109, 27, 0.3);
}

.btn-copy {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: var(--background);
    color: var(--primary);
}

/* Resultado Container */
.resultado-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 24px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.result-placeholder {
    color: var(--text-secondary);
    font-size: 14px;
}

.resultado-container {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.resultado-header {
    margin-bottom: 24px;
}

.resultado-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.info-card {
    background: var(--muted);
    padding: 16px;
    border-radius: 8px;
}

.info-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.info-value.highlight {
    color: var(--primary);
    font-size: 24px;
}

/* Verificación Criptográfica */
.verificacion-crypto {
    background: #FFF5F0;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.crypto-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.crypto-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.crypto-data {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crypto-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

/* Estilos para Sistema Provably Fair - Pasos de verificación */
.paso-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.paso-numero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.paso-status {
    min-height: 20px;
    transition: all 0.3s ease;
}

.commitment-verification {
    font-family: 'Courier New', monospace;
}

.crypto-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.crypto-value-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: auto;
    max-height: 60px;
}

.crypto-value-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-primary);
    word-break: break-all;
}

.algorithm-explanation {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-top: 16px;
}

.algorithm-explanation code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

/* Verification Steps */
.verification-steps {
    margin-top: 24px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.steps-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.steps-list {
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.steps-list li {
    margin-bottom: 8px;
}

/* Verification Badge */
.verification-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--success);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    margin-top: 24px;
    font-weight: 600;
}

.badge-icon {
    stroke-width: 2.5;
}

/* Error Message */
.error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFF5F5;
    border: 2px solid var(--error);
    color: var(--error);
    padding: 16px 24px;
    border-radius: 8px;
    margin-top: 24px;
    font-weight: 600;
}

/* Loading */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 18px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-subtext {
    font-size: 12px;
    opacity: 0.7;
}

/* Explicación del Sistema */
.explicacion-sistema {
    max-width: 1000px;
    margin: 0 auto 60px;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px var(--shadow);
}

.explicacion-titulo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.explicacion-texto {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Pasos de Verificación */
.pasos-verificacion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.paso-card {
    background: var(--background);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.paso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow);
}

.paso-numero {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.paso-content {
    flex: 1;
}

.paso-titulo {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.paso-descripcion {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.formula-inline {
    display: inline-block;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
    font-weight: 600;
    margin: 4px 0;
}

/* Verificación Card - Títulos */
.verificacion-titulo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.verificacion-descripcion {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Ejemplo de Verificación */
.ejemplo-verificacion {
    background: #F0F9FF;
    border-left: 4px solid var(--secondary);
    padding: 20px;
    border-radius: 8px;
    margin-top: 24px;
}

.ejemplo-verificacion h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.ejemplo-verificacion ul {
    list-style: none;
    padding: 0;
}

.ejemplo-verificacion li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.ejemplo-verificacion li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* Modal - Como Se Eligio */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-grande {
    max-width: 1200px;
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body-dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: start;
}

.modal-columna-rifa {
    display: flex;
    flex-direction: column;
}

.modal-card-completa {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-card-imagen {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-card-contenido {
    padding: 24px;
}

.modal-card-titulo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.modal-card-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-card-info-item {
    display: flex;
    flex-direction: column;
}

.modal-card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.modal-card-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-card-numero {
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.modal-card-numero-label {
    font-size: 12px;
    opacity: 0.9;
    display: block;
    margin-bottom: 8px;
}

.modal-card-numero-value {
    font-size: 40px;
    font-weight: 700;
    display: block;
}

.modal-columna-verificador {
    display: flex;
    flex-direction: column;
    background: var(--muted);
    padding: 24px;
    border-radius: 12px;
    height: fit-content;
}

.verificador-titulo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.verificador-campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.verificador-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.verificador-input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    background: white;
    color: var(--text-primary);
    font-family: monospace;
    word-break: break-all;
    min-height: 40px;
}

.verificador-input:disabled,
.verificador-input[readonly] {
    background: white;
    cursor: not-allowed;
    opacity: 1;
}

.verificador-resultado {
    margin-top: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    font-size: 13px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .modal-body-dos-columnas {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .ganadores-tabs-container {
        flex-direction: column;
        width: 100%;
    }

    .ganadores-tabs {
        flex-wrap: wrap;
    }

    .ganadores-grid-compacto {
        grid-template-columns: 1fr;
    }

    .modal-card-info-grid {
        grid-template-columns: 1fr;
    }
}

.ejemplo-verificacion code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-primary);
}

.ejemplo-verificacion strong {
    color: var(--primary);
}

.verification-steps a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.verification-steps a:hover {
    text-decoration: underline;
}

.verification-steps code {
    background: var(--background);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 12px 20px;
    }

    .nav {
        flex-direction: column;
        gap: 12px;
        font-size: 12px;
        order: 3;
        width: 100%;
    }

    .carousel-container {
        height: 350px;
    }

    .hero-overlay {
        padding: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .stats-card {
        flex-direction: column;
        gap: 20px;
        margin-top: -30px;
        padding: 24px;
    }

    .stat-divider {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid,
    .steps-grid,
    .ganadores-grid {
        grid-template-columns: 1fr;
    }

    .verificacion-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .verificacion-form-box {
        padding: 20px;
    }

    .resultado-box {
        min-height: 250px;
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
}
