:root {
  --bg: #08060a;
  --card: #12101a;
  --line: rgba(255,255,255,.08);
  --text: #f6f3ee;
  --muted: #a39e96;
  --gold: #ffb01f;
  --orange: #ff7a1a;
  --green: #3dde8c;
  --radius: 20px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
.orb {
  position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
}
.orb-a { width: 420px; height: 420px; background: rgba(255,140,30,.18); top: -80px; right: -60px; }
.orb-b { width: 360px; height: 360px; background: rgba(255,80,20,.1); bottom: 10%; left: -80px; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; position: relative; z-index: 1; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(120deg, var(--gold), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8,6,10,.72);
  border-bottom: 1px solid transparent;
}
.header.on { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.2rem; }
.brand-logo { border-radius: 10px; object-fit: cover; }
.brand-name span { color: var(--gold); }
.nav { display: flex; gap: 1.1rem; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: .4rem .9rem; border-radius: 999px;
  background: rgba(255,176,32,.12); color: var(--gold) !important;
  border: 1px solid rgba(255,176,32,.28);
}
.burger { display: none; background: 0; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--text); display: block; border-radius: 2px; }

.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.pill {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--muted); font-size: .82rem; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: .9rem; }
.lead { color: var(--muted); max-width: 460px; margin-bottom: 1.5rem; font-size: 1.05rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.75rem; }
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .05rem; padding: .85rem 1.2rem; border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; color: inherit;
  transition: transform .15s, filter .15s, border-color .15s;
}
.btn small { font-weight: 500; font-size: .68rem; opacity: .8; }
.btn:active { transform: scale(.98); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #1a1004; box-shadow: 0 10px 30px rgba(255,140,30,.28);
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { background: rgba(255,255,255,.03); border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: rgba(255,255,255,.2); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-meta div {
  min-width: 130px; padding: .75rem .9rem; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.hero-meta b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.hero-meta span { font-size: .85rem; color: var(--muted); }

.hero-card {
  background: linear-gradient(160deg, rgba(255,176,32,.12), var(--card) 40%);
  border: 1px solid rgba(255,176,32,.25); border-radius: 28px;
  padding: 1.75rem; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-logo { width: 140px; height: 140px; object-fit: contain; margin-bottom: 1rem; filter: drop-shadow(0 8px 24px rgba(255,140,30,.35)); }
.tags-row { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: .85rem; }
.tag-img { height: 18px; width: auto; image-rendering: pixelated; background: rgba(0,0,0,.35); padding: 4px 6px; border-radius: 6px; }
.hero-card-txt { color: var(--muted); font-size: .9rem; }

.sec { padding: 4rem 0; }
.sec-dim { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent); }
.sec-head { text-align: center; max-width: 560px; margin: 0 auto 2.2rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: .4rem; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem;
}
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.mode-top { display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem; }
.mode-top h3 { font-size: 1.15rem; }
.emoji { font-size: 1.35rem; }
.mode p { color: var(--muted); font-size: .95rem; }
.mode code { font-family: var(--mono); color: var(--gold); background: rgba(0,0,0,.35); padding: .1rem .35rem; border-radius: 6px; font-size: .85em; }

.vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.vip { position: relative; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.vip:hover { transform: translateY(-3px); border-color: rgba(255,176,32,.35); }
.vip h3 { color: var(--gold); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.price { font-size: 1.7rem; font-weight: 800; margin-bottom: .9rem; letter-spacing: -.02em; }
.price.sm { font-size: 1.35rem; margin: .4rem 0 0; }
.vip ul { list-style: none; flex: 1; margin-bottom: 1rem; display: grid; gap: .35rem; }
.vip li { color: var(--muted); font-size: .9rem; padding-left: 1.1rem; position: relative; }
.vip li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.vip .btn { width: 100%; flex-direction: row; }
.vip-hot { border-color: rgba(255,176,32,.4); background: linear-gradient(180deg, rgba(255,176,32,.1), var(--card) 42%); }
.vip-max { border-color: rgba(255,215,120,.35); }
.badge {
  position: absolute; top: 12px; right: 12px; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; padding: .25rem .5rem; border-radius: 999px;
  background: var(--gold); color: #1a1004;
}
.badge-gold { background: linear-gradient(135deg, #ffe08a, #f0b429); }
.tag-only {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem; border-style: dashed; border-color: rgba(255,176,32,.3);
}
.tag-only p { color: var(--muted); font-size: .92rem; }

.unban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.unban-item { text-align: center; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.unban-item span { color: var(--gold); font-weight: 700; font-size: .8rem; }
.unban-item strong { font-size: 1.4rem; }
.unban-item .btn { width: 100%; flex-direction: row; }

.enter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.enter .card { text-align: center; }
.enter h3 { color: var(--gold); margin-bottom: .6rem; }
.big { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.stack { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.stack .btn { flex-direction: row; }

.footer { border-top: 1px solid var(--line); padding: 2rem 0; margin-top: .5rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.credit { color: var(--muted); font-size: .92rem; }
.credit strong { color: var(--text); }

/* Modal */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.modal-box {
  position: relative; width: min(400px, 100%);
  background: #14121c; border: 1px solid rgba(255,176,32,.3);
  border-radius: 24px; padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.55); text-align: center;
  animation: pop .22s ease;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-x {
  position: absolute; top: 10px; right: 12px; background: 0; border: 0;
  color: var(--muted); font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.modal-box h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.modal-price { font-size: 1.5rem; font-weight: 800; color: var(--gold); margin-bottom: 1rem; }
.modal-qr-wrap {
  background: #fff; border-radius: 16px; padding: 14px; display: inline-block; margin-bottom: .75rem;
}
.modal-qr-wrap img { display: block; width: 220px; height: 220px; object-fit: contain; }
.scan-hint { margin-top: .5rem; font-size: .78rem; color: #555; }
.modal-noqr { color: var(--muted); margin-bottom: 1rem; font-size: .95rem; }
.modal-key {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 12px; padding: .7rem; margin-bottom: 1rem;
}
.modal-key span { display: block; font-size: .75rem; color: var(--muted); margin-bottom: .25rem; }
.modal-key code { font-family: var(--mono); font-size: 1.05rem; color: var(--text); }
.modal-actions { display: grid; gap: .5rem; }
.modal-actions .btn { flex-direction: row; width: 100%; }
.modal-hint { margin-top: .85rem; font-size: .8rem; color: var(--muted); }

.toast {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%) translateY(140%);
  background: #1c1a24; border: 1px solid rgba(255,176,32,.4); color: var(--text);
  padding: .7rem 1.1rem; border-radius: 12px; font-weight: 700; font-size: .9rem;
  z-index: 90; transition: transform .22s ease; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .modes, .enter, .unban { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-logo { width: 110px; height: 110px; }
}
@media (max-width: 720px) {
  .burger { display: flex; }
  .nav {
    display: none; position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; padding: 1rem; gap: 0;
    background: rgba(10,8,14,.98); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 1rem; border-radius: 10px; }
  .hero { padding: 2.5rem 0; }
  .sec { padding: 2.75rem 0; }
  .tag-only { flex-direction: column; align-items: stretch; }
}
