* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #FFD700, #FFF700);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.menu-container {
    position: relative;
    width: 100%;
    height: 100vh;
    perspective: 1000px;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.page.active {
    transform: rotateY(0deg) translateZ(0);
    z-index: 10;
}

.page.prev {
    transform: rotateY(-90deg) translateX(-50%);
    z-index: 5;
}

.page.next {
    transform: rotateY(90deg) translateX(50%);
    z-index: 5;
}

.category-header {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.category-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.carousel-container {
    position: relative;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.carousel {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.food-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.food-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #FFD700;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.food-image:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.food-details {
    text-align: center;
    margin-top: 30px;
}

.food-name {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease;
}

.food-description {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.food-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.nav-btn:active {
    transform: scale(0.95);
}

.category-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.9);
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
}

.category-nav:hover {
    background: rgba(255, 215, 0, 1);
    transform: translateY(-50%) scale(1.05);
}

.category-nav.prev {
    left: 20px;
}

.category-nav.next {
    right: 20px;
}

.dots-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FFD700;
    transform: scale(1.3);
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700, #FFF700);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loading-text {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
    text-align: center;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.3);
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 2rem;
    }
    
    .food-image {
        width: 240px;
        height: 240px;
    }
    
    .food-name {
        font-size: 1.7rem;
    }
    
    .food-description {
        font-size: 1rem;
    }
    
    .food-price {
        font-size: 1.5rem;
    }
}