/* LordZone — royal dark & gold */
:root {
  --bg: #07070c;
  --bg-2: #0b0b13;
  --surface: rgba(22, 22, 34, .72);
  --surface-solid: #14141f;
  --surface-2: #1b1b29;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(233, 196, 106, .28);
  --text: #f4f1ea;
  --muted: #a39f95;
  --dim: #8c877d;
  --gold: #e9c46a;
  --gold-2: #c8963a;
  --gold-grad: linear-gradient(135deg, #fbe8ac 0%, #e8bf5f 42%, #b07a24 100%);
  --violet: #8b6cf6;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --tabbar: 0px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(233, 196, 106, .14), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(139, 108, 246, .12), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(233, 196, 106, .07), transparent 60%),
    var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.4px);
  background-size: 120px 120px; mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
::selection { background: rgba(233, 196, 106, .35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }

/* ── Header ── */
.hdr {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(to bottom, rgba(7, 7, 12, .86), rgba(7, 7, 12, .6)); border-bottom: 1px solid var(--line);
}
.hdr .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 18px/1 var(--display); letter-spacing: .04em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(233, 196, 106, .35)); }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); text-decoration: none; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.lang button { border: 0; background: none; padding: 5px 9px; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 700; font-size: 13px; }
.lang button.on { background: var(--surface-2); color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 15.5px; line-height: 1.2;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, opacity .2s; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 10px 30px -10px rgba(233, 196, 106, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(233, 196, 106, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-tg { background: #2aabee; color: #fff; }
.btn-tg:hover { background: #229ed9; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-grad); color: #1a1205; display: grid; place-items: center; font-weight: 800; font-size: 14px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Hero ── */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-gold); background: rgba(233, 196, 106, .07); color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
h1 { font: 800 clamp(34px, 5.4vw, 60px)/1.06 var(--display); letter-spacing: -.02em; margin: 18px 0 18px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust b { color: var(--gold); font-weight: 800; }

/* ── Cards ── */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.buy-card { padding: 22px; position: relative; overflow: hidden; }
.buy-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(233, 196, 106, .55), transparent 35%, transparent 70%, rgba(139, 108, 246, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tabs { display: flex; gap: 6px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 11px; cursor: pointer; color: var(--muted); font-weight: 700; font-size: 14.5px; }
.tabs button.on { background: var(--surface-2); color: var(--text); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.field { display: block; margin-bottom: 14px; }
.field > span { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 7px; letter-spacing: .01em; }
.input { width: 100%; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 13px; padding: 13px 15px; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--line-gold); box-shadow: 0 0 0 4px rgba(233, 196, 106, .1); }
.input-wrap { position: relative; }
.input-wrap .suffix { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 14px; }
.chip { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); padding: 7px 12px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.chip:hover, .chip.on { color: var(--text); border-color: var(--line-gold); background: rgba(233, 196, 106, .08); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.plan { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 14px; padding: 12px 10px; cursor: pointer; text-align: center; transition: .2s; }
.plan b { display: block; font-size: 15px; }
.plan small { color: var(--muted); font-size: 12.5px; }
.plan.on { border-color: var(--gold); background: rgba(233, 196, 106, .09); box-shadow: inset 0 0 0 1px var(--gold); }
.rcp { display: flex; align-items: center; gap: 10px; min-height: 22px; margin: -6px 0 12px; font-size: 13.5px; color: var(--muted); }
.rcp .avatar { width: 26px; height: 26px; font-size: 11px; }
.rcp.ok { color: var(--ok); }
.rcp.bad { color: var(--bad); }
.total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0 16px; border-top: 1px dashed var(--line); margin-top: 4px; }
.total .price { font: 800 28px/1 var(--display); }
.total small { color: var(--muted); font-size: 13px; }

/* ── Sections ── */
section { padding: 46px 0; scroll-margin-top: 76px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
h2 { font: 800 clamp(26px, 3.4vw, 38px)/1.12 var(--display); margin: 0; letter-spacing: -.015em; }
.sec-head p { margin: 8px 0 0; color: var(--muted); max-width: 620px; }
.grid { display: grid; gap: 14px; }
.grid > * { min-width: 0; }
.rcp:empty { min-height: 0; margin: 0; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.tile {
  position: relative; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  cursor: pointer; transition: transform .2s ease, border-color .2s, background .2s; display: flex; flex-direction: column; gap: 6px; text-align: left;
}
.tile:hover { transform: translateY(-3px); border-color: var(--line-gold); background: rgba(30, 28, 40, .8); }
.tile.off { opacity: .55; cursor: default; transform: none; }
.tile .big { font: 800 24px/1.1 var(--display); }
.tile .sub { color: var(--muted); font-size: 13.5px; }
.tile .price { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tile .price small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.badge { position: absolute; top: -11px; right: 14px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .7); padding: 4px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; background: var(--gold-grad); color: #1a1205; }
.badge.v { background: linear-gradient(135deg, #b9a4ff, #7c5cf0); color: #fff; }
.badge.gray { background: rgba(255, 255, 255, .1); color: var(--muted); }
.emoji { font-size: 40px; line-height: 1; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); }

.prem-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background:
  radial-gradient(300px 200px at 100% 0%, rgba(139, 108, 246, .22), transparent 70%), var(--surface); cursor: pointer; position: relative; transition: .2s; }
.prem-card:hover { transform: translateY(-3px); border-color: rgba(139, 108, 246, .55); }
.prem-card .m { font: 800 30px/1 var(--display); }
.prem-card ul { list-style: none; padding: 0; margin: 14px 0 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.prem-card li::before { content: "✦ "; color: var(--violet); }

.vpn-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background:
  radial-gradient(260px 180px at 0% 0%, rgba(74, 222, 128, .12), transparent 70%), var(--surface); display: flex; flex-direction: column; gap: 6px; position: relative; }
.vpn-card .m { font: 800 22px/1.1 var(--display); }
.vpn-card .pm { color: var(--muted); font-size: 13.5px; }
.vpn-card .price { font: 800 26px/1 var(--display); margin: 10px 0 14px; }
.vpn-feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.feat { padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.feat b { display: block; color: var(--text); font-size: 15px; margin-bottom: 3px; }

.brand { padding: 18px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: center; transition: .2s; display: grid; gap: 8px; place-items: center; }
.brand:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.brand .i { font-size: 30px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .05); }
.brand b { font-size: 14px; }

.steps { counter-reset: s; }
.step { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--gold-grad); color: #1a1205; font: 800 18px/1 var(--display); margin-bottom: 14px; }
.step b { display: block; font-size: 17px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.feed { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.feed-track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.feed:hover .feed-track { animation-play-state: paused; }
.feed-item { padding: 10px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; font-size: 14px; font-weight: 600; }
.feed-item i { font-style: normal; color: var(--dim); font-weight: 500; margin-left: 8px; }
.feed-item b { color: var(--ok); margin-right: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.cta { padding: 34px; border-radius: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(500px 240px at 90% 10%, rgba(233, 196, 106, .2), transparent 70%), radial-gradient(400px 240px at 0% 100%, rgba(139, 108, 246, .18), transparent 70%), var(--surface-solid); border: 1px solid var(--line-gold); }
.cta h3 { font: 800 clamp(22px, 2.6vw, 30px)/1.15 var(--display); margin: 0 0 6px; }
.cta p { margin: 0; color: var(--muted); }

.ftr { border-top: 1px solid var(--line); padding: 36px 0 calc(40px + var(--tabbar)); margin-top: 30px; color: var(--muted); font-size: 14px; }
.ftr .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.ftr h4 { color: var(--text); margin: 0 0 10px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.ftr a { color: var(--muted); display: block; padding: 3px 0; }
.ftr a:hover { color: var(--text); }

/* ── Modal / sheet ── */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(3, 3, 7, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .18s ease; }
.sheet { width: min(500px, 100%); max-height: min(88vh, 860px); overflow: auto; background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: 24px; padding: 22px; box-shadow: 0 40px 100px -20px #000; animation: pop .22s cubic-bezier(.2, .9, .3, 1.2); overscroll-behavior: contain; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sheet-head h3 { margin: 0; font: 800 20px/1.2 var(--display); }
.x { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; font-size: 18px; line-height: 1; flex: none; }
.summary { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); margin-bottom: 16px; display: grid; gap: 6px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.row .k { color: var(--muted); font-size: 14px; }
.row .v { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.methods { display: grid; gap: 8px; margin-bottom: 14px; }
.method { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; }
.method input { accent-color: var(--gold); width: 18px; height: 18px; }
.method.dis { opacity: .45; cursor: not-allowed; }
.method small { margin-left: auto; color: var(--muted); font-size: 12.5px; text-align: right; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 6px 0 16px; cursor: pointer; }
.check input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.note { padding: 12px 14px; border-radius: 13px; font-size: 13.5px; background: rgba(233, 196, 106, .07); border: 1px solid var(--line-gold); color: #eadbb4; margin-bottom: 14px; }
.note.err { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .35); color: #fecaca; }
.note.ok { background: rgba(74, 222, 128, .08); border-color: rgba(74, 222, 128, .35); color: #bbf7d0; }
.list { display: grid; gap: 8px; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; text-align: left; width: 100%; }
.list-item:hover { border-color: var(--line-gold); }
.list-item b { font-weight: 700; }
.list-item span { color: var(--gold); font-weight: 800; white-space: nowrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ── Order page ── */
.page { padding: 34px 0 30px; min-height: 60vh; }
.order { max-width: 620px; margin: 0 auto; }
.order-card { padding: 24px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 99px; font-weight: 800; font-size: 13.5px; background: rgba(255, 255, 255, .06); }
.status.awaiting, .status.checking { color: var(--warn); background: rgba(251, 191, 36, .1); }
.status.paid { color: #93c5fd; background: rgba(147, 197, 253, .1); }
.status.delivered { color: var(--ok); background: rgba(74, 222, 128, .1); }
.status.failed, .status.refunded { color: var(--bad); background: rgba(248, 113, 113, .1); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.tl { text-align: center; font-size: 12.5px; color: var(--dim); font-weight: 700; }
.tl::before { content: ""; display: block; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .08); margin-bottom: 8px; }
.tl.done { color: var(--text); }
.tl.done::before { background: var(--gold-grad); }
.tl.now::before { background: linear-gradient(90deg, var(--gold) 0 40%, rgba(255, 255, 255, .08) 40%); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.goods { padding: 16px; border-radius: 16px; background: rgba(74, 222, 128, .06); border: 1px solid rgba(74, 222, 128, .3); margin: 16px 0; }
.goods h4 { margin: 0 0 10px; font-size: 15px; }
.code { display: flex; gap: 8px; align-items: stretch; margin-bottom: 8px; }
.code code { flex: 1; min-width: 0; padding: 11px 13px; border-radius: 11px; background: rgba(0, 0, 0, .4); border: 1px solid var(--line); overflow-wrap: anywhere; font-size: 13.5px; }
.code code.card-num { font: 800 19px/1.3 ui-monospace, Consolas, monospace; letter-spacing: .05em; color: var(--text); }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--warn); }
.doc { max-width: 820px; margin: 0 auto; padding: 28px; }
.doc .body { color: #d9d5cc; }
.doc .body b { color: var(--text); }

/* ── Toast ── */
.toasts { position: fixed; left: 50%; bottom: calc(22px + var(--tabbar)); transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(420px, 100% - 32px); }
.toast { padding: 13px 16px; border-radius: 14px; background: #20202e; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; font-size: 14.5px; animation: pop .2s ease; }
.toast.err { border-color: rgba(248, 113, 113, .45); }
.toast.ok { border-color: rgba(74, 222, 128, .45); }

/* ── Mini App tab bar ── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; background: rgba(12, 12, 20, .92); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { flex: 1; display: grid; place-items: center; gap: 2px; padding: 6px; color: var(--dim); font-size: 11.5px; font-weight: 700; border-radius: 12px; }
.tabbar a:hover { text-decoration: none; }
.tabbar a.on { color: var(--gold); }
.tabbar svg { width: 22px; height: 22px; }
.tma { --tabbar: 64px; }
.tma .tabbar { display: flex; }
.tma .hdr .nav, .tma .hdr .login-btn { display: none; }
.tma .hero { padding-top: 26px; }
.tma .hero-grid { grid-template-columns: 1fr; }
.tma .hero-copy .lead, .tma .hero-cta, .tma .trust { display: none; }
.tma .hero-copy h1 { font-size: 30px; margin: 10px 0 0; }

.skeleton { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); min-height: 120px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .25); border-top-color: currentColor; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1020px) {
  .g6 { grid-template-columns: repeat(4, 1fr); }
  .g4 { grid-template-columns: repeat(3, 1fr); }
  .vpn-feat { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 34px; }
  .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .ftr .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .hdr .wrap { height: 60px; gap: 10px; }
  .logo { font-size: 14px; gap: 7px; }
  .logo svg { width: 28px; height: 28px; }
  .lang button { padding: 5px 7px; }
  .hero-cta { display: none; }
  .lead { margin-bottom: 0; font-size: 15.5px; }
  .trust { margin-top: 18px; gap: 8px 16px; font-size: 13px; }
  h1 { font-size: 31px; margin: 14px 0 12px; }
  section { padding: 34px 0; }
  .tile { padding: 15px; }
  .tile .big { font-size: 20px; }
  .g6 { grid-template-columns: repeat(2, 1fr); }
  .overlay { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 24px 24px 0 0; width: 100%; max-height: 92vh; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); animation: up .25s cubic-bezier(.2, .9, .3, 1); }
  .cta { padding: 24px; }
  .vpn-feat { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feat { padding: 12px; font-size: 13px; }
  .btn { padding: 13px 18px; }
  .chips .chip { min-height: 42px; padding: 9px 14px; font-size: 14px; }
  .lang button { min-height: 32px; }
  .vpn-card { padding: 16px; }
  .vpn-card .m { font-size: 16px; }
  .vpn-card .price { font-size: 21px; margin: 8px 0 12px; }
  .prem-card .m { font-size: 26px; }
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
