/* Estilos responsive para Tu Jugada Ya */

/* Mostrar todas las secciones en mobile (pantallas menores a 1024px) */
.section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
}

.section.hidden {
    display: grid !important;
}

@media (min-width: 1024px) {
    html {
        scroll-behavior: smooth;
    }

    /* Mostrar todas las secciones en desktop */
    .section.hidden {
        display: grid !important;
    }

    /* Ajustar espaciado entre secciones */
    .section {
        scroll-margin-top: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: start;
        justify-content: center;
    }
}

/* OVERRIDE DESKTOP STYLES */
@media (min-width: 1024px) {
    html {
        scroll-behavior: smooth;
    }

    body {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .section.hidden {
        display: grid !important;
    }

    .section {
        scroll-margin-top: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: start;
        justify-content: center;
    }

    .card {
        margin-bottom: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .btn-action,
    .input-group,
    .slot-machine,
    .prize-display,
    .ball-container {
        width: 100%;
        max-width: 100%;
    }

    input,
    select {
        text-align: center;
    }
}