/* ===========================================================
   ГЛАВНОЕ МЕНЮ — «приглашение / меню торжества»
   Композиция по макету: колонка слева, контент по центру колонки,
   визитка молодожёнов — на фото сверху справа
   =========================================================== */
.menu-bg::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background: url("../img/bg-menu.jpg") right center / cover no-repeat;
}
.menu-bg::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,6,5,.52) 0%, rgba(8,6,5,.40) 48%, rgba(8,6,5,.10) 74%, transparent 92%),
    linear-gradient(180deg, rgba(8,6,5,.30) 0%, transparent 26%, transparent 72%, rgba(8,6,5,.45) 100%);
}

.menu-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 64px;
}

.menu-card {
  width: min(520px, 100%);
  text-align: center;
}

/* ---------- Логотип ---------- */
.brand__logo {
  margin: 0;
  line-height: 0;
  animation: rise-in .9s cubic-bezier(.2,.7,.2,1) both;
}
.brand__logo img {
  display: block;
  width: min(470px, 86vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 36px rgba(0,0,0,.6));
}
.brand__tag {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: 11px;
  color: var(--ink-dim);
  margin: 20px 0 0 .4em;
  animation: rise-in .9s cubic-bezier(.2,.7,.2,1) .12s both;
}

.menu-card .ornament {
  margin: 24px 0 34px;
  animation: rise-in .9s cubic-bezier(.2,.7,.2,1) .2s both;
}

@keyframes rise-in { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }

/* ---------- Пункты меню — «карта вин»: двойная рамка, центр ---------- */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.menu-item {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  padding: 19px 24px 17px;
  border: 1px solid rgba(201,168,106,.32);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(19,13,10,.82) 0%, rgba(11,8,6,.86) 100%);
  color: var(--ink);
  transition: transform .18s ease, border-color .25s ease, box-shadow .3s ease, background .3s ease;
  animation: rise-in .7s cubic-bezier(.2,.7,.2,1) both;
}
.menu-item:nth-child(1) { animation-delay: .26s; }
.menu-item:nth-child(2) { animation-delay: .34s; }
.menu-item:nth-child(3) { animation-delay: .42s; }
.menu-item:nth-child(4) { animation-delay: .50s; }
.menu-item:nth-child(5) { animation-delay: .58s; }

/* внутренняя рамка-паспарту */
.menu-item::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201,168,106,.14);
  border-radius: 1px;
  pointer-events: none;
  transition: border-color .3s ease;
}
/* маленький ромб над заголовком */
.menu-item::after {
  content: "";
  position: absolute;
  left: 50%; top: -4px;
  width: 7px; height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: #0e0a08;
  border: 1px solid rgba(201,168,106,.5);
  transition: background .3s ease, border-color .3s ease;
}

.menu-item__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 20px;
  color: var(--gold-2);
  margin-left: .3em;
  transition: color .25s ease;
}
.menu-item__sub {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 9.5px;
  color: var(--ink-faint);
  margin: 6px 0 0 .22em;
  transition: color .25s ease;
}

.menu-item:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,106,.75);
  background: linear-gradient(180deg, rgba(34,23,15,.9) 0%, rgba(16,11,8,.92) 100%);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,.95), 0 0 24px -6px var(--gold-glow);
}
.menu-item:hover::before { border-color: rgba(201,168,106,.35); }
.menu-item:hover::after { background: var(--gold-deep); border-color: var(--gold-2); }
.menu-item:hover .menu-item__title { color: #f6e6c2; }
.menu-item:hover .menu-item__sub { color: var(--ink-dim); }
.menu-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* акцентная кнопка «Начать игру» — цветная рамка */
.menu-item--accent {
  border-color: rgba(164,36,47,.65);
}
.menu-item--accent::before { border-color: rgba(164,36,47,.28); }
.menu-item--accent::after { border-color: var(--blood-2); }
.menu-item--accent .menu-item__title { color: #f6e6c2; }
.menu-item--accent:hover {
  border-color: var(--blood-2);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,.95), 0 0 26px -6px var(--blood-glow);
}
.menu-item--accent:hover::before { border-color: rgba(164,36,47,.45); }
.menu-item--accent:hover::after { background: var(--blood); border-color: #e8717c; }

/* ---------- Подпись внизу ---------- */
.menu-foot {
  margin: 34px auto 0;
  max-width: 420px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  animation: rise-in .9s ease .7s both;
}

/* ---------- Адаптив ---------- */
@media (max-width: 480px) {
  .menu-item__title { font-size: 17px; letter-spacing: .24em; }
  .menu-item { padding: 16px 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .invite, .brand__logo, .brand__tag, .menu-card .ornament, .menu-item, .menu-foot {
    animation: none;
  }
}
