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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #1a1611; /* Kahve tonu fallback */
    background: linear-gradient(135deg, #2c1810 0%, #1a1611 25%, #0f0d0a 50%, #1a1611 75%, #2c1810 100%);
    color: #f7f5f3;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
    animation: backgroundShift 60s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(44, 24, 16, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(60, 40, 25, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(30, 20, 15, 0.06) 0%, transparent 40%);
    z-index: -1;
    animation: ambientFloat 45s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

/* Lüks Arka Plan Deseni */
.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1611; /* Kahve tonu fallback */
    background: 
        radial-gradient(circle at 20% 20%, rgba(44, 24, 16, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 22, 17, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(15, 13, 10, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.background-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(255, 215, 0, 0.04) 49%, rgba(255, 215, 0, 0.04) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    animation: luxuryFloat 25s ease-in-out infinite;
}

@keyframes luxuryFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(0.5deg); }
    50% { transform: translateY(-2px) rotate(-0.5deg); }
    75% { transform: translateY(-8px) rotate(0.3deg); }
}

/* Başlangıç Ekranı */
#homeScreen {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.content {
    text-align: center;
    z-index: 10;
}

.logo {
    margin-bottom: 60px;
    text-align: center;
}

.brand-logo {
    max-width: 130px;
    max-height: 130px;
    width: auto;
    height: auto;
    margin: -20px auto 40px auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
    display: block;
    /* Safari specific fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
}

/* Safari specific logo size fix */
@supports (-webkit-appearance: none) and (not (appearance: none)) {
    .brand-logo {
        max-width: 120px;
        max-height: 120px;
    }
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.brand-name {
    font-size: 4.5rem;
    font-weight: 100;
    color: #f5f3f0;
    text-shadow: 0 0 15px rgba(100, 100, 100, 0.2);
    letter-spacing: 12px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #cccccc 0%, #999999 50%, #777777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gentleGlow 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}



.brand-subtitle {
    font-size: 1.8rem;
    font-weight: 100;
    color: #999999;
    letter-spacing: 6px;
    text-shadow: 0 0 20px rgba(60, 60, 60, 0.3);
    font-style: normal;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.brand-subtitle::before,
.brand-subtitle::after {
    content: '◦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #cccccc;
    font-size: 1rem;
    opacity: 0.7;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    animation: subtlePulse 3s ease-in-out infinite;
}

.brand-subtitle::before {
    left: -30px;
}

.brand-subtitle::after {
    right: -30px;
}

.start-button {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.start-button:hover {
    transform: scale(1.05);
}

.start-text {
    font-size: 1.4rem;
    color: #f7f5f3;
    font-weight: 200;
    text-shadow: 0 0 20px rgba(200, 200, 200, 0.5);
    position: relative;
    padding: 15px 30px;
    border: 1px solid rgba(200, 200, 200, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    background-color: rgba(13, 10, 7, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1s forwards;
}

.start-text:hover {
    border-color: rgba(200, 200, 200, 0.9);
    box-shadow: 0 0 35px rgba(200, 200, 200, 0.5);
    transform: scale(1.05) translateY(-2px);
    background-color: rgba(13, 10, 7, 0.9);
    text-shadow: 0 0 25px rgba(200, 200, 200, 0.7);
}

/* Menü Seçenekleri Ekranı */
.menu-overlay {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: auto;
    max-width: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    overflow: visible;
    opacity: 1;
    animation: none;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}



.menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 200, 0.6), transparent);
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    min-height: 40px;
}

.menu-header h3 {
    font-size: 1.4rem;
    font-weight: 200;
    color: #f5f3f0;
    letter-spacing: 3px;
    position: relative;
    margin: 0;
    padding: 10px 30px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
    background: rgba(15, 15, 15, 0.2);
    border-radius: 0 25px 25px 0;
    border: 1px solid rgba(60, 60, 60, 0.2);
    border-left: none;
    backdrop-filter: blur(10px);
    width: 280px;
    box-sizing: border-box;
}

.menu-header h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: #cccccc;
    animation: expandLine 1s ease-out 0.8s forwards;
    transform-origin: center;
    scale: 0 1;
}

@keyframes expandLine {
    to {
        scale: 1 1;
        transform: translateX(-50%);
    }
}

.close-btn {
    background: none;
    border: none;
    color: #999999;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(60, 60, 60, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    flex-shrink: 0;
}

.close-btn:hover {
    background: rgba(200, 200, 200, 0.1);
    color: #cccccc;
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(200, 200, 200, 0.5);
    box-shadow: 0 0 25px rgba(200, 200, 200, 0.4);
}

.menu-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    max-height: 75vh;
    overflow-y: auto;
    padding: 10px 0;
    padding-right: 5px;
    /* Natural scroll behavior */
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

/* Modern scrollbar style */
.menu-options::-webkit-scrollbar {
    width: 6px;
}

.menu-options::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.menu-options::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.3);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.menu-options::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 120, 120, 0.5);
}

/* Firefox scrollbar */
.menu-options {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 100, 100, 0.3) rgba(0, 0, 0, 0.1);
}

.menu-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: #1a1611cc;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(200, 200, 200, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    min-height: 60px;
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Dinamik menü butonları için stil */
.menu-button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 24px;
    background: rgba(15, 15, 15, 0.4);
    border-radius: 0 18px 18px 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(60, 60, 60, 0.2);
    border-left: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(-250px);
    animation: slideInFromLeftButton 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    min-height: 48px;
    box-sizing: border-box;
    width: 200px;
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.8px;
    margin-left: 0;
    align-self: flex-start;
    font-weight: 200;
    color: #f7f5f3;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.menu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(60, 60, 60, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-button:hover::before {
    opacity: 1;
}

.menu-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: rgba(120, 120, 120, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background: rgba(25, 25, 25, 0.6);
    border-color: rgba(100, 100, 100, 0.4);
    transform: translateX(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(180, 180, 180, 0.5);
    width: 250px;
    margin-left: 0;
}



.menu-option::before {
    content: '▸';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #cccccc;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    z-index: 1;
}

.menu-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 200, 200, 0.1), transparent);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-option:hover {
    background: rgba(200, 200, 200, 0.2);
    border-color: rgba(200, 200, 200, 0.6);
    transform: translateX(10px) translateY(-2px);
    box-shadow: 
        0 20px 40px rgba(200, 200, 200, 0.3),
        0 0 0 1px rgba(200, 200, 200, 0.4);
}

.menu-option:hover::before {
    left: 25px;
    opacity: 1;
}

.menu-option:hover::after {
    opacity: 1;
}

.menu-option span:first-child {
    font-size: 1.2rem;
    font-weight: 200;
    color: #f7f5f3;
    text-shadow: 0 0 15px rgba(200, 200, 200, 0.3);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.arrow {
    font-size: 1.5rem;
    color: #cccccc;
    font-weight: 100;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 10px rgba(200, 200, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    min-width: 30px;
    height: 30px;
}

.menu-option:hover .arrow {
    color: #aaaaaa;
    transform: translateX(8px) scale(1.2);
    text-shadow: 0 0 20px rgba(170, 170, 170, 0.5);
}

/* Menü Detay Ekranı */
.menu-detail-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-detail-content .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: rgba(26, 22, 17, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(200, 200, 200, 0.1);
    position: relative;
    min-height: 50px;
}

.menu-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
}

.back-btn {
    background: none;
    border: none;
    color: #999999;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(60, 60, 60, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.back-btn:hover {
    background: rgba(200, 200, 200, 0.1);
    color: #cccccc;
    transform: translateX(-8px) scale(1.1);
    border-color: rgba(200, 200, 200, 0.5);
    box-shadow: 0 0 25px rgba(200, 200, 200, 0.4);
}

#menuTitle {
    font-size: 1.3rem;
    font-weight: 200;
    color: #f5f3f0;
    text-shadow: 0 0 15px rgba(200, 200, 200, 0.3);
    letter-spacing: 2px;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#menuTitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cccccc, transparent);
}

/* Kategori Sekmeleri */
.category-tabs {
    display: flex;
    background: rgba(13, 10, 7, 0.95);
    padding: 6px 15px;
    margin-top: -5px;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    justify-content: flex-start;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
}

.category-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: 12px 16px;
    background: rgba(26, 22, 17, 0.8);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 200;
    color: #f7f5f3;
    border: 1px solid rgba(200, 200, 200, 0.3);
    position: relative;
    backdrop-filter: blur(15px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40px;
    min-width: 120px;
    flex-shrink: 0;
}

.tab::before {
    display: none;
}

.tab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.tab.active {
    background: rgba(200, 200, 200, 0.25);
    border-color: #cccccc;
    color: #cccccc;
    box-shadow: 
        0 8px 25px rgba(200, 200, 200, 0.3),
        0 0 0 1px rgba(200, 200, 200, 0.5);
    text-shadow: 0 0 15px rgba(200, 200, 200, 0.4);
    padding: 12px 16px;
}

.tab.active::before {
    display: none;
}

.tab.active::after {
    opacity: 1;
}

.tab:hover {
    background: rgba(200, 200, 200, 0.2);
    border-color: rgba(200, 200, 200, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 200, 200, 0.25);
}

/* Menü Öğeleri */
.menu-items {
    flex: 1;
    padding: 20px 20px 80px 20px; /* Alt tarafta daha fazla padding */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}

.menu-items::-webkit-scrollbar {
    width: 6px;
}

.menu-items::-webkit-scrollbar-track {
    background: transparent;
}

.menu-items::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 3px;
}

.menu-item {
    display: flex;
    background: rgba(26, 22, 17, 0.9);
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(200, 200, 200, 0.3);
    position: relative;
    backdrop-filter: blur(15px);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #6366f1, #8b5cf6);
    opacity: 0;
    transition: all 0.4s ease;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.menu-item:hover {
    background: rgba(200, 200, 200, 0.2);
    border-color: rgba(200, 200, 200, 0.5);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 45px rgba(200, 200, 200, 0.25),
        0 0 0 1px rgba(200, 200, 200, 0.4);
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item:hover::after {
    opacity: 1;
}

.menu-item-image {
    width: 200px;
    height: 190px;
    background: linear-gradient(135deg, #000000, #0a0a0a, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #888888;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(40, 40, 40, 0.5);
    border-radius: 15px;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    background: #fff;
}

.menu-item-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.15) 0%, transparent 70%);
    animation: luxuryShimmer 6s ease-in-out infinite;
}

@keyframes luxuryShimmer {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 0.6; }
}

@keyframes backgroundShift {
    0%, 100% { 
        background: linear-gradient(135deg, #0d0a07 0%, #1a1611 25%, #252015 50%, #1a1611 75%, #0d0a07 100%);
    }
    20% { 
        background: linear-gradient(135deg, #0f0c09 0%, #1c1813 25%, #272117 50%, #1c1813 75%, #0f0c09 100%);
    }
    40% { 
        background: linear-gradient(135deg, #111e0b 0%, #1e1a15 25%, #292319 50%, #1e1a15 75%, #111e0b 100%);
    }
    60% { 
        background: linear-gradient(135deg, #131007 0%, #201c17 25%, #2b251b 50%, #201c17 75%, #131007 100%);
    }
    80% { 
        background: linear-gradient(135deg, #151209 0%, #221e19 25%, #2d271d 50%, #221e19 75%, #151209 100%);
    }
}

@keyframes ambientFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-2px) scale(1.01);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-3px) scale(1.02);
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-1px) scale(1.01);
        opacity: 0.5;
    }
}

@keyframes gentleGlow {
    0%, 100% { 
        text-shadow: 0 0 15px rgba(200, 200, 200, 0.2);
        filter: brightness(1);
    }
    33% { 
        text-shadow: 0 0 18px rgba(200, 200, 200, 0.25);
        filter: brightness(1.02);
    }
    66% { 
        text-shadow: 0 0 22px rgba(200, 200, 200, 0.3);
        filter: brightness(1.05);
    }
}

@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(200, 200, 200, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(200, 200, 200, 0.4);
        transform: scale(1.02);
    }
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translate(-100%, -50%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideInFromLeftButton {
    from {
        opacity: 0;
        transform: translateX(-250px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeftTitle {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-item-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item-header {
    margin-bottom: 10px;
}

.menu-item-title {
    font-size: 1.3rem;
    font-weight: 300;
    color: #f7f5f3;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(200, 200, 200, 0.3);
    letter-spacing: 0.5px;
}

.menu-item-description {
    font-size: 0.95rem;
    color: rgba(180, 180, 180, 0.9);
    line-height: 1.5;
    font-weight: 200;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.menu-item-price {
    font-size: 1.4rem;
    font-weight: 400;
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    letter-spacing: 1px;
}

.menu-item-icons {
    display: flex;
    gap: 5px;
}

.menu-item-icon {
    width: 24px;
    height: 24px;
    background: rgba(15, 15, 35, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.menu-item-icon:hover {
    background: rgba(200, 200, 200, 0.2);
    border-color: rgba(200, 200, 200, 0.5);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(200, 200, 200, 0.4);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    /* Mobile background fix */
    body {
        background-color: #1a1611 !important;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    html {
        height: -webkit-fill-available;
    }
    
    .screen {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .background-pattern {
        background-color: #1a1611 !important;
    }
    
    .brand-logo {
        max-width: 110px;
        max-height: 110px;
        margin: -15px auto 30px auto;
    }
    
    /* Mobile Safari specific fix */
    @supports (-webkit-touch-callout: none) {
        .brand-logo {
            max-width: 100px;
            max-height: 100px;
        }
    }
    
    .brand-name {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .brand-subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .brand-subtitle::before,
    .brand-subtitle::after {
        font-size: 1rem;
        width: 18px;
        height: 18px;
    }
    
    .start-text {
        font-size: 1rem;
    }
    
    /* Mobile menu items padding fix */
    .menu-items {
        padding: 15px 15px 100px 15px !important;
    }
    
    /* Mobile menu options scroll fix */
    .menu-options {
        max-height: 70vh !important;
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: none !important;
        padding: 15px 0 !important;
        /* Remove scroll snap for smoother scrolling */
        scroll-snap-type: none !important;
    }
    
    .menu-overlay {
        position: fixed;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: auto;
        max-width: none;
        background: transparent;
        border-radius: 0;
        padding: 0;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        overflow: visible;
        opacity: 1;
        animation: none;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .menu-header {
        min-height: 35px;
        padding: 10px 0;
        margin-bottom: 10px;
    }
    
    .menu-header h3 {
        font-size: 1.2rem;
        letter-spacing: 2px;
        padding: 10px 20px;
        width: 85vw;
        max-width: 320px;
    }
    
    .menu-option {
        padding: 15px;
        transform: none !important;
        transition: background-color 0.8s ease, border-color 0.8s ease !important;
        will-change: auto;
    }
    
    .menu-option:hover,
    .menu-option:active,
    .menu-option:focus,
    .menu-option:target {
        transform: none !important;
        background: rgba(40, 35, 28, 0.9) !important;
        /* Prevent layout shift during touch */
        width: 100% !important;
        max-width: 400px !important;
    }
    

    
    /* Slow down all menu transitions on mobile */
    .menu-option {
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }
    
    .menu-option::before {
        font-size: 1rem;
        width: 18px;
        height: 18px;
        left: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-align: center;
        vertical-align: middle;
    }
    
    .menu-button {
        width: 80vw;
        max-width: 280px;
        min-height: 42px;
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 0 20px 20px 0;
        background: rgba(15, 15, 15, 0.6);
        border: 1px solid rgba(60, 60, 60, 0.3);
        border-left: none;
        backdrop-filter: blur(15px);
        margin-left: 0;
        align-self: flex-start;
        margin-bottom: 6px;
    }
    
    .menu-button:hover {
        width: 85vw;
        max-width: 320px;
        transform: translateX(8px);
        background: rgba(25, 25, 25, 0.7);
        margin-left: 0;
    }

    
    .menu-option:hover::before {
        left: 15px;
    }
    
    .tab {
        padding: 10px 12px;
        font-size: 0.75rem;
        min-height: 35px;
        min-width: 100px;
        flex-shrink: 0;
    }
    
    .tab.active {
        padding: 10px 12px;
    }
    
    .category-tabs {
        padding: 4px 10px;
        margin-top: -3px;
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item-image {
        width: 100%;
        height: auto;
        max-height: 350px;
    }
    
    .menu-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
        background: #fff;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    /* Small mobile menu items padding fix */
    .menu-items {
        padding: 10px 10px 120px 10px !important;
    }
    
    /* Small mobile menu options scroll fix */
    .menu-options {
        max-height: 65vh !important;
        padding: 10px 0 !important;
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
    }
    
    .brand-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .brand-subtitle::before,
    .brand-subtitle::after {
        font-size: 0.9rem;
        width: 16px;
        height: 16px;
    }
    
    .menu-overlay {
        padding: 15px;
    }
    
    .menu-header {
        min-height: 30px;
        padding: 8px 0;
        margin-bottom: 8px;
    }
    
    .menu-header h3 {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
        padding: 8px 20px;
        width: 90vw;
        max-width: 300px;
    }
    
    .close-btn, .back-btn {
        min-width: 28px;
        min-height: 28px;
        font-size: 1.5rem;
        padding: 4px 6px;
    }
    
    .menu-option {
        padding: 12px;
        transform: none !important;
    }
    
    .menu-option:hover,
    .menu-option:active {
        transform: none !important;
    }
    
    /* Smooth animations for small screens */
    * {
        animation-duration: 0.8s !important;
        transition-duration: 0.8s !important;
    }
    
    .menu-option::before {
        font-size: 0.9rem;
        width: 16px;
        height: 16px;
        left: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-align: center;
        vertical-align: middle;
    }
    
    .menu-option:hover::before {
        left: 12px;
    }
    
    .tab {
        padding: 8px 10px;
        font-size: 0.7rem;
        min-height: 30px;
        min-width: 90px;
    }
    
    .tab.active {
        padding: 8px 10px;
    }
    
    .category-tabs {
        padding: 3px 8px;
        margin-top: -2px;
        gap: 6px;
    }
    
    .menu-option span:first-child {
        font-size: 1rem;
    }
}


/* Staggered Animations */
.menu-option:nth-child(1) { animation-delay: 0.6s; }
.menu-option:nth-child(2) { animation-delay: 0.8s; }
.menu-option:nth-child(3) { animation-delay: 1.0s; }
.menu-option:nth-child(4) { animation-delay: 1.2s; }

.menu-button:nth-child(1) { animation-delay: 0.1s; }
.menu-button:nth-child(2) { animation-delay: 0.15s; }
.menu-button:nth-child(3) { animation-delay: 0.2s; }
.menu-button:nth-child(4) { animation-delay: 0.25s; }
.menu-button:nth-child(5) { animation-delay: 0.3s; }
.menu-button:nth-child(6) { animation-delay: 0.35s; }
.menu-button:nth-child(7) { animation-delay: 0.4s; }
.menu-button:nth-child(8) { animation-delay: 0.45s; }
.menu-button:nth-child(9) { animation-delay: 0.5s; }
.menu-button:nth-child(10) { animation-delay: 0.55s; }

.menu-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.menu-item:nth-child(1) { animation-delay: 0.2s; }
.menu-item:nth-child(2) { animation-delay: 0.4s; }
.menu-item:nth-child(3) { animation-delay: 0.6s; }
.menu-item:nth-child(4) { animation-delay: 0.8s; }
.menu-item:nth-child(5) { animation-delay: 1.0s; }

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.9), rgba(46, 125, 50, 0.9));
    border: 1.5px solid rgba(76, 175, 80, 0.4);
    border-radius: 50%;
    display: none; /* Varsayılan olarak gizli */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25),
                0 0 10px rgba(34, 139, 34, 0.2);
}

/* Sadece menü detay ve menü seçim ekranlarında göster */
#menuDetail.active ~ .scroll-to-top,
#menuSelection.active ~ .scroll-to-top {
    display: flex;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, rgba(46, 175, 80, 1), rgba(56, 142, 60, 1));
    border-color: rgba(76, 175, 80, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4),
                0 0 15px rgba(46, 125, 50, 0.3);
}

.scroll-to-top::before {
    content: '↑';
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.scroll-to-top:hover::before {
    color: #ffffff;
    transform: translateY(-3px);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* Mobil için scroll-to-top */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top::before {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    
    .scroll-to-top::before {
        font-size: 1.4rem;
    }
}

/* API Integration Styles */
.env-label {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 5px;
    color: #cccccc;
    font-weight: 200;
}

.hidden {
    display: none !important;
}

/* Loading & Error States */
.loading-content, .error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 20px;
    padding: 40px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(60, 60, 60, 0.2);
    border-top: 3px solid #cccccc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-title {
    color: #ff6b6b;
    font-size: 1.5rem;
    font-weight: 600;
}

.error-text {
    background: rgba(26, 22, 17, 0.8);
    border: 1px solid rgba(200, 200, 200, 0.3);
    padding: 15px;
    border-radius: 8px;
    max-width: 100%;
    word-break: break-word;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #f7f5f3;
    font-weight: 200;
}

.retry-btn {
    background: #cccccc;
    color: #0d0a07;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 200, 200, 0.4);
    background: #aaaaaa;
}

/* Menu Button Styles */
.menu-button {
    display: block;
    width: 100%;
    background: rgba(26, 22, 17, 0.9);
    border: 1px solid rgba(200, 200, 200, 0.4);
    color: #f7f5f3;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(200, 200, 200, 0.2);
}

.menu-button:hover {
    background: rgba(200, 200, 200, 0.2);
    border-color: rgba(200, 200, 200, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(200, 200, 200, 0.3);
    color: #cccccc;
    text-shadow: 0 0 15px rgba(200, 200, 200, 0.4);
}

/* Override existing menu-option styles for dynamic content */
.menu-options .menu-button {
    background: rgba(26, 22, 17, 0.9);
    border: 1px solid rgba(200, 200, 200, 0.4);
    color: #f7f5f3;
    text-align: center;
    font-weight: 200;
    letter-spacing: 1px;
    backdrop-filter: blur(15px);
    text-shadow: 0 0 10px rgba(200, 200, 200, 0.2);
}

/* Mobil için ekstra küçük ekranlar */
@media (max-width: 480px) {
    .menu-button {
        width: 85vw;
        max-width: 290px;
        min-height: 45px;
        padding: 12px 18px;
        font-size: 0.95rem;
        border-radius: 0 18px 18px 0;
        background: rgba(15, 15, 15, 0.7);
        border: 1px solid rgba(60, 60, 60, 0.4);
        border-left: none;
        backdrop-filter: blur(12px);
        margin-left: 0;
        align-self: flex-start;
    }
    
    .menu-button:hover {
        width: 90vw;
        max-width: 320px;
        transform: translateX(6px);
        background: rgba(25, 25, 25, 0.8);
        margin-left: 0;
    }

    
    .menu-button::after {
        right: 12px;
        width: 5px;
        height: 5px;
    }
}

/* Prevent layout shifts during scroll */
@media (max-width: 768px) {
    .menu-option {
        contain: layout style !important;
    }
}

/* Mobile touch fixes */
@media (max-width: 768px) and (pointer: coarse) {
    .menu-options {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: none;
        scroll-behavior: auto;
        /* Disable all scroll snapping for smooth scrolling */
        scroll-snap-type: none !important;
        -webkit-scroll-snap-type: none !important;
    }
    
    .menu-option {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }
    
    /* Force disable transforms on touch devices */
    .menu-option,
    .menu-option:hover,
    .menu-option:active,
    .menu-option:focus,
    .menu-option:target {
        transform: none !important;
        transition: background-color 0.3s ease, border-color 0.3s ease !important;
        /* Prevent any size changes */
        width: 100% !important;
        max-width: 400px !important;
        min-height: 60px !important;
        box-sizing: border-box !important;
    }
}

/* Minimal Android Performance Fix - Sadece arka plan animasyonlarını kapat */
@media (max-width: 768px) {
    /* Pahalı arka plan animasyonlarını kapat */
    body::before,
    .background-pattern::before {
        animation: none !important;
    }
    
    /* Scroll container'lara GPU acceleration */
    .menu-options,
    #menuItems {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Critical Android Performance Fixes */
@media (max-width: 768px) {
    /* Disable expensive background animations on mobile */
    body::before,
    .background-pattern::before {
        animation: none !important;
    }
    
    /* Simplify backdrop-filter which is very expensive on Android Chrome */
    .menu-button,
    .tab,
    .start-text {
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
    }
    
    /* Force GPU acceleration for scrollable containers */
    .menu-options,
    #menuItems {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: scroll-position;
    }
    
    /* Optimize scroll performance */
    .menu-item {
        will-change: auto;
        contain: layout style;
    }
    
    /* Reduce shadow complexity on Android */
    .menu-button:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }
}
