:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --surface: #1e1e2a;
  --surface2: #2a2a3a;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #a8882e;
  --text: #f0ece3;
  --text2: #a8a4a0;
  --text3: #6a6662;
  --accent: #d4a853;
  --success: #22c55e;
  --error: #ef4444;
  --info: #3b82f6;
  --warn: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.2);
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --nav-h: 64px;
  --bottom-nav-h: 64px;
}
[dir=ltr] { }
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ar); background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; line-height: 1.6; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
a { color: var(--gold); text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; color: var(--text); background: var(--bg3); border: 1px solid var(--surface2); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 15px; width: 100%; outline: none; transition: border-color .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 80px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; padding-left: 36px; }
[dir=rtl] select { background-position: right 12px center; padding-left: 14px; padding-right: 36px; }
.splash { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg); transition: opacity .6s, visibility .6s; }
.splash.hidden { opacity: 0; visibility: hidden; }
.splash-inner { text-align: center; animation: splashFade .8s ease-out; }
.splash-cup { width: 80px; height: 80px; margin: 0 auto 20px; }
.splash-title { font-family: var(--font-display); font-size: 48px; color: var(--gold); letter-spacing: 4px; }
.splash-subtitle { font-size: 18px; color: var(--text2); letter-spacing: 8px; margin-top: 4px; }
.splash-bar { width: 160px; height: 3px; background: var(--bg3); border-radius: 2px; margin: 24px auto 0; overflow: hidden; }
.splash-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light)); animation: splashLoad 1.2s ease-in-out forwards; }
.steam { animation: steam 2s ease-in-out infinite; }
.s1 { animation-delay: 0s; }
.s2 { animation-delay: .6s; }
.s3 { animation-delay: 1.2s; }
@keyframes splashFade { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes splashLoad { to { width: 100%; } }
@keyframes steam { 0%,100% { opacity: .2; transform: translateY(0); } 50% { opacity: .5; transform: translateY(-4px); } }
.app { min-height: 100vh; display: none; }
.app.visible { display: block; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,10,15,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--bg3); }
.header-inner { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: var(--nav-h); max-width: 1200px; margin: 0 auto; }
.logo-btn { display: flex; align-items: center; gap: 6px; }
.logo-mark { font-family: var(--font-display); font-size: 22px; color: var(--gold); letter-spacing: 2px; }
.header-search { flex: 1; position: relative; max-width: 360px; }
.h-search-icon { position: absolute; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text3); }
[dir=rtl] .h-search-icon { right: 12px; }
[dir=ltr] .h-search-icon { left: 12px; }
.header-search input { padding: 8px 36px; background: var(--bg3); border-radius: 20px; font-size: 14px; border: none; }
.header-actions { display: flex; gap: 8px; }
.h-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg3); transition: background .2s; position: relative; }
.h-btn:hover { background: var(--surface2); }
.h-btn svg { width: 22px; height: 22px; }
#langLabel { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--gold); }
.cart-badge { position: absolute; top: -2px; right: -2px; background: var(--gold); color: var(--bg); font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.notif-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--error); }
.main { padding-top: var(--nav-h); padding-bottom: calc(var(--bottom-nav-h) + 16px); max-width: 1200px; margin: 0 auto; }
.page { display: none; padding: 16px; animation: pageIn .3s ease; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.section-title { font-family: var(--font-display); font-size: 26px; color: var(--gold); margin-bottom: 16px; }
.section-subtitle { color: var(--text2); margin-bottom: 24px; font-size: 14px; }
.hero { text-align: center; padding: 60px 20px 40px; background: radial-gradient(ellipse at center, rgba(201,168,76,.08) 0%, transparent 70%); border-radius: var(--radius-lg); margin-bottom: 24px; }
.hero-badge { display: inline-block; padding: 4px 16px; background: rgba(201,168,76,.15); color: var(--gold); border-radius: 20px; font-size: 12px; letter-spacing: 1px; margin-bottom: 16px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(32px, 6vw, 52px); color: var(--gold); margin-bottom: 12px; }
.hero p { color: var(--text2); max-width: 500px; margin: 0 auto 24px; font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; transition: all .2s; }
.btn-primary { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.25); }
.btn-secondary { background: var(--bg3); color: var(--text); border: 1px solid var(--surface2); }
.btn-secondary:hover { background: var(--surface2); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.btn-danger { background: rgba(239,68,68,.15); color: var(--error); }
.categories { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 16px; -webkit-overflow-scrolling: touch; }
.cat-btn { white-space: nowrap; padding: 8px 20px; border-radius: 20px; font-size: 14px; background: var(--bg3); color: var(--text2); transition: all .2s; flex-shrink: 0; }
.cat-btn.active { background: var(--gold); color: var(--bg); font-weight: 600; }
.cat-btn:hover { background: var(--surface2); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.menu-card { background: var(--surface); border-radius: var(--radius); padding: 16px; transition: all .2s; border: 1px solid transparent; }
.menu-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.menu-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.menu-card-name { font-size: 16px; font-weight: 600; }
.menu-card-name-en { font-size: 12px; color: var(--text3); }
.menu-card-desc { font-size: 13px; color: var(--text2); line-height: 1.5; margin-bottom: 12px; }
.menu-card-footer { display: flex; justify-content: space-between; align-items: center; }
.menu-card-price { font-size: 20px; font-weight: 700; color: var(--gold); }
.menu-card-price small { font-size: 12px; font-weight: 400; color: var(--text3); }
.menu-card-actions { display: flex; gap: 6px; }
.menu-card-badge { position: absolute; top: 8px; right: 8px; padding: 2px 10px; background: var(--gold); color: var(--bg); font-size: 10px; border-radius: 10px; font-weight: 600; }
.fav-btn { color: var(--text3); transition: color .2s; }
.fav-btn.active { color: var(--error); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.view-all { color: var(--gold); font-size: 13px; cursor: pointer; }
.popular-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 4px 0 12px; }
.popular-card { min-width: 200px; background: var(--surface); border-radius: var(--radius); padding: 14px; flex-shrink: 0; }
.order-summary { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.order-row.total { border-top: 1px solid var(--surface2); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 700; color: var(--gold); }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--bg3); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; }
.cart-item-price { color: var(--gold); font-size: 13px; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.qty-btn:hover { background: var(--surface2); }
.qty-val { min-width: 20px; text-align: center; font-weight: 600; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text2); margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-btn { padding: 8px 16px; border-radius: 20px; background: var(--bg3); font-size: 13px; cursor: pointer; transition: all .2s; border: 1px solid transparent; }
.radio-btn.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.radio-btn:hover { border-color: var(--gold); }
.posts-feed { display: flex; flex-direction: column; gap: 16px; }
.post-card { background: var(--surface); border-radius: var(--radius); padding: 16px; }
.post-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--gold); overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 32px; height: 32px; font-size: 13px; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.post-user { font-weight: 600; font-size: 14px; }
.post-time { font-size: 12px; color: var(--text3); }
.post-content { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.post-image { width: 100%; border-radius: var(--radius-sm); margin-bottom: 12px; max-height: 400px; object-fit: cover; }
.post-actions { display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--bg3); }
.post-action { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text2); cursor: pointer; transition: color .2s; }
.post-action:hover, .post-action.active { color: var(--gold); }
.post-action.liked { color: var(--error); }
.comments-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bg3); }
.comment { display: flex; gap: 10px; margin-bottom: 10px; }
.comment-body { flex: 1; }
.comment-user { font-size: 13px; font-weight: 600; }
.comment-text { font-size: 13px; color: var(--text2); }
.comment-input { display: flex; gap: 8px; margin-top: 8px; }
.comment-input input { flex: 1; padding: 8px 12px; font-size: 13px; }
.chat-list { display: flex; flex-direction: column; gap: 8px; }
.chat-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border-radius: var(--radius); cursor: pointer; transition: background .2s; }
.chat-item:hover { background: var(--surface2); }
.chat-info { flex: 1; min-width: 0; }
.chat-name { font-weight: 600; font-size: 14px; }
.chat-preview { font-size: 13px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-time { font-size: 11px; color: var(--text3); }
.chat-badge { background: var(--gold); color: var(--bg); font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.messages { display: flex; flex-direction: column; gap: 8px; padding: 16px; max-height: 60vh; overflow-y: auto; }
.msg { max-width: 75%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg.sent { align-self: flex-end; background: var(--gold); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.received { align-self: flex-start; background: var(--bg3); border-bottom-left-radius: 4px; }
.msg-time { font-size: 10px; color: inherit; opacity: .6; margin-top: 4px; }
.msg-input { display: flex; gap: 8px; padding: 12px 0; }
.msg-input input { flex: 1; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bg3); margin-bottom: 12px; }
.chat-header .back-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg3); }
.typing-indicator { font-size: 12px; color: var(--text3); padding: 4px 16px; }
.bookings-list { display: flex; flex-direction: column; gap: 12px; }
.booking-card { background: var(--surface); border-radius: var(--radius); padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.booking-info h4 { font-size: 15px; }
.booking-info p { font-size: 13px; color: var(--text2); }
.booking-status { font-size: 12px; padding: 4px 12px; border-radius: 10px; }
.booking-status.confirmed { background: rgba(34,197,94,.15); color: var(--success); }
.profile-header { text-align: center; padding: 20px; }
.profile-avatar-wrap { position: relative; width: 80px; height: 80px; margin: 0 auto 12px; }
.profile-avatar-wrap .avatar { width: 100%; height: 100%; font-size: 28px; }
.profile-name { font-size: 20px; font-weight: 700; }
.profile-meta { color: var(--text2); font-size: 13px; margin-top: 4px; }
.profile-stats { display: flex; gap: 24px; justify-content: center; margin: 16px 0 20px; }
.profile-stat { text-align: center; }
.profile-stat-value { font-size: 24px; font-weight: 700; color: var(--gold); }
.profile-stat-label { font-size: 12px; color: var(--text3); }
.tier-badge { display: inline-block; padding: 2px 12px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.tier-diamond { background: linear-gradient(135deg, #b9f2ff, #7dd3fc); color: #0c4a6e; }
.tier-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--bg); }
.tier-silver { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #1e293b; }
.tier-bronze { background: linear-gradient(135deg, #fed7aa, #c2410c); color: #fff; }
.review-card { background: var(--surface); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.order-card { background: var(--surface); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; cursor: pointer; transition: background .2s; }
.order-card:hover { background: var(--surface2); }
.order-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-id { font-size: 12px; color: var(--text3); font-family: monospace; }
.order-status { font-size: 12px; padding: 3px 10px; border-radius: 8px; font-weight: 600; }
.order-status.pending { background: rgba(245,158,11,.15); color: var(--warn); }
.order-status.preparing { background: rgba(59,130,246,.15); color: var(--info); }
.order-status.ready { background: rgba(34,197,94,.15); color: var(--success); }
.order-status.delivered { background: rgba(34,197,94,.1); color: var(--text2); }
.order-status.cancelled { background: rgba(239,68,68,.15); color: var(--error); }
.order-total { font-size: 18px; font-weight: 700; color: var(--gold); }
.order-items { font-size: 13px; color: var(--text2); }
.order-time { font-size: 12px; color: var(--text3); margin-top: 4px; }
.notif-card { display: flex; gap: 12px; padding: 12px; background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 8px; cursor: pointer; transition: background .2s; }
.notif-card.unread { border-right: 3px solid var(--gold); }
[dir=ltr] .notif-card.unread { border-right: none; border-left: 3px solid var(--gold); }
.notif-card:hover { background: var(--surface2); }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notif-icon.order { background: rgba(245,158,11,.15); color: var(--warn); }
.notif-icon.booking { background: rgba(59,130,246,.15); color: var(--info); }
.notif-icon.gift { background: rgba(201,168,76,.15); color: var(--gold); }
.notif-icon.post { background: rgba(34,197,94,.15); color: var(--success); }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-weight: 600; font-size: 14px; }
.notif-content { font-size: 13px; color: var(--text2); }
.notif-time { font-size: 11px; color: var(--text3); margin-top: 2px; }
.gift-card { background: var(--surface); border-radius: var(--radius); padding: 16px; text-align: center; margin-bottom: 12px; }
.gift-icon { font-size: 32px; margin-bottom: 8px; }
.gift-amount { font-size: 24px; font-weight: 700; color: var(--gold); }
.gift-from { font-size: 14px; color: var(--text2); }
.gift-message { font-style: italic; color: var(--text3); margin-top: 4px; font-size: 13px; }
.users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.user-card { background: var(--surface); border-radius: var(--radius); padding: 16px; text-align: center; cursor: pointer; transition: all .2s; }
.user-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.user-card .avatar { margin: 0 auto 8px; }
.user-card-name { font-weight: 600; font-size: 14px; }
.user-card-role { font-size: 12px; color: var(--text3); }
.user-card-bio { font-size: 12px; color: var(--text2); margin-top: 4px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; vertical-align: middle; }
.online-dot.online { background: var(--success); }
.online-dot.offline { background: var(--text3); }
.ai-chat { background: var(--surface); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 16px; }
.ai-messages { max-height: 300px; overflow-y: auto; margin-bottom: 12px; }
.ai-msg { padding: 10px 14px; border-radius: 16px; margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
.ai-msg.bot { background: var(--bg3); border-bottom-left-radius: 4px; }
.ai-msg.user { background: var(--gold); color: var(--bg); border-bottom-right-radius: 4px; }
.ai-input { display: flex; gap: 8px; }
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg2); border-radius: var(--radius-lg); padding: 24px; max-width: 500px; width: 100%; max-height: 80vh; overflow-y: auto; animation: modalIn .2s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: rgba(10,10,15,.95); backdrop-filter: blur(16px); border-top: 1px solid var(--bg3); display: flex; justify-content: space-around; padding: 6px 0; padding-bottom: calc(env(safe-area-inset-bottom) + 6px); }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 12px; border-radius: var(--radius-sm); transition: background .2s; min-width: 56px; }
.nav-item.active { background: var(--bg3); }
.nav-item svg { width: 22px; height: 22px; color: var(--text3); }
.nav-item.active svg { color: var(--gold); }
.nav-item span { font-size: 10px; color: var(--text3); }
.nav-item.active span { color: var(--gold); font-weight: 600; }
.nav-badge { position: absolute; top: 0; right: -4px; background: var(--error); color: #fff; font-size: 9px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 2000; background: var(--surface); color: var(--text); padding: 12px 24px; border-radius: 50px; font-size: 14px; box-shadow: var(--shadow); border: 1px solid var(--surface2); display: none; animation: toastIn .3s ease; }
.toast.show { display: block; }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--error); }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text2); }
.empty-state svg { width: 60px; height: 60px; margin-bottom: 16px; opacity: .3; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; }
.empty-state p { font-size: 14px; }
.loading { display: flex; align-items: center; justify-content: center; padding: 40px; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--bg3); border-top-color: var(--gold); border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gift-btn { background: rgba(201,168,76,.12); color: var(--gold); }
@media (max-width: 768px) {
  .header-search { max-width: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 40px 16px 30px; }
  .users-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (min-width: 768px) {
  .bottom-nav { display: none; }
  .main { padding-bottom: 16px; }
}

/* ─── Call UI ──────────────────────────────────────────────────── */
.call-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.call-overlay.active { display: flex; }
.call-container { width: 100%; max-width: 480px; padding: 20px; text-align: center; }
.call-audio .call-videos { display: none; }
.call-videos { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--bg2); border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.call-video-remote { width: 100%; height: 100%; object-fit: cover; }
.call-video-local { position: absolute; bottom: 12px; right: 12px; width: 120px; height: 90px; border-radius: 8px; object-fit: cover; border: 2px solid var(--surface2); }
.call-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.call-status { font-size: 16px; font-weight: 600; color: var(--text); }
.call-duration { font-size: 14px; color: var(--text2); font-variant-numeric: tabular-nums; }
.call-avatar { display: none; width: 120px; height: 120px; border-radius: 50%; background: var(--gold); margin: 0 auto 20px; align-items: center; justify-content: center; font-size: 48px; }
.call-avatar.show { display: flex; }
.hidden { display: none !important; }
.call-controls { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 16px 0; }
.call-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; padding: 10px; background: var(--bg3); border: none; border-radius: 50%; color: var(--text); cursor: pointer; transition: all .2s; font-size: 10px; }
.call-btn svg { width: 22px; height: 22px; }
.call-btn:active { transform: scale(.92); }
.call-btn-end { background: #dc2626; color: #fff; border-radius: 50%; width: 56px; height: 56px; }
.call-btn-accept { background: #16a34a; color: #fff; }
.call-btn-reject { background: #dc2626; color: #fff; }

.incoming-call { position: fixed; inset: 0; z-index: 2001; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; }
.incoming-call.active { display: flex; }
.incoming-call-inner { text-align: center; padding: 32px; }
.incoming-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; font-size: 48px; display: flex; align-items: center; justify-content: center; }
.incoming-avatar img { width: 100%; height: 100%; object-fit: cover; }
.incoming-name { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.incoming-type { font-size: 16px; color: var(--text2); margin-bottom: 24px; }
.incoming-actions { display: flex; gap: 24px; justify-content: center; }
.incoming-actions .call-btn { width: 80px; height: 80px; font-size: 12px; border-radius: 50%; }

/* ─── Voice Channel UI ─────────────────────────────────────────── */
.voice-channel-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.voice-channel-item:active { transform: scale(.98); }
.voice-channel-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.voice-channel-name { font-weight: 600; flex: 1; }
.voice-channel-count { color: var(--text2); font-size: 13px; }

/* ─── Screen Share ─────────────────────────────────────────────── */
.screen-share-indicator { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2002; background: #16a34a; color: #fff; padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.screen-share-indicator.remote { background: var(--gold); color: var(--bg); }

/* ─── Hero Stats ───────────────────────────────────────────────── */
.hero-stats { display: flex; gap: 16px; justify-content: center; margin-top: 20px; font-size: 13px; color: var(--text2); flex-wrap: wrap; }
.hero-stats span { background: var(--bg3); padding: 6px 14px; border-radius: 20px; }
.hero-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ─── Newsletter ───────────────────────────────────────────────── */
.newsletter-section { margin-top: 24px; background: linear-gradient(135deg, rgba(201,168,76,.08), rgba(201,168,76,.02)); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; }
.newsletter-inner h3 { font-size: 20px; margin-bottom: 8px; }
.newsletter-inner p { color: var(--text2); font-size: 14px; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.newsletter-input { flex: 1; border-radius: 50px; }

/* ─── Table Map ────────────────────────────────────────────────── */
.table-map { margin-bottom: 16px; }
.table-map-label { font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.table-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.table-cell { background: var(--bg3); border-radius: var(--radius-sm); padding: 10px; text-align: center; cursor: pointer; transition: all .2s; border: 2px solid transparent; }
.table-cell:hover { border-color: var(--gold); }
.table-cell.selected { border-color: var(--gold); background: rgba(201,168,76,.12); }
.table-num { font-size: 18px; font-weight: 700; color: var(--gold); }
.table-seats { font-size: 11px; color: var(--text3); }

/* ─── Booking Hero ─────────────────────────────────────────────── */
.booking-hero { text-align: center; padding: 40px 20px; margin-bottom: 20px; background: radial-gradient(ellipse at center, rgba(201,168,76,.06) 0%, transparent 70%); border-radius: var(--radius-lg); }
.booking-hero h2 { font-family: var(--font-display); font-size: 28px; color: var(--gold); margin-bottom: 8px; }
.booking-hero p { color: var(--text2); font-size: 14px; }

/* ─── Sidebar Navigation (Desktop) ─────────────────────────────── */
.side-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 200px; background: var(--bg2); border-right: 1px solid var(--bg3); z-index: 99; display: none; flex-direction: column; padding: 0; }
.side-nav.ltr { left: auto; right: 0; border-right: none; border-left: 1px solid var(--bg3); }
.side-nav-header { padding: 20px 16px; border-bottom: 1px solid var(--bg3); text-align: center; }
.side-nav-items { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px; }
.side-nav-items .nav-item { flex-direction: row; gap: 12px; padding: 10px 16px; border-radius: var(--radius-sm); min-width: auto; }
.side-nav-items .nav-item svg { width: 20px; height: 20px; }
.side-nav-items .nav-item span { font-size: 14px; }

@media (min-width: 768px) {
  .side-nav { display: flex; }
  .header-inner, .main { margin-left: 200px; }
  [dir=ltr] .header-inner, [dir=ltr] .main { margin-left: 0; margin-right: 200px; }
  .bottom-nav { display: none; }
  .main { padding-bottom: 16px; }
  .table-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ─── Admin Panel ───────────────────────────────────────────────── */
+.admin-tab { white-space: nowrap; }
+.admin-tab.active { background: var(--gold); color: var(--bg); }
+.admin-panel-content { overflow-x: auto; }

/* ─── Hero Ambient ──────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-ambient { position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(201,168,76,.04) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(201,168,76,.03) 0%, transparent 50%); pointer-events: none; }
