/* ==========================================================================
   DISEÑO DE RESULTADOS: TARJETAS Y BOLILLAS (Estilo Quini)
   ========================================================================== */

.prode-resultados-layout {
    font-family: var(--font-cond);
    color: var(--qp-black);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Encabezado Principal */
.sorteo-main-header {
    margin-bottom: 30px;
}
.sorteo-main-header .sub-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.7;
    text-transform: uppercase;
}
.sorteo-main-header .main-fecha {
    font-size: 3rem;
    font-weight: 900;
    margin: 5px 0;
}
.sorteo-main-header .sorteo-nro {
    color: var(--qp-black);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ── Grid ── */
.modalidades-grid {
    display: flow;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: stretch;
    box-sizing: border-box;
}



/* Mobile: 2 columnas — 2 arriba + 2 abajo */
@media (max-width: 900px) {
    .modalidades-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    /* min-width:0 evita que el texto del título fuerce el ancho de la columna */
    .modalidades-grid .step-card {
        min-width: 0;
    }
    .modalidades-grid .step-body h3 {
        font-size: 1.1rem;      /* reduce el título para que no desborde */
        letter-spacing: 0;
    }
    .modalidades-grid .step-body p {
        font-size: 0.85rem;
    }
}

/* Estilo Base de las Tarjetas Rojas */
.modalidad-card {
    background: var(--qp-gold); /* Rojo Oscuro */
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 180px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.modalidad-card:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

/* Destacar la tarjeta de Sale o Sale con borde amarillo */
.modalidad-card.highlight-card {
    border-color: #ffcc00;
    position: relative;
}

.modalidad-titulo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Contenedor de Bolillas (Grilla de 3x2) */
.bolillas-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    justify-content: center;
    align-content: center;
    width: 100%;
    max-width: 180px;
}

/* Diseño de cada Bolilla Blanca */
.bolilla-blanca {
    background: var(--qp-white);
    color: var(--qp-black);
    font-weight: 900;
    font-size: 4rem;
    width: 100px;
    height: 100px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px var(--qp-black);
/*box-shadow: inset -2px -2px 6px rgba(0,0,0,0.2), 2px 4px 6px rgba(0,0,0,0.3);*/
}

/* Píldora Amarilla inferior (Siempre hay ganadores) */
.modalidad-badge-yellow {
    background: var(--qp-bg);
    color: var(--qp-black);
    font-size: 3rem;
    font-weight: 850;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 15px;
    letter-spacing: 0.5px;
}






@media (max-width: 1024px) {
.bolilla-blanca {
    font-size: 3rem;
    width: 70px;
    height: 70px;
}

}

/* Responsivo para pantallas chicas */
@media (max-width: 768px) {
.bolilla-blanca {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
}
.bolillas-container {
    grid-template-columns: repeat(5, 1fr);
}
}

