/* === CORNER MENU COMPONENT === */
/* Componente modular - Menú de configuración en esquina */

/* Importar variables compartidas */
@import url('../../shared/styles/variables.css');

/* ===== CONTENEDOR PRINCIPAL ===== */
.corner-menu {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transition: all 0.3s ease;
}

/* ===== ICONOS BASE ===== */
.corner-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color-light);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.8em;
}

.corner-icon img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.corner-icon:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.corner-icon:hover img {
    opacity: 1;
}

/* ===== BOTÓN PRINCIPAL DE CONFIGURACIÓN ===== */
.config-main {
    background-color: rgba(140, 18, 90, 0.8) !important;
    border-color: var(--accent-color) !important;
}

.config-main:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-2px) scale(1.05);
}

/* ===== OPCIONES EXPANDIBLES ===== */
.config-options {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.config-options.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

/* Efecto de aparición secuencial */
.config-options.show .corner-icon {
    animation: slideInLeft 0.3s ease forwards;
}

.config-options.show .corner-icon:nth-child(1) { animation-delay: 0.1s; }
.config-options.show .corner-icon:nth-child(2) { animation-delay: 0.15s; }
.config-options.show .corner-icon:nth-child(3) { animation-delay: 0.2s; }
.config-options.show .corner-icon:nth-child(4) { animation-delay: 0.25s; }
.config-options.show .corner-icon:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
/* Móvil y tablets */
@media (max-width: 768px) {
    .corner-menu {
        bottom: 15px;
        left: 15px;
        gap: 6px;
    }

    .corner-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75em;
    }
    
    .config-options {
        gap: 6px;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
    .corner-menu {
        bottom: 12px;
        left: 12px;
        gap: 4px;
    }

    .corner-icon {
        width: 26px;
        height: 26px;
        font-size: 0.7em;
    }
    
    .config-options {
        gap: 4px;
    }
}

/* ===== ESTADOS Y FEEDBACK ===== */
.corner-icon:active {
    transform: translateY(-1px) scale(0.95);
}

.corner-icon:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Efecto de mantener visible cuando dropdown está abierto */
.corner-menu.keep-visible {
    opacity: 1 !important;
}

/* RECORDATORIO: Este componente usa:
   - ICO/gear-solid.svg
   - ICO/circle-xmark-solid.svg  
   - ICO/circle-sort-up-solid.svg
   - ICO/ear-listen-solid.svg
   - ICO/video-slash-solid.svg
   - ICO/sliders-solid.svg
   - ICO/arrow-up-right-solid-full.svg
*/
