@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #ffc107;
  --bg-dark: #1a1a1a;
  --bg-card: #fff8e1;
  --bg-white: #ffffff;
  --bg-chip: #2a2a2a;
  --fg-primary: #1a1a1a;
  --fg-inverse: #ffffff;
  --fg-muted: #757575;
  --fg-accent: #ff8f00;
  --border-dark: #333333;
  --radius-sm: 8px;
  --radius-md: 16px;
  --font-heading: "Anton", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-data: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-dark);
  color: var(--fg-inverse);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.phone {
  width: 100%;
  margin-inline: auto;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  body {
    background: #0a0a0a;
    padding-block: 32px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .phone {
    max-width: 390px;
    min-height: auto;
    border-radius: 36px;
    box-shadow:
      0 0 0 8px #111,
      0 30px 60px rgba(0, 0, 0, 0.5),
      0 0 0 9px #2a2a2a;
  }
}

/* ---------- Landing ---------- */

.hero {
  background: var(--bg-primary);
  color: var(--fg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 24px 20px;
}

.hero__logo {
  width: 20px;
  height: 32px;
}

.hero__title-en {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.5px;
  margin: 0;
}

.hero__title-ar {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 28px;
  line-height: 1;
  margin: 0;
}

.hero__title-ar + .divider {
  margin-bottom: 24px;
}

.divider {
  background: currentColor;
  border-radius: 2px;
  width: 40px;
  height: 2px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.story,
.cta,
.footer {
  background: var(--bg-dark);
  color: var(--fg-inverse);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story {
  gap: 10px;
  padding: 24px 24px 20px;
}

.section-heading-en {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 20px;
  color: var(--bg-primary);
  margin: 0;
  text-align: center;
}

.section-heading-ar {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 18px;
  color: var(--bg-primary);
  margin: 0;
  text-align: center;
}

.story .divider,
.footer .divider {
  background: var(--bg-primary);
}

.story .divider {
  width: 30px;
}

.story__body {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

.cta {
  gap: 12px;
  padding: 24px;
}

.cta__button {
  width: 100%;
  height: 44px;
  background: var(--bg-primary);
  color: var(--fg-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.cta__button-label {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 20px;
  line-height: 1;
}

.cta__button-sep {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.footer {
  gap: 14px;
  padding: 28px 24px;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--bg-primary);
}

.footer__socials svg {
  width: 24px;
  height: 24px;
}

.footer__handle {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-align: center;
}

.footer__cities {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

.footer__copyright {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--fg-muted);
  text-align: center;
}

/* ---------- Menu ---------- */

.topbar {
  background: var(--bg-dark);
  color: var(--bg-primary);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-inverse);
  cursor: pointer;
}

.topbar__back svg {
  width: 22px;
  height: 22px;
}

.topbar__brand-en {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 22px;
  color: var(--bg-primary);
  line-height: 1;
}

.topbar__brand-ar {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 20px;
  color: var(--bg-primary);
  line-height: 1;
}

.menu-title {
  background: var(--bg-primary);
  color: var(--fg-primary);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.menu-title__en {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 28px;
  line-height: 1;
  margin: 0;
}

.menu-title__ar {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.menu-body {
  background: var(--bg-dark);
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--bg-primary);
}

.section-head__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-head__left svg {
  width: 20px;
  height: 20px;
}

.section-head__en {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 20px;
  line-height: 1;
}

.section-head__ar {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 18px;
  line-height: 1;
}

.section-rule {
  height: 1px;
  background: var(--border-dark);
  width: 100%;
}

.dish {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dish__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fg-inverse);
}

.dish__name-en {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}

.dish__name-ar {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}

.price-row {
  display: flex;
  gap: 12px;
}

.price-chip {
  flex: 1;
  background: var(--bg-chip);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-chip__qty {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-muted);
}

.price-chip__price {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-primary);
}

.line-item {
  background: var(--bg-chip);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.line-item__left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bg-primary);
}

.line-item__left svg {
  width: 20px;
  height: 20px;
}

.line-item__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.line-item__name-en {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-inverse);
}

.line-item__name-ar {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-muted);
  text-align: left;
}

.line-item__price {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-primary);
}

.line-item--addon {
  padding: 10px 14px;
}

.line-item--addon .line-item__text {
  gap: 2px;
}

.line-item--addon .line-item__name-en {
  font-weight: 500;
}

.line-item--addon .line-item__name-ar {
  font-size: 13px;
}

.line-item--addon .line-item__price {
  color: var(--fg-accent);
}

.menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  text-align: center;
}

.menu-footer__note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-muted);
}

.menu-footer__spice {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--fg-accent);
}

.menu-footer__handle {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--fg-muted);
}

/* ---------- Interactive states ---------- */

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.cta__button {
  transition:
    background-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .cta__button:hover {
    background: #ffcd2e;
  }
}

.cta__button:active {
  background: #f0b400;
  transform: translateY(1px);
}

.cta__button:focus-visible {
  outline: 2px solid var(--fg-accent);
  outline-offset: 3px;
}

.footer__socials a {
  position: relative;
  display: inline-flex;
  border-radius: 6px;
  transition:
    color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__socials a::after {
  content: "";
  position: absolute;
  inset: -10px;
}

@media (hover: hover) {
  .footer__socials a:hover {
    color: var(--fg-inverse);
  }
}

.footer__socials a:active {
  transform: scale(0.92);
}

.footer__socials a:focus-visible {
  outline: 2px solid var(--bg-primary);
  outline-offset: 4px;
}

.topbar__back {
  border-radius: 4px;
  transition:
    opacity 160ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .topbar__back:hover {
    opacity: 0.78;
  }
}

.topbar__back:active {
  transform: translateX(-2px);
}

.topbar__back:focus-visible {
  outline: 2px solid var(--bg-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cta__button,
  .footer__socials a,
  .topbar__back {
    transition: none;
  }

  .cta__button:active,
  .footer__socials a:active,
  .topbar__back:active {
    transform: none;
  }
}
