:root {
  --bg: #070912;
  --bg-2: #11142a;
  --panel: rgba(20, 22, 42, 0.72);
  --panel-strong: rgba(30, 27, 54, 0.86);
  --line: rgba(143, 222, 255, 0.22);
  --line-hot: rgba(252, 202, 119, 0.46);
  --text: #f7f1df;
  --muted: #b9b8ce;
  --cyan: #6be7ff;
  --violet: #b48cff;
  --gold: #f7c66a;
  --coffee: #b97945;
  --cream: #fff2cf;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 16% 18%, rgba(107, 231, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 84% 8%, rgba(180, 140, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 72% 72%, rgba(247, 198, 106, 0.13), transparent 18rem),
    linear-gradient(150deg, #070912 0%, #101124 48%, #140f24 100%);
  overflow-x: hidden;
}

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

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(107, 231, 255, 0.58) 0 1px, transparent 1.8px);
  background-size: 72px 72px, 118px 118px;
  background-position: 0 0, 22px 38px;
  opacity: 0.38;
  animation: twinkle 8s ease-in-out infinite alternate;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 18, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-hot);
  border-radius: 50%;
  background: rgba(247, 198, 106, 0.12);
  box-shadow: 0 0 24px rgba(247, 198, 106, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a.is-active {
  color: var(--cream);
  border-color: var(--line);
  background: rgba(107, 231, 255, 0.1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(var(--max), calc(100% - 32px));
  min-height: min(760px, calc(100vh - 70px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 96px) 0 clamp(36px, 6vw, 78px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(107, 231, 255, 0.25);
}

.subtitle {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--cream);
  font-size: clamp(20px, 2.2vw, 28px);
}

.hero-note {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #150f18;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), #8ff3ff);
  box-shadow: 0 0 28px rgba(247, 198, 106, 0.26);
}

.button.secondary {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
}

.button.secondary:hover {
  box-shadow: 0 0 24px rgba(107, 231, 255, 0.18);
}

.porthole {
  position: relative;
  min-height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 52px rgba(107, 231, 255, 0.1), var(--shadow);
  overflow: hidden;
}

.porthole img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.04);
}

.orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(107, 231, 255, 0.42);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.28);
}

.orbit-b {
  inset: 23%;
  border-color: rgba(247, 198, 106, 0.36);
  transform: rotate(24deg) scaleX(1.42);
}

.section {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) 0;
}

.featured {
  padding-top: 56px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
}

.section-heading p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.menu-card {
  position: relative;
  min-height: 222px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel), rgba(13, 15, 32, 0.68));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(107, 231, 255, 0.08), transparent),
    radial-gradient(circle at 82% 16%, rgba(247, 198, 106, 0.13), transparent 9rem);
  opacity: 0;
  transition: opacity 180ms ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 231, 255, 0.52);
  background: linear-gradient(150deg, var(--panel-strong), rgba(18, 17, 38, 0.78));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34), 0 0 28px rgba(107, 231, 255, 0.14);
}

.menu-card:hover::before {
  opacity: 1;
}

.menu-card > * {
  position: relative;
  z-index: 1;
}

.menu-card.highlight {
  border-color: var(--line-hot);
  box-shadow: 0 16px 42px rgba(247, 198, 106, 0.13), 0 10px 30px rgba(0, 0, 0, 0.22);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card-top strong {
  color: var(--gold);
  font-size: 22px;
  line-height: 1.1;
  white-space: nowrap;
}

.chip,
.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(107, 231, 255, 0.22);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(107, 231, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.category {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.menu-card h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 23px;
  line-height: 1.2;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer {
  display: grid;
  gap: 7px;
  place-items: center;
  width: min(var(--max), calc(100% - 32px));
  margin: 26px auto 0;
  padding: 34px 0 42px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer strong {
  color: var(--cream);
}

@keyframes twinkle {
  from { opacity: 0.24; transform: translateY(0); }
  to { opacity: 0.48; transform: translateY(-10px); }
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 40px;
  }

  .porthole {
    min-height: 360px;
    border-radius: 28px;
  }

  .porthole img {
    min-height: 360px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 126px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand small {
    white-space: normal;
    line-height: 1.25;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    width: min(100% - 28px, var(--max));
    gap: 24px;
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .subtitle {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .porthole {
    min-height: 250px;
  }

  .porthole img {
    min-height: 250px;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 42px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    min-height: 0;
    padding: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
