:root {
  --bg: #070b2a;
  --bg2: #0d1442;
  --panel: rgba(14, 22, 74, .72);
  --panel2: rgba(255, 255, 255, .06);
  --line: rgba(140, 170, 255, .18);
  --text: #ffffff;
  --muted: #9fb0e6;
  --yellow: #ffe14a;
  --yellow2: #ffb800;
  --cyan: #3ee3ff;
  --pink: #ff4fd8;
  --font: "Rubik", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(54, 110, 255, .55), transparent 70%),
    radial-gradient(600px 500px at 0% 40%, rgba(160, 60, 255, .28), transparent 70%),
    radial-gradient(600px 500px at 100% 70%, rgba(0, 200, 255, .18), transparent 70%),
    linear-gradient(180deg, #0a1450 0%, #070b2a 60%, #0b0626 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(120, 160, 255, .035) 46px 48px);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.ft, h1, h2, h3 {
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; line-height: .95;
}
.skew { display: inline-block; transform: skewX(-8deg); }
.yel { color: var(--yellow); }
.stroke { -webkit-text-stroke: 2px var(--yellow); color: transparent; }
.vb { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.vb img { width: 20px; height: 20px; }

/* ---------- top bar ---------- */
.ticker {
  background: var(--yellow); color: #0a0a1a; font-weight: 800; font-size: 13px; text-transform: uppercase;
  overflow: hidden; white-space: nowrap;
}
.ticker .container { display: flex; justify-content: center; align-items: center; gap: 22px; height: 34px; }
.ticker b { font-variant-numeric: tabular-nums; font-size: 14px; background: #0a0a1a; color: var(--yellow); padding: 2px 8px; transform: skewX(-10deg); display: inline-block; }
.ticker .sep { opacity: .35; }

.header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px);
  background: rgba(7, 11, 42, .78); border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-style: italic; font-size: 26px; text-transform: uppercase; letter-spacing: -.02em; }
.logo-mark {
  width: 42px; height: 42px; display: grid; place-items: center; background: var(--yellow); color: #0a0a1a;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); font-size: 22px;
}
.logo span i { color: var(--yellow); font-style: italic; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 9px 16px; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 14px;
  color: var(--muted); transition: .2s; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.nav a:hover { color: #fff; background: var(--panel2); }
.nav a.active { color: #0a0a1a; background: var(--yellow); }
.search { flex: 1; max-width: 340px; margin-left: auto; position: relative; }
.search input {
  width: 100%; padding: 12px 16px 12px 42px; background: rgba(255, 255, 255, .07);
  border: 2px solid transparent; border-radius: 10px; outline: none; transition: .2s; font-weight: 500;
}
.search input:focus { border-color: var(--yellow); background: rgba(255, 255, 255, .1); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .6; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 11px 18px;
  background: rgba(255, 255, 255, .08); border-radius: 10px; font-weight: 800; transition: .2s;
}
.cart-btn:hover { background: rgba(255, 255, 255, .14); }
.cart-badge {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--pink); font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg);
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 16px;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); transition: transform .15s, filter .2s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-y { background: linear-gradient(180deg, #fff27a, var(--yellow) 45%, var(--yellow2)); color: #10102a; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); }
.btn-d { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-d:hover { background: rgba(255, 255, 255, .16); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 10px; }
.hero-wrap {
  position: relative; overflow: hidden; border-radius: 28px; min-height: 520px;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  background: linear-gradient(120deg, rgba(30, 50, 170, .7), rgba(90, 20, 160, .55));
  border: 2px solid rgba(255, 255, 255, .1);
}
.hero-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 75% 55%, rgba(255, 255, 255, .06) 0 6deg, transparent 6deg 18deg);
  mask-image: radial-gradient(circle at 75% 55%, #000 0, transparent 70%);
}
.hero-text { position: relative; z-index: 2; padding: 56px 0 56px 56px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 22px;
  background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3dff7a; box-shadow: 0 0 10px #3dff7a; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); margin-bottom: 20px; text-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.hero h1 .yel { display: block; }
.hero p { font-size: 18px; line-height: 1.5; color: #d6defc; max-width: 470px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.hero-stats b { display: block; font-size: 30px; font-weight: 900; font-style: italic; }
.hero-stats span { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.hero-art { position: relative; height: 100%; min-height: 520px; }
.hero-art .skin {
  position: absolute; bottom: 0; height: 92%; width: auto; max-width: none; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5));
}
.hero-art .skin.s0 { right: 18%; z-index: 3; height: 98%; animation: bob 5s ease-in-out infinite; }
.hero-art .skin.s1 { right: 44%; z-index: 2; height: 80%; opacity: .95; animation: bob 5s -1.6s ease-in-out infinite; }
.hero-art .skin.s2 { right: -4%; z-index: 1; height: 78%; opacity: .9; animation: bob 5s -3.2s ease-in-out infinite; }
.hero-art .glow { position: absolute; width: 420px; height: 420px; right: 10%; bottom: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 225, 74, .55), transparent 65%); filter: blur(10px); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* ---------- sections ---------- */
.section { padding: 56px 0 6px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head h2 small { display: block; font-size: 14px; font-style: normal; font-weight: 700; color: var(--muted); letter-spacing: .08em; margin-bottom: 6px; }
.link { font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--yellow); font-size: 14px; }
.link:hover { text-decoration: underline; }

/* ---------- shop tile ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); grid-auto-flow: dense; }
.tile {
  --c1: #2cc3fc; --c2: #143977;
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px;
  background: radial-gradient(120% 90% at 50% 25%, var(--c1) 0%, var(--c2) 75%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 14px 30px rgba(0, 0, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.tile.wide { grid-column: span 2; aspect-ratio: 6 / 4; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, .05) 18px 20px);
}
.tile img.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; transition: transform .35s; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 0 0 3px var(--yellow), 0 20px 40px rgba(0, 0, 0, .45), 0 0 40px color-mix(in srgb, var(--c1) 60%, transparent); }
.tile:hover img.art { transform: scale(1.06); }
.tile-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 34px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 24, .85) 45%, rgba(4, 6, 24, .97));
}
.tile-info::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 3px; background: var(--c1); transform: skewY(-2deg); box-shadow: 0 0 12px var(--c1); }
.tile-name { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 17px; line-height: 1.05; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile-type { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .65); text-transform: uppercase; letter-spacing: .05em; }
.tile-price { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 6px; }
.tile-price .vb { font-size: 15px; }
.tile-price s { color: rgba(255, 255, 255, .45); font-size: 12px; font-weight: 600; }
.rub-chip { background: var(--yellow); color: #10102a; font-weight: 900; font-style: italic; font-size: 13px; padding: 3px 9px; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); white-space: nowrap; }
.tag {
  position: absolute; z-index: 4; top: 10px; left: 10px; padding: 4px 10px; font-size: 11px; font-weight: 900; font-style: italic; text-transform: uppercase;
  background: var(--yellow); color: #10102a; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.tag.out { left: auto; right: 10px; background: rgba(4, 6, 24, .75); color: #fff; }
.tag.hot { background: var(--pink); color: #fff; }

/* ---------- own products ---------- */
.prods { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.prod {
  --c1: #2cc3fc; --c2: #143977;
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: var(--panel); border: 2px solid var(--line); transition: .25s;
}
.prod:hover { transform: translateY(-6px); border-color: var(--yellow); box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 40px color-mix(in srgb, var(--c1) 35%, transparent); }
.prod-art {
  position: relative; height: 190px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 20%, var(--c1), var(--c2) 80%);
}
.prod-art::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .08) 0 8deg, transparent 8deg 20deg); }
.prod-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 24px; margin-bottom: 6px; }
.prod-body p { color: var(--muted); font-size: 14px; line-height: 1.45; margin-bottom: 16px; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.from small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.from b { font-size: 26px; font-weight: 900; font-style: italic; }

/* art pieces */
.coins { position: relative; z-index: 1; width: 150px; height: 130px; }
.coins img { position: absolute; width: 84px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); animation: bob 4s ease-in-out infinite; }
.coins img:nth-child(1) { left: 0; top: 30px; transform: rotate(-16deg); animation-delay: -1s; }
.coins img:nth-child(2) { left: 66px; top: 36px; transform: rotate(14deg); animation-delay: -2s; }
.coins img:nth-child(3) { left: 30px; top: 0; width: 96px; }
.glyph { position: relative; z-index: 1; width: 110px; height: 110px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45)); animation: bob 4s ease-in-out infinite; }

/* ---------- shop page ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); text-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.page-head p { margin-top: 12px; color: var(--muted); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 6px; }
.pill {
  padding: 9px 16px; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 13px;
  background: rgba(255, 255, 255, .07); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); transition: .15s; color: #dbe3ff;
}
.pill:hover { background: rgba(255, 255, 255, .14); }
.pill.on { background: var(--yellow); color: #10102a; }
.pill .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.shop-section { margin-top: 40px; }
.shop-section h2 { font-size: 28px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.shop-section h2::after { content: ""; flex: 1; height: 3px; background: linear-gradient(90deg, var(--yellow), transparent); transform: skewX(-20deg); }
.shop-section h2 .cnt { font-size: 14px; color: var(--muted); font-style: normal; }
.empty { padding: 70px 20px; text-align: center; border-radius: 20px; background: var(--panel); border: 2px dashed var(--line); margin-top: 30px; }
.empty .big { font-size: 60px; margin-bottom: 12px; }

/* ---------- item / product page ---------- */
.crumbs { padding: 26px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 22px 0 10px; align-items: start; }
.showcase {
  --c1: #2cc3fc; --c2: #143977;
  position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(110% 90% at 50% 30%, var(--c1), var(--c2) 78%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .5), 0 0 90px color-mix(in srgb, var(--c1) 40%, transparent);
}
.showcase::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255, 255, 255, .07) 0 6deg, transparent 6deg 18deg); }
.showcase img.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.showcase .coins { transform: scale(1.8); }
.showcase .glyph { width: 220px; height: 220px; }
.rarity-badge {
  display: inline-block; padding: 6px 14px; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 13px;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.info h1 { font-size: clamp(38px, 5vw, 62px); margin: 14px 0 10px; text-shadow: 0 5px 0 rgba(0, 0, 0, .25); }
.info .desc { color: #c9d3f5; font-size: 17px; line-height: 1.55; margin-bottom: 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.meta span { background: rgba(255, 255, 255, .07); padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.price-box {
  padding: 22px; border-radius: 20px; background: var(--panel); border: 2px solid var(--line); margin-bottom: 18px;
}
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.price-row .big { font-size: 46px; font-weight: 900; font-style: italic; line-height: 1; color: var(--yellow); }
.price-row .vb { font-size: 20px; }
.price-row .vb img { width: 28px; height: 28px; }
.price-row s { color: var(--muted); }
.label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.field {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 2px solid var(--line);
  outline: none; transition: .2s; font-weight: 600; margin-bottom: 14px;
}
.field:focus { border-color: var(--yellow); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions .btn { flex: 1; }
.parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 8px; }
.part { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.part img { width: 46px; height: 46px; border-radius: 8px; background: rgba(0, 0, 0, .3); }
.part b { display: block; font-size: 13px; line-height: 1.15; }
.part span { font-size: 11px; color: var(--muted); }
.perks-row { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 16px; }

.variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 18px; }
.variant input { display: none; }
.variant label {
  display: block; padding: 14px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .05);
  border: 2px solid var(--line); transition: .15s;
}
.variant label b { display: block; font-weight: 800; }
.variant label span { color: var(--muted); font-weight: 800; font-style: italic; }
.variant input:checked + label { border-color: var(--yellow); background: rgba(255, 225, 74, .1); }
.variant input:checked + label span { color: var(--yellow); }
.qty { display: flex; align-items: center; background: rgba(255, 255, 255, .07); border-radius: 12px; height: 52px; }
.qty button { width: 44px; height: 100%; font-size: 20px; color: var(--muted); }
.qty button:hover { color: #fff; }
.qty input { width: 40px; text-align: center; background: none; border: 0; outline: none; font-weight: 900; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px 22px; border-radius: 18px; background: var(--panel); border: 2px solid var(--line); overflow: hidden; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; right: 10px; top: -14px;
  font-size: 110px; font-weight: 900; font-style: italic; color: rgba(255, 225, 74, .1);
}
.step b { display: block; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 19px; margin-bottom: 6px; }
.step span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 390px; gap: 28px; padding: 24px 0 40px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 18px; align-items: center;
  padding: 12px; border-radius: 16px; background: var(--panel); border: 2px solid var(--line); margin-bottom: 12px;
}
.thumb {
  --c1: #2cc3fc; --c2: #143977;
  position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(110% 100% at 50% 25%, var(--c1), var(--c2) 80%);
}
.thumb img.art { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb .coins { transform: scale(.5); }
.thumb .glyph { width: 48px; height: 48px; animation: none; }
.cart-item b { display: block; font-weight: 900; font-style: italic; text-transform: uppercase; }
.cart-item .muted { font-size: 14px; }
.cart-item .qty { height: 42px; }
.fixed-qty { color: var(--muted); font-size: 13px; font-weight: 700; }
.cart-sum { font-weight: 900; font-style: italic; font-size: 18px; min-width: 90px; text-align: right; }
.remove { color: var(--muted); font-size: 20px; padding: 6px; }
.remove:hover { color: #ff6b6b; }
.summary { position: sticky; top: 92px; padding: 24px; border-radius: 22px; background: var(--panel); border: 2px solid var(--line); }
.summary h3 { font-size: 26px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-weight: 600; }
.sum-row.total { color: #fff; font-weight: 900; font-style: italic; font-size: 26px; padding-top: 14px; border-top: 2px solid var(--line); }
.sum-row.total span:last-child { color: var(--yellow); }
.promo-form { display: flex; gap: 8px; margin: 16px 0; }
.promo-form .field { margin: 0; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pay input { display: none; }
.pay label { display: block; text-align: center; padding: 11px; border-radius: 12px; border: 2px solid var(--line); font-size: 13px; font-weight: 800; cursor: pointer; }
.pay input:checked + label { border-color: var(--yellow); background: rgba(255, 225, 74, .08); }

/* ---------- misc ---------- */
.flashes { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.flash {
  padding: 14px 18px; border-radius: 12px; background: #10184f; border-left: 5px solid var(--yellow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5); font-weight: 700; font-size: 14px; animation: slide .35s ease, fade .5s 3.8s forwards;
}
.flash.error { border-left-color: #ff5a5a; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
@keyframes fade { to { opacity: 0; visibility: hidden; } }
.center-box { max-width: 560px; margin: 70px auto; text-align: center; padding: 50px 32px; border-radius: 28px; background: var(--panel); border: 2px solid var(--line); }
.center-box .big { font-size: 80px; margin-bottom: 10px; }
.center-box h1 { font-size: 40px; margin-bottom: 14px; }
.center-box p { color: var(--muted); margin-bottom: 26px; line-height: 1.6; }

.footer { margin-top: 80px; background: rgba(0, 0, 0, .25); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; padding: 48px 20px 30px; }
.footer h5 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid a { display: block; color: #cdd6fb; font-size: 14px; margin-bottom: 10px; font-weight: 500; }
.footer-grid a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-text { padding: 40px 28px 10px; }
  .hero-art { min-height: 360px; }
  .detail, .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .header .container { gap: 10px; }
  .logo span { display: none; }
  .cart-btn .txt { display: none; }
  .ticker .hide-sm { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile-name { font-size: 14px; }
  .cart-item { grid-template-columns: 64px 1fr auto; }
  .cart-item .qty, .cart-item .fixed-qty, .cart-sum { grid-column: 2 / 4; justify-self: start; }
  .thumb { width: 64px; height: 64px; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
}

@media (max-width: 600px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .pill { flex-shrink: 0; }
}

/* ---------- auth ---------- */
.cart-btn.on { background: var(--yellow); color: #10102a; }
.cart-btn.on svg { stroke: #10102a; }
.cart-btn .txt { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search { min-width: 0; }
.search input { min-width: 0; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.45; margin: -6px 0 14px; }
.hint a, .auth-switch a { color: var(--yellow); font-weight: 700; }
.auth {
  display: grid; grid-template-columns: 1fr 1fr; margin: 44px auto 0; max-width: 980px; overflow: hidden;
  border-radius: 24px; background: var(--panel); border: 2px solid var(--line);
}
.auth-art {
  --c1: #2cc3fc; --c2: #143977;
  position: relative; min-height: 560px; overflow: hidden;
  background: radial-gradient(110% 90% at 50% 30%, var(--c1), var(--c2) 78%);
}
.auth-art::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255, 255, 255, .07) 0 6deg, transparent 6deg 18deg); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; z-index: 1; }
.auth-form { padding: 44px 40px; align-self: center; }
.auth-form h1 { font-size: 46px; margin-bottom: 10px; }
.auth-form > p { color: var(--muted); line-height: 1.5; margin-bottom: 26px; }
.auth-switch { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- account ---------- */
.profile {
  position: relative; display: flex; align-items: center; gap: 20px; margin-top: 36px; padding: 26px 28px; overflow: hidden;
  border-radius: 22px; border: 2px solid rgba(255, 255, 255, .12);
  background: linear-gradient(115deg, rgba(40, 70, 210, .75), rgba(110, 30, 180, .6));
}
.profile::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .04) 22px 24px); pointer-events: none; }
.profile > * { position: relative; }
.profile .avatar { width: 76px; height: 76px; font-size: 34px; flex-shrink: 0; background: var(--yellow); color: #10102a; text-transform: uppercase; }
.profile-main { flex: 1; min-width: 0; }
.profile-main h1 { font-size: clamp(26px, 4vw, 42px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; line-height: 1.1; }
.profile-main p { color: #d6defc; font-size: 14px; margin-top: 6px; overflow-wrap: anywhere; }
.tabs { display: flex; gap: 8px; margin: 18px 0 26px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.stat { padding: 20px 22px; border-radius: 16px; background: var(--panel); border: 2px solid var(--line); }
.stat span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.stat b { font-size: 32px; font-weight: 900; font-style: italic; font-variant-numeric: tabular-nums; }
.order {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; margin-bottom: 12px;
  border-radius: 16px; background: var(--panel); border: 2px solid var(--line); transition: .2s;
}
.order:hover { border-color: var(--yellow); transform: translateY(-2px); }
.order-no { font-weight: 900; font-style: italic; font-size: 19px; }
.order-meta { color: var(--muted); font-size: 13px; margin-top: 3px; }
.order-names { color: #d6defc; font-size: 14px; margin-top: 8px; overflow-wrap: anywhere; }
.order-sum { font-weight: 900; font-style: italic; font-size: 22px; color: var(--yellow); white-space: nowrap; text-align: right; }
.demo-note { display: inline-block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; font-style: normal; }
.order-line { grid-template-columns: 84px 1fr auto; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.settings h3 { font-size: 24px; margin-bottom: 18px; }
.back { display: inline-block; margin-bottom: 16px; color: var(--yellow); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 14px; }

@media (max-width: 800px) {
  .auth { grid-template-columns: 1fr; margin-top: 24px; }
  .auth-art { display: none; }
  .auth-form { padding: 32px 24px; }
  .settings { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .profile { padding: 20px; gap: 14px; flex-wrap: wrap; }
  .profile .avatar { width: 58px; height: 58px; font-size: 26px; }
  .stats { grid-template-columns: 1fr; }
  .cart-btn { padding: 11px 12px; }
  .order-line { grid-template-columns: 64px 1fr auto; }
}

.avatar {
  width: 44px; height: 44px; display: grid; place-items: center; font-weight: 900; font-style: italic; font-size: 18px;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.thumb .coins { position: absolute; left: 50%; top: 50%; margin: -65px 0 0 -75px; }
.footer-grid a.logo { display: flex; color: #fff; font-size: 26px; }
.footer-grid a.logo:hover { color: #fff; }
@media (max-width: 600px) {
  .profile-main { flex: 1 1 calc(100% - 72px); }
  .profile form, .profile form .btn { width: 100%; }
}

/* ---------- icons ---------- */
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.big .ic { display: block; margin: 0 auto; width: 72px; height: 72px; stroke-width: 1.6; color: var(--yellow); }
.ticker .ic { fill: currentColor; }
.remove .ic { display: block; width: 20px; height: 20px; }
.perks-row span, .meta span, .fixed-qty { display: inline-flex; align-items: center; gap: 6px; }
.pay label { display: flex; align-items: center; justify-content: center; gap: 6px; }
.back .ic, .link .ic { stroke-width: 3; }

/* ---------- season art ---------- */
.prod-art img.art { position: relative; z-index: 1; width: 100%; height: 100%; padding-top: 10px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); transition: transform .3s; }
.prod:hover .prod-art img.art { transform: scale(1.05); }
.prod-art img.pa-pack { padding: 0; object-fit: cover; object-position: 50% 100%; }
.prod-art img.pa-vbucks, .showcase img.pa-vbucks { object-position: center; transform: scale(1.55) translateY(11%); }
.prod:hover .prod-art img.pa-vbucks { transform: scale(1.62) translateY(11%); }
.showcase img.pa-pack { transform: scale(1.23); transform-origin: 50% 100%; }
.thumb img.art.pa-pass, .thumb img.art.pa-crew, .thumb img.art.pa-vbucks { object-fit: contain; object-position: center; }
.thumb img.art.pa-vbucks { transform: scale(1.55) translateY(11%); }
.thumb img.art.pa-pack { object-position: 50% 100%; }
.season-list { list-style: none; margin: -8px 0 20px; display: grid; gap: 8px; color: #dbe3ff; font-weight: 500; }
.season-list .ic { color: var(--yellow); margin-right: 4px; }
.month-pack { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; margin-bottom: 24px; border-radius: 16px; background: linear-gradient(115deg, rgba(160, 60, 255, .3), rgba(255, 79, 216, .12)); border: 2px solid var(--line); }
.month-pack img { width: 96px; height: 96px; flex-shrink: 0; object-fit: contain; border-radius: 12px; background: radial-gradient(circle at 50% 30%, #c359ff, #4b2483); }
.month-pack b { display: block; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 17px; margin-bottom: 4px; }
.month-pack p { color: #d6defc; font-size: 14px; line-height: 1.4; margin-bottom: 6px; }
.month-pack span { display: inline-flex; align-items: center; gap: 5px; color: var(--yellow); font-size: 12px; font-weight: 700; }
/* У картинки набора сверху прозрачная полоса: обрезаем её */
.prod-art img.pa-pack, .thumb img.art.pa-pack { transform: scale(1.23); transform-origin: 50% 100%; }
.prod:hover .prod-art img.pa-pack { transform: scale(1.29); }

/* ---------- legal ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 44px 0 10px; color: #dbe3ff; line-height: 1.65; }
.legal h1 { font-size: clamp(34px, 5.5vw, 58px); margin-bottom: 14px; overflow-wrap: anywhere; }
.legal h2 { font-size: 24px; color: #fff; margin: 38px 0 14px; line-height: 1.1; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--yellow); font-weight: 600; text-decoration: underline; }
.legal code { background: rgba(255, 255, 255, .1); padding: 1px 6px; border-radius: 5px; }
.legal mark { background: rgba(255, 225, 74, .18); color: var(--yellow); padding: 1px 5px; border-radius: 5px; }
.legal-date { color: var(--muted); font-weight: 600; font-size: 14px; }
.legal-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin-bottom: 12px; border-radius: 12px; background: rgba(255, 225, 74, .09); border: 1px solid rgba(255, 225, 74, .35); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.45; }
.legal-note .ic { color: var(--yellow); margin-top: 2px; }
.legal-note + p { margin-top: 22px; }
.legal-table { overflow-x: auto; margin-bottom: 16px; border: 2px solid var(--line); border-radius: 14px; }
.legal table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.legal th { text-align: left; color: #fff; background: rgba(255, 255, 255, .06); }
.legal th, .legal td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal tr:last-child td { border-bottom: 0; }
.legal-link { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.45; cursor: pointer; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--yellow); }
.consent a { color: var(--yellow); font-weight: 700; }

/* ---------- mobile navigation ---------- */
.tabbar, .sheet { display: none; }

@media (max-width: 1000px) {
  :root { --tabbar: calc(62px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--tabbar); }
  .header .cart-btn { display: none; }
  .search { max-width: none; }
  .flashes { left: 16px; right: 16px; bottom: calc(var(--tabbar) + 12px); }

  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr);
    height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(7, 11, 42, .94); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0;
    color: var(--muted); font-size: 11px; font-weight: 700; -webkit-tap-highlight-color: transparent; transition: color .15s;
  }
  .tabbar .ic { width: 23px; height: 23px; vertical-align: 0; }
  .tabbar a.on { color: var(--yellow); }
  .tabbar a.on::before { content: ""; position: absolute; top: -1px; left: 26%; right: 26%; height: 3px; background: var(--yellow); transform: skewX(-24deg); box-shadow: 0 0 10px rgba(255, 225, 74, .6); }
  .tab-icon { position: relative; display: block; line-height: 0; font-style: normal; }
  .tab-badge { position: absolute; top: -6px; left: 15px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }

  .sheet[open] { display: block; }
  .sheet {
    position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; margin: 0; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
    color: var(--text); background: #0c1340; border: 0; border-top: 2px solid var(--line); border-radius: 24px 24px 0 0;
    animation: sheet-up .24s cubic-bezier(.2, .8, .3, 1);
  }
  .sheet::backdrop { background: rgba(3, 5, 20, .72); backdrop-filter: blur(3px); animation: sheet-fade .24s; }
  body:has(.sheet[open]) { overflow: hidden; }
  .sheet-head { position: sticky; top: -8px; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: -8px -20px 8px; padding: 12px 12px 8px 20px; background: #0c1340; }
  .sheet-head b { font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; }
  .sheet-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
  .sheet-close .ic { width: 24px; height: 24px; }
  .sheet h4 { margin: 22px 0 10px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .sheet-user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(115deg, rgba(40, 70, 210, .75), rgba(110, 30, 180, .6)); }
  .sheet-user .avatar { flex-shrink: 0; background: var(--yellow); color: #10102a; text-transform: uppercase; }
  .sheet-user > div:nth-child(2) { flex: 1; min-width: 0; }
  .sheet-user b { display: block; font-weight: 900; font-style: italic; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sheet-user span { display: block; color: #d6defc; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sheet-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sheet-auth .btn { padding: 14px 8px; font-size: 14px; }
  .sheet-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sheet-prods a { display: block; overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 2px solid transparent; }
  .sheet-prods a.on { border-color: var(--yellow); }
  .sheet-prods i { position: relative; display: grid; place-items: center; height: 96px; overflow: hidden; font-style: normal; }
  .sheet-prods i img { width: 100%; height: 100%; padding-top: 6px; object-fit: contain; object-position: bottom; }
  .sheet-prods i img.pa-pack { padding: 0; object-fit: cover; object-position: 50% 100%; transform: scale(1.23); transform-origin: 50% 100%; }
  .sheet-prods i img.pa-vbucks { object-position: center; transform: scale(1.55) translateY(11%); }
  .sheet-prods i .ic { width: 36px; height: 36px; }
  .sheet-prods span { display: block; padding: 9px 11px; font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.15; }
  .sheet-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .sheet-pills .pill { padding: 12px 18px; }
  .sheet-links { margin-top: 18px; border-top: 1px solid var(--line); }
  .sheet-links a, .sheet-logout { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; text-align: left; }
  .sheet-links span { flex: 1; }
  .sheet-links .ic { color: var(--muted); width: 20px; height: 20px; vertical-align: 0; }
  .sheet-logout { color: #ff8a8a; border-bottom: 0; }
  .sheet-logout .ic { color: inherit; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet::backdrop { animation: none; }
}
@media (max-width: 600px) {
  .header .container { height: 62px; }
  .sheet-head { top: -8px; }
}
@media (max-width: 1000px) {
  .sheet-prods i img { position: absolute; inset: 0; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .sheet-prods { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1000px) {
  .sheet-prods i img.pa-pack { transform: none; object-position: 50% 62%; }
}

/* Official supplied Dropzone wordmark, isolated on transparency. */
.logo .brand-image{display:block;width:228px;height:52px;object-fit:cover;object-position:center;max-width:none}
@media(max-width:600px){.logo .brand-image{width:184px;height:44px}}
