:root {
  --surface: #fffaf3;
  --text: #15110f;
  --muted: #6d6258;
  --accent: #8c5a2b;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--text);
}

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

button {
  font: inherit;
}

.menu-background {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(13, 10, 9, 0.42), rgba(13, 10, 9, 0.62)),
    url("/shares/images/res/background.png") center center / cover no-repeat;
}

.menu-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(183, 138, 85, 0.24), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 28%);
}

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 10, 9, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.menu-modal.active {
  display: flex;
}

.menu-modal-card {
  width: min(100%, 680px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.modal-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-modal-card h1 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.14;
  text-align: center;
}

.menu-modal-card p {
  margin: 0 auto 20px;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.menu-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.modal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(31, 26, 23, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.modal-button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

@media (max-width: 520px) {
  .menu-modal-card {
    padding: 24px;
  }

  .modal-button {
    width: 100%;
  }
}
