:root {
  --bg: #0b0a0f;
  --bg-soft: #15121d;
  --panel: rgba(20, 16, 28, 0.82);
  --text: #f7f2ea;
  --muted: #d9c8b0;
  --gold: #c89a55;
  --gold-soft: rgba(200, 154, 85, 0.22);
  --green: #89f56e;
  --green-soft: rgba(137, 245, 110, 0.2);
  --plum: #a16ddc;
  --plum-soft: rgba(161, 109, 220, 0.2);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top, rgba(122, 75, 255, 0.14), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(137, 245, 110, 0.08), transparent 22%),
    linear-gradient(180deg, #09080d 0%, #0f0c14 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,0.7) 0 1px, transparent 1.7px);
  opacity: 0.45;
}

img {
  max-width: 100%;
  display: block;
}

.top-nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo,
.menu-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav-link,
.back-link {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover,
.back-link:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 154, 85, 0.4);
  box-shadow: 0 0 18px rgba(200, 154, 85, 0.18);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-content {
  width: min(900px, calc(100% - 2rem));
  margin: auto;
  text-align: center;
  padding: 3rem 0 6rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1,
.section-heading h2,
.menu-hero h1 {
  font-family: 'Cinzel', serif;
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  max-width: 11ch;
  margin-inline: auto;
}

.hero-text,
.section-heading p,
.menu-hero p {
  color: #eadfcf;
  line-height: 1.7;
  max-width: 680px;
  margin: 1.25rem auto 0;
  font-size: 1.02rem;
}

.hero-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  color: #0b0a0f;
  background: linear-gradient(135deg, var(--gold), #f0c57b);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(200, 154, 85, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(200, 154, 85, 0.42);
}

.portal-section,
.menu-page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.portal-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  min-height: 220px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.portal-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.75;
}

.portal-card:hover {
  transform: translateY(-8px);
}

.gold-card:hover {
  border-color: rgba(200, 154, 85, 0.42);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(200, 154, 85, 0.16);
}

.green-card:hover {
  border-color: rgba(137, 245, 110, 0.42);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(137, 245, 110, 0.18);
}

.plum-card:hover {
  border-color: rgba(161, 109, 220, 0.42);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(161, 109, 220, 0.18);
}

.gold-card::after {
  background: var(--gold-soft);
}

.green-card::after {
  background: var(--green-soft);
}

.plum-card::after {
  background: var(--plum-soft);
}

.portal-label {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.portal-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  margin: 0 0 0.8rem;
}

.portal-card p {
  margin: 0;
  color: #eadfcf;
  max-width: 28ch;
  line-height: 1.65;
}

.menu-shell {
  min-height: 100vh;
}

.menu-top {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-hero {
  text-align: center;
  margin-bottom: 2.25rem;
}

.menu-frame {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.menu-frame img {
  border-radius: 22px;
  width: 100%;
}

.gold-glow {
  box-shadow: var(--shadow), 0 0 28px rgba(200, 154, 85, 0.16);
}

.green-glow {
  box-shadow: var(--shadow), 0 0 30px rgba(137, 245, 110, 0.18);
}

.plum-glow {
  box-shadow: var(--shadow), 0 0 30px rgba(161, 109, 220, 0.18);
}

@media (max-width: 820px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .top-nav,
  .menu-top {
    flex-direction: column;
    gap: 0.9rem;
  }

  .portal-card {
    min-height: 190px;
  }
}
