:root {
  --bg: #0b0b14;
  --bg2: #12121f;
  --card: #171728;
  --line: #262640;
  --text: #f1f1f7;
  --muted: #9a9ab5;
  --primary: #a855f7;
  --primary2: #22d3ee;
  --tg: #229ed9;
  --danger: #f43f5e;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 'Poppins', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 15px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; box-shadow: 0 8px 24px -8px rgba(168, 85, 247, .7); }
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(168, 85, 247, .9); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { filter: brightness(1.1); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.ico { flex-shrink: 0; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11,11,20,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .3px; }
.brand-logo { height: 56px; width: auto; max-width: 240px; object-fit: contain; }
@media (min-width: 720px) { .nav-in { height: 84px; } .brand-logo { height: 64px; max-width: 300px; } }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary2)); box-shadow: 0 0 14px var(--primary); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; text-align: center; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(closest-side, rgba(168,85,247,.35), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(34,211,238,.22), transparent 70%); pointer-events: none; }
.hero-in { position: relative; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(168,85,247,.5); background: rgba(168,85,247,.12); color: #d8b4fe; font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(30px, 6vw, 54px); line-height: 1.12; margin: 18px auto 14px; max-width: 820px; font-weight: 800; background: linear-gradient(90deg, #fff, #e9d5ff 60%, #a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto 28px; font-size: 16px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 44px; }
.feature { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; font-weight: 500; font-size: 14px; }
.check { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(34,211,238,.15); color: var(--primary2); font-weight: 700; font-size: 13px; }

/* menu tabs */
.hero-sm { padding: 56px 0 40px; }
.menubar { position: sticky; top: 76px; z-index: 15; background: rgba(11,11,20,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 24px; }
@media (min-width: 720px) { .menubar { top: 84px; } }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); color: var(--muted); font-weight: 600; font-size: 14px; }
.tab span { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.07); }
.tab.active { background: linear-gradient(135deg, var(--primary), #7c3aed); border-color: transparent; color: #fff; }
.tab.active span { background: rgba(255,255,255,.2); }
.search { margin-top: 10px; }
.search input { width: 100%; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: 14px 'Poppins', sans-serif; }
.search input:focus { outline: none; border-color: var(--primary); }

/* menu panel */
.menus { margin-bottom: 56px; }
.menu-panel[hidden] { display: none; }
.menu-panel + .menu-panel { margin-top: 28px; }
.menu-head { margin-bottom: 16px; }
.menu-head h2 { margin: 0; font-size: 24px; }
.menu-head p { margin: 4px 0 0; color: var(--muted); }
.menu-head small { color: var(--primary2); font-size: 12px; }
.banners { display: grid; gap: 12px; margin-bottom: 20px; }
.banners.multi { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.banners img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.banners:not(.multi) img { max-width: 520px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.group[hidden] { display: none; }
.group h3 { margin: 0; padding: 12px 16px; font-size: 15px; background: linear-gradient(90deg, rgba(168,85,247,.22), transparent); border-bottom: 1px solid var(--line); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.item:last-child { border-bottom: 0; }
.item[hidden] { display: none; }
.iname { font-size: 14px; font-weight: 500; line-height: 1.4; }
.iprice { font-weight: 700; color: #fff; white-space: nowrap; font-size: 15px; }
.ibuy { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--tg); color: #fff; font-size: 13px; font-weight: 600; }
.ibuy .ico { width: 15px; height: 15px; }
@media (max-width: 480px) { .ibuy span { display: none; } .ibuy { padding: 8px; } }
.search-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.empty { text-align: center; color: var(--muted); padding: 40px 0 80px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 36px 0 20px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-in p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.copy { color: var(--muted); font-size: 13px; margin-top: 14px; }


/* floating Telegram */
.tg-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--tg); color: #fff; box-shadow: 0 10px 26px -6px rgba(34,158,217,.75); }
.tg-float .ico { width: 28px; height: 28px; margin-left: -2px; }

/* about (SEO text) */
.about { margin-bottom: 56px; padding: 24px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); }
.about h2 { margin: 0 0 10px; font-size: 20px; }
.about p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.about p:last-child { margin-bottom: 0; }
