/* Reset básico */
* {
    // ...existing code...
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-texto);
    line-height: 1.6;
    font-size: 16px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Existing CSS remains unchanged until the header section */

/* Optimized Header Styles */
.sorteo-seccion {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 0; /* Asegura que no haya espacio arriba */
    background-color: #000;
    padding: 1rem; /* Reducido de 2rem a 1rem */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 3px solid #27ae60;
    margin-bottom: 1rem; /* Reducido de 2rem a 1rem */
    box-sizing: border-box;
    overflow-x: hidden;
}

.contacto-wsp {
    position: fixed;
    top: 1rem;
    right: 1rem; /* Cambiado de left a right */
    background-color: rgba(37, 211, 102, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.contacto-wsp:hover {
    transform: scale(1.05);
    background-color: rgba(37, 211, 102, 1);
}

.wsp-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    gap: 0.5rem;
}

.logo-wsp {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Eliminar o comentar los estilos de .sorteo-titulo y .sorteo-principal ya que no se usarán */

/* .sorteo-titulo {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulseText 2s infinite;
}

@keyframes pulseText {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
} */

.sorteo-monto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem; /* Reducido de 2rem a 1rem */
    background-color: #000; /* Cambiado a negro sólido */
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.logo-principal {
    width: 150px; /* Reducido de 180px a 150px para que sea proporcionado con el nuevo tamaño */
    height: 150px;
    border-radius: 50%;
    border: 3px solid #27ae60;
    box-shadow: 0 0 20px rgba(39, 174, 96, 0.5);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo-principal:hover {
    transform: rotate(10deg);
}

/* .sorteo-principal {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
} */

/* Nueva sección de premios */
.premios-seccion {
    background: #f8f9fa;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem; /* Reducido padding superior */
    margin: 0.5rem auto; /* Reducido margen superior */
    max-width: 900px; /* Reducido de 1200px */
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.premios-titulo {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin: 0.5rem 0 1rem 0; /* Ajustado márgenes, especialmente el superior */
    text-transform: uppercase;
    font-weight: bold;
}

.premios-container {
    display: flex; /* Cambiar a flexbox */
    justify-content: center;
    gap: 1rem;
    padding: 0.3rem;
    flex-wrap: nowrap; /* Evitar que se envuelvan */
}

.premio-item {
    flex: 0 1 calc(33% - 1rem); /* Base más pequeña y flexible */
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    min-width: 0; /* Permitir encogimiento */
}

.premio-item:hover {
    transform: translateY(-5px);
}

.premio-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.premio-valor {
    display: block;
    color: #28a745;
    font-size: 1.8rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .premios-container {
        padding: 0.3rem;
        gap: 0.5rem;
    }

    .premio-item {
        padding: 0.5rem;
    }

    .premio-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .premio-valor {
        font-size: 1.3rem;
    }
}

/* Estilos de la sección de rifas */
.rifas {
    padding: 1rem;
    margin: 1rem auto;
    max-width: 1000px; /* Ajustado para un ancho más cómodo */
}

#rifas-titulo {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-transform: uppercase;
}

.rifas-container {
    display: flex;
    justify-content: center; /* Centrar los elementos */
    flex-wrap: nowrap;
    gap: 0.8rem; /* Aumentado un poco el espacio entre items */
}

.rifa-item {
    flex: 0 0 calc(22% - 0.8rem); /* Aumentado de 20% a 22% */
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem; /* Aumentado de 0.8rem */
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 180px; /* Aumentado de 150px */
}

.rifa-item h3 {
    font-size: 1rem; /* Aumentado de 0.9rem */
    margin-bottom: 0.4rem;
}

.rifa-item p {
    font-size: 0.9rem; /* Aumentado de 0.8rem */
    margin-bottom: 0.4rem;
}

.btn-participar {
    display: inline-block;
    padding: 0.5rem 1rem; /* Aumentado ligeramente */
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem; /* Aumentado de 0.8rem */
    transition: background-color 0.3s;
}

/* Estilos para la sección de información general */
.informacion-general h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-transform: uppercase;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .rifas-container {
        flex-wrap: wrap; /* Permitir envolver en móviles */
    }

    .rifa-item {
        flex: 0 0 calc(50% - 0.5rem); /* Dos elementos por fila en móviles */
        margin-bottom: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sorteo-seccion {
        padding: 0.5rem; /* Reducido para móviles */
    }

    /* .sorteo-titulo {
        font-size: 2rem;
    } */

    .sorteo-monto-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem; /* Reducido para móviles */
    }

    .logo-principal {
        width: 120px; /* Ajustado para móviles */
        height: 120px;
    }

    /* .sorteo-principal {
        font-size: 2.5rem;
    } */

    .premios-seccion {
        padding: 0.3rem 0.8rem 0.8rem 0.8rem; /* Reducido padding superior en móviles */
        margin: 0.4rem; /* Reducido margen en móviles */
    }

    .premios-titulo {
        font-size: 1.5rem;
    }

    .premio-item {
        padding: 1rem;
    }

    .premio-valor {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .opciones-pago-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem; /* Agregar padding lateral */
    }
    
    .opcion-pago {
        width: 85%; /* Reducir el ancho en móviles */
        margin: 0 auto; /* Centrar el div */
        padding: 0.8rem;
    }

    .datos-cuenta ul {
        padding: 0.3rem 0.8rem; /* Reducir padding en móviles */
    }

    .img-pago {
        max-width: 70px; /* Reducir tamaño de imágenes en móviles */
    }

    .opcion-pago img[src*="bes.png"] {
        max-width: 100px; /* Ajustar tamaño logo banco estado en móviles */
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .main-content {
        overflow-x: hidden;
        width: 100%;
    }

    .sorteo-seccion {
        width: 100%;
        margin-left: 0;
        transform: none;
        position: relative;
        left: 0;
    }
}

/* Estilos específicos para las imágenes de pago */
.img-pago {
    max-width: 80px; /* Reducido el tamaño máximo */
    height: auto;
    margin: 0.5rem auto;
    display: block;
}

/* Ajuste específico para las imágenes de Banco Estado */
.opcion-pago img[src*="bes.png"] {
    max-width: 140px; /* Aumentado de 80px */
}

/* Ajuste específico para el logo de Mercado Pago */
.opcion-pago img[src*="mpago.png"] {
    max-width: 100px;
}

/* Estilos para la sección de medios de pago */
.opciones-pago-container {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.opcion-pago {
    flex: 1;
    background-color: #f9f9fa;
    padding: 1rem; /* Reducir el padding general */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: calc(33.33% - 1rem); /* Dividir en tres columnas */
}

@media (max-width: 768px) {
    .opciones-pago-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .opcion-pago {
        width: 100%;
    }
}

.opcion-pago h3 {
    text-align: center;
    font-size: 1.4em;
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
}

/* Ajuste específico para el logo de Mercado Pago que suele ser más ancho */
.opcion-pago img[src*="mpago.png"] {
    max-width: 100px;
}

.datos-cuenta h4 {
    display: none;
}

.datos-cuenta ul {
    margin: 0; /* Eliminar margen */
    padding: 0.5rem 1rem; /* Reducir padding */
    list-style: none;
}

.datos-cuenta li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.1rem; /* Reducir espacio entre elementos */
    text-align: left; /* Justificar el texto */
}

.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 5px;
    color: #28a745;
    transition: transform 0.2s ease;
}

.copy-button:hover {
    transform: scale(1.1);
    color: #218838;
}

/* ...existing code... */

.copy-all-button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: block; /* Cambiar a block */
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem auto; /* Reducir espacio superior del botón */
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: fit-content; /* Ajustar al contenido */
}

.copy-all-button:hover {
    background-color: #218838;
    transform: scale(1.02);
}

.datos-cuenta {
    position: relative;
}

/* ...existing code... */

/* Eliminar estos estilos ya que no se usarán más */
.opcion-pago h4 {
    display: none;
}

/* Ajustar el margen superior del h3 */
.opcion-pago h3 {
    margin-top: 0.5rem;
}

.opcion-pago h3 {
    text-align: center;
    font-size: 1.4em;
    margin: 0.5rem 0;
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
}
