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

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
    color: #222;
}

.container, .contenedor-info {
    max-width: 800px;
    width: 95%;
    margin: 32px auto;
    background: #fff;
    padding: 32px 24px;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
}

.contenedor-info {
    margin-top: 48px;
    margin-bottom: 48px;
}

.main-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.subtitle {
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #1e293b;
}

h2 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 2rem;
}

input, button {
    font-family: inherit;
}

#sortear, .reset-btn, .tipo-btn, #agregar-participante {
    background: linear-gradient(90deg, #6366f1 0%, #60a5fa 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99,102,241,0.08);
    transition: background 0.3s, transform 0.2s;
}

#sortear:hover, .reset-btn:hover, .tipo-btn:hover, #agregar-participante:hover {
    background: linear-gradient(90deg, #60a5fa 0%, #6366f1 100%);
    transform: translateY(-2px) scale(1.04);
}

.beneficios, .faq, .testimonios {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    box-shadow: 0 2px 8px rgba(100,116,139,0.06);
    line-height: 1.8;
}

.beneficios ul {
    padding-left: 24px;
    margin-bottom: 0;
}

.beneficios li {
    margin-bottom: 8px;
    padding-left: 2px;
}

.faq-item {
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.13rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.faq-item p {
    color: #475569;
    margin-bottom: 0;
}

.testimonios blockquote {
    font-size: 1.08rem;
    background: #f8fafc;
    border-left: 4px solid #6366f1;
    margin-bottom: 18px;
    padding: 18px 28px;
    border-radius: 8px;
    font-style: italic;
    color: #334155;
}

.testimonios span {
    color: #64748b;
    font-size: 0.98rem;
    margin-top: 6px;
}

.footer {
    margin-top: 48px;
    padding: 32px 20px;
    background: #1e293b;
    color: #ffffff;
    border-radius: 12px;
    text-align: center;
}

.footer-content {
    max-width: 640px;
    margin: 0 auto;
}

.footer h3 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer p {
    color: #ffffff;
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.6;
}

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

.footer a:hover {
    color: #dbeafe;
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.premio-container {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.participante {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    margin-bottom: 10px;
}

#agregar-participante {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    margin: 10px 0;
}

#sortear {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.resultado {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    font-weight: bold;
}

.ganador {
    color: #4CAF50;
}

.perdedor {
    color: #ff4444;
}

.eliminar-participante {
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eliminar-participante:hover {
    background-color: #cc0000;
}

.pantalla-completa {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.oculto {
    display: none !important;
}

.contenido-countdown {
    text-align: center;
    max-width: 80%;
    width: 100%;
}

.countdown {
    font-size: 120px;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.resultado-grande {
    font-size: 48px;
    color: #4CAF50;
    margin: 20px 0;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(76,175,80,0.3);
}

.mensaje-correo {
    font-size: 16px;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.botones-resultado {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.botones-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn-accion {
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 200px;
    font-weight: 600;
}

.btn-salir {
    background: #ffffff;
    color: #333;
    width: 200px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-accion:hover, .btn-salir:hover {
    transform: scale(1.05);
}

.resultado-header {
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

.resultado-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.resultado-sitio {
    color: white;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    margin-bottom: 10px;
}

.resultado-premio {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-top: 15px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.reset-btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.reset-btn:hover {
    background-color: #cc0000;
}

.btn-salir {
    background-color: #ffffff;
    color: #333;
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
}

.btn-salir:hover {
    background-color: #eeeeee;
    transform: scale(1.05);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
}

.tipo-sorteo {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.tipo-btn {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    background: white;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tipo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tipo-btn.activo {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* En pantallas pequeñas */
@media (max-width: 600px) {
    .tipo-sorteo {
        flex-direction: column;
        gap: 10px;
    }
    
    .tipo-btn {
        width: 100%;
    }

    .beneficios ul, .faq-item p, .testimonios blockquote {
        font-size: 1rem;
    }
    .faq-item h3 {
        font-size: 1rem;
    }
    .testimonios blockquote {
        padding: 12px 10px;
    }
}

/* Media queries para diferentes tamaños de pantalla */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .participante {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .countdown {
        font-size: 80px;
    }

    .resultado-grande {
        font-size: 32px;
        padding: 0 15px;
    }

    #sortear, .reset-btn {
        width: 100%;
        max-width: 300px;
    }

    .btn-salir, .btn-accion {
        width: 100%;
        max-width: 250px;
        padding: 10px 20px;
    }
    
    .resultado-sitio {
        font-size: 20px;
    }
    
    .resultado-premio {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .countdown {
        font-size: 60px;
    }

    .resultado-grande {
        font-size: 24px;
    }

    .mensaje-correo {
        font-size: 14px;
        padding: 0 10px;
    }

    .btn-salir {
        padding: 8px 20px;
        font-size: 14px;
    }

    #agregar-participante {
        padding: 8px 16px;
        font-size: 18px;
    }

    .eliminar-participante {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
}

/* Ajustes para los botones de redes sociales */
.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.share-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 130px;
    justify-content: center;
}

/* Colores específicos para cada red social */
.facebook { background-color: #1877f2; }
.x { background-color: #000000; }
.instagram { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.tiktok {
    background-color: #000000;
    position: relative;
    overflow: hidden;
}
.tiktok::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #25F4EE, #FE2C55, #000000);
    opacity: 0.7;
    z-index: 0;
}
.tiktok i, .tiktok span {
    position: relative;
    z-index: 1;
}
.whatsapp { background-color: #25d366; }

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

@media (max-width: 400px) {
    .redes-sociales {
        flex-direction: column;
        gap: 10px;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

.x-logo {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.share-btn.x {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-btn.x:hover {
    background-color: #333333;
}

.info-secciones {
    margin-top: 0;
    margin-bottom: 24px;
    background: #f6f8fa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(100,116,139,0.07);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.info-secciones section {
    margin-bottom: 0;
}

.info-secciones h2 {
    font-size: 1.6rem;
    color: #3730a3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.info-secciones ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 0;
    color: #334155;
    font-size: 1.08rem;
}

.info-secciones li {
    margin-bottom: 10px;
    padding-left: 2px;
}

.info-secciones .faq-item {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.info-secciones .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-secciones .faq-item h3 {
    font-size: 1.15rem;
    color: #2563eb;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-secciones .faq-item p {
    color: #475569;
    margin-bottom: 0;
    font-size: 1.08rem;
    line-height: 1.6;
}

.info-secciones .testimonios blockquote {
    font-size: 1.08rem;
    background: #fff;
    border-left: 4px solid #6366f1;
    margin-bottom: 20px;
    padding: 20px 26px;
    border-radius: 8px;
    font-style: italic;
    color: #334155;
    box-shadow: 0 1px 4px rgba(99,102,241,0.04);
    line-height: 1.7;
}

.info-secciones .testimonios blockquote:last-child {
    margin-bottom: 0;
}

.info-secciones .testimonios blockquote span {
    color: #64748b;
    font-size: 0.98rem;
    margin-top: 8px;
    display: block;
}

@media (max-width: 700px) {
    .info-secciones {
        padding: 24px 18px;
        gap: 24px;
    }
    
    .info-secciones h2 {
        font-size: 1.35rem;
    }
    
    .info-secciones ul,
    .info-secciones .faq-item p {
        font-size: 1rem;
    }
    
    .info-secciones .faq-item h3 {
        font-size: 1.05rem;
    }
    
    .info-secciones .testimonios blockquote {
        padding: 16px 16px;
        font-size: 1rem;
    }
} 