/* HellEat official site — dark hell-diner theme */
:root {
  --bg: #0b0612;
  --bg-elev: #140a1f;
  --bg-card: #1a0f2a;
  --ink: #f4e9ff;
  --muted: #b9a4d0;
  --faint: #7a668f;
  --accent: #ff7a2f;
  --accent-2: #ffb347;
  --ember: #ff4d2e;
  --violet: #8b5cf6;
  --violet-deep: #5b21b6;
  --line: rgba(255,180,100,0.16);
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  --radius: 18px;
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,90,40,0.22), transparent 55%),
    radial-gradient(900px 500px at 10% 10%, rgba(120,40,200,0.25), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(255,80,30,0.12), transparent 55%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,6,18,0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 1rem;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,180,100,.25); }
.brand span.zh { color: var(--muted); font-weight: 600; font-size: .85rem; margin-left: .15rem; }
.nav-links { display: flex; gap: 1.1rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-size: .78rem; font-weight: 700;
}
.lang-toggle button { padding: .35rem .65rem; color: var(--faint); }
.lang-toggle button.active { background: rgba(255,122,47,.2); color: var(--accent-2); }
.nav-cta { display: none; }
.menu-btn {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); align-items: center; justify-content: center;
}
.menu-btn span { display:block; width:18px; height:2px; background:var(--ink); position:relative; }
.menu-btn span::before, .menu-btn span::after {
  content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink);
}
.menu-btn span::before { top:-6px; }
.menu-btn span::after { top:6px; }

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(255,122,47,.12);
  border: 1px solid rgba(255,122,47,.35);
  color: var(--accent-2);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  margin: 1rem 0 .8rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent-2), var(--ember), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: var(--muted); font-size: 1.1rem; max-width: 36rem; margin: 0 0 1.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.25rem; border-radius: 14px; font-weight: 750; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #ff8a3d, #ff4d2e 55%, #c026d3);
  color: #fff; box-shadow: 0 10px 30px rgba(255,80,40,.35);
}
.btn-primary.is-disabled, .btn-primary[aria-disabled="true"] {
  opacity: .72; cursor: not-allowed; filter: saturate(.85);
  box-shadow: none;
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.meta-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.pill {
  font-size: .78rem; font-weight: 650; color: var(--muted);
  padding: .35rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}

.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(280px, 70vw);
  aspect-ratio: 9/19;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, #2a1838, #12081c);
  border: 1px solid rgba(255,180,100,.25);
  box-shadow: var(--shadow), 0 0 80px rgba(255,90,40,.18);
  position: relative;
}
.phone::before {
  content:""; position:absolute; top:14px; left:50%; transform:translateX(-50%);
  width: 38%; height: 10px; border-radius: 999px; background: #0a0610; z-index: 2;
}
.phone img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 24px;
  background: #1a1024;
}
.glow {
  position: absolute; inset: 15% -10% auto;
  height: 55%;
  background: radial-gradient(circle, rgba(255,100,40,.35), transparent 65%);
  filter: blur(10px); z-index: -1; pointer-events: none;
}

/* Sections */
section { padding: 4.2rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.4rem; }
.section-head h2 {
  margin: 0 0 .6rem; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em;
}
.section-head p { margin: 0; color: var(--muted); }
.section-label {
  color: var(--accent-2); font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,122,47,.12);
  border: 1px solid rgba(255,122,47,.25);
  margin-bottom: .9rem; font-size: 1.25rem;
}
.card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Gallery */
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 1rem;
  overflow-x: auto;
  padding: .5rem .25rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { height: 8px; }
.gallery-track::-webkit-scrollbar-thumb { background: rgba(255,180,100,.25); border-radius: 999px; }
.shot {
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,180,100,.22);
  background: #140a1f;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

/* World */
.world-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: stretch;
}
.world-copy {
  background: linear-gradient(160deg, rgba(139,92,246,.12), rgba(255,77,46,.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.world-copy h3 { margin: 0 0 .7rem; font-size: 1.35rem; }
.world-copy p { color: var(--muted); margin: 0 0 1rem; }
.region-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.region-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .65rem .75rem; border-radius: 12px;
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.05);
}
.region-list strong { color: var(--accent-2); min-width: 1.4rem; }
.region-list span { color: var(--muted); font-size: .92rem; }
.story-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem;
}
.story-mosaic img {
  border-radius: 14px; aspect-ratio: 16/9; object-fit: cover;
  border: 1px solid rgba(255,180,100,.15);
  width: 100%; height: 100%;
}

/* Download CTA strip */
.download {
  padding: 1rem 0 4rem;
}
.download-box {
  border-radius: 24px;
  padding: 2rem;
  display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between;
  background:
    linear-gradient(120deg, rgba(255,90,40,.18), rgba(139,92,246,.18)),
    var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.download-box h2 { margin: 0 0 .4rem; font-size: 1.5rem; }
.download-box p { margin: 0; color: var(--muted); max-width: 34rem; }
.store-btns { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.8rem;
  color: var(--faint);
  font-size: .88rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
}
.footer-brand { display: flex; gap: .75rem; align-items: flex-start; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand strong { display:block; color: var(--ink); margin-bottom: .25rem; }
.footer h4 { margin: 0 0 .7rem; color: var(--ink); font-size: .95rem; }
.footer a { color: var(--muted); display: inline-block; margin: .25rem 0; }
.footer a:hover { color: var(--accent-2); }
.legal { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.06); color: var(--faint); }

/* Legal pages */
.legal-page { padding: 3rem 0 4rem; }
.legal-page h1 { margin: 0 0 1rem; font-size: 2rem; }
.legal-page h2 { margin: 1.8rem 0 .6rem; font-size: 1.15rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page ul { padding-left: 1.2rem; }
.back-link { color: var(--accent-2); font-weight: 700; display: inline-block; margin-bottom: 1rem; }

/* Lang visibility */
[data-lang="zh"] .en-only { display: none !important; }
[data-lang="en"] .zh-only { display: none !important; }

@media (max-width: 900px) {
  .hero-grid, .world-grid, .footer-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; padding: 1rem 1.25rem 1.25rem;
    background: rgba(14,8,22,.96); border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .menu-btn { display: inline-flex; }
  .phone { width: min(240px, 62vw); margin-top: .5rem; }
  .hero { padding-top: 2.2rem; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .story-mosaic { grid-template-columns: 1fr 1fr; }
}

/* Notify / waitlist */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.notify-block {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  max-width: 28rem;
}
.notify-block--download {
  width: 100%;
  max-width: none;
  margin-top: .2rem;
  flex-basis: 100%;
}
.notify-micro {
  margin: 0 0 .65rem;
  color: var(--muted);
  font-size: .88rem;
}
.notify-form {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: stretch;
}
.notify-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: .8rem .95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.28);
  color: var(--ink);
  font: inherit;
  outline: none;
}
.notify-form input[type="email"]:focus {
  border-color: rgba(255,122,47,.55);
  box-shadow: 0 0 0 3px rgba(255,122,47,.15);
}
.notify-form input.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
  pointer-events: none;
}
.notify-form .btn { flex: 0 0 auto; }
.notify-form .btn:disabled { opacity: .6; cursor: wait; }
.notify-status {
  margin: .65rem 0 0;
  font-size: .88rem;
  font-weight: 650;
}
.notify-status.is-ok { color: #86efac; }
.notify-status.is-err { color: #fda4af; }
.notify-privacy {
  margin: .55rem 0 0;
  font-size: .78rem;
  color: var(--faint);
}
.notify-privacy a { color: var(--accent-2); text-decoration: underline; }
.discord-cta { margin-top: .85rem; }
.discord-cta .notify-micro { margin-top: .45rem; margin-bottom: 0; }
.download-box { align-items: flex-start; }
@media (max-width: 560px) {
  .notify-form .btn { width: 100%; }
}
