@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light dark;
  --bg: #060608;
  --bg-soft: #0c0d13;
  --card: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #f5f1ea;
  --muted: #b4ac9f;
  --accent: #ff8b3d;
  --accent-dark: #d6671f;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  flex: 1;
  width: 100%;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 6, 8, 0.95);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.site-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.95rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.menu a {
  color: var(--muted);
  transition: color 0.2s;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--accent);
}

.btn-accent {
  border: none;
  background: var(--accent);
  color: #120900;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

#mobile-nav {
  display: none;
}

.menu-close {
  display: none;
}

@media (max-width: 900px) {
  .menu {
    position: fixed;
    inset: 64px 20px auto 20px;
    flex-direction: column;
    background: rgba(5, 5, 7, 0.97);
    padding: 26px;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  #mobile-nav:checked ~ ul.menu {
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: flex;
  }

  .menu-close {
    position: fixed;
    top: 70px;
    right: 28px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(6, 6, 8, 0.9);
    color: var(--text);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  #mobile-nav:checked ~ .menu-close {
    opacity: 1;
    pointer-events: auto;
  }
}

.hero {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0 90px;
  background: radial-gradient(circle at top, rgba(255, 139, 61, 0.18), transparent 60%), linear-gradient(180deg, rgba(5, 5, 7, 0.85), rgba(6, 6, 8, 0.95));
  color: var(--text);
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-content {
  display: grid;
  gap: 20px;
  text-align: left;
  animation: fadeUp 0.9s ease both;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin: 0;
  animation: shimmer 4s ease infinite;
}

.hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-media {
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.hero-media picture {
  display: block;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  background: #020203;
}

@media (max-width: 720px) {
  .hero-content {
    text-align: center;
  }

  .hero p {
    margin: 0 auto;
  }

  .hero-content .hero-actions {
    justify-content: center;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    text-shadow: 0 0 10px rgba(255, 139, 61, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 139, 61, 0.6);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 139, 61, 0.3);
  }
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-content .hero-actions {
  justify-content: flex-start;
}

.section {
  padding: 80px 0;
}

.section h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.6rem;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.4);
}

.text-muted {
  color: var(--muted);
}

.accordion {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--stroke);
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 20px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
}

.accordion-content p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.preview-next {
  text-align: center;
  border: 1px dashed var(--stroke);
  border-radius: 18px;
  padding: 26px;
  margin-top: 30px;
}

.preview-next a {
  color: var(--accent);
  font-weight: 600;
}

.mini-game {
  background: linear-gradient(180deg, rgba(255, 139, 61, 0.08), rgba(6, 6, 8, 0));
}

.mini-wrapper {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.mini-target {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.1rem;
}

.mini-target span {
  border: 1px dashed var(--stroke);
  padding: 10px 16px;
  border-radius: 999px;
  min-width: 90px;
}

.mini-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.ingredient-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s;
}

.ingredient-btn:hover,
.ingredient-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.ingredient-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #120900;
  box-shadow: 0 6px 18px rgba(255, 139, 61, 0.3);
}

.ingredient-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.shaker {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  position: relative;
}

.shaker.animate {
  animation: shake 0.8s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(8deg);
  }
  50% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

.mini-message {
  font-weight: 600;
}

.next-level-btn {
  border: none;
  background: var(--accent);
  color: #120900;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  display: none;
}

.next-level-btn.show {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.reset-btn {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.reset-btn:hover,
.reset-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.image-block {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: flex;
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.split {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.list {
  display: grid;
  gap: 16px;
}

.list-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.01);
}

.catalog {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-recipe {
  display: grid;
  gap: 12px;
}

.card-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.filters {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 12px;
}

.contact-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 12px;
}

.map {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 20px;
  margin-top: 24px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  background: #101018;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 140px;
}

footer {
  background: #040405;
  border-top: 1px solid var(--stroke);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.modal,
.cookie-banner {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal.active,
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content,
.cookie-content {
  background: var(--bg-soft);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 32px;
  width: min(420px, 90%);
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-close {
  margin-top: 20px;
  background: none;
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-outline {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.merci-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(255, 139, 61, 0.18), transparent 55%), var(--bg);
  padding: 20px;
}

.merci-card {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow);
}

.lightbox-desc {
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
}

