/* -------------------------------------------------------------
   LOU LOU - ESTILOS PREMIUM DIGITAL MENU (ACTUALIZADO - HEADER CENTRADO)
   ------------------------------------------------------------- */

/* Variables de Diseño */
:root {
    --gold-dark: #AE8625;
    --gold-mid: #D2AC47;
    --gold-light: #F7EF8A;
    --text-light: #CFCBBF;
    --bg-dark: #050505;
    --font-primary: 'Quirel', 'Cinzel', Georgia, serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Gradiente de oro metálico líquido */
    --gold-gradient: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-mid) 100%);
}

/* Reset de Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-secondary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* -------------------------------------------------------------
   FONDO ANIMADO CON OVERLAY (IMPLEMENTADO CON ETIQUETA IMG)
   ------------------------------------------------------------- */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.bg-gif-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    filter: contrast(1.1) brightness(0.9);
    z-index: 0;
}

/* Capa oscura (overlay) reducida al 60% para mayor visibilidad del fondo */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.60);
    z-index: 1;
}

/* -------------------------------------------------------------
   HEADER SUPERIOR CON SELECTOR DE IDIOMA CENTRADO HORIZONTALMENTE
   ------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(174, 134, 37, 0.08);
}

.header-container {
    display: flex;
    justify-content: center; /* Centra horizontalmente el selector de idioma */
    align-items: center;
    padding: 22px 24px; /* Margen de seguridad vertical para dispositivos móviles */
    max-width: 1200px;
    margin: 0 auto;
}

/* Selector de Idioma Custom Premium */
.lang-selector {
    display: flex;
    background: rgba(10, 10, 10, 0.85);
    border: 1.5px solid rgba(174, 134, 37, 0.35);
    border-radius: 15px;
    padding: 2px;
    gap: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.lang-option {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 3px;
    outline: none;
}

.lang-option.active {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 2px 6px rgba(174, 134, 37, 0.3);
}

/* -------------------------------------------------------------
   CONTENIDO PRINCIPAL & HERO (LOGO ELEVADO Y CENTRADO)
   ------------------------------------------------------------- */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 70px 20px 40px 20px; /* Reducido a 70px para subir el logo */
    z-index: 10;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

/* Hero Section (Logo subido y separado 60px de los botones) */
.hero-section {
    text-align: center;
    margin-top: 10px; /* Reducido para subir logo */
    margin-bottom: 60px; /* Separación elegante y aireada con los botones */
    width: 100%;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.main-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 8px 30px rgba(174, 134, 37, 0.4));
}

/* Secciones de Botones */
.menu-buttons-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    animation: fadeInUp 1s ease-out;
}

/* -------------------------------------------------------------
   BOTONES PREMIUM CON DESTELLO EN BORDE SUPERIOR (ORO LÍQUIDO)
   ------------------------------------------------------------- */
.premium-btn {
    position: relative;
    width: 82%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(8, 8, 8, 0.58);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(174, 134, 37, 0.05);
    cursor: pointer;
}

/* Alineador de Icono y Texto en los Botones */
.btn-body-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 3;
}

/* Estilo para los Iconos Animados dentro de los Botones */
.btn-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Borde exterior sutil general */
.premium-btn {
    border: 1px solid rgba(174, 134, 37, 0.2);
}

/* Destello animado que recorre SOLO el borde superior de izquierda a derecha */
.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(174, 134, 37, 0.2) 20%, 
        var(--gold-light) 50%, 
        var(--gold-mid) 70%, 
        transparent 100%);
    background-size: 200% 100%;
    background-position: 150% 0;
    animation: liquidGoldTopFlow 3.5s infinite linear;
    pointer-events: none;
    z-index: 2;
}

/* Borde doble interior decorativo */
.premium-btn::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 26px;
    border: 1px solid rgba(174, 134, 37, 0.15);
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.25s ease;
}

/* Contenido del Botón */
.btn-content {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold-light);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 3;
    transition: letter-spacing 0.25s ease, filter 0.25s ease;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

/* INTERACCIÓN AL TOCAR / HOVER */
.premium-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(174, 134, 37, 0.18);
    border-color: rgba(247, 239, 138, 0.4);
}

.premium-btn:hover::after {
    border-color: rgba(247, 239, 138, 0.3);
}

.premium-btn:hover .btn-content {
    filter: brightness(1.15);
}

/* Al tocar/hacer clic */
.premium-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(174, 134, 37, 0.12);
    background: rgba(12, 12, 12, 0.92);
}

/* -------------------------------------------------------------
   ANIMACIONES & PROPIEDADES CUSTOM
   ------------------------------------------------------------- */
@keyframes liquidGoldTopFlow {
    0% {
        background-position: 150% 0;
    }
    100% {
        background-position: -50% 0;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Adaptación responsive para pantallas más pequeñas */
@media (max-width: 390px) {
    .premium-btn {
        width: 84%;
        height: 58px;
    }
    
    .btn-content {
        font-size: 0.98rem;
        letter-spacing: 0.18em;
    }
    
    .logo-container {
        max-width: 250px;
    }
    
    .main-content {
        padding-top: 65px;
    }
}
