:root {
  --bg-texture: linear-gradient(
    135deg,
    rgba(68, 49, 32, 0.08) 0%,
    rgba(68, 49, 32, 0) 65%
  );
  --bg-color: #f1e5d0;
  --accent: #6f4c2b;
  --accent-dark: #3f2c18;
  --text-primary: #2e2214;
  --text-muted: rgba(46, 34, 20, 0.7);
  --spacing: clamp(1rem, 2vw, 1.5rem);
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-color);
  background-image: var(--bg-texture);
  background-attachment: fixed;
  line-height: 1.6;
}

body.nav-is-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(241, 229, 208, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(72, 52, 37, 0.25);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.4) 0,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(255, 255, 255, 0.2) 0,
      transparent 45%
    );
  pointer-events: none;
  opacity: 0.35;
}

.site-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing);
  padding: calc(var(--spacing) * 0.75) var(--spacing);
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-family: "Marcellus", serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: color 0.2s ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--accent);
}

.brand-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 0.9);
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 600;
}

.nav-list a {
  position: relative;
  color: inherit;
  text-decoration: none;
  padding: 0.35rem 0.4rem;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 999px;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(111, 76, 43, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 999px;
  transition: transform 0.4s ease, opacity 0.3s ease;
  margin: 0 auto;
}

.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  padding: 0 var(--spacing);
  padding-top: calc(var(--header-height) + clamp(2rem, 8vw, 3.5rem));
}

main > section {
  position: relative;
}

main > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100% - clamp(1rem, 6vw, 3rem)));
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(63, 44, 24, 0),
    rgba(63, 44, 24, 0.35),
    rgba(63, 44, 24, 0)
  );
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 640px);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(
      120deg,
      rgba(34, 20, 12, 0.55),
      rgba(34, 20, 12, 0.6)
    ),
    url("image/hero.jpg");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  box-shadow: 0 40px 70px rgba(63, 44, 24, 0.18);
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero {
    background-position: center 30%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 25% 20%,
    rgba(255, 255, 255, 0.25),
    transparent 55%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, clamp(320px, 30vw, 420px));
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.hero-media {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: clamp(320px, 32vw, 450px);
  border-radius: clamp(1rem, 3vw, 1.8rem);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  background: transparent;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-home .hero-mobile-media {
  display: none;
}

.hero-home .hero-mobile-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(1rem, 3vw, 1.8rem);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
}

.hero-with-media .hero-content {
  text-align: left;
  justify-self: flex-start;
}

.hero.hero-game {
  margin-top: clamp(2.5rem, 7vw, 4rem);
}

.hero-with-media {
  background: linear-gradient(145deg, #fffaf2, #f2ddc6);
  color: var(--text-primary);
  box-shadow: 0 25px 55px rgba(63, 44, 24, 0.16);
  border: 1px solid rgba(111, 76, 43, 0.18);
}

.hero-with-media .hero-cta {
  justify-self: flex-start;
}

.hero-with-media .hero-overlay {
  display: none;
}

.hero-with-media .hero-kicker {
  color: inherit;
}

.hero-with-media .hero-subtitle {
  color: inherit;
}

.hero-content {
  position: relative;
  max-width: 560px;
  padding: clamp(2rem, 6vw, 3rem);
  display: grid;
  gap: 1rem;
}

.hero-kicker {
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.hero h1 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, #f5b041, #d68910);
  box-shadow: 0 12px 30px rgba(255, 165, 66, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(214, 137, 16, 0.4);
}

.section {
  max-width: 1200px;
  margin: clamp(3rem, 8vw, 4.5rem) auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-header {
  text-align: center;
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(1.8rem, 5vw, 2.5rem);
}

.section-header h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  color: var(--accent-dark);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.3vw, 1.1rem);
}

.mix-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mix-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(111, 76, 43, 0.15);
  box-shadow: 0 20px 40px rgba(63, 44, 24, 0.08);
  display: grid;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mix-media {
  margin: -1.5rem -1.5rem 1rem;
  border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

.mix-media img {
  width: 100%;
  height: clamp(160px, 24vw, 210px);
  object-fit: cover;
  display: block;
}

.mix-card:hover,
.mix-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px rgba(63, 44, 24, 0.16);
}

.mix-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-family: "Marcellus", serif;
  color: var(--accent-dark);
}

.mix-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.daily-tip {
  background: rgba(255, 255, 255, 0.8);
  border-radius: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(111, 76, 43, 0.18);
  box-shadow: 0 20px 40px rgba(63, 44, 24, 0.1);
  padding: clamp(2rem, 5vw, 3rem);
}

.tip-text {
  margin: 0;
  text-align: center;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  color: var(--accent);
  font-weight: 600;
  line-height: 1.7;
}

.flavor-gallery .section-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.2rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

.gallery-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  border: 1px solid rgba(111, 76, 43, 0.15);
  box-shadow: 0 25px 40px rgba(63, 44, 24, 0.12);
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-card figcaption {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(111, 76, 43, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.game-lab,
.game-visual,
.mechanics,
.flavor-shot,
.taste-quiz {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.game-grid {
  margin-top: clamp(2rem, 6vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 2.6rem);
}

.game-panel {
  background: linear-gradient(165deg, #fff7ef, #fde6d2);
  border-radius: 1.8rem;
  padding: clamp(1.8rem, 5vw, 2.6rem);
  box-shadow: 0 24px 60px rgba(47, 33, 22, 0.18);
  display: grid;
  gap: 1.1rem;
  position: sticky;
  top: clamp(1rem, 4vw, 2rem);
  align-self: start;
}

.panel-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}

.game-panel h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-family: "Marcellus", serif;
  color: var(--accent-dark);
}

.game-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.game-stats div {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1.1rem;
  padding: 0.8rem 1rem;
  text-align: center;
  border: 1px solid rgba(111, 76, 43, 0.2);
}

.game-stats dt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.game-stats dd {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin: 0;
  font-weight: 700;
  color: var(--accent-dark);
}

.game-status {
  margin: 0;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.game-button {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 30px rgba(111, 76, 43, 0.24);
}

.game-button:hover,
.game-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(111, 76, 43, 0.32);
}

.game-stage {
  display: grid;
  gap: clamp(1.2rem, 4vw, 2rem);
}

.recipe-card {
  background: rgba(15, 10, 6, 0.85);
  color: #fff;
  border-radius: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: 0 24px 50px rgba(15, 10, 6, 0.3);
  display: grid;
  gap: 0.6rem;
}

.recipe-card h4 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.card-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.card-base {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 248, 244, 0.85);
}

.recipe-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.recipe-list li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.recipe-list li.is-done {
  color: #98f5d0;
}

.recipe-list li.is-done::before {
  content: "✓";
  position: absolute;
  left: -1.1rem;
  color: #98f5d0;
}

.stage-stack {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.6rem);
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
}

.cutting-board {
  background: linear-gradient(145deg, #fffcf8, #f9e8d7);
  border-radius: 1.6rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(111, 76, 43, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
}

.fruit-token {
  border: none;
  border-radius: 1.25rem;
  padding: 0.9rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(39, 23, 10, 0.15);
  display: grid;
  gap: 0.3rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  min-height: 120px;
}

.fruit-token:focus-visible {
  outline: 3px solid rgba(245, 130, 110, 0.5);
  outline-offset: 3px;
}

.fruit-token::after {
  content: attr(data-hint);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.fruit-emoji {
  font-size: 2rem;
}

.fruit-name {
  font-weight: 700;
  color: var(--accent-dark);
}

.fruit-note {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.fruit-token.is-sliced {
  box-shadow: 0 12px 32px rgba(245, 130, 110, 0.35);
  transform: translateY(-2px);
}

.fruit-token.is-sliced::before {
  content: "✂︎ Туралды";
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.fruit-token.is-added {
  opacity: 0.5;
  pointer-events: none;
}

.mixing-glass {
  position: relative;
  height: 320px;
  margin-bottom: 60px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.8rem 1.8rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3), 0 30px 60px rgba(7, 6, 5, 0.25);
  overflow: hidden;
}

.glass-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(180deg, rgba(249, 177, 137, 0.9), rgba(233, 98, 141, 0.9));
  transition: height 0.5s ease;
}

.glass-fruits {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0.5rem;
  justify-content: center;
}

.glass-piece {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  animation: popIntoGlass 0.6s ease forwards;
}

.glass-lid {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
}

.lid-body {
  width: 120px;
  height: 24px;
  border-radius: 20px 20px 6px 6px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(210, 193, 176, 0.85));
  box-shadow: 0 8px 18px rgba(47, 33, 22, 0.2);
}

.lid-handle {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(118, 91, 70, 0.9), rgba(63, 44, 24, 0.9));
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes popIntoGlass {
  0% {
    transform: translateY(40px) scale(0.6);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.visual-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.6rem);
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.5rem, 4vw, 2.4rem);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  border: 1px solid rgba(111, 76, 43, 0.16);
  box-shadow: 0 32px 60px rgba(40, 28, 18, 0.18);
}

.visual-media {
  margin: 0;
  border-radius: clamp(1.2rem, 3vw, 1.8rem);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(40, 28, 18, 0.25);
}

.visual-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.visual-text {
  display: grid;
  gap: 1rem;
}

.visual-text h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-family: "Marcellus", serif;
  color: var(--accent-dark);
}

.visual-text p,
.visual-text li {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.3vw, 1.1rem);
}

.visual-text ul {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.mechanics .section-header {
  max-width: 640px;
  margin-inline: auto;
}

.mechanics-grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mechanics-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1.4rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid rgba(111, 76, 43, 0.16);
  box-shadow: 0 26px 46px rgba(50, 35, 22, 0.14);
  display: grid;
  gap: 0.9rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mechanics-card:hover,
.mechanics-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 36px 60px rgba(50, 35, 22, 0.22);
}

.mechanics-card h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: var(--accent-dark);
}

.mechanics-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.05rem);
}

.flavor-shot-card {
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92),
      rgba(241, 229, 208, 0.85)
    );
  border-radius: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid rgba(111, 76, 43, 0.18);
  box-shadow: 0 28px 50px rgba(63, 44, 24, 0.15);
  padding: clamp(2rem, 6vw, 3rem);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 1rem;
}

.flavor-shot-card h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.8rem, 4.2vw, 2.4rem);
  color: var(--accent-dark);
}

.flavor-shot-card p {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--accent);
  font-weight: 600;
}

.taste-quiz .section-header {
  max-width: 640px;
  margin-inline: auto;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(111, 76, 43, 0.16);
  box-shadow: 0 28px 50px rgba(40, 28, 18, 0.14);
  padding: clamp(1.8rem, 5vw, 2.6rem);
  display: grid;
  gap: 1.4rem;
}

.quiz-question {
  display: grid;
  gap: 0.8rem;
}

.quiz-question p {
  margin: 0;
  font-weight: 600;
  color: var(--accent-dark);
}

.quiz-question label {
  display: flex;
  gap: 0.5rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  align-items: baseline;
}

.quiz-question input {
  accent-color: var(--accent);
}

.quiz-card button {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(90deg, #f5b041, #d68910);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quiz-card button:hover,
.quiz-card button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(214, 137, 16, 0.4);
}

.quiz-result {
  margin: 0;
  min-height: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 960px) {
  .mechanics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-card {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-panel {
    position: relative;
  }

  .stage-stack {
    grid-template-columns: 1fr;
  }

  .mixing-glass {
    order: -1;
    height: 260px;
    margin-bottom: 40px;
  }
}
@media (max-width: 840px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header-height) - 10px) 1.5rem auto 1.5rem;
    background: rgba(241, 229, 208, 0.98);
    border: 1px solid rgba(72, 52, 37, 0.22);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    padding: 1.25rem 1.5rem;
    z-index: 999;
    backdrop-filter: blur(8px);
  }

  .nav-open #primary-navigation {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-list a {
    font-size: 1.05rem;
  }

  main {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  main > section + section::before {
    width: calc(100% - clamp(1rem, 8vw, 2.5rem));
  }

  .hero {
    min-height: clamp(480px, 88vh, 560px);
    border-radius: clamp(1rem, 4vw, 1.8rem);
  }

  .mix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mix-media {
    margin: -1.1rem -1.1rem 0.75rem;
  }
}

.site-footer {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: rgba(241, 229, 208, 0.95);
  border-top: 1px solid rgba(72, 52, 37, 0.25);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.08);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--spacing);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 420px;
}

.footer-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 76, 43, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-form input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(111, 76, 43, 0.2);
}

.footer-form button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-form button:hover,
.footer-form button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(63, 44, 24, 0.25);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 999px;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: clamp(1.25rem, 6vw, 2.4rem);
  }

  .hero-media {
    order: -1;
    max-width: min(420px, 100%);
    max-height: 320px;
  }

  .hero-with-media .hero-content,
  .hero-with-media .hero-cta {
    text-align: center;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  main {
    padding: 0 clamp(1rem, 4vw, 1.5rem);
    padding-top: calc(var(--header-height) + 2rem);
  }

  main > section + section::before {
    display: none;
  }

  .hero-media {
    max-height: 280px;
  }

  .hero-home {
    min-height: auto;
    padding: clamp(1.5rem, 6vw, 2rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 5vw, 2rem);
    background: linear-gradient(160deg, #4b2f1e, #2a1910);
    border-radius: clamp(1.2rem, 5vw, 1.8rem);
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-home .hero-overlay {
    display: none;
  }

  .hero-home .hero-mobile-media {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-home .hero-mobile-media img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    border-radius: clamp(1rem, 4vw, 1.5rem);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
  }

  .hero-home .hero-content {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: clamp(1.5rem, 6vw, 2rem);
    background: rgba(23, 14, 9, 0.9);
    border-radius: clamp(1rem, 4vw, 1.5rem);
    box-shadow: 0 20px 50px rgba(11, 7, 4, 0.6);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-home .hero-content .hero-kicker,
  .hero-home .hero-content h1,
  .hero-home .hero-content .hero-subtitle {
    text-align: center;
    margin: 0 auto;
  }

  .hero-home .hero-cta {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    justify-self: center;
  }

  .mix-grid {
    grid-template-columns: 1fr;
  }

  .mix-media {
    margin: -1rem -1rem 0.75rem;
  }

  .gallery-card img {
    height: 200px;
  }

  .daily-tip {
    padding: clamp(1.8rem, 8vw, 2.4rem);
  }

  .footer-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-form button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .mechanics-grid {
    grid-template-columns: 1fr;
  }

  .visual-card,
  .quiz-card,
  .flavor-shot-card {
    padding: clamp(1.4rem, 8vw, 2rem);
  }

  .fruit-token {
    min-height: 110px;
  }
}

