:root {
  color-scheme: light;
  --bg: #f6f0e7;
  --ink: #0d0d0d;
  --navy: #14265b;
  --red: #d31b10;
  --gold: #f6b23c;
  --paper: #fff7ec;
  --shadow: rgba(12, 12, 12, 0.2);
  --stroke: #161616;
  --radius: 20px;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #f6f0e7;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #fff1cc, transparent 40%),
    radial-gradient(circle at 80% 0%, #ffd5c4, transparent 45%),
    linear-gradient(135deg, #f7f0e6 0%, #f3e6d8 50%, #f7efe4 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.nav {
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(246, 240, 231, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  height: 68px;
}

.nav__logo {
  object-fit: contain;
}

.footer__logo {
  height: 44px;
}

.nav__actions {
  display: flex;
  gap: 12px;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid var(--stroke);
  background: var(--paper);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 0 var(--stroke);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: 0 6px 0 var(--stroke);
}

.btn--blue {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 0 var(--stroke);
}

.btn--ghost {
  background: transparent;
  border-style: dashed;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(24px, 6vw, 90px) 0;
  align-items: center;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  text-transform: uppercase;
  margin: 14px 0 12px;
  line-height: 0.95;
}

.hero__content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.6);
}



.hero__media {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.menu {
  padding: 0 0 clamp(24px, 6vw, 80px);
}

.menu__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.menu__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.menu__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 10px 0 8px;
  text-transform: uppercase;
}

.menu__header p {
  margin: 0;
  max-width: 460px;
}

.badge--light {
  background: var(--paper);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.menu__carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 6px 20px 8px 0;
  scrollbar-width: none;
}

.menu__carousel::-webkit-scrollbar {
  display: none;
}

.menu__card {
  background: var(--paper);
  border: 3px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 10px 0 var(--stroke);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  scroll-snap-align: start;
  min-width: 320px;
}

.menu__card:hover {
  transform: translateY(-4px);
  box-shadow: 14px 14px 0 var(--stroke);
}

.menu__image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.menu__body {
  padding: 18px 18px 10px;
}

.menu__body h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.menu__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.menu__price {
  margin: 0 18px 18px;
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: transparent;
}


.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 440px;
}

.hero__sticker {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--stroke);
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--stroke);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 var(--stroke);
}

.hero__mark {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  border: 3px solid var(--stroke);
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 6px 6px 0 var(--stroke);
}

.hero__mark img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0 0 clamp(24px, 6vw, 80px);
  margin-bottom: 64px;
}

.feature {
  background: var(--paper);
  border: 3px solid var(--stroke);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 10px 10px 0 var(--stroke);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 8px;
}

.cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 80px;
}

.cta {
  background: var(--navy);
  color: #fff;
  padding: clamp(24px, 5vw, 50px);
  border-radius: 24px;
  border: 3px solid var(--stroke);
  box-shadow: 10px 10px 0 var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 0 0 8px;
}

.footer {
  padding: 30px 0 40px;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__links {
  display: flex;
  gap: 16px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  body {
    padding-top: 0;
  }

  .nav__logo {
    height: 40px;
  }

  .nav__actions .btn {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .nav__menu {
    display: none;
  }

  .menu {
    margin-bottom: 64px;
  }

  .footer__inner {
    justify-content: center;
    text-align: center;
  }

  .footer__logo {
    height: 56px;
    margin: 32px auto 8px;
  }

  .footer {
    padding-bottom: 64px;
  }

  .footer__links {
    justify-content: center;
  }

  .footer__links {
    margin-bottom: 32px;
  }

  .hero__mark {
    display: none;
  }

  .hero__image {
    object-fit: contain;
  }

  .hero__media {
    margin-top: -64px;
  }

  .hero__content .badge {
    margin-top: 28px;
  }

  .hero__sticker {
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-section {
    padding: 0 16px 80px;
  }

}

@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  .hero__content .badge {
    margin-top: 24px;
  }

  .hero__image {
    object-fit: contain;
  }
}

#burger-rain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
}

#burger-rain.is-active {
  pointer-events: auto;
}

.game-over {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(15, 15, 15, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.game-over.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.game-over__content {
  background: var(--paper);
  border: 3px solid var(--stroke);
  border-radius: 20px;
  padding: 28px 32px;
  text-align: center;
  box-shadow: 12px 12px 0 var(--stroke);
  min-width: min(520px, 90vw);
}

.game-over__content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.game-over__content p {
  margin: 0 0 18px;
  font-weight: 600;
}


.game-over__actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.game-over__actions .btn {
  min-width: 240px;
}

.game-over__close {
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.burger-drop {
  position: absolute;
  top: 0;
  left: 0;
  cursor: crosshair;
  user-select: none;
}

.burger-drop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

body.game-active {
  cursor: crosshair;
}
