@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root { 
    --neon: #FF5500; 
    --bg: #050505; 
    --dark-panel: #1a1a1a; 
    --purple: #BD00FF; 
    --gray: #333; 
    --green: #00FF41; 
    --red: #ff3333; 
    --blue: #00D0FF;
}

* { 
    box-sizing: border-box; 
}

body { 
    margin: 0; 
    font-family: 'Montserrat', sans-serif; 
    background: var(--bg); 
    color: white; 
    overflow-x: hidden; 
    padding-bottom: 50vh; 
}

.bg-layer { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    background: linear-gradient(to top, #050505 10%, transparent), url('bg.webp') center top / cover no-repeat fixed; 
    background-color: #111; 
}

h1, h2, h3, .btn, .brand-font { 
    font-family: 'Russo One', sans-serif; 
    text-transform: uppercase; 
    font-style: italic; 
}

.sticky-wrapper { 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    width: 100%; 
}

header { 
    padding: 15px 40px; 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent); 
    gap: 10px; 
    flex-wrap: wrap;
}

.header-controls { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
}

.btn-icon { 
    background: rgba(255, 85, 0, 0.2); 
    color: white; 
    padding: 10px 15px; 
    font-weight: bold; 
    border: 1px solid var(--neon); 
    cursor: pointer; 
    border-radius: 5px; 
    transition: 0.2s; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    position: relative; 
    white-space: nowrap;
}

.btn-icon:hover { 
    background: var(--neon); 
    color: black; 
    box-shadow: 0 0 15px var(--neon); 
}

.btn-icon.has-new-msg::after { 
    content: ''; 
    position: absolute; 
    top: -3px; 
    right: -3px; 
    width: 12px; 
    height: 12px; 
    background-color: var(--red); 
    border-radius: 50%; 
    border: 2px solid var(--bg); 
    box-shadow: 0 0 10px var(--red); 
    animation: pulse-red 1.5s infinite; 
}

#install-app-btn { 
    background: rgba(189, 0, 255, 0.2); 
    border-color: var(--purple); 
    color: white; 
    display: none; 
}

#install-app-btn:hover { 
    background: var(--purple); 
    box-shadow: 0 0 15px var(--purple); 
    color: white; 
}

@keyframes pulse-red { 
    0% { transform: scale(1); opacity: 1; } 
    50% { transform: scale(1.2); opacity: 0.8; } 
    100% { transform: scale(1); opacity: 1; } 
}

.lang-switch { 
    display: flex; 
    gap: 5px; 
    margin-right: 5px; 
}

.lang-btn { 
    background: #333; 
    color: #888; 
    border: 1px solid #555; 
    cursor: pointer; 
    padding: 5px 8px; 
    font-size: 12px; 
    font-weight: bold; 
}

.lang-btn.active { 
    background: var(--neon); 
    color: black; 
    border-color: var(--neon); 
}

.category-nav { 
    display: flex; 
    gap: 10px; 
    padding: 15px 20px; 
    overflow-x: auto; 
    white-space: nowrap; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 999; 
    background: rgba(10, 10, 10, 0.98); 
    border-top: 1px solid #333; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.8); 
    scrollbar-width: none; 
    scroll-behavior: smooth; 
}

.category-nav::-webkit-scrollbar { 
    display: none; 
}

.cat-btn { 
    background: #222; 
    color: #ccc; 
    border: 1px solid #444; 
    padding: 10px 25px; 
    border-radius: 25px; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 0.9rem; 
    transition: 0.3s; 
    font-family: 'Russo One', sans-serif; 
    text-transform: uppercase; 
    flex-shrink: 0; 
}

.cat-btn:hover, .cat-btn.active { 
    background: var(--neon); 
    color: black; 
    border-color: var(--neon); 
    transform: scale(1.05); 
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.4); 
}

@media (max-width: 768px) { 
    .category-nav { padding-bottom: 25px; } 
    header { padding: 15px 10px; justify-content: center; } 
    .hero h1 { font-size: 3rem; } 
    .hero-logo { max-width: 240px; }
    .header-controls { gap: 8px; }
    .btn-icon { padding: 8px 10px; font-size: 0.85rem; }
}

.hero { 
    min-height: 70vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding-top: 20px; 
}

.hero-logo { 
    max-width: 330px; 
    width: 50vw; 
    height: auto; 
    margin-bottom: 20px; 
    filter: drop-shadow(0 0 15px var(--neon)); 
}

.hero h1 { 
    font-size: clamp(3rem, 8vw, 6rem); 
    margin: 0; 
    -webkit-text-stroke: 1px rgba(255,255,255,0.3); 
    color: transparent; 
    background: linear-gradient(#fff, #999); 
    -webkit-background-clip: text; 
}

.hero p { 
    font-size: clamp(1.5rem, 4vw, 3rem); 
    color: var(--neon); 
    margin: 0; 
}

.cashback-banner { 
    background: linear-gradient(90deg, var(--purple), #660099); 
    color: white; 
    text-align: center; 
    padding: 10px; 
    font-weight: bold; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    box-shadow: 0 0 15px var(--purple); 
}

.menu-section { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    scroll-margin-top: 110px; 
}

.category-title { 
    font-size: 2rem; 
    color: var(--neon); 
    margin: 40px 0 20px 0; 
    border-bottom: 2px solid #333; 
    padding-bottom: 10px; 
}

.menu-grid { 
    display: grid; 
    gap: 30px; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
}

.card { 
    background: rgba(20,20,20,0.95); 
    border: 2px solid #333; 
    border-radius: 15px; 
    overflow: hidden; 
    transition: 0.3s; 
    display: flex; 
    flex-direction: column; 
    backdrop-filter: blur(5px); 
}

.card:hover { 
    border-color: var(--neon); 
    transform: translateY(-5px); 
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.2); 
}

.card.sold-out { 
    opacity: 0.5; 
    pointer-events: none; 
    filter: grayscale(1); 
    border-color: #555; 
}

.card img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    background: #222; 
}

.card-body { 
    padding: 20px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.skeleton-card { 
    background: #1a1a1a; 
    border: 1px solid #333; 
    border-radius: 15px; 
    height: 350px; 
    position: relative; 
    overflow: hidden; 
}

.skeleton-card::after { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent); 
    transform: translateX(-100%); 
    animation: shimmer 1.5s infinite; 
}

@keyframes shimmer { 
    100% { transform: translateX(100%); } 
}

.action-row { 
    margin-top: auto; 
    display: flex; 
    gap: 10px; 
}

.btn-details { 
    flex: 1; 
    background: #333; 
    color: white; 
    border: 1px solid #555; 
    padding: 10px; 
    cursor: pointer; 
    font-weight: bold; 
    border-radius: 5px; 
    font-size: 0.8rem; 
}

.btn-add { 
    flex: 2; 
    background: var(--neon); 
    color: black; 
    border: none; 
    padding: 10px; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 5px; 
    transition: 0.2s; 
    font-family: 'Russo One', sans-serif; 
    text-transform: uppercase; 
}

.btn-add:hover { 
    box-shadow: 0 0 15px var(--neon); 
    transform: scale(1.02); 
}

.btn-add:disabled { 
    background: #555; 
    cursor: not-allowed; 
}

.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.85); 
    z-index: 1000; 
    display: none; 
    justify-content: center; 
    align-items: center; 
    backdrop-filter: blur(5px); 
}

.modal-overlay.active { 
    display: flex; 
    animation: fadeIn 0.2s ease-out; 
}

.modal-content { 
    background: #111; 
    border: 1px solid #333; 
    width: 90%; 
    max-width: 500px; 
    border-radius: 10px; 
    padding: 30px; 
    position: relative; 
    max-height: 90vh; 
    overflow-y: auto; 
    box-shadow: 0 0 30px rgba(0,0,0,0.8); 
}

.close-modal { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    font-size: 1.8rem; 
    width: 45px; 
    height: 45px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #222; 
    color: #fff; 
    border: 2px solid #444; 
    border-radius: 50%; 
    cursor: pointer; 
    z-index: 20; 
    transition: 0.2s; 
}

.close-modal:hover { 
    background: var(--neon); 
    border-color: var(--neon); 
    color: black; 
    transform: rotate(90deg); 
}

#profile-modal, #auth-modal, #confirm-modal, #reset-password-modal { 
    z-index: 1050; 
}

#support-modal { 
    z-index: 1060; 
}

#support-modal .modal-content { 
    width: 95%; 
    height: 85vh; 
    max-width: 600px; 
    display: flex; 
    flex-direction: column; 
    padding: 0; 
    overflow: hidden; 
    border: 1px solid var(--purple); 
}

.chat-header-panel { 
    padding: 15px; 
    background: #111; 
    border-bottom: 1px solid #333; 
    text-align: center; 
    flex-shrink: 0; 
}

.scroll-container { 
    max-height: 400px; 
    overflow-y: auto; 
    padding-right: 10px; 
}

.history-card { 
    background: rgba(25, 25, 25, 0.95); 
    border: 1px solid #333; 
    border-top: 3px solid var(--neon); 
    padding: 15px; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    transition: 0.3s; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
}

.history-card:hover { 
    border-color: var(--neon); 
    transform: translateY(-2px); 
}

.history-card.done { 
    border-top-color: var(--green); 
}

.history-card.cancelled { 
    border-top-color: var(--red); 
}

.ticket-card { 
    background: #1a1a1a; 
    padding: 15px; 
    border-radius: 8px; 
    margin-bottom: 10px; 
    border: 1px solid #333; 
    cursor: pointer; 
    transition: 0.2s; 
}

.ticket-card:hover { 
    border-color: var(--purple); 
    box-shadow: 0 0 10px rgba(189, 0, 255, 0.2); 
}

.ticket-header { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.8rem; 
    color: #888; 
    margin-bottom: 5px; 
}

.ticket-topic { 
    color: var(--neon); 
    font-weight: bold; 
    font-size: 0.9rem; 
}

.ticket-msg { 
    margin-top: 5px; 
    color: #ddd; 
    font-size: 0.9rem; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.admin-reply-preview { 
    margin-top: 5px; 
    padding-top: 5px; 
    border-top: 1px dashed #444; 
    color: var(--green); 
    font-size: 0.85rem; 
}

.form-group { 
    margin-bottom: 15px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 5px; 
    color: #888; 
    font-size: 0.9rem; 
}

.form-group input, .form-group select, .form-group textarea { 
    width: 100%; 
    padding: 12px; 
    background: #222; 
    border: 1px solid #444; 
    color: white; 
    border-radius: 5px; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

.cart-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
    border-bottom: 1px solid #333; 
}

.cart-item-left { 
    flex: 1; 
    padding-right: 15px; 
    font-size: 0.95rem; 
    line-height: 1.4; 
}

.cart-item-right { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    white-space: nowrap; 
    flex-shrink: 0; 
}

.cart-remove { 
    color: var(--red); 
    cursor: pointer; 
    font-size: 1.5rem; 
    font-weight: bold; 
    line-height: 1; 
}

.btn-plus { 
    background: #333; 
    color: var(--green); 
    border: 1px solid var(--green); 
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1.2rem; 
    transition: 0.2s; 
}

.btn-plus:hover { 
    background: var(--green); 
    color: black; 
}

.total-row { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 15px; 
    font-size: 1.2rem; 
    font-weight: bold; 
    color: var(--neon); 
}

.upsell-container { 
    margin-top: 20px; 
    padding-top: 20px; 
    border-top: 1px solid #333; 
}

.upsell-scroll { 
    display: flex; 
    gap: 10px; 
    overflow-x: auto; 
    padding-bottom: 10px; 
}

.upsell-card { 
    min-width: 120px; 
    background: #222; 
    border: 1px solid #444; 
    border-radius: 8px; 
    padding: 10px; 
    text-align: center; 
    cursor: pointer; 
    transition: 0.2s; 
}

.upsell-card:hover { 
    border-color: var(--neon); 
}

.upsell-card img { 
    width: 50px; 
    height: 50px; 
    object-fit: cover; 
    border-radius: 50%; 
    margin-bottom: 5px; 
}

.upsell-name { 
    font-size: 0.8rem; 
    font-weight: bold; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.upsell-price { 
    color: var(--neon); 
    font-size: 0.9rem; 
}

.bonus-card { 
    background: rgba(189, 0, 255, 0.1); 
    border: 1px solid var(--purple); 
    padding: 15px; 
    border-radius: 8px; 
    margin-top: 20px; 
    margin-bottom: 10px; 
}

.bonus-toggle { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
}

.bonus-info { 
    font-size: 0.9rem; 
    color: #ccc; 
    margin-top: 5px; 
}

.profile-header { 
    text-align: center; 
    margin-bottom: 20px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid #333; 
}

.profile-balance { 
    font-size: 2rem; 
    color: var(--purple); 
    font-weight: bold; 
    font-family: 'Russo One'; 
}

.tabs { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
}

.tab-btn { 
    flex: 1; 
    padding: 10px; 
    background: #222; 
    border: 1px solid #444; 
    color: #888; 
    cursor: pointer; 
    border-radius: 5px; 
    font-weight: bold; 
}

.tab-btn.active { 
    background: var(--purple); 
    color: white; 
    border-color: var(--purple); 
}

.tab-content { 
    display: none; 
}

.tab-content.active { 
    display: block; 
}

.address-item { 
    background: #222; 
    padding: 10px; 
    border-radius: 5px; 
    margin-bottom: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border: 1px solid #333; 
    width: 100%; 
}

.address-tag { 
    font-size: 0.7rem; 
    background: #444; 
    padding: 2px 5px; 
    border-radius: 3px; 
    margin-right: 5px; 
}

.saved-addresses { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 5px; 
    margin-bottom: 10px; 
    padding-bottom: 5px; 
}

.chip-address { 
    padding: 5px 10px; 
    background: #333; 
    border-radius: 15px; 
    font-size: 0.8rem; 
    cursor: pointer; 
    white-space: nowrap; 
    border: 1px solid #444; 
    color: #ccc; 
}

.chip-address.selected { 
    background: var(--purple); 
    color: white; 
    border-color: var(--purple); 
}

.chip-address:hover { 
    border-color: var(--neon); 
    color: white; 
}

#address-map-container, #reg-map-container, #order-map-container { 
    width: 100%; 
    height: 250px; 
    border-radius: 5px; 
    margin-bottom: 15px; 
    background: #eee; 
    border: 1px solid #444; 
}

.ing-list { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin: 15px 0; 
}

.ing-item { 
    background: #222; 
    padding: 8px 12px; 
    border-radius: 20px; 
    border: 1px solid #444; 
    cursor: pointer; 
    user-select: none; 
    font-size: 0.9rem; 
    transition: 0.2s; 
}

.ing-item.removed { 
    background: #333; 
    color: #666; 
    text-decoration: line-through; 
    border-color: #333; 
}

.ing-item:not(.removed) { 
    border-color: var(--neon); 
    color: white; 
}

.primary-btn { 
    background: var(--neon); 
    color: black; 
    width: 100%; 
    padding: 15px; 
    border: none; 
    font-weight: bold; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 1rem; 
    margin-top: 20px; 
    text-transform: uppercase; 
}

#support-create { 
    flex: 1; 
    overflow-y: auto; 
    padding: 30px; 
}

#support-chat { 
    display: none; 
    flex-direction: column; 
    flex: 1; 
    overflow: hidden; 
    min-height: 0; 
}

.chat-container { 
    display: flex; 
    flex-direction: column; 
    flex: 1; 
    background: #050505; 
    overflow: hidden; 
    min-height: 0; 
}

.chat-messages { 
    flex: 1; 
    overflow-y: auto; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    background-image: radial-gradient(#111 10%, transparent 11%); 
    background-size: 10px 10px; 
}

.chat-input-area { 
    background: #111; 
    padding: 15px; 
    border-top: 1px solid #333; 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    flex-shrink: 0; 
}

.message-bubble { 
    max-width: 80%; 
    padding: 12px 16px; 
    border-radius: 12px; 
    font-size: 0.95rem; 
    line-height: 1.4; 
    position: relative; 
    word-wrap: break-word; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.5); 
}

.message-bubble.user { 
    align-self: flex-end; 
    background: rgba(189, 0, 255, 0.15); 
    color: white; 
    border-bottom-right-radius: 2px; 
    border: 1px solid var(--purple); 
    box-shadow: 0 0 10px rgba(189, 0, 255, 0.1); 
}

.message-bubble.admin { 
    align-self: flex-start; 
    background: #222; 
    color: #ddd; 
    border-bottom-left-radius: 2px; 
    border-left: 3px solid var(--green); 
}

.message-img { 
    max-width: 100%; 
    border-radius: 8px; 
    margin-top: 8px; 
    cursor: pointer; 
    border: 1px solid #444; 
}

.notify { 
    position: fixed; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%) translateY(-100px); 
    min-width: 300px; 
    max-width: 90%; 
    text-align: center; 
    background: rgba(15, 15, 15, 0.95); 
    backdrop-filter: blur(5px); 
    border: 1px solid #333; 
    color: white; 
    padding: 15px 25px; 
    border-radius: 50px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); 
    z-index: 10000; 
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); 
    opacity: 0; 
    pointer-events: none; 
    font-weight: bold; 
    font-size: 0.9rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
}

.notify.show { 
    transform: translateX(-50%) translateY(0); 
    opacity: 1; 
    pointer-events: all; 
}

.notify.success { 
    border-color: var(--green); 
    color: var(--green); 
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2); 
}

.notify.error { 
    border-color: var(--red); 
    color: var(--red); 
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.2); 
}

.notify.warning { 
    border-color: var(--neon); 
    color: var(--neon); 
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.2); 
}

.notify-close { 
    background: none; 
    border: none; 
    color: inherit; 
    font-size: 1.2rem; 
    cursor: pointer; 
    padding: 0; 
    line-height: 1; 
    display: flex; 
    align-items: center; 
}

.confirm-btn-row { 
    display: flex; 
    gap: 10px; 
    margin-top: 20px; 
}

.btn-confirm-yes { 
    background: var(--green); 
    color: black; 
    border: none; 
    padding: 10px; 
    flex: 1; 
    border-radius: 5px; 
    font-weight: bold; 
    cursor: pointer; 
}

.btn-confirm-no { 
    background: #333; 
    color: white; 
    border: 1px solid #555; 
    padding: 10px; 
    flex: 1; 
    border-radius: 5px; 
    font-weight: bold; 
    cursor: pointer; 
}

.btn-invite { 
    background: rgba(189, 0, 255, 0.1); 
    border: 1px dashed var(--purple); 
    color: white; 
    padding: 10px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: bold; 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    transition: 0.2s; 
    font-size: 0.85rem;
}

.btn-invite:hover { 
    background: var(--purple); 
    color: white; 
    box-shadow: 0 0 15px var(--purple); 
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}