:root {
    --primary-color: #3182ce;  
    --primary-hover: #2b6cb0;
    --bg-color: #0b192c;       
    --card-bg: #1e3e62;        
    --text-main: #ffffff;
    --font-display: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; 
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 600; 
    overflow-y: hidden; 
}

a { text-decoration: none; color: var(--text-main); }
ul { list-style: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4%;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 9999;
    background-color: var(--bg-color);
    border-bottom: 2px solid #1e3e62;
}

.logo { height: 60px; filter: invert(1); transition: transform 0.3s; }
.logo:hover { transform: scale(1.05) rotate(-2deg); }

.main-nav { background-color: var(--text-main); padding: 0.4rem 1.5rem; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a { font-family: var(--font-display); font-size: 1.2rem; color: var(--bg-color); text-transform: uppercase; letter-spacing: 1px; }
.main-nav a:hover { color: var(--primary-color); }

/* LAYOUT HORIZONTAL */
.horizontal-layout {
    display: flex;
    width: 100vw; height: 100vh;
    overflow-x: auto; overflow-y: hidden;
}

.panel {
    position: relative;
    flex: 0 0 100vw;
    height: 100vh;
    padding-top: 100px;
    border-right: 5px solid var(--primary-color);
}

/* ==========================================================================
   PÁGINA DE MENÚ
   ========================================================================== */
.menu-page {
    background-color: var(--bg-color);
    padding-top: 100px;
    overflow-y: auto; 
}

.menu-container {
    background-color: #ffffff; 
    color: #0b192c; 
    max-width: 1200px;
    margin: 2rem auto;
    padding: 3rem;
    box-shadow: 8px 8px 0px var(--primary-color);
    border: 2px solid #0b192c;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr auto 1.5fr;
    gap: 3rem;
}

.menu-category {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

/* Cuadrícula estricta de 5 filas: bebidas 1-5 a la izquierda, 6-10 a la derecha */
.menu-list {
    list-style: none;
    margin-left: 0;
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 0.8rem;
}

.menu-list li {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.2s, background-color 0.1s ease-in-out, transform 0.1s ease-in-out;
    white-space: nowrap;
    justify-self: start; /* Ajusta el ancho al texto y alinea a la izquierda en PC */
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    box-sizing: border-box;
}

.menu-list li:hover, .menu-item:hover h3 {
    color: var(--primary-color); 
}

.menu-item {
    text-align: left; 
    margin-bottom: 1.8rem;
}

.menu-item h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.2s;
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    box-sizing: border-box;
}

.menu-item p {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #444;
}

/* ==========================================================================
   ANIMACIONES, GRÁFICOS Y DESTELLOS DEL MENÚ
   ========================================================================== */

/* Columna Central */
.menu-center {
    display: flex;
    justify-content: center;
    align-items: center; 
    padding-top: 0; 
}

/* Animación de SOUR DOUGH */
@keyframes sourdoughPulse {
    0%, 100% { filter: drop-shadow(0px 0px 0px transparent); }
    50% { filter: drop-shadow(6px 6px 0px var(--primary-color)); }
}

.menu-sourdough {
    width: 110px;
    height: auto;
    animation: sourdoughPulse 3s infinite;
}

/* Destello Aleatorio (Llamado a la acción) */
.menu-list li.random-glow,
.menu-item.random-glow h3 {
    color: #0b192c !important; 
    background-color: var(--primary-color); 
    box-shadow: 4px 4px 0px #000000; 
    transform: scale(1.05) rotate(-3deg); 
    transition: all 0.1s ease-in-out; 
}

/* Contenedor de Fantasmas Menú */
.ghost-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 5rem 0; 
}

/* Animación Fantasmas en Patineta */
@keyframes skateFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

.menu-ghosts {
    width: 270px;
    height: auto;
    animation: skateFloat 3.5s ease-in-out infinite; 
    filter: drop-shadow(6px 10px 0px rgba(0, 0, 0, 0.2)); 
}

/* ==========================================================================
   MODAL DE VIDEO
   ========================================================================== */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 25, 44, 0.9); 
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    background: #000;
    border: 4px solid var(--primary-color);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.5);
}

.modal-content video {
    width: 100%;
    display: block;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 3rem;
    font-family: var(--font-display);
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ff003c;
}

/* Aviso cuando el video del platillo todavía no existe */
.video-missing {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    padding: 1rem;
    background: rgba(11, 25, 44, 0.95);
    font-family: var(--font-display);
    letter-spacing: 2px;
}

.video-missing[hidden] {
    display: none; /* el atributo hidden debe ganarle a display:flex */
}

.video-missing span {
    font-size: 2.2rem;
    color: #ff003c;
}

.video-missing p {
    font-size: 1rem;
    color: #cbd5e0;
}

/* ==========================================================================
   ESTRUCTURA DE COLLAGE EN PC (Inicio)
   ========================================================================== */
.hero-collage {
    position: relative;
    padding: 120px 4% 4rem 4%;
    overflow: hidden;
}

.schedule-widget {
    position: absolute;
    top: 110px;
    left: 4%;
    width: 495px; 
    background-color: var(--card-bg);
    border: 2px solid #3182ce;
    padding: 1.8rem; 
    z-index: 9500; /* Siempre sobre el menú volador (9000) */
    text-align: center;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
}

.widget-info {
    height: 145px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-title { 
    font-family: var(--font-display); 
    font-size: 2.5rem; 
    line-height: 1; 
    text-transform: uppercase; 
    margin-bottom: 0.4rem; 
    letter-spacing: 1px;
}
.hours-text { 
    font-family: var(--font-display); 
    font-size: 1.35rem; 
    color: #ffffff; 
    letter-spacing: 1px;
}

.roulette-container {
    display: flex; justify-content: space-between; width: 100%; gap: 0.3rem; margin-top: 1rem;
}

.day-box {
    flex: 1; font-family: var(--font-display); font-size: 1rem; color: #cbd5e0;
    border: 1px solid #4a5568; background-color: var(--bg-color); padding: 0.5rem 0; cursor: pointer; transition: all 0.2s;
}
.day-box:hover { color: var(--text-main); border-color: var(--text-main); }
.day-box.active-day {
    background-color: var(--primary-color); color: var(--text-main); border-color: var(--primary-color); transform: scale(1.1);
}

.hero-content {
    position: absolute;
    top: 470px; 
    left: 4%;
    width: 540px;
    z-index: 10;
}

.hero-content h1 { 
    font-family: var(--font-display); 
    font-size: clamp(4rem, 6.5vw, 7rem); 
    line-height: 0.85; 
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.hero-content h2 { 
    font-family: var(--font-display); 
    font-size: clamp(1.6rem, 2.5vw, 2.4rem); 
    color: #63b3ed; 
    margin: 0.8rem 0 1rem 0; 
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p { 
    font-size: 1.25rem; 
    font-weight: 700; 
    margin-bottom: 1.5rem; 
    color: #ffffff; 
    letter-spacing: 0.5px;
}

.btn-primary { 
    background-color: var(--text-main); 
    color: var(--bg-color); 
    font-family: var(--font-display); 
    font-size: 1.2rem; 
    padding: 0.9rem 2rem; 
    display: inline-block; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-weight: 700;
    box-shadow: 4px 4px 0px #3182ce; 
}

.btn-primary:hover { 
    background-color: var(--primary-color); 
    color: var(--text-main);
    box-shadow: 4px 4px 0px #ffffff;
}

/* WIDGET DE CLIMA EN EL JARDIN */
.garden-weather-widget {
    position: absolute;
    top: 135px;
    right: 28%;
    background-color: #1e3e62;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 750;
    width: 270px;
    padding: 1.2rem;
    border: 2px solid #3182ce;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.4);
    z-index: 14;
    transform: rotate(-5deg);
}

.weather-header { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: bold; color: #cbd5e0; border-bottom: 1px dashed #4a5568; padding-bottom: 0.4rem; margin-bottom: 0.8rem; }
.weather-temp { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; text-transform: uppercase; color: #63b3ed; }
.weather-desc { font-size: 0.85rem; font-weight: 800; color: #fff; margin: 0.4rem 0; letter-spacing: 1px; text-transform: uppercase; }
.weather-advice { font-size: 0.9rem; font-weight: 700; margin-top: 0.4rem; line-height: 1.3; color: #cbd5e0; }

/* 3. Ticket del Grano */
.doom-ticket {
    position: absolute;
    top: 400px; 
    left: 36%;  
    right: auto; 
    background-color: #f4f4f0; 
    color: #0b192c;
    font-family: 'Courier New', Courier, monospace; 
    font-weight: 750; 
    width: 310px;
    padding: 1.2rem;
    border: 2px dashed #0b192c;
    box-shadow: -6px 8px 0px #3182ce; 
    z-index: 15;
    transform: rotate(-4deg); 
}

.ticket-header { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: bold; color: #444; border-bottom: 1px dashed #ccc; padding-bottom: 0.4rem; margin-bottom: 0.8rem; }
.ticket-title { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--bg-color); }
.ticket-roaster { font-size: 0.85rem; font-weight: 800; color: #3182ce; margin-bottom: 0.8rem; letter-spacing: 1px; }
.ticket-divider { border: none; border-top: 2px dashed #0b192c; margin: 0.8rem 0; }
.ticket-data p { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.3; }
.ticket-footer { display: flex; gap: 0.4rem; margin-top: 1rem; }
.ticket-btn { flex: 1; background-color: var(--bg-color); color: #fff; border: none; padding: 0.4rem; font-family: var(--font-display); font-size: 0.85rem; cursor: pointer; letter-spacing: 1px; }
.ticket-btn:hover, .ticket-btn.active { background-color: var(--primary-color); }

/* FANTASMAS FONDO */
.ghost-scene {
    position: absolute;
    top: 250px; 
    right: 0%;  
    width: 950px; 
    z-index: 5; 
    pointer-events: none;
}

.scene-bg {
    width: 100%;
    height: auto;
    filter: drop-shadow(4px 4px 0px rgba(255,255,255,0.08));
}

.draggable-sticker {
    position: absolute;
    cursor: grab;
    width: 85px; 
    filter: drop-shadow(4px 6px 0px rgba(0, 0, 0, 0.4));
    transition: transform 0.1s;
    pointer-events: auto;
}

.draggable-sticker:active {
    cursor: grabbing;
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(8px 12px 0px rgba(0, 0, 0, 0.5));
}

#ghost1 { top: 62%; left: 24%; } 
#ghost2 { top: 76%; left: 42%; } 
#ghost3 { top: 78%; left: 56%; } 
#ghost4 { top: 51%; left: 51%; } 

/* INFO SECTION */
.info-section { display: flex; align-items: center; justify-content: center; }
.info-grid { display: flex; gap: 3rem; width: 80%; margin: 0 auto; }
.info-card { border: 3px solid #3182ce; background-color: var(--card-bg); padding: 3rem; flex: 1; box-shadow: 6px 6px 0px rgba(0,0,0,0.3); }
.info-card h3 { font-family: var(--font-display); font-size: 2.5rem; color: #63b3ed; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.info-card li, .info-card p { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: #edf2f7; }

/* ==========================================================================
   MENÚ VOLADOR (Animación de viento)
   ========================================================================== */
.flying-menu {
    position: fixed; 
    top: 50%;
    left: 50%;
    width: 130px; 
    z-index: 9000; 
    pointer-events: auto; 
    cursor: pointer;
    filter: drop-shadow(8px 12px 6px rgba(0,0,0,0.4));
    transition: top 3.5s ease-in-out, left 4.5s ease-in-out, transform 4s ease-in-out;
}

.flying-menu img {
    width: 100%;
    height: auto;
    pointer-events: none;
}

.flying-menu:hover {
    filter: drop-shadow(15px 20px 10px rgba(0,0,0,0.6));
    transform: scale(1.15) !important; 
    transition: all 0.2s ease-out; 
    z-index: 9000; /* Pasa siempre por detrás de las tarjetas (9500) */
}

/* ==========================================================================
   WIDGET DE UBICACIÓN (GPS)
   ========================================================================== */
.location-widget {
    position: absolute;
    top: 120px;
    left: 36%;
    width: 300px;
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    padding: 1.2rem;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    z-index: 9500; /* Siempre sobre el menú volador (9000) */
    transform: rotate(2deg);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.4);
    display: block;
    animation: gpsGlitch 4s infinite; 
}

@keyframes gpsGlitch {
    0%, 85%, 100% { 
        background-color: var(--card-bg); 
        color: #ffffff; 
        box-shadow: 6px 6px 0px rgba(0,0,0,0.4); 
        transform: rotate(2deg);
    }
    88% { 
        background-color: var(--primary-color); 
        color: #0b192c; 
        box-shadow: -6px -6px 0px #ffffff; 
        transform: rotate(0deg) scale(1.02);
    }
    92% { 
        background-color: var(--card-bg); 
        color: #ffffff; 
        box-shadow: 6px 6px 0px rgba(0,0,0,0.4); 
        transform: rotate(2deg);
    }
    95% { 
        background-color: #ffffff; 
        color: #0b192c; 
        box-shadow: 8px 8px 0px var(--primary-color); 
        transform: rotate(4deg) scale(1.05);
    }
}

.loc-header { 
    display: flex; 
    justify-content: space-between; 
    border-bottom: 1px dashed #4a5568; 
    padding-bottom: 0.5rem; 
    margin-bottom: 0.8rem; 
    font-weight: bold; 
    font-size: 0.8rem;
}
.blinking-dot { color: #63b3ed; }

.loc-title { 
    font-family: var(--font-display); 
    font-size: 2.2rem; 
    color: #63b3ed; 
    line-height: 1; 
    margin-bottom: 0.5rem; 
    text-transform: uppercase;
}

.loc-body p { 
    font-weight: 700; 
    font-size: 0.95rem; 
    line-height: 1.4; 
    margin-bottom: 1rem; 
    color: #cbd5e0; 
}

.loc-action { 
    background-color: var(--bg-color); 
    color: #ffffff; 
    text-align: center; 
    padding: 0.6rem; 
    font-family: var(--font-display); 
    font-size: 1.1rem;
    letter-spacing: 2px; 
    transition: 0.2s; 
    border: 1px solid #4a5568;
}

.location-widget:hover {
    animation: none; 
    transform: rotate(0deg) scale(1.05);
    box-shadow: 8px 8px 0px #ffffff;
}

.location-widget:hover .loc-action {
    background-color: var(--primary-color);
    color: #0b192c;
}

/* ==========================================================================
   DISEÑO PARA MÓVILES Y PANTALLAS PEQUEÑAS
   ========================================================================== */
@media screen and (max-width: 1200px) {
    body { overflow-y: auto; overflow-x: hidden; }
    .horizontal-layout { display: block; height: auto; width: 100%; }

    /* El header en móvil mide ~110px (logo + nav apilados): dejarlo por debajo */
    .menu-page { padding-top: 125px; }

    .main-header { flex-direction: column; padding: 0.8rem 3%; width: 100%; }
    .main-nav { width: 100%; display: flex; justify-content: center; }
    .logo { height: 45px; }
    
    .panel { 
        flex: none; width: 100%; height: auto; border-right: none; 
        padding-top: 120px; padding-left: 4%; padding-right: 4%; padding-bottom: 4rem;
        display: flex; flex-direction: column; align-items: center;
    }
    
    .hero-collage {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem; 
        padding-top: 120px;
    }

    .schedule-widget { 
        position: relative; 
        top: 0; left: 0; 
        width: 96%; 
        max-width: 100%; 
        padding: 1.2rem; 
        margin: 0 auto;
        order: 1; 
        transform: rotate(-2deg); 
        box-shadow: 4px 6px 0px rgba(0, 0, 0, 0.4);
        z-index: 9500;
    }

    .widget-info { height: 115px; }
    .status-title { font-size: 2.2rem; }
    .hours-text { font-size: 1.2rem; }
    .roulette-container { margin-top: 0.8rem; }
    .day-box { font-size: 0.95rem; padding: 0.4rem 0; }

    .hero-content { 
        position: relative; 
        top: 0; left: 0; 
        width: 100%; 
        text-align: center; 
        order: 3; 
        z-index: 10; 
        padding: 1rem 0;
    }
    .hero-content h1 { font-size: 3.8rem; } 

    .garden-weather-widget {
        position: relative;
        top: 0; right: 0;
        width: 90%;
        align-self: flex-end; 
        transform: rotate(3deg); 
        text-align: left;
        order: 4; 
        box-shadow: -4px 6px 0px rgba(0, 0, 0, 0.4); 
        margin-bottom: -2rem; 
        z-index: 12;
    }
    
    .ghost-scene {
        position: relative; 
        top: 0; right: 0;
        width: 110%; 
        margin-left: -5%;
        margin-top: 0;
        order: 5; 
        z-index: 1;
    }

    .draggable-sticker { width: 50px; }
    #ghost1 { top: 58%; left: 25%; } 
    #ghost2 { top: 30%; left: 8%; } 
    #ghost3 { top: 20%; left: 70%; } 
    #ghost4 { top: 48%; left: 45%; } 

    .doom-ticket { 
        position: relative; 
        top: 0; left: 0; right: auto;
        width: 94%; 
        align-self: flex-start; 
        transform: rotate(-3deg); 
        text-align: left;
        box-shadow: 6px 6px 0px #3182ce; 
        margin-top: -3rem; 
        order: 5; 
        z-index: 15; 
    }
    
    .info-grid { flex-direction: column; width: 100%; }

    /* ==========================================
       AJUSTES DE MENÚ PARA MÓVIL
       ========================================== */
    .menu-container {
        padding: 1.5rem; 
        margin: 1.5rem auto;
        transform: rotate(1deg); 
        box-shadow: -8px 10px 0px var(--primary-color);
    }

    .menu-grid {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }

    .menu-category {
        font-size: 2.2rem; 
        margin-bottom: 1.5rem;
        display: inline-block;
    }

    .menu-col:nth-child(1) .menu-category:first-of-type { transform: rotate(-3deg); }
    .menu-col:nth-child(1) .menu-category:last-of-type { transform: rotate(2deg); }

    /* Grid móvil inmutable de 5 filas: 5 y 5 siempre centradas */
    .menu-list {
        display: grid;
        grid-template-rows: repeat(5, auto);
        grid-auto-flow: column;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
        row-gap: 1rem;
        max-width: 330px; 
        margin: 0 auto; 
    }

    .menu-list li {
        font-size: 0.85rem; 
        justify-self: center; /* Centra cada botón en su celda */
        text-align: center;
        padding: 0.1rem 0.4rem;
        border-radius: 2px;
        box-sizing: border-box;
        white-space: nowrap;
        transition: transform 0.1s ease, color 0.1s ease, background-color 0.1s ease;
    }

    .menu-list li:active {
        transform: scale(1.15) rotate(-3deg); 
        color: var(--primary-color);
        font-weight: 900;
    }

    .ghost-container {
        margin: 2.5rem 0; 
    }

    .menu-ghosts {
        width: 220px; 
    }

    .menu-center {
        padding-top: 0;
        margin: 3rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
    }

    .menu-sourdough { 
        transform: rotate(-90deg); 
        height: 280px; 
        width: auto; 
    }

    .menu-item {
        text-align: left; 
        margin-bottom: 1.8rem;
    }
    
    .menu-item h3 {
        font-size: 1.05rem;
    }
    
    .menu-item p {
        font-size: 0.8rem; 
        margin-bottom: 0;
    }

    .location-widget {
        position: relative;
        top: 0; 
        left: 0;
        width: 94%;
        order: 2; 
        margin: 1rem auto 2rem auto;
        transform: rotate(2deg);
        box-shadow: -4px 6px 0px rgba(0,0,0,0.5);
        z-index: 9500;
    }

    .horizontal-layout { overflow: visible; }
}

@media screen and (min-width: 1201px) {
    .horizontal-layout { width: 100%; }
    .hero-collage { flex: 0 0 auto; width: calc(128vw + 700px); padding: 0; overflow: visible; }

    .schedule-widget       { top: max(115px, 14vh); left: 5vw; width: 30vw; min-width: 420px; max-width: 520px; z-index: 9500; }
    .hero-content          { top: auto; bottom: 7vh; left: 5vw; width: 40vw; max-width: 600px; }
    .location-widget       { top: max(115px, 16vh); left: 42vw; z-index: 9500; }
    .doom-ticket           { top: auto; bottom: 7vh; left: 66vw; }
    .garden-weather-widget { top: max(130px, 22vh); left: calc(66vw + 360px); right: auto; }
    .ghost-scene           { top: max(130px, 16vh); left: calc(66vw + 700px); right: auto; width: 62vw; max-width: 1100px; }
}

@media screen and (min-width: 1201px) and (max-height: 780px) {
    .schedule-widget { padding: 1rem; }
    .widget-info { height: 95px; }
    .status-title { font-size: 2rem; }
    .hours-text { font-size: 1.1rem; }
    .hero-content h1 { font-size: clamp(3rem, 10vh, 5rem); }
    .hero-content h2 { font-size: 1.5rem; margin: 0.4rem 0 0.6rem; }
    .hero-content p { font-size: 1.05rem; margin-bottom: 0.8rem; }
    .btn-primary { padding: 0.6rem 1.4rem; font-size: 1rem; }
    .doom-ticket { bottom: 4vh; width: 280px; padding: 0.9rem; }
    .ticket-data p { font-size: 0.8rem; }
}

.scroll-hint { display: none; }
@media (min-width: 1201px) {
    .scroll-hint {
        display: block; position: fixed; right: 4%; bottom: 3vh; z-index: 50;
        font-family: var(--font-display); letter-spacing: 2px;
        background: #fff; color: var(--bg-color); padding: .5rem 1rem;
        box-shadow: 4px 4px 0 var(--primary-color); transition: opacity .4s;
    }
    .scroll-hint.hide { opacity: 0; pointer-events: none; }
}

/* ==========================================================================
   BOTÓN DE WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    z-index: 10000; /* Asegura que siempre sobrevuele los demás elementos */
    background-color: #060d17; /* Más oscuro que el fondo actual (#0b192c) */
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px; /* Forma de píldora redondeada */
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 6px 6px 0px var(--primary-color);
}

.wa-text {
    font-family: var(--font-display);
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.wa-icon {
    width: 26px;
    height: 26px;
}

/* --- COMPU (Arriba a la derecha del logo) --- */
@media screen and (min-width: 1201px) {
    .whatsapp-btn {
        top: 20px;       
        left: 280px;     /* Aumentamos la distancia para que rebase el logo del fantasma */
        bottom: auto;    
        right: auto;
        padding: 6px 14px; 
        z-index: 10000;
    }
    
    .whatsapp-btn .wa-text {
        font-size: 0.95rem; 
    }
    .whatsapp-btn .wa-icon {
        width: 22px;
        height: 22px;
    }
}

/* --- TELÉFONO (Abajo a la derecha) --- */
@media screen and (max-width: 1200px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        top: auto;
        left: auto;
    }
}

/* ==========================================================================
   RESPETO A "PREFERS-REDUCED-MOTION" (usuarios que piden menos movimiento)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .logo, .btn-primary, .day-box, .location-widget,
    .whatsapp-btn, .menu-list li, .menu-item h3, .flying-menu { transition: none; }
    .location-widget, .menu-sourdough, .menu-ghosts, .flyerGlitch { animation: none !important; }
}