/* Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Página sem scroll */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('frutiger-bg.jpg');
    background-color: #00aeff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden; 
}

/* Container principal com Grid Layout */
.menu-container {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    max-width: 1000px;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    max-height: 95vh;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
}

/* Título */
header h1 {
    text-align: center;
    font-size: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding-bottom: 15px;
    color: #005a8c;
    font-weight: 600;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Área dos drinks com scroll interno */
.drinks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    overflow-y: auto;
    padding-right: 10px;
    min-height: 0;
}

/* Cada card de drink individual */
.drink-card {
    width: calc(50% - 10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.75);
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 280px;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Centraliza o último item se for ímpar */
.drink-card:last-child:nth-child(odd) {
    margin: 0 auto;
}

/* Imagem do drink */
.drink-card img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Div para organizar info do drink */
.drink-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Nome do drink */
.drink-name {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
    color: #2e7d32;
    font-weight: 600;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Alinhamento dos ingredientes */
.drink-info ul {
    list-style: none;
    width: 100%;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Ingredientes com efeito "glossy" */
.drink-info li {
    background: linear-gradient(to bottom, #ffffff, #e8e8e8);
    border: 1px solid #b0b0b0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
    padding: 8px;
    text-align: left;
    padding-left: 15px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
}

.drink-info li:last-child {
    margin-bottom: 0;
}

/* Mascote/GIF - Versão Desktop */
.rato-imagem {
    width: 300px;
    position: absolute; 
    bottom: -80px;
    right: -60px;
    transform: rotate(5deg);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.4));
    display: block;
    z-index: 10;
}

/* Barra de rolagem com tema "Aero" */
.drinks-grid::-webkit-scrollbar {
  width: 12px;
}

.drinks-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.drinks-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, #64b5f6, #2196f3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* === ANIMAÇÃO DE SHAKE PARA O EASTER EGG === */
.shake-animation {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}
/* ======================================================= */
/* === ESTILOS RESPONSIVOS PARA CELULARES E TABLETS === */
/* ======================================================= */
@media (max-width: 768px) {

    .menu-container {
        padding: 15px;
        gap: 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }

    .drinks-grid {
        gap: 15px;
    }

    .drink-card {
        width: 100%;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 20px;
    }

    .drink-card:last-child:nth-child(odd) {
        margin: 0;
    }

    .drink-name {
        font-size: 1.2rem;
    }
    
    .drink-card img {
        height: 150px;
    }

    /* === MASCOTE/GIF - VERSÃO MOBILE (NOVO POSICIONAMENTO) === */
    .rato-imagem {
        width: 70px; /* Menor para não atrapalhar no topo */
        position: fixed; 
        top: 25px; /* Posição no canto SUPERIOR da TELA */
        right: 25px; /* Posição no canto direito da TELA */
        transform: none; /* Remove a rotação para um visual mais limpo */
        opacity: 0.9;
        z-index: 100;
    }
}