/* F1 Gaming Empire — digital menu. Dark neon theme around the brand gold. */

@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #07060d;
  --bg-2: #0d0b17;
  --panel: rgba(22, 19, 36, 0.66);
  --panel-solid: #15121f;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f1e8;
  --muted: #a7a2b8;
  --dim: #6d6880;
  --gold: #d0ab5d;
  --gold-hi: #f6d58e;
  --gold-deep: #8a6a2a;
  --cyan: #2ee6ff;
  --violet: #9d5cff;
  --magenta: #ff4fd8;
  --danger: #ff5d73;
  --glow-gold: 0 0 18px rgba(208, 171, 93, 0.45), 0 0 42px rgba(208, 171, 93, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --top: 64px;
  --tabs: 68px;
  --font: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- ambient backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop-grid {
  position: absolute; inset: -40% -20% 0;
  background-image:
    linear-gradient(rgba(157, 92, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 92, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  transform: perspective(600px) rotateX(38deg);
  transform-origin: top;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.orb-gold { width: 420px; height: 420px; top: -180px; right: -120px; background: rgba(208, 171, 93, 0.35); }
.orb-violet { width: 520px; height: 520px; top: 38%; left: -260px; background: rgba(157, 92, 255, 0.28); animation: drift 18s ease-in-out infinite alternate; }
.orb-cyan { width: 360px; height: 360px; bottom: -160px; right: -80px; background: rgba(46, 230, 255, 0.16); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.12); } }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--top);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: linear-gradient(to bottom, rgba(7, 6, 13, 0.92), rgba(7, 6, 13, 0.7));
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.topbar > :first-child { justify-self: start; }
.topbar > :last-child { justify-self: end; }
.brand img { height: 38px; width: auto; filter: drop-shadow(0 0 10px rgba(208, 171, 93, 0.55)); transition: filter .3s; }
.brand:hover img { filter: drop-shadow(0 0 16px rgba(246, 213, 142, 0.85)); }

.pill-btn, .icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
}
.pill-btn { padding: 0 14px 0 16px; font-size: 14px; font-weight: 500; }
.pill-btn .ic { width: 17px; height: 17px; color: var(--gold); }
.icon-btn { width: 40px; padding: 0; }
.pill-btn:hover, .icon-btn:hover { border-color: rgba(208, 171, 93, 0.6); box-shadow: 0 0 14px rgba(208, 171, 93, 0.25); }
.pill-btn:active, .icon-btn:active { transform: scale(0.95); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

#app { max-width: 1080px; margin: 0 auto; padding: 18px 16px 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; border-radius: var(--radius); isolation: isolate;
  padding: 1.5px; /* neon frame thickness */
  background: conic-gradient(from var(--spin), rgba(208,171,93,.15), var(--gold-hi), rgba(157,92,255,.6), rgba(46,230,255,.5), rgba(208,171,93,.15) 70%);
  animation: spin 7s linear infinite;
  box-shadow: 0 20px 60px -20px rgba(157, 92, 255, 0.35);
}
@keyframes spin { to { --spin: 360deg; } }
.hero-inner {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) - 1.5px);
  min-height: 250px; display: grid; align-items: end;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(208,171,93,.22), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(157,92,255,.35), transparent 60%),
    linear-gradient(160deg, #15102a, #0a0814 70%);
}
.hero-inner.has-image { background: #0a0814; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner.has-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,6,13,.95) 5%, rgba(7,6,13,.35) 55%, rgba(7,6,13,.1));
}
.hero-art { position: absolute; inset: 0; }
.hero-art .ring {
  position: absolute; left: 18%; top: 50%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(208,171,93,.35); translate: -50% -50%;
  box-shadow: 0 0 30px rgba(208,171,93,.12) inset;
}
.hero-art .r1 { width: 170px; animation: pulse 4s ease-in-out infinite; }
.hero-art .r2 { width: 260px; border-color: rgba(157,92,255,.3); animation: pulse 4s ease-in-out .6s infinite; }
.hero-art .r3 { width: 360px; border-color: rgba(46,230,255,.16); animation: pulse 4s ease-in-out 1.2s infinite; }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .6; } }
.hero-logo {
  position: absolute; left: 18%; top: 50%; width: 118px; translate: -50% -50%;
  filter: drop-shadow(0 0 14px rgba(208,171,93,.7)) drop-shadow(0 0 40px rgba(208,171,93,.35));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { translate: -50% calc(-50% - 8px); } }
.scanlines {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
}
.hero-copy { position: relative; z-index: 2; padding: 26px 24px 24px; max-width: 62%; }
.hero-inner.has-image .hero-copy { max-width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--cyan); direction: ltr;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 {
  margin: 6px 0 6px; font-size: clamp(30px, 7vw, 46px); line-height: 1.15; font-weight: 700;
  background: linear-gradient(180deg, #fff6df, var(--gold-hi) 45%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(208,171,93,.35));
}
.hero p { margin: 0; color: #d7d1e4; font-size: 15px; max-width: 34ch; }

/* ---------- category cards ---------- */
.label {
  display: flex; align-items: center; gap: 10px; margin: 26px 2px 12px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to left, var(--line-strong), transparent); }
.cats { display: grid; gap: 14px; }
@media (min-width: 720px) { .cats { grid-template-columns: 1fr 1fr; } }
.cat {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 18px; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer; text-align: start; width: 100%;
}
.cat::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(80% 120% at 100% 0%, rgba(208,171,93,.16), transparent 60%);
}
.cat:hover { transform: translateY(-3px); border-color: rgba(208,171,93,.5); box-shadow: var(--glow-gold); }
.cat:hover::before { opacity: 1; }
.cat-ic {
  position: relative; width: 64px; height: 64px; border-radius: 18px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, rgba(208,171,93,.2), rgba(157,92,255,.14));
  border: 1px solid rgba(208,171,93,.35); color: var(--gold-hi);
  box-shadow: 0 0 22px rgba(208,171,93,.2) inset;
}
.cat-ic .ic { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(246,213,142,.7)); }
.cat-ic img { width: 100%; height: 100%; object-fit: cover; }
.cat-text { position: relative; flex: 1; min-width: 0; }
.cat-text b { display: block; font-size: 19px; font-weight: 600; }
.cat-text small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-go { position: relative; color: var(--dim); transition: color .2s, transform .25s; }
.cat:hover .cat-go { color: var(--gold); transform: translateX(-4px); }
.cat.soon { cursor: default; }
.cat.soon .cat-ic { filter: grayscale(.6); opacity: .7; border-color: var(--line-strong); }
.cat.soon:hover { transform: none; box-shadow: none; border-color: var(--line-strong); }
.soon-tag {
  position: relative; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: var(--magenta); border: 1px solid rgba(255,79,216,.45); background: rgba(255,79,216,.08);
  text-shadow: 0 0 8px rgba(255,79,216,.6);
}

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.perk {
  padding: 12px 8px; border-radius: var(--radius-sm); text-align: center; font-size: 12.5px; color: var(--muted);
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
}
.perk .ic { display: block; width: 22px; height: 22px; margin: 0 auto 4px; color: var(--cyan); filter: drop-shadow(0 0 6px rgba(46,230,255,.6)); }
.perk:nth-child(2) .ic { color: var(--violet); filter: drop-shadow(0 0 6px rgba(157,92,255,.7)); }
.perk:nth-child(3) .ic { color: var(--magenta); filter: drop-shadow(0 0 6px rgba(255,79,216,.6)); }

/* ---------- category page ---------- */
.page-head { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; }
.page-head h1 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.page-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.page-head .icon-btn .ic { width: 18px; height: 18px; }

.tabs-wrap {
  position: sticky; top: var(--top); z-index: 20;
  margin: 0 -16px; padding: 10px 16px;
  background: linear-gradient(to bottom, rgba(7,6,13,.9) 70%, rgba(7,6,13,0));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 500; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); color: #ddd8e8;
  transition: background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.tab .ic { width: 18px; height: 18px; color: var(--gold); }
.tab[aria-current="true"] {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  border-color: transparent; color: #1b1406; box-shadow: var(--glow-gold);
}
.tab[aria-current="true"] .ic { color: #1b1406; }

.menu-section { scroll-margin-top: calc(var(--top) + var(--tabs) + 10px); padding-top: 18px; }
.sec-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.sec-head h2 {
  position: relative; margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; padding-bottom: 6px;
}
.sec-head h2::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px;
  background: linear-gradient(to left, var(--gold-hi), var(--cyan)); box-shadow: 0 0 12px rgba(46,230,255,.6);
}
.sec-head p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.sec-head .count { margin-inline-start: auto; margin-bottom: 8px; font-size: 12px; color: var(--dim); white-space: nowrap; }
.sec-banner {
  position: relative; height: 130px; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px;
  border: 1px solid var(--line-strong);
}
.sec-banner img { width: 100%; height: 100%; object-fit: cover; }
.sec-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,6,13,.7), transparent 60%); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.item {
  position: relative; display: flex; flex-direction: column; text-align: start;
  padding: 0; border-radius: 20px; overflow: hidden; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  animation: rise .5s both; animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.item:hover { transform: translateY(-3px); border-color: rgba(208,171,93,.45); box-shadow: 0 10px 30px -10px rgba(208,171,93,.35); }
.item:active { transform: scale(.98); }
.media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(157,92,255,.28), transparent 70%),
    linear-gradient(160deg, #1b1530, #0d0a18);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.item:hover .media img { transform: scale(1.06); }
.media.placeholder { display: grid; place-items: center; }
.media.placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(208,171,93,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(208,171,93,.07) 1px, transparent 1px);
  background-size: 18px 18px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}
.media.placeholder .ic {
  position: relative; width: 46%; height: 46%; color: var(--gold-hi); stroke-width: 1.2;
  filter: drop-shadow(0 0 6px rgba(246,213,142,.8)) drop-shadow(0 0 22px rgba(208,171,93,.45));
}
.badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  color: #06121a; background: var(--cyan); box-shadow: 0 0 14px rgba(46,230,255,.6);
}
.soldout { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(7,6,13,.62); }
.soldout span { font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(255,93,115,.6); color: var(--danger); background: rgba(7,6,13,.7); }
.item-body { display: flex; flex-direction: column; flex: 1; padding: 11px 12px 12px; gap: 2px; }
.item-name { font-size: 15px; font-weight: 600; line-height: 1.4; }
.item-cap {
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; font-size: 15.5px; color: var(--gold-hi); text-shadow: 0 0 12px rgba(208,171,93,.55); white-space: nowrap; direction: rtl; }
.price small { font-size: .72em; font-weight: 500; color: var(--gold); margin-inline-start: 3px; }
.plus {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(208,171,93,.4); color: var(--gold);
}
.plus .ic { width: 15px; height: 15px; }

/* ---------- coming soon / empty ---------- */
.soon-screen { text-align: center; padding: 50px 20px 20px; }
.soon-ic {
  width: 120px; height: 120px; margin: 0 auto 22px; border-radius: 34px; display: grid; place-items: center;
  border: 1px solid rgba(255,79,216,.45); color: var(--magenta);
  background: radial-gradient(circle, rgba(255,79,216,.18), transparent 70%);
  box-shadow: 0 0 40px rgba(255,79,216,.25), 0 0 30px rgba(255,79,216,.15) inset;
  animation: pulse 3.5s ease-in-out infinite;
}
.soon-ic .ic { width: 58px; height: 58px; stroke-width: 1.3; filter: drop-shadow(0 0 8px rgba(255,79,216,.8)); }
.soon-screen h1 { margin: 0 0 6px; font-size: 28px; }
.soon-screen p { margin: 0 auto 24px; color: var(--muted); max-width: 34ch; }
.neon-link {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #1b1406; font-weight: 600;
  box-shadow: var(--glow-gold); border: 0; cursor: pointer;
}

/* ---------- item sheet ---------- */
.sheet {
  width: min(520px, 100%); max-width: 100%; max-height: 92dvh; padding: 0; margin: auto auto 0;
  border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 28px 28px 0 0;
  background: var(--panel-solid); color: var(--text); overflow: hidden;
  box-shadow: 0 -10px 60px rgba(157,92,255,.25);
}
@media (min-width: 640px) { .sheet { margin: auto; border-radius: 28px; border-bottom: 1px solid var(--line-strong); } }
.sheet::backdrop { background: rgba(4,3,8,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetUp .35s cubic-bezier(.2,.9,.3,1); }
.sheet[open]::backdrop { animation: fade .3s; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheet-inner { position: relative; max-height: 92dvh; overflow-y: auto; }
.sheet-close { position: absolute; top: 14px; left: 14px; z-index: 5; background: rgba(7,6,13,.6); backdrop-filter: blur(8px); }
.sheet-media .media { aspect-ratio: 4 / 3.2; }
.sheet-media .media.placeholder .ic { width: 32%; height: 32%; }
.sheet-body { padding: 18px 22px 26px; }
.sheet-section { font-size: 12px; color: var(--cyan); font-weight: 500; }
.sheet-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet-row h3 { margin: 0; font-size: 23px; line-height: 1.35; }
.price-lg {
  font-size: 17px; padding: 4px 14px; border-radius: 999px; margin-top: 2px;
  border: 1px solid rgba(208,171,93,.5); background: rgba(208,171,93,.1);
}
.sheet-body p { margin: 8px 0 0; color: #cdc7da; }

/* ---------- search ---------- */
.search {
  position: fixed; inset: 0; z-index: 50; padding: 12px 16px;
  background: rgba(7,6,13,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: fade .2s; overflow-y: auto;
}
.search-bar {
  max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px 0 6px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(208,171,93,.5); box-shadow: var(--glow-gold);
}
.search-ic .ic { color: var(--gold); }
.search-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
.search-bar .icon-btn { width: 38px; height: 38px; }
.search-results { max-width: 720px; margin: 14px auto 0; display: grid; gap: 8px; }
.hit {
  display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; width: 100%; text-align: start; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
}
.hit:hover { border-color: rgba(208,171,93,.45); }
.hit .media { width: 56px; border-radius: 12px; flex: none; }
.hit .media.placeholder .ic { width: 55%; height: 55%; }
.hit-text { flex: 1; min-width: 0; }
.hit-text b { display: block; font-weight: 600; }
.hit-text small { color: var(--muted); }
.search-empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- rating ---------- */
.rate { max-width: 560px; margin: 0 auto; }
.rate-card {
  margin-top: 6px; padding: 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.rate h1 { margin: 0; text-align: center; font-size: 30px; }
.rate .sub { text-align: center; color: var(--muted); margin: 2px 0 16px; }
.stars { display: flex; justify-content: center; gap: 6px; direction: ltr; margin-bottom: 8px; }
.star {
  width: 52px; height: 52px; border: 0; background: none; cursor: pointer; padding: 4px; color: #4b4660;
  transition: color .2s, transform .2s, filter .2s;
}
.star .ic { width: 100%; height: 100%; stroke-width: 1.4; }
.star.on { color: var(--gold-hi); filter: drop-shadow(0 0 8px rgba(246,213,142,.8)); }
.star.on .ic { fill: currentColor; }
.star:hover { transform: scale(1.12); }
.star-label { text-align: center; min-height: 24px; color: var(--gold); font-weight: 500; font-size: 14px; }
.field-label { display: block; font-size: 13.5px; font-weight: 500; margin: 18px 0 8px; color: #ddd8e8; }
.field-label small { color: var(--dim); font-weight: 400; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip {
  height: 44px; border-radius: 14px; cursor: pointer; font-size: 14px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line-strong);
  transition: all .2s;
}
.chip[aria-pressed="true"] { border-color: var(--cyan); color: #dffaff; background: rgba(46,230,255,.1); box-shadow: 0 0 14px rgba(46,230,255,.25); }
.input {
  width: 100%; border-radius: 14px; padding: 12px 14px; font-size: 16px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line-strong); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: rgba(208,171,93,.7); box-shadow: 0 0 0 3px rgba(208,171,93,.15); }
textarea.input { min-height: 110px; resize: vertical; }
.submit { width: 100%; justify-content: center; margin-top: 22px; height: 52px; font-size: 16px; }
.submit:disabled { opacity: .5; cursor: not-allowed; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .soon-ic { border-color: rgba(46,230,255,.45); color: var(--cyan); background: radial-gradient(circle, rgba(46,230,255,.18), transparent 70%); box-shadow: 0 0 40px rgba(46,230,255,.25); }
.thanks .soon-ic .ic { filter: drop-shadow(0 0 8px rgba(46,230,255,.8)); }

/* ---------- dock, footer, toast ---------- */
.dock {
  position: fixed; bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%; translate: -50% 0; z-index: 40;
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(18,15,30,.82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.dock a {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: #cfc9dc; transition: background .25s, color .25s, box-shadow .25s;
}
.dock a .ic { width: 18px; height: 18px; }
.dock a[aria-current="page"] { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #1b1406; box-shadow: var(--glow-gold); }
.site-footer {
  max-width: 1080px; margin: 40px auto 0; padding: 18px 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 12.5px; color: var(--dim);
}
.site-footer b { color: var(--gold); font-weight: 500; }
.toast {
  position: fixed; bottom: calc(84px + env(safe-area-inset-bottom)); left: 50%; translate: -50% 0; z-index: 60;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; white-space: nowrap;
  background: #1c1730; border: 1px solid rgba(255,79,216,.5); box-shadow: 0 0 20px rgba(255,79,216,.3);
  animation: sheetUp .3s;
}

/* ---------- loading ---------- */
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.08), rgba(255,255,255,.03)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.error-box { text-align: center; padding: 40px 10px; color: var(--muted); }

@media (max-width: 520px) {
  .hero-inner { min-height: 320px; }
  .hero-art .ring, .hero-logo { left: 50%; top: 31%; }
  .hero-logo { width: 96px; }
  .hero-art .r1 { width: 150px; } .hero-art .r2 { width: 220px; } .hero-art .r3 { width: 300px; }
  .hero-copy { max-width: 100%; padding: 20px; }
  .hero h1 { margin-top: 2px; }
  .item-body { padding: 10px 10px 11px; }
  .item-name { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
