* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: #100b0a;
  color: #fff4e3;
  font: 16px/1.75 Tahoma, Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 92% 12%, #79471d55, transparent 56%),
    linear-gradient(#100b0ad0, #100b0ae8),
    url(amber.webp) center / min(85vw, 740px) auto no-repeat;
}
main { max-width: 1000px; margin: auto; padding: clamp(10px, 3vw, 26px) clamp(12px, 4vw, 36px) 32px; }
.hero {
  position: relative;
  min-height: clamp(360px, 60vw, 540px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #ffcb8566;
  background:
    linear-gradient(0deg, #140b07 2%, #140b07d9 19%, transparent 47%),
    url(amber.webp) center top / auto 82% no-repeat #0b0705;
  box-shadow: 0 24px 72px #0009, inset 0 0 52px #0007;
}
.hero-copy { padding: 24px clamp(20px, 5vw, 48px); text-align: center; }
.hero p { margin: 0; color: #f1c48f; font-size: .95rem; }
h1, h2 { margin: 0; }
h1 { font-size: clamp(3.2rem, 8vw, 5.5rem); font-weight: normal; line-height: 1.25; text-shadow: 0 4px 28px #d77f3f65; }
.filters, article {
  border: 1px solid #f8c38b38;
  background: linear-gradient(145deg, #e9a96c23, #29181372);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px #fff2, 0 9px 26px #0003;
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  margin-block: 18px 0;
  border-radius: 20px;
  background-color: #1b110dea;
  position: sticky;
  top: 5px;
  z-index: 2;
}
label { min-width: 0; color: #f8dabb; font-size: .9rem; }
input, select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 1px solid #ffd09648;
  border-radius: 12px;
  background: #110b09;
  padding: 0 10px;
  color: #fff4e3;
  font: 1rem Tahoma, Arial, sans-serif;
}
input::placeholder { color: #c6a992; }
#items { display: grid; gap: 8px; margin-top: 14px; }
h2 { color: #ffc98d; font-size: 2.15rem; font-weight: normal; display: flex; align-items: center; gap: 14px; margin: 14px 4px 0; }
h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to left,#f3b77277,transparent); }
article { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 4px 12px; padding: 12px 15px; border-radius: 15px; }
h3 { margin: 0; font-size: 1rem; }
article p { grid-column: 1/-1; margin: 0; color: #dcc8b6; }
article > span:not(.touch-glow) { color: #ffd098; white-space: nowrap; font-size: .9rem; }
footer { margin-top: 30px; text-align: center; }
a { color: #f6c584; text-underline-offset: 5px; }
:focus-visible { outline: 2px solid #ffd098; outline-offset: 3px; }
@media (min-width: 680px) {
  #items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h2 { grid-column: 1/-1; }
}
@media (max-width: 420px) {
  .filters { grid-template-columns: minmax(0, 1fr); position: static; }
}

@font-face { font-family: MenuSans; src: url(NotoSansArabic-Regular.ttf); font-display: swap; }
@font-face { font-family: MenuSans; src: url(NotoSansArabic-Bold.ttf); font-weight: 700; font-display: swap; }
body, h1, h2, input, select, button { font-family: MenuSans, Tahoma, sans-serif; }
body { background-color: #1f0b10; }
body::before {
  background:
    radial-gradient(ellipse at 95% 13%, #a454338a, transparent 55%),
    radial-gradient(ellipse at 3% 80%, #7b203cd4, transparent 65%),
    linear-gradient(#240d16a0, #160910db),
    url(amber.webp) center / min(94vw, 680px) auto no-repeat;
}
h1 { font-weight: 700; font-size: clamp(2.4rem, 7vw, 4.3rem); }
h2 { font-weight: 700; font-size: clamp(1.18rem, 4vw, 1.55rem); }
.hero { border-color: #fcd6a678; }
.filters, article {
  border-color: #ffe1b65c;
  background: linear-gradient(125deg, #ffdfbc40, #af566b32 40%, #270d1e66 100%);
  box-shadow: inset 0 1px 0 #fff6, inset 0 -1px 0 #ffc49222, 0 8px 24px #12050d75;
  backdrop-filter: blur(13px) saturate(140%);
  -webkit-backdrop-filter: blur(13px) saturate(140%);
}
.filters { background-color: #301321c2; }
input, select { background: #260e1bd9; }
article > span:not(.touch-glow) { color: #ffe0aa; }
.price-editor section { display: grid; gap: 8px; }
.price-editor article label { grid-column: 1/-1; }
.price-editor button {
  cursor: pointer; background: #ffd49b; color: #33121b; font-weight: 700;
  border: 0; border-radius: 12px; padding: 9px 16px; min-height: 44px;
}

/* Fine reflections across the translucent menu cards. */
#items article {
  background:
    linear-gradient(116deg, #fff5e72e, transparent 36%),
    linear-gradient(146deg, #f2b38922, #a34a6120 44%, #240b1878);
  border-color: #ffe1bc69;
  box-shadow: inset 0 1px #fff7, inset 0 -1px #e9ad832b, 0 7px 25px #15050d64;
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #items article { transition: border-color .2s ease, box-shadow .2s ease; }
  #items article:hover {
    border-color: #ffda9ca8;
    box-shadow: inset 0 1px #fff9, inset 0 0 24px #ffe0b91b, 0 8px 26px #15050d78;
  }
}

/* Keep the restaurant colors visible through the glass. */
body::before {
  background:
    radial-gradient(ellipse at 94% 10%, #e69a5190, transparent 51%),
    radial-gradient(ellipse at 0% 76%, #a63458ab, transparent 70%),
    linear-gradient(#1d0b12a8, #180812c7),
    url(amber.webp) center / min(92vw, 720px) auto no-repeat;
}
#items article, .filters {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(112deg, #fff2df38, #ffd9c00d 42%, transparent 72%),
    linear-gradient(158deg, #f4aa982c, #230d1959 77%, #e29d562b);
  border-color: #ffddb777;
  box-shadow: inset 0 1px #fff8, inset 0 -1px #ffc99955, 0 8px 26px #12050d6e;
  backdrop-filter: blur(6px) saturate(165%);
  -webkit-backdrop-filter: blur(6px) saturate(165%);
}
.filters { background-color: #2e1326bc; }
.filters input, .filters select { background: #280d1eb8; }
@media (min-width: 421px) { .filters { position: sticky; } }

#items article:active {
  transform: scale(.98);
  border-color: #ffe1ac;
}
.touch-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--tap-x) var(--tap-y),
    #fff6ddcf, #ffc2876b 20%, #ffd09020 46%, transparent 65%);
  animation: glass-flash 680ms ease-out both;
}
.touch-glow::after {
  content: "";
  position: absolute;
  left: var(--tap-x);
  top: var(--tap-y);
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid #ffe8b4a6;
  border-radius: 50%;
  box-shadow: inset 0 0 24px #ffd08a3b, 0 0 18px #ffbb7468;
  animation: glass-wave 680ms ease-out both;
}
@keyframes glass-flash {
  0% { opacity: .15; }
  18% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes glass-wave {
  from { transform: translate(-50%, -50%) scale(.03); }
  to { transform: translate(-50%, -50%) scale(1.45); }
}
@media (prefers-reduced-motion: reduce) {
  #items article:active { transform: none; }
  .touch-glow, .touch-glow::after { animation: none; }
}

#items { perspective: 850px; }
#items article {
  transform-origin: center;
  transition: transform 240ms ease-out, box-shadow 240ms ease-out;
}
#items article:active {
  transform: perspective(500px) translateZ(8px) scale(.985);
}
#items article .touch-glow {
  z-index: 1;
  mix-blend-mode: screen;
  background:
    linear-gradient(115deg, transparent 15%, #ffdc9530 39%, #fff4cba0 49%,
      #ffffffbb 51%, #ffce7550 55%, transparent 74%) -170% center / 54% 100% no-repeat,
    radial-gradient(ellipse at var(--tap-x) var(--tap-y), #ffdba95c, transparent 62%);
  animation: glass-sweep 840ms ease-out both;
}
@keyframes glass-sweep {
  0% { opacity: 0; background-position: -170% center, center; }
  20% { opacity: .85; }
  72% { opacity: .7; }
  100% { opacity: 0; background-position: 270% center, center; }
}
@media (prefers-reduced-motion: reduce) {
  #items article { transition: none; }
  #items article:active { transform: none; }
}
