:root {
  --bg: #0a0404;
  --bg-2: #140707;
  --card: #1a0a08;
  --line: #3a1510;
  --red: #e3171b;
  --orange: #ff6a00;
  --amber: #ffb347;
  --text: #f6ebe5;
  --muted: #b8a09a;
  --fire: linear-gradient(135deg, #ff2a1a 0%, #ff6a00 55%, #ffb347 100%);
  --fire-dark: linear-gradient(160deg, #2a0705 0%, #120404 60%, #0a0404 100%);
  --radius: 6px;
  --font: "Pixelify Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(227, 23, 27, 0.18), transparent 50%),
    radial-gradient(ellipse at 90% 30%, rgba(255, 106, 0, 0.12), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(227, 23, 27, 0.15), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .footer { flex-shrink: 0; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--font); color: var(--amber); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mt { margin-top: 56px; }
::selection { background: var(--orange); color: #000; }

#embers { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
header, main, footer { position: relative; z-index: 1; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 64px 0; }
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 28px;
  background: var(--fire);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 4, 4, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: 1px; }
.logo-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--fire); color: #1a0402; border-radius: 4px; font-weight: 700;
  box-shadow: 0 0 18px rgba(255, 80, 0, 0.55);
}
.logo-text { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 14px; border-radius: var(--radius); color: var(--muted); transition: .2s; }
.nav-link:hover { color: var(--text); background: rgba(255, 106, 0, .08); }
.nav-link.active { color: #fff; background: linear-gradient(135deg, rgba(227,23,27,.35), rgba(255,106,0,.25)); box-shadow: inset 0 -2px 0 var(--orange); }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.cart-icon { display: none; width: 18px; height: 18px; flex: 0 0 auto; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 11px; background: var(--fire); color: #1a0402; font-size: 13px; font-weight: 700; }
.badge.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }
.burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text); transition: .2s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; font-weight: 600; font-size: 16px; transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-fire { background: var(--fire); color: #1a0402; box-shadow: 0 6px 24px rgba(255, 70, 0, .35), inset 0 -3px 0 rgba(0,0,0,.25); }
.btn-fire:hover { box-shadow: 0 8px 34px rgba(255, 90, 0, .6), inset 0 -3px 0 rgba(0,0,0,.25); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); background: rgba(255,106,0,.08); }
.btn-discord { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(227, 23, 27, .3), inset 0 -3px 0 rgba(0,0,0,.25); }
.btn-discord:hover { background: #ff2a1a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255, 42, 26, .5), inset 0 -3px 0 rgba(0,0,0,.25); }
.btn-sm { padding: 8px 14px; font-size: 15px; }
.btn-lg { padding: 16px 30px; font-size: 19px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ===== Hero ===== */
.hero { position: relative; min-height: calc(100vh - 68px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,4,4,.3) 0%, rgba(10,4,4,.7) 60%, var(--bg) 100%), radial-gradient(ellipse at center, transparent 30%, rgba(10,4,4,.8) 100%); }
.hero-inner { position: relative; padding: 80px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #777; }
.pulse-dot.on { background: #3ee06a; box-shadow: 0 0 0 0 rgba(62,224,106,.7); animation: pulse 1.6s infinite; }
.pulse-dot.off { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62,224,106,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,106,0); } }
.hero-title {
  font-size: clamp(56px, 13vw, 150px); line-height: 1; font-weight: 700; letter-spacing: 4px;
  background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 60, 0, .45));
  position: relative;
}
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .7; }
.glitch::before { animation: glitch 3s infinite steps(1); clip-path: inset(0 0 60% 0); }
.glitch::after { animation: glitch 2.4s infinite steps(1) reverse; clip-path: inset(55% 0 0 0); }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 93% { transform: translate(-4px, 2px); } 95% { transform: translate(4px, -2px); } 97% { transform: translate(-2px, 0); } }
.hero-sub { max-width: 620px; color: var(--muted); font-size: 19px; }
.ip-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 10px 10px 10px 20px; border: 1px solid var(--line); background: rgba(20, 7, 7, .8); border-radius: var(--radius); box-shadow: 0 0 40px rgba(227, 23, 27, .2); }
.ip-label { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.ip-value { font-size: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 760px; margin-top: 16px; }
.stat { padding: 18px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(20,7,7,.7); display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 30px; font-weight: 700; color: var(--amber); }
.stat-label { font-size: 13px; color: var(--muted); }

/* ===== Steps / features ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step, .feature, .news-item, .info-card {
  background: var(--fire-dark); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s, transform .2s;
}
.step:hover, .feature:hover, .news-item:hover { border-color: var(--orange); transform: translateY(-4px); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--fire); color: #1a0402; font-weight: 700; border-radius: 4px; margin-bottom: 14px; font-size: 20px; }
.step h3, .feature h3, .news-item h3, .info-card h3 { font-size: 20px; margin-bottom: 8px; }
.step p, .feature p, .news-item p { color: var(--muted); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-icon { font-size: 34px; font-weight: 700; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-item time { font-size: 13px; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; }

.event-card {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 36px; border-radius: var(--radius); border: 1px solid var(--orange);
  background: linear-gradient(120deg, rgba(227,23,27,.25), rgba(255,106,0,.1) 50%, rgba(10,4,4,.9));
  box-shadow: 0 0 60px rgba(255, 60, 0, .15);
}
.event-title { font-size: 34px; margin: 4px 0 8px; }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 78px; padding: 12px; text-align: center; background: rgba(0,0,0,.5); border: 1px solid var(--line); border-radius: var(--radius); }
.countdown span { display: block; font-size: 34px; font-weight: 700; color: var(--amber); }
.countdown small { color: var(--muted); font-size: 12px; }

.cta { text-align: center; padding: 56px 24px; border-radius: var(--radius); background: var(--fire); color: #1a0402; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 8px; }
.cta p { margin-bottom: 22px; font-size: 18px; }
.cta .btn-fire { background: #120404; color: var(--amber); }

/* ===== Page heads ===== */
.page-head { margin-bottom: 32px; }
.page-title { font-size: clamp(36px, 6vw, 60px); line-height: 1.1; margin: 6px 0 10px; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page { animation: pageIn .35s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }

/* ===== Shop ===== */
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 8px 16px; border-radius: 20px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); transition: .2s; }
.chip:hover { color: var(--text); border-color: var(--orange); }
.chip.active { background: var(--fire); color: #1a0402; border-color: transparent; font-weight: 600; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.item {
  position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--fire-dark);
  cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden;
}
.item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, var(--glow, rgba(255,106,0,.25)), transparent 65%); opacity: .6; transition: .3s; pointer-events: none; }
.item:hover { transform: translateY(-6px); border-color: var(--accent, var(--orange)); box-shadow: 0 12px 40px var(--glow, rgba(255,106,0,.25)); }
.item:hover::before { opacity: 1; }
.item > * { position: relative; }
.item-tier { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.item-icon { width: 64px; height: 64px; display: grid; place-items: center; font-size: 28px; font-weight: 700; border-radius: 6px; background: var(--accent, var(--orange)); color: #120404; box-shadow: 0 0 24px var(--glow); image-rendering: pixelated; overflow: hidden; }
.item-icon img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.item-name { font-size: 24px; font-weight: 700; color: var(--accent, var(--text)); }
.item-desc { font-size: 14px; color: var(--muted); flex: 1; }
.item-price { display: flex; align-items: baseline; gap: 8px; font-size: 26px; font-weight: 700; }
.item-price s { font-size: 16px; color: var(--muted); font-weight: 400; }
.item-sub { font-size: 13px; color: var(--amber); }
.ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(45deg); background: var(--fire); color: #1a0402; font-size: 12px; font-weight: 700; padding: 3px 40px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(26,8,6,.7), rgba(12,4,3,.9)); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 820px; }
.compare th, .compare td { padding: 13px 12px; border-bottom: 1px solid rgba(255,106,0,.1); text-align: center; font-size: 15px; font-weight: 400; transition: background .2s; }
.compare tbody th[scope="row"] { text-align: left; color: var(--muted); padding-left: 20px; position: sticky; left: 0; z-index: 1; background: #120504; white-space: nowrap; }
.compare thead th { background: #170605; padding: 18px 12px 14px; }
.compare thead th:first-child { text-align: left; padding-left: 20px; color: var(--muted); position: sticky; left: 0; z-index: 2; }
.compare .rank-col { position: relative; }
.compare .rank-col span { color: var(--rank); font-weight: 700; text-shadow: 0 0 14px color-mix(in srgb, var(--rank) 55%, transparent); }
.compare .rank-col::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--rank); box-shadow: 0 0 10px var(--rank); }
.compare tbody tr:hover th, .compare tbody tr:hover td { background: rgba(255,106,0,.07); }
.compare tbody tr:hover th[scope="row"] { color: var(--text, #fff); }
.compare .price-row th, .compare .price-row td { border-bottom: 0; padding: 18px 12px; background: rgba(255,106,0,.06); font-weight: 700; font-size: 16px; }
.compare .price-row th { color: var(--text, #fff); background: #1a0806; }
.compare .price-row td { color: var(--rank); }
.compare .val { font-weight: 700; color: #fff; }
.compare .dash { color: #5a3b36; }
.yes, .no { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.yes svg, .no svg { display: block; }
.yes { color: #3ee06a; font-weight: 700; } .no { color: #5a3b36; }
.yes, .no, .success-icon, .modal-close, .cart-remove { font-family: system-ui, sans-serif; }
.info-grid, .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.info-card ol, .info-card ul { padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* ===== Modal ===== */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; }
.modal { display: grid; place-items: center; padding: 16px; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-box {
  position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: linear-gradient(170deg, #200806, #0f0404); border: 1px solid var(--orange); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 0 80px rgba(255, 60, 0, .3); animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.modal-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; background: none; border: 1px solid var(--line); border-radius: var(--radius); font-size: 22px; cursor: pointer; color: var(--muted); }
.modal-close:hover { color: var(--text); border-color: var(--orange); }
.m-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; padding-right: 30px; }
.m-head h2 { font-size: 30px; line-height: 1.1; }
.perks { list-style: none; display: grid; gap: 8px; margin: 16px 0; }
.perks li { padding-left: 22px; position: relative; color: var(--text); font-size: 15px; }
.perks li::before { content: "▸"; position: absolute; left: 0; color: var(--bullet, var(--orange)); }
.perks li.inherit { color: var(--muted); }
.opt-group { margin: 16px 0; }
.opt-group > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opt { flex: 1; min-width: 120px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: rgba(0,0,0,.3); text-align: left; transition: .2s; }
.opt:hover { border-color: var(--orange); }
.opt input { display: none; }
.opt:has(input:checked) { border-color: var(--orange); background: rgba(255,106,0,.12); box-shadow: inset 0 0 0 1px var(--orange); }
.opt b { display: block; }
.opt small { color: var(--muted); font-size: 13px; }
.opt-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.opt-meta .cur, .opt-meta .soon { font-size: 12px; line-height: 1; padding: 4px 7px; border-radius: 4px; border: 1px solid var(--line); }
.opt-meta .cur { color: var(--amber); }
.opt-meta .soon { color: var(--muted); background: rgba(255,255,255,.05); }
.opt.is-disabled { opacity: .5; cursor: not-allowed; }
.opt.is-disabled:hover { border-color: var(--line); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 40px; height: 40px; background: rgba(255,255,255,.04); border: none; cursor: pointer; font-size: 20px; }
.qty button:hover { background: rgba(255,106,0,.2); }
.qty span { min-width: 48px; text-align: center; }
.m-total { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 14px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 18px; }
.m-total b { font-size: 30px; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.m-actions .btn { flex: 1; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-methods .opt { min-width: 0; }
.pay-methods .opt-main { grid-column: 1 / -1; position: relative; padding: 18px 16px; border-width: 2px; }
.pay-methods .opt-main b { font-size: 21px; margin-bottom: 4px; padding-right: 110px; }
.pay-methods .opt-main small { font-size: 14px; }
.pay-methods .opt-main .opt-hint { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.45; opacity: .85; }
.opt-badge { position: absolute; top: 14px; right: 14px; font-size: 11px; line-height: 1; padding: 5px 8px; border-radius: 999px; background: var(--fire, linear-gradient(135deg, #ff2a1a, #ff6a00 55%, #ffb347)); color: #160303; font-weight: 700; }
.pay-more { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.instructions { background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 14px 0; display: grid; gap: 10px; }
.instructions ol { padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.copy-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 12px; background: rgba(255,106,0,.08); border: 1px dashed var(--orange); border-radius: var(--radius); }
.copy-row code { font-size: 18px; word-break: break-all; }
.success-icon { width: 72px; height: 72px; border-radius: 6px; display: grid; place-items: center; background: var(--fire); color: #1a0402; font-size: 40px; margin-bottom: 14px; animation: pop .4s; }

/* ===== Drawer ===== */
.drawer-box { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: linear-gradient(180deg, #1a0605, #0a0404); border-left: 1px solid var(--orange); display: flex; flex-direction: column; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); position: relative; }
.drawer-head .modal-close { position: static; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; align-content: start; gap: 10px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-item { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0,0,0,.3); }
.cart-item .item-icon { width: 44px; height: 44px; font-size: 18px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info b { display: block; }
.cart-item-info small { color: var(--muted); }
.cart-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 20px; padding: 4px 8px; }
.cart-remove:hover { color: var(--red); }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; }
.total-row { display: flex; justify-content: space-between; color: var(--muted); }
.total-row.discount { color: #3ee06a; }
.total-row.big { color: var(--text); font-size: 22px; font-weight: 700; }

/* ===== Forms ===== */
input, select, textarea {
  width: 100%; padding: 12px 14px; background: rgba(0,0,0,.45); border: 1px solid var(--line); border-radius: var(--radius);
  outline: none; transition: border-color .2s, box-shadow .2s; font-size: 16px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,0,.2); }
select option { background: #1a0605; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.role { text-align: left; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--fire-dark); cursor: pointer; transition: .2s; display: flex; flex-direction: column; gap: 8px; }
.role:hover { border-color: var(--orange); transform: translateY(-4px); }
.role.active { border-color: var(--orange); background: linear-gradient(160deg, rgba(227,23,27,.35), rgba(255,106,0,.15), #0a0404); box-shadow: 0 0 40px rgba(255,80,0,.25); }
.role h3 { font-size: 26px; }
.role p { color: var(--muted); font-size: 14px; }
.role-tag { font-size: 12px; color: var(--amber); text-transform: uppercase; letter-spacing: 1px; }
.role-status { margin-top: auto; font-size: 13px; color: #3ee06a; }

.apply-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.role-info { position: sticky; top: 90px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--fire-dark); display: grid; gap: 14px; }
.role-info h3 { font-size: 24px; }
.role-info h4 { font-size: 15px; color: var(--amber); text-transform: uppercase; letter-spacing: 1px; }
.role-info ul { padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
.form { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(20,7,7,.85); display: grid; gap: 4px; }
.progress { height: 6px; background: rgba(255,255,255,.06); border-radius: 3px; overflow: hidden; margin-bottom: 18px; }
.progress-bar { height: 100%; width: 0; background: var(--fire); transition: width .3s; }
.fieldset { border: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.fieldset:last-child { border-bottom: none; }
.fieldset legend { grid-column: 1 / -1; font-size: 20px; font-weight: 700; color: var(--orange); margin-bottom: 4px; float: left; width: 100%; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; }
.field label .req { color: var(--red); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: #ff5a4a; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff3a2a; }
.counter { font-size: 12px; color: var(--muted); text-align: right; }
.counter.ok { color: #3ee06a; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.checkbox input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--orange); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }

/* ===== Accordion ===== */
.search input { margin-bottom: 18px; }
.accordion { display: grid; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--fire-dark); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 20px; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 24px; color: var(--orange); transition: transform .2s; }
.acc summary::after { transition: transform .38s cubic-bezier(.22,.8,.26,1); }
.acc { transition: border-color .3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc[open] { border-color: var(--orange); }
.acc.closing summary::after { transform: none; }
.acc.closing { border-color: var(--line); }
.acc summary { outline-offset: -2px; }
.acc-body { padding: 0 20px 18px; color: var(--muted); display: grid; gap: 8px; }
.rule { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.rule b { color: var(--orange); min-width: 40px; }
.rule .punish { display: block; color: var(--amber); font-size: 13px; margin-top: 2px; }
mark { background: var(--orange); color: #000; padding: 0 2px; }

.list { display: grid; gap: 10px; margin-top: 10px; }
.list-item { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0,0,0,.3); display: grid; gap: 4px; font-size: 15px; }
.list-item .row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.status { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: rgba(255,179,71,.15); color: var(--amber); }

/* ===== Footer & misc ===== */
.footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 40px; background: rgba(0,0,0,.4); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--orange); }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: var(--radius); border: none; background: var(--fire); color: #1a0402; font-size: 22px; cursor: pointer; z-index: 40; opacity: 0; pointer-events: none; transition: .3s; transform: translateY(10px); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { padding: 14px 18px; border-radius: var(--radius); background: #1a0605; border: 1px solid var(--orange); box-shadow: 0 10px 40px rgba(0,0,0,.6); animation: pop .25s; }
.toast.error { border-color: var(--red); }
.toast.hide { opacity: 0; transform: translateY(10px); transition: .3s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

body.hell-mode { animation: shake .5s 3; }
body.hell-mode .hero-title { filter: drop-shadow(0 0 60px red) hue-rotate(-20deg); }
@keyframes shake { 25% { transform: translate(-4px, 2px); } 50% { transform: translate(4px, -2px); } 75% { transform: translate(-2px, -2px); } }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .steps, .roles { grid-template-columns: 1fr 1fr; }
  .features, .news { grid-template-columns: 1fr 1fr; }
  .apply-wrap { grid-template-columns: 1fr; }
  .role-info { position: static; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 20px;
    background: rgba(10,4,4,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav-link { padding: 12px 14px; }
}
@media (max-width: 640px) {
  .topbar-inner { gap: 8px; }
  .topbar-actions { gap: 6px; }
  .language-select { min-width: 82px; padding-inline: 7px; font-size: 12px; }
  .cart-label { display: none; }
  .cart-icon { display: block; }
  #cartBtn { padding: 8px 9px; }
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps, .features, .news, .roles, .info-grid, .profile-grid, .pay-methods { grid-template-columns: 1fr; }
  .fieldset { grid-template-columns: 1fr; }
  .countdown div { min-width: 64px; }
  .countdown span { font-size: 26px; }
  .event-card { padding: 24px; }
  .modal-box, .form { padding: 20px; }
  .ip-box { padding: 14px; }
  .logo-text { font-size: 18px; }
}
@media (max-width: 400px) {
  .topbar-inner { height: auto; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
  .topbar-actions { flex-basis: 100%; justify-content: flex-end; }
  .nav { top: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Logo image ---------- */
img.logo-mark { width: 36px; height: 36px; object-fit: cover; image-rendering: pixelated; border-radius: 6px; background: none; box-shadow: 0 0 18px rgba(255, 80, 0, 0.55); display: block; }

/* ---------- Feed: top donors and recent purchases ---------- */
.feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feed-card { padding: 24px; border: 1px solid var(--line, #3a1a10); border-radius: var(--radius); background: rgba(20, 8, 6, 0.7); }
.feed-card .section-title { font-size: 26px; margin: 0 0 16px; text-align: left; }
.donors, .recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.donors li, .recent li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); }
.donor-pos { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; font-weight: 700; background: rgba(255, 138, 31, 0.15); color: var(--amber, #ffb347); flex: none; }
.donors li:nth-child(1) .donor-pos { background: #ffd23f; color: #1a0402; }
.donors li:nth-child(2) .donor-pos { background: #c9d3dd; color: #1a0402; }
.donors li:nth-child(3) .donor-pos { background: #d98a4e; color: #1a0402; }
.donor-name, .recent-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.donor-name b, .recent-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donor-name small, .recent-main small { color: var(--muted, #c9a27e); font-size: 13px; }
.donor-sum { font-weight: 700; color: var(--amber, #ffb347); white-space: nowrap; }
.recent-icon { width: 36px; height: 36px; flex: none; }
.recent-icon img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.recent-time { color: var(--muted, #c9a27e); font-size: 13px; white-space: nowrap; }
.gift-tag { display: inline-block; padding: 1px 8px; margin-left: 6px; border-radius: 999px; font-size: 12px; background: rgba(176, 74, 255, 0.2); color: #d9a8ff; }
.feed-empty { color: var(--muted, #c9a27e); justify-content: center; }
@media (max-width: 800px) { .feed-grid { grid-template-columns: 1fr; } }

/* ---------- Gift ---------- */
.gift-box { margin: 14px 0; padding: 14px 16px; border: 1px dashed #b04aff; border-radius: var(--radius); background: linear-gradient(135deg, rgba(176, 74, 255, 0.12), rgba(255, 90, 0, 0.06)); }
.gift-toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.gift-toggle input { width: 18px; height: 18px; accent-color: #b04aff; }
.gift-toggle b { display: block; }
.gift-toggle small { color: var(--muted, #c9a27e); }
.gift-fields { margin-top: 14px; display: grid; gap: 12px; }
.gift-fields[hidden] { display: none; }
.gift-fields textarea { min-height: 70px; resize: vertical; }
.gift-count { text-align: right; font-size: 12px; color: var(--muted, #c9a27e); }
.gift-card { margin: 14px 0; padding: 16px; border-radius: var(--radius); text-align: center; background: linear-gradient(135deg, rgba(176, 74, 255, 0.2), rgba(255, 90, 0, 0.14)); border: 1px solid #b04aff; }
.gift-card b { color: #e2b8ff; }
.gift-card p { margin: 6px 0 0; font-style: italic; }

/* ---------- Case drop preview ---------- */
.loot { margin: 14px 0; }
.loot-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 600; }
.loot-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.loot-bar span { display: block; height: 100%; }
.loot-group { margin-bottom: 8px; }
.loot-group h4 { margin: 10px 0 4px; font-size: 14px; display: flex; justify-content: space-between; color: var(--rar); }
.loot-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border-left: 3px solid var(--rar); background: rgba(255, 255, 255, 0.03); border-radius: 0 6px 6px 0; margin-bottom: 4px; font-size: 14px; }
.loot-row b { color: var(--rar); white-space: nowrap; }
.roll { margin: 14px 0; }
.roll-window { position: relative; overflow: hidden; height: 84px; border-radius: 10px; border: 1px solid #3a1a10; background: #0d0504; }
.roll-window::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #ffd23f; box-shadow: 0 0 12px #ffd23f; z-index: 2; }
.roll-strip { display: flex; height: 100%; will-change: transform; }
.roll-cell { flex: none; width: 120px; height: 100%; padding: 8px; display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 1.2; border-bottom: 4px solid var(--rar); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--rar) 18%, transparent)); }
.roll-result { min-height: 24px; margin-top: 8px; text-align: center; font-weight: 600; }
.roll-note { font-size: 12px; color: var(--muted, #c9a27e); text-align: center; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .roll-strip { transition: none !important; } }

/* Collapsible odds */
.loot-summary { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; gap: 10px; border-radius: 10px; color: inherit; font: inherit; }
.loot-summary:focus-visible { outline: 2px solid var(--loot-accent, #ffd23f); outline-offset: 4px; }
.loot-details .loot-title { margin-bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.loot-details .loot-bar { margin-bottom: 0; }
.loot-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--loot-accent, #ffd23f); }
.loot-toggle i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .35s ease; }
.loot-details.is-open .loot-toggle i { transform: rotate(-135deg) translateY(-2px); }
.loot-toggle .when-open, .loot-details.is-open .loot-toggle .when-closed { display: none; }
.loot-details.is-open .loot-toggle .when-open { display: inline; }
.loot-collapse { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, visibility 0s linear .4s; }
.loot-details.is-open .loot-collapse { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1), opacity .35s ease .05s, visibility 0s; }
.loot-collapse-inner { min-height: 0; overflow: hidden; }
.loot-list { margin-top: 12px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
@media (prefers-reduced-motion: reduce) { .loot-collapse, .loot-toggle i { transition: none !important; } }
.loot-row > span { min-width: 0; overflow-wrap: anywhere; }
.mc-title { font-family: system-ui, "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 700; letter-spacing: .2px; }
.roll-result .mc-title { font-size: 1.05em; }
.roll-cell .mc-title { font-size: 12px; }

/* XP crate: green theme */
.loot--xp .loot-summary { padding: 12px; border: 1px solid rgba(93, 242, 76, .28); background: linear-gradient(135deg, rgba(93, 242, 76, .10), rgba(20, 60, 20, .10)); }
.loot--xp .roll-window { border-color: rgba(93, 242, 76, .35); background: radial-gradient(circle at 50% 100%, rgba(93, 242, 76, .14), #050d05 70%); box-shadow: inset 0 0 24px rgba(93, 242, 76, .08); }
.loot--xp .roll-window::after { background: #5df24c; box-shadow: 0 0 12px #5df24c; }
.loot--xp .roll-cell span { font-weight: 700; }
.loot--xp .btn-ghost { border-color: rgba(93, 242, 76, .45); color: #b9ffae; }
.loot--xp .btn-ghost:hover:not(:disabled) { background: rgba(93, 242, 76, .12); }

/* ---------- Фішки (донат-валюта): червоні, зі значком монети як у грі ---------- */
.fishka { color: #ff2a2a; font-weight: 700; }
.fishka-ico {
  display: inline-block; width: 1em; height: 1em; margin-left: .25em; vertical-align: -.12em;
  background: url("/shop/fishka.svg") center / contain no-repeat; image-rendering: pixelated;
}
.item.item--chips .item-name, .item.item--chips .item-sub { color: #ff2a2a; }
