* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.6s ease-out 1.5s forwards;
}

.splash-image {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    animation: emerge 0.8s ease-out;
    object-fit: contain;
}

@keyframes emerge {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

body {
    font-family: 'Arial', sans-serif;
    /*background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);*/
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: black;
    /* animation: backgroundShift 10s ease-in-out infinite; */
}

@keyframes backgroundShift {
    0%, 100% {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    50% {
        background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    }
}

.menu-container {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 
                0 0 100px rgba(0, 212, 255, 0.1) inset;
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(10px);
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decoración de hojas tropicales */
.leaves-decoration {
    position: absolute;
    width: 100%;
    height: 80px;
    pointer-events: none;
    overflow: hidden;
}

.top-leaves {
    top: -10px;
    left: 0;
}

.bottom-leaves {
    bottom: -10px;
    left: 0;
    transform: rotate(180deg);
}

.leaf {
    position: absolute;
    width: 50px;
    height: 70px;
    background: linear-gradient(135deg, #00d4ff, #ff00ff, #ff0066);
    border-radius: 50% 0 50% 0;
    opacity: 0.8;
    filter: blur(3px);
    animation: glow 3s ease-in-out infinite;
}

.leaf-1 {
    top: 10px;
    left: 20px;
    transform: rotate(-20deg);
    animation-delay: 0s;
}

.leaf-2 {
    top: 5px;
    left: 60px;
    transform: rotate(15deg);
    animation-delay: 0.5s;
}

.leaf-3 {
    top: 15px;
    right: 60px;
    transform: rotate(-15deg);
    animation-delay: 1s;
}

.leaf-4 {
    top: 10px;
    right: 20px;
    transform: rotate(20deg);
    animation-delay: 1.5s;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Header */
.menu-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-container {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.cocktail-icon {
    width: 80px;
    height: 80px;
    stroke: white;
    fill: none;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.8));
    }
}

.bar-name {
    color: white;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 4px;
    animation: fadeIn 1s ease-out 0.3s both;
    text-transform: uppercase;
}

.menu-title {
    color: white;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.2;
    animation: fadeIn 1s ease-out 0.5s both;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6),
                 0 0 60px rgba(255, 0, 255, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Buscador */
.search-container {
    position: relative;
    margin-bottom: 30px;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 18px 50px 18px 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 17px;
    outline: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4),
                0 0 50px rgba(255, 0, 255, 0.2);
    animation: searchFocus 0.3s ease-out;
    transform: scale(1.01);
}

@keyframes searchFocus {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Filtros de categoría */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
    justify-content: center;
    z-index: 1;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #00d4ff 0%, #ff00ff 100%);
    border-color: transparent;
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5),
                0 0 40px rgba(255, 0, 255, 0.3);
    animation: buttonPulse 2s ease-in-out infinite;
    transform: scale(1.05);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 0, 255, 0.6);
    }
}

/* Contenido del menú */
.menu-content {
    position: relative;
    z-index: 1;
}

.category-section {
    margin-bottom: 35px;
    animation: slideInLeft 0.6s ease-out both;
}

.category-section.hidden {
    display: none;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-title {
    color: white;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    animation: titleSlide 0.5s ease-out both;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #ff00ff, #00d4ff);
    animation: lineExpand 0.8s ease-out 0.3s both;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: itemFadeIn 0.5s ease-out both;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.menu-item:hover::before {
    left: 100%;
}

@keyframes itemFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 0, 255, 0.05) 100%);
    border-left-color: #00d4ff;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3),
                0 0 40px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.menu-item.on-sale {
    border-left-color: #ff0066;
    background: linear-gradient(135deg, rgba(255, 0, 102, 0.08) 0%, rgba(255, 0, 255, 0.05) 100%);
    border-color: rgba(255, 0, 102, 0.2);
}

.menu-item.on-sale:hover {
    border-left-color: #ff0066;
    box-shadow: 0 8px 30px rgba(255, 0, 102, 0.4),
                0 0 40px rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 102, 0.4);
}

.menu-item.hidden {
    display: none;
}

.item-info {
    flex: 1;
}

.name-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.sale-badge {
    background: linear-gradient(135deg, #ff0066, #ff00ff);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(255, 0, 102, 0.5);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(255, 0, 102, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 2px 15px rgba(255, 0, 255, 0.8);
    }
}

.item-name {
    color: white;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.menu-item:hover .item-name {
    color: #00d4ff;
}

.menu-item.on-sale:hover .item-name {
    color: #ff0066;
}

.item-details {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 15px;
    gap: 5px;
}

.original-price {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: normal;
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: #ff0066;
    position: relative;
    animation: priceStrike 0.5s ease-out;
}

@keyframes priceStrike {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.item-price {
    color: white;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.menu-item.on-sale .item-price {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: priceGlow 2s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

.menu-item:hover .item-price {
    transform: scale(1.1);
}

/* Mensaje cuando no hay resultados */
.no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    padding: 40px 20px;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.no-results.show {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .menu-container {
        max-width: 95%;
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .menu-container {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .menu-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .bar-name {
        font-size: 22px;
    }

    .category-filters {
        gap: 8px;
        padding: 15px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 11px;
    }

    .category-title {
        font-size: 20px;
    }

    .menu-item {
        padding: 18px 20px;
    }

    .item-name {
        font-size: 16px;
    }

    .item-price {
        font-size: 18px;
    }

    .search-input {
        padding: 15px 45px 15px 20px;
        font-size: 16px;
    }
}

