/* zoen_zoen_estilo.css - Diseño Profesional para ZOEN */

/* 1. Configuración General */
body {
    background-color: #f8f9fa; /* Gris muy claro para dar profundidad */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Fondo con un degradado sutil */
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

/* 2. Estilos de las Cards (Botones de menú) */
.card {
    transition: all 0.3s ease;
    border-radius: 15px !important; /* Bordes redondeados profesionales */
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* Efecto Hover: la card se eleva y gana sombra */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.card-body {
    padding: 2rem 1rem;
}

/* 3. Tipografía y Colores */
.h5 {
    font-weight: 600;
    margin-top: 15px;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.text-grey {
    color: #6c757d !important;
}

/* 4. Menús Desplegables (Dropdowns) */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    color: #495057;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-item:hover {
    background-color: #f1f3f5;
    color: #000;
}

/* Ajuste para las imágenes dentro de los dropdowns (juegos) */
.dropdown-item img {
    margin-left: 15px;
    border-radius: 4px;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.dropdown-item:hover img {
    filter: grayscale(0%);
}

/* 5. Personalización de Iconos de Bootstrap */
.bi {
    display: inline-block;
    transition: transform 0.3s ease;
}

.card:hover .bi {
    transform: scale(1.1);
}

/* Estilos de las Cenefas (se repiten cada 6) */
        .rojo { background: #E40303 !important; color: white !important; }
        .naranja { background: #FF8C00 !important; color: white !important; }
        .amarillo { background: #FFED00 !important; color: #333 !important; }
        .verde { background: #008026 !important; color: white !important; }
        .azul { background: #24408E !important; color: white !important; }
        .violeta { background: #732982 !important; color: white !important; }

        .accordion-button:not(.collapsed)::after, 
        .accordion-button.collapsed::after {
            filter: brightness(0) invert(1);
        }
        .amarillo.accordion-button::after { filter: none !important; }

        .accordion-item {
            margin-bottom: 1rem;
            border: none !important;
            border-radius: 8px !important;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .sub-accordion .accordion-button {
            font-size: 0.85rem;
            background-color: #f8f9fa !important;
            color: #333 !important;
            border-left: 4px solid #666;
        }
        .sub-accordion .accordion-button::after { filter: none !important; }

/* 6. Adaptabilidad (Responsive) */
@media (max-width: 576px) {
    .container {
        padding-top: 2rem !important;
    }
    
    .card {
        width: 100% !important; /* En móviles ocupan el ancho disponible */
        max-width: 250px;
    }
}