/* ============================================================
   EMBER.su — Dota 2 accounts marketplace
   Fiery 2026 dark theme with glassmorphism + glow
   ============================================================ */

:root {
  /* ---- neutral foundation ---- */
  --bg: #0a0a0b;
  --bg-2: #101011;
  --bg-elev: #161618;          /* elevated panels: modal, menus, dropdowns */

  /* surfaces — neutral translucent, no colour wash */
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.06);
  --card-bg: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014));

  /* borders — neutral hairlines */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  /* text — crisp neutral */
  --text: #f3f2f3;
  --text-mute: #9a9698;
  --text-dim: #635f62;

  /* ---- ember accent (the brand — used with restraint) ---- */
  --accent: #ff5a1f;
  --accent-soft: rgba(255, 90, 31, 0.12);
  --accent-line: rgba(255, 110, 50, 0.42);

  /* legacy flame aliases — kept so existing rules don't break, values refined */
  --flame-1: #ff3d1f;
  --flame-2: #ff5a1f;
  --flame-3: #ffae3d;
  --flame-glow: #ff5a1f;
  --ember: #ff7a2b;

  --grad-fire: linear-gradient(135deg, #ff3d1f 0%, #ff6a22 52%, #ffae3d 100%);
  --grad-fire-soft: linear-gradient(135deg, rgba(255,90,31,.13) 0%, rgba(255,174,61,.04) 100%);
  --grad-bg: radial-gradient(ellipse 92% 56% at 50% -8%, #18110c 0%, #0a0a0b 58%);

  --shadow-fire: 0 14px 36px -14px rgba(255, 90, 31, 0.5);
  --shadow-card: 0 12px 30px -14px rgba(0,0,0,0.75);
  --shadow-pop: 0 28px 60px -20px rgba(0,0,0,0.85);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* HTML hidden attribute must always win over display: */
[hidden] { display: none !important; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* gentle fade-in of the whole page on first load */
body { animation: pageFade .4s ease; }
/* Keep the footer at the bottom on short pages, including at reduced zoom. */
body:has(> :is(.site-footer,.ember-site-footer,.vpn-footer)) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body:has(> :is(.site-footer,.ember-site-footer,.vpn-footer)) > :is(main,.profile-shell,.auth-required) { flex: 1 0 auto; }
body > :is(.site-header,.site-footer,.ember-site-footer,.vpn-footer) { flex-shrink: 0; }
body.booster-layout { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.booster-layout > main { flex: 1 0 auto; width: 100%; }
@keyframes pageFade { from { opacity: 0; } }

/* Accessibility: respect users who asked the OS to reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* overflow-x: clip (вместо hidden) не создаёт scroll-container,
   поэтому не ломает position:sticky на дочерних элементах */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* ====================== SCROLL REVEAL ====================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1s cubic-bezier(.22,.61,.36,1),
    transform 1s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  #emberCanvas { display: none; }
}


body {
  background: var(--grad-bg);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(58% 36% at 50% 0%, rgba(255, 92, 31, 0.09), transparent 72%),
    radial-gradient(40% 30% at 88% 8%, rgba(255, 174, 61, 0.045), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

#emberCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* Keep keyboard navigation visible on controls that do not have a page-specific
   focus treatment. :where() keeps component styles free to refine the colour. */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--flame-3);
  outline-offset: 3px;
}

/* ====================== SVG ICONS ====================== */
.ic {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

/* ====================== PROMO BAR ====================== */
.promo-bar {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  background: linear-gradient(90deg, rgba(255,46,31,0.18) 0%, rgba(255,170,58,0.18) 50%, rgba(255,46,31,0.18) 100%);
  background-size: 200% 100%;
  animation: promoShift 8s ease-in-out infinite;
  border-bottom: 1px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
}

@keyframes promoShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.promo-spark {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame-2);
  box-shadow: 0 0 10px var(--flame-2);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ====================== HEADER ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  background: rgba(10, 4, 8, 0.45);
  border-bottom: 1px solid transparent;
  transition:
    background .45s cubic-bezier(.4,0,.2,1),
    border-color .45s cubic-bezier(.4,0,.2,1);
}

.site-header.scrolled {
  background: rgba(10, 4, 8, 0.82);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
  color: var(--text);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff3d1f 0%, #ff6a22 52%, #ffae3d 100%);
  position: relative;
  box-shadow: 0 3px 12px -2px rgba(255, 90, 31, 0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.logo-mark .ic {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

@keyframes emberPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 90, 30, 0.5), 0 0 0 1px rgba(255,170,80,0.5) inset; }
  50%      { box-shadow: 0 6px 28px rgba(255, 90, 30, 0.75), 0 0 0 1px rgba(255,170,80,0.7) inset; }
}

.logo:hover .logo-mark { animation: emberPulse 1.8s ease-in-out infinite; }

.logo-dot { color: var(--flame-2); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 500;
}
.mobile-nav-toggle { display: none; }
.ember-auth-error { margin-top: 12px; color: #ff9f8f; font-size: 12px; line-height: 1.4; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-mute);
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-link .ic {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 6px;
}

.nav-admin {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text) !important;
}

.nav-admin:hover {
  background: var(--surface-2);
  border-color: var(--flame-2);
  box-shadow: 0 0 20px rgba(255, 90, 30, 0.3);
}

/* ====================== AUTH UI ====================== */
.auth-slot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s cubic-bezier(.22,.61,.36,1);
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.nav-btn-primary {
  background: var(--grad-fire);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px -4px rgba(255, 60, 20, 0.4);
}

.nav-btn-primary:hover {
  color: #fff;
  background: var(--grad-fire);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(255, 60, 20, 0.55);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.nav-user:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.nav-user .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-user .balance {
  color: var(--flame-3);
  font-weight: 700;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 90, 30, 0.08);
  border: 1px solid rgba(255, 90, 30, 0.18);
}
.nav-user .hdr-balance-button { display:inline-flex; align-items:center; gap:7px; min-height:29px; padding:3px 7px 3px 9px; flex:none; border:1px solid rgba(255,145,97,.24); border-radius:8px; color:var(--flame-3); background:rgba(255,106,43,.09); font:inherit; cursor:pointer; transition:background .25s,border-color .25s,box-shadow .25s; }
.nav-user .hdr-balance-button .balance { padding:0; border:0; background:none; white-space:nowrap; }
.hdr-balance-plus { display:grid; place-items:center; width:17px; height:17px; border:1px solid rgba(255,145,97,.2); border-radius:5px; color:#ffb37d; background:rgba(255,145,97,.08); }
.hdr-balance-plus .ic { width:11px; height:11px; }
.nav-user .hdr-balance-button:hover { border-color:rgba(255,145,97,.5); background:rgba(255,106,43,.18); box-shadow:0 0 16px -6px rgba(255,106,43,.3); }
.nav-user .hdr-balance-button:focus-visible { outline:2px solid var(--flame-3); outline-offset:3px; }

.nav-user .role-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--flame-3);
}

.nav-user .chev {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  transition: transform .2s;
}

.nav-user.open .chev { transform: rotate(180deg); color: var(--flame-3); }

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,170,80,0.1) inset;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}

.user-menu.open { display: flex; animation: menuIn .22s cubic-bezier(.22,.61,.36,1); }

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.user-menu-item {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-decoration: none;
}

.user-menu-item .ic {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.user-menu-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.user-menu-item.danger { color: var(--flame-3); }
.user-menu-item.danger:hover { background: rgba(255, 46, 31, 0.12); }

.user-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* Auth modal */
.auth-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 28px;
}

/* Sliding highlight pill — moves between the two tabs instead of snapping. */
.auth-tabs::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  background: var(--grad-fire);
  border-radius: 8px;
  box-shadow: 0 6px 16px -4px rgba(255, 60, 20, 0.5);
  transition: transform .34s cubic-bezier(.34,1.4,.5,1);
  z-index: 0;
}
.auth-tabs[data-tab="register"]::before {
  transform: translateX(calc(100% + 4px));
}

.auth-tab {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
  transition: color .28s ease;
}

.auth-tab.active {
  color: #fff;
}

/* Each form fades + slides in whenever it becomes visible (tab switch). */
.auth-form {
  animation: authFormIn .34s cubic-bezier(.22,.9,.32,1);
}
@keyframes authFormIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-form,
  .auth-tabs::before { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.auth-title {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-align: center;
}

.auth-switch {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-mute);
  text-align: center;
}

.auth-switch a {
  color: var(--flame-2);
  font-weight: 600;
  cursor: pointer;
}

.auth-switch a:hover { color: var(--flame-3); }

/* ====================== HERO ====================== */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

/* ===== Hero characters (two Dota heroes flanking the title) ===== */
.hero-chars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-char {
  position: absolute;
  bottom: -2%;
  height: 106%;
  width: auto;
  max-width: 44%;
  object-fit: contain;
  filter: brightness(0.82) contrast(1.05) drop-shadow(0 24px 44px rgba(0,0,0,0.65));
  opacity: 0;
}
.hero-char-left {
  left: 0;
  object-position: bottom left;
  -webkit-mask-image: linear-gradient(to right, #000 58%, transparent 100%);
          mask-image: linear-gradient(to right, #000 58%, transparent 100%);
  animation: heroCharInL 1.5s cubic-bezier(.22,.61,.36,1) .2s forwards;
}
.hero-char-right {
  right: 0;
  object-position: bottom right;
  -webkit-mask-image: linear-gradient(to left, #000 58%, transparent 100%);
          mask-image: linear-gradient(to left, #000 58%, transparent 100%);
  animation: heroCharInR 1.5s cubic-bezier(.22,.61,.36,1) .2s forwards;
}
@keyframes heroCharInL {
  from { opacity: 0; transform: translateX(-40px) translateY(20px); }
  to   { opacity: 0.95; transform: translateX(0) translateY(0); }
}
@keyframes heroCharInR {
  from { opacity: 0; transform: translateX(40px) translateY(20px); }
  to   { opacity: 0.95; transform: translateX(0) translateY(0); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1240px) {
  .hero-char { max-width: 37%; opacity: 0; }
  .hero-char-left, .hero-char-right { animation-name: heroCharInDim; }
}
@keyframes heroCharInDim {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}
@media (max-width: 880px) {
  .hero-chars { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-char { animation-duration: .01ms !important; }
}

.hero-inner > * {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 1s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > *:nth-child(2) { animation-delay: .14s; }
.hero-inner > *:nth-child(3) { animation-delay: .25s; }
.hero-inner > *:nth-child(4) { animation-delay: .38s; }
.hero-inner > *:nth-child(5) { animation-delay: .52s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flame-2);
  box-shadow: 0 0 12px var(--flame-2);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

@keyframes emberPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(255, 90, 30, 0.5), 0 0 0 1px rgba(255,170,80,0.4) inset; }
  50% { box-shadow: 0 0 40px rgba(255, 90, 30, 0.85), 0 0 0 1px rgba(255,170,80,0.6) inset; }
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.flame-text {
  background: linear-gradient(100deg, #ffd9a8 0%, #ffae3d 28%, #ff6a22 50%, #ffae3d 72%, #ffd9a8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 6px 26px rgba(255, 90, 31, 0.32));
  animation: flameShift 6s linear infinite;
}
@keyframes flameShift {
  to { background-position: 220% center; }
}

.hero-sub {
  font-size: 19px;
  color: var(--text-mute);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Trust strip — compact reassurance row right under the hero CTAs */
.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 60px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
}
.trust-item svg { color: var(--flame-3); flex-shrink: 0; }
@media (max-width: 560px) {
  .hero-trust { gap: 8px 16px; margin-bottom: 44px; }
  .trust-item { font-size: 12.5px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform .22s cubic-bezier(.22,.61,.36,1),
    box-shadow .22s cubic-bezier(.22,.61,.36,1),
    background .22s ease,
    border-color .22s ease;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-fire);
  color: #fff;
  box-shadow: var(--shadow-fire);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 60px -10px rgba(255, 60, 20, 0.6), 0 0 1px rgba(255,170,80,0.6) inset;
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--flame-2);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.stat {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s ease, box-shadow .35s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: 0 18px 40px -20px rgba(255, 90, 31, 0.45);
}

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ====================== CATALOG ====================== */
.catalog {
  padding: 80px 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--flame-2);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
  transition: all .2s ease;
  cursor: pointer;
}

.filter:hover { color: var(--text); border-color: var(--border-strong); }

.filter.active {
  background: var(--grad-fire);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px -6px rgba(255, 60, 20, 0.5);
}

.filter-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.filter:not(.active) .filter-count {
  background: var(--surface-2);
  color: var(--text-dim);
}

/* ============== Payment picker in order form ============== */
.payment-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.payment-option {
  position: relative;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s cubic-bezier(.22,.61,.36,1);
}

.payment-option:hover .payment-option-body {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.payment-option input:checked + .payment-option-body {
  background: linear-gradient(135deg, rgba(255, 60, 20, 0.18), rgba(255, 170, 58, 0.06));
  border-color: var(--flame-2);
  box-shadow: 0 0 0 1px var(--flame-2), 0 8px 20px -6px rgba(255, 60, 20, 0.35);
}

.payment-option-emoji { font-size: 18px; }
.payment-option-name { flex: 1; }
.payment-option-fee {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ============== Quantity stepper ============== */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s cubic-bezier(.22,.61,.36,1);
}

.qty-btn:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--flame-2);
  transform: scale(1.05);
}

.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.qty-input {
  width: 80px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 10px;
}

.qty-stock {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--text-mute);
}

.qty-total {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(255, 90, 30, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}

.qty-total-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.qty-total-discount {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #4ade80;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.qty-total-label { font-size: 13px; color: var(--text-mute); }

/* ---- promo code field ---- */
.promo-field { margin-top: 4px; }
.promo-input-row {
  display: flex;
  gap: 8px;
}
.promo-input-row .input { flex: 1; }
.promo-apply-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding-left: 18px;
  padding-right: 18px;
}
.promo-msg {
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 500;
}
.promo-msg.ok  { color: #4ade80; }
.promo-msg.err { color: #ff6b5a; }

.qty-total-value {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============== Profile modal ============== */
.profile-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .profile-header { grid-template-columns: 1fr; text-align: center; }
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.profile-info { min-width: 0; }
.profile-name {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.profile-email { color: var(--text-mute); font-size: 14px; margin-top: 2px; }

.profile-balance {
  text-align: right;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(255, 60, 20, 0.16), rgba(255, 170, 58, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  min-width: 180px;
}

.profile-balance-label {
  font-size: 11.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.profile-balance-value {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 2px 0 8px;
  line-height: 1;
}

.profile-topup {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--grad-fire);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.profile-topup:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -4px rgba(255, 60, 20, 0.5);
}

.profile-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
}

.profile-tab {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
  background: none;
  border: none;
  transition: all .25s ease;
}

.profile-tab.active {
  background: var(--grad-fire);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(255, 60, 20, 0.5);
}

.profile-section { display: none; }
.profile-section.active { display: block; }

/* Order card in profile */
.order-card {
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color .25s;
}

.order-card:hover { border-color: var(--accent-line); }

.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.order-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.order-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.order-price {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.os-pending   { background: rgba(255, 170, 58, 0.18); color: #ffaa3a; }
.os-paid      { background: rgba(72, 200, 220, 0.15); color: #7cd0ee; }
.os-completed { background: rgba(72, 220, 100, 0.15); color: #6dd982; }
.os-cancelled { background: rgba(120, 120, 120, 0.15); color: var(--text-dim); }

.order-accounts {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.cred-block {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}

.cred-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 0; }
.cred-line span:first-child { color: var(--text-dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.cred-line .cred-val { color: var(--text); user-select: all; }

.cred-copy {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-mute);
  cursor: pointer;
  transition: all .15s;
}

.cred-copy:hover { color: var(--flame-3); border-color: var(--flame-2); }
.cred-copy.copied { background: rgba(72, 220, 100, 0.15); color: #6dd982; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ====================== CATALOG TOOLBAR ====================== */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.catalog-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  display: inline-flex;
  align-items: center;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input {
  padding: 11px 38px 11px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  width: 220px;
  transition: border-color .2s ease, background .2s ease, width .35s cubic-bezier(.22,.61,.36,1);
}

.search-input:focus {
  outline: none;
  border-color: var(--flame-2);
  background: rgba(255, 90, 50, 0.06);
  width: 260px;
}

.search-clear {
  position: absolute;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--surface-2);
  border: none;
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.search-clear:hover { background: rgba(255, 60, 20, 0.2); color: var(--flame-3); }

.catalog-sort {
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s;
}
.catalog-sort:hover { border-color: var(--border-strong); }
.catalog-sort:focus { outline: none; border-color: var(--flame-2); }

@media (max-width: 640px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-controls { flex-direction: column; }
  .search-wrap, .search-input { width: 100%; }
  .search-input:focus { width: 100%; }
  .catalog-sort { width: 100%; }
}

.loading, .empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-dim);
  font-size: 16px;
}

/* ====================== SKELETON LOADERS ====================== */
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.7; }
}

.sk {
  position: relative;
  background: linear-gradient(110deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.09) 40%, rgba(255,255,255,.04) 80%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite, skShimmer 2s linear infinite;
  border-radius: 8px;
}

@keyframes skShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-card .sk-media   { width: 100%; aspect-ratio: 16/10; border-radius: 0; }
.skeleton-card .sk-body    { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.skeleton-card .sk-line-lg { height: 22px; width: 70%; }
.skeleton-card .sk-line    { height: 14px; width: 100%; }
.skeleton-card .sk-line-sm { height: 14px; width: 50%; }
.skeleton-card .sk-row     { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.skeleton-card .sk-price   { height: 26px; width: 100px; }
.skeleton-card .sk-btn     { height: 36px; width: 88px; border-radius: 12px; }

.skeleton-row {
  height: 64px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(110deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.07) 40%, rgba(255,255,255,.03) 80%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite, skShimmer 2s linear infinite;
}

/* Account card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    border-color .35s ease,
    box-shadow .45s cubic-bezier(.22,.61,.36,1);
  cursor: pointer;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-fire-soft);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-pop);
}

/* rank-themed cards get a halo in their own rank colour on hover */
.card[data-rank]:hover {
  border-color: var(--rank-glow);
  box-shadow: var(--shadow-pop), 0 14px 44px -10px var(--rank-glow);
}

.card:hover::before { opacity: 1; }

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1d 0%, #111113 100%);
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}

.card:hover .card-media img { transform: scale(1.06); }

.card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #232328 0%, #161618 60%, #101012 100%);
}
.card-placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  font-size: 42px;
  background: radial-gradient(circle, rgba(255, 92, 26, 0.22), rgba(255, 92, 26, 0.04) 70%);
  box-shadow: 0 0 28px rgba(255, 92, 26, 0.22), inset 0 0 0 1px rgba(255, 140, 80, 0.18);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad-fire);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(255, 60, 20, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.card-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 4, 8, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  z-index: 2;
}

.card-body {
  padding: 22px;
  position: relative;
  z-index: 2;
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mute);
}

.meta-item b {
  color: var(--text);
  font-weight: 600;
}

/* in-stock status indicator (replaces emoji) */
.stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #46d27e;
  box-shadow: 0 0 8px rgba(70, 210, 126, 0.6);
  flex-shrink: 0;
}
.meta-stock.is-out { color: var(--text-dim); }
.meta-stock.is-out .stat-dot {
  background: var(--text-dim);
  box-shadow: none;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.card-price {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-new {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.card-cta {
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: all .2s ease;
}

.card:hover .card-cta {
  background: var(--grad-fire);
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(255, 60, 20, 0.5);
}

.card:active { transform: translateY(-3px) scale(0.992); }

/* ---- Shine sweep on hover ---- */
.card-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 75%;
  height: 100%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.13) 48%, rgba(255,255,255,0.2) 52%, transparent 70%);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 3;
}
.card:hover .card-shine { animation: cardShine 0.85s ease; }
@keyframes cardShine {
  from { left: -150%; }
  to   { left: 150%; }
}

/* ---- Sale / discount badge ---- */
.card-sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2e1f, #ff7a1a);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(255, 46, 31, 0.55);
  z-index: 2;
}
.card-badge + .card-sale-badge { top: 50px; }

/* ---- "NEW" badge for freshly added categories ---- */
.card-new-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fbf6b, #14a85a);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(20, 168, 90, 0.5);
  z-index: 2;
}
.card-new-badge + .card-rank { top: 48px; }

/* ---- Title row + favorite button ---- */
.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.card-title-row .card-title { margin-bottom: 0; }

.fav-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
.fav-btn svg { fill: none; stroke: currentColor; stroke-width: 2; transition: fill .18s ease; }
.fav-btn:hover { color: var(--flame-3); border-color: var(--border-strong); transform: scale(1.1); }
.fav-btn:active { transform: scale(0.9); }
.fav-btn.is-fav {
  color: var(--flame-2);
  border-color: var(--accent-line);
  background: rgba(255, 90, 40, 0.1);
}
.fav-btn.is-fav svg { fill: currentColor; }

/* ---- Discounted price row ---- */
.price-was {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 1px;
}
.price-discount {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-fire);
  padding: 1px 6px;
  border-radius: 5px;
}

/* Out-of-stock category card */
/* Out of stock — de-emphasise the text, but keep the rank medal vivid
   so the catalog still looks alive when stock is empty */
.card-out .card-media { filter: saturate(0.92) brightness(0.97); }
.card-out .card-title { color: var(--text-mute); }
.card-out .card-meta,
.card-out .card-price { opacity: 0.5; }
.card-out:hover {
  transform: none;
  box-shadow: none;
}
.card-out .card-cta {
  color: var(--text-dim);
}
.card-out:hover .card-cta {
  background: var(--surface-2);
  border-color: var(--border);
  box-shadow: none;
  color: var(--text-dim);
}

/* ====================== FEATURES ====================== */
.features {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    background .35s ease,
    border-color .35s ease;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  background: var(--surface-2);
  border-color: var(--accent-line);
  transform: translateY(-5px);
  box-shadow: 0 22px 46px -20px rgba(255, 90, 31, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--flame-3);
  margin-bottom: 20px;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 22px -8px rgba(255, 90, 31, 0.55);
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ====================== HOW IT WORKS ====================== */
.how-it-works {
  padding: 80px 0;
  position: relative;
}

.how-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.how-sub {
  color: var(--text-mute);
  font-size: 16px;
  margin-top: 14px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

@media (max-width: 980px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .how-grid { grid-template-columns: 1fr; }
}

.how-step {
  position: relative;
  padding: 28px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    border-color .35s ease,
    box-shadow .45s cubic-bezier(.22,.61,.36,1);
  overflow: hidden;
}

.how-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}

.how-step:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-pop);
}

.how-step:hover::before { transform: scaleX(1); }

.how-num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--flame-3);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.how-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-fire-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flame-3);
  margin-bottom: 18px;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}

.how-step:hover .how-icon {
  transform: scale(1.06);
}

.how-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.how-step p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
}

/* ====================== REVIEWS ====================== */
.reviews {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.reviews-score {
  text-align: right;
  flex-shrink: 0;
}

.reviews-stars {
  font-size: 22px;
  letter-spacing: 0.05em;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 120, 70, 0.4));
}

.reviews-score-text {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-mute);
}

.reviews-score-text b {
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.review-card {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    border-color .35s ease,
    box-shadow .45s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
  box-shadow: 0 22px 46px -22px rgba(255, 90, 31, 0.4);
}

.review-stars {
  font-size: 15px;
  letter-spacing: 0.06em;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.review-text {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 14px;
}

.review-meta {
  font-size: 12px;
  color: var(--text-dim);
}

/* ====================== FAQ ====================== */
.faq { padding: 80px 0; position: relative; z-index: 1; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}

.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] {
  border-color: var(--accent-line);
  background: var(--surface-2);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s ease;
}

.faq-item summary:hover,
.faq-item[open] summary { color: var(--flame-3); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 20px;
  font-weight: 300;
  color: var(--flame-2);
  transition: transform .3s cubic-bezier(.34,1.4,.5,1), background .2s ease, color .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(135deg);
  background: var(--grad-fire);
  border-color: transparent;
  color: #fff;
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-mute);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-item[open] p { animation: faqReveal .32s ease; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
}

/* ====================== FOOTER ====================== */
.site-footer {
  margin-top: 60px;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(10, 4, 8, 0.65);
  backdrop-filter: blur(20px);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--flame-2), transparent);
  opacity: 0.5;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-text {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background .22s ease,
    border-color .22s ease,
    color .22s ease,
    transform .22s cubic-bezier(.22,.61,.36,1);
}

.social-btn:hover {
  background: rgba(255, 60, 20, 0.12);
  border-color: var(--flame-2);
  color: var(--flame-3);
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-h {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--text-mute);
  transition: color .2s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--flame-2); }

.footer-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--flame-3);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* Payments row */
.footer-payments {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-payments-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pay-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-chip {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  transition: all .2s ease;
}

.pay-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* Bottom row */
.footer-bottom {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: var(--text-mute); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ====================== MODAL ====================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 4, 0.8);
  backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}

.modal-window {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-pop);
  animation: modalIn .35s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 4, 8, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 22px;
  line-height: 1;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform .25s cubic-bezier(.22,.61,.36,1),
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 60, 20, 0.18);
  border-color: var(--flame-2);
  color: var(--text);
  transform: rotate(90deg);
}

/* Auth modal needs extra top room so the close button doesn't overlap the tabs */
#authModal .modal-body { padding-top: 60px; }

.modal-body {
  padding: 32px;
}

.modal-media {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 9;
  background: var(--grad-fire-soft);
}

.modal-media img { width: 100%; height: 100%; object-fit: cover; }

.modal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

.modal-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all .2s ease;
}

.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-thumb.active {
  border-color: var(--flame-2);
  opacity: 1;
}

.modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.modal-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.modal-tag {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
}

.modal-tag b { color: var(--flame-3); }

.modal-tag-top {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--flame-3);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.modal-description {
  color: var(--text-mute);
  line-height: 1.7;
  margin-bottom: 24px;
  white-space: pre-wrap;
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.modal-price {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: all .2s ease;
}

/* Hide the native browser spinner on number inputs (we use custom controls / plain typing) */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

select.select option,
select.select optgroup {
  background: #160508;
  color: var(--text);
}
select.select optgroup {
  color: var(--flame-3);
  font-weight: 700;
}
select.select option:disabled {
  color: var(--text-dim);
}

/* Native dropdowns use an explicit dark palette for readable options. */
select { color-scheme: dark; }
select option, select optgroup { background-color: #241217; color: #f4e9e3; }
select option:disabled { color: #998881; }
select.select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--flame-2);
  background: rgba(255, 90, 50, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 90, 30, 0.15);
}

.textarea { resize: vertical; min-height: 100px; }

.btn-block { width: 100%; justify-content: center; }

/* ====================== TOAST ====================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--shadow-pop);
  z-index: 300;
  opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  max-width: 90%;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  border-color: rgba(255, 70, 60, 0.55);
  box-shadow: var(--shadow-pop);
}

/* ====================== LIGHTBOX ====================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 2, 4, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  animation: fadeIn .3s ease;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,170,80,0.15) inset;
  animation: lbImgIn .35s cubic-bezier(.22,.61,.36,1);
}

@keyframes lbImgIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(20, 6, 10, 0.7);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 28px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 60, 20, 0.18);
  border-color: var(--flame-2);
  color: var(--flame-3);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: rgba(20, 6, 10, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-mute);
  backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
  .lightbox { padding: 20px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ====================== STICKY MOBILE CTA ====================== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 90;
  padding: 14px 22px;
  background: var(--grad-fire);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 16px 40px -8px rgba(255, 60, 20, 0.5), 0 0 0 1px rgba(255,170,80,0.4) inset;
  align-items: center;
  gap: 10px;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .35s;
  opacity: 0;
}

.mobile-cta.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.mobile-cta-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 700;
}

.mobile-cta-arrow {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 768px) {
  .mobile-cta { display: inline-flex; }
}

/* ====================== FLOATING BUTTONS ====================== */
.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 240;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  position: relative;
  transition: transform .25s cubic-bezier(.34,1.5,.5,1), box-shadow .25s ease, color .2s ease, border-color .2s ease;
}
.fab svg { position: relative; z-index: 2; }
.fab:hover { transform: translateY(-3px) scale(1.06); }
.fab:active { transform: scale(0.94); }

.fab-support {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(34, 158, 217, 0.6);
  text-decoration: none;
}
.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #229ed9;
  z-index: 1;
  animation: fabPulse 2.8s ease-out infinite;
}
@keyframes fabPulse {
  0%        { transform: scale(1);   opacity: .5; }
  70%, 100% { transform: scale(1.75); opacity: 0; }
}
.fab-top {
  background: rgba(20, 8, 12, 0.92);
  border: 1px solid var(--border-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(12px) scale(0.8);
  pointer-events: none;
}
.fab-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-top:hover { color: var(--flame-3); border-color: var(--flame-2); }

@media (max-width: 768px) {
  .fab-stack { right: 14px; bottom: 14px; }
  .fab { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-pulse { animation: none; }
}

/* Leave room for the home indicator on phones with a safe-area inset. */
@media (max-width: 768px) {
  .fab-stack { bottom: max(14px, env(safe-area-inset-bottom)); }
  .activity-feed { bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* ====================== ACTIVITY FEED ====================== */
.activity-feed {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100% - 40px);
}

.activity-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: rgba(22, 22, 25, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-pop);
  font-size: 13.5px;
  color: var(--text);
  opacity: 0;
  transform: translateX(-30px);
  animation: activityIn .55s cubic-bezier(.22,.61,.36,1) forwards, activityOut .5s 5.5s cubic-bezier(.22,.61,.36,1) forwards;
  pointer-events: auto;
  max-width: 360px;
}

@keyframes activityIn {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes activityOut {
  to { opacity: 0; transform: translateX(-20px); }
}

.activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.activity-body { line-height: 1.35; min-width: 0; }
.activity-body b { color: var(--flame-3); }
.activity-time { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.activity-real {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0d3;
  background: rgba(0, 220, 80, 0.14);
  border: 1px solid rgba(0, 220, 80, 0.35);
  border-radius: 6px;
  vertical-align: 1px;
}

@media (max-width: 500px) {
  .activity-feed { left: 10px; bottom: 10px; }
  .activity-pill { max-width: calc(100vw - 20px); font-size: 12.5px; }
}

/* ====================== ADMIN ====================== */
.admin-wrap { padding: 40px 0; min-height: 100vh; }

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-head h1 {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.admin-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.admin-tab {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  transition: all .2s ease;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--grad-fire);
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(255, 60, 20, 0.5);
}

.admin-section { display: none; }
.admin-section.active { display: block; }

.admin-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 30px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
}

.admin-card {
  background: linear-gradient(180deg, rgba(40, 12, 18, 0.6), rgba(15, 6, 10, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.admin-card h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field-hint {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* native invalid state on inputs */
.input:not(:placeholder-shown):invalid {
  border-color: rgba(255, 80, 60, 0.5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.checkbox-row input { accent-color: var(--flame-2); width: 18px; height: 18px; }
.checkbox-row label { font-size: 14px; color: var(--text); text-transform: none; letter-spacing: 0; }

.file-drop {
  border: 2px dashed var(--border-strong);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: var(--text-mute);
  cursor: pointer;
  transition: all .2s ease;
  background: var(--surface);
}

.file-drop:hover, .file-drop.dragover {
  background: var(--surface-2);
  border-color: var(--flame-2);
  color: var(--text);
}

.file-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.file-chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-mute);
}

.admin-table {
  background: linear-gradient(180deg, rgba(40, 12, 18, 0.6), rgba(15, 6, 10, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.admin-table-head, .admin-row {
  display: grid;
  grid-template-columns: 60px 2fr 1fr 1fr 1fr 100px;
  gap: 12px;
  padding: 14px 20px;
  align-items: center;
  font-size: 14px;
}

.admin-table-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}

.admin-row {
  border-bottom: 1px solid var(--border);
  transition: background .15s ease;
}

.admin-row:hover { background: var(--surface); }
.admin-row:last-child { border-bottom: none; }

.row-thumb {
  width: 50px;
  height: 38px;
  border-radius: 8px;
  background: var(--grad-fire-soft);
  background-size: cover;
  background-position: center;
}

.row-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-available { background: rgba(72, 220, 100, 0.15); color: #6dd982; }
.status-sold { background: rgba(255, 60, 20, 0.18); color: var(--flame-3); }

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(255, 46, 31, 0.15);
  border-color: var(--flame-1);
  color: var(--flame-3);
}

/* Login overlay */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 3, 6, .78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: linear-gradient(180deg, #280c12, #0f060a);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: none;
  box-shadow: 0 40px 80px -20px rgba(255, 60, 20, 0.3);
}
.login-card .modal-close { top: 12px; right: 12px; backdrop-filter: none; -webkit-backdrop-filter: none; }

.login-card .logo {
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.login-card h1 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-card p {
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 24px;
}

.login-card .auth-switch { margin: 20px 0 0; font-size: 13px; }
.auth-consent { display:flex; align-items:flex-start; gap:9px; margin:2px 0 16px; color:var(--text-mute); font-size:11px; line-height:1.5; text-align:left; }
.auth-consent input { width:16px; height:16px; flex:none; margin-top:1px; accent-color:var(--accent); }
.auth-consent a { color:var(--flame-3); text-decoration:underline; text-underline-offset:2px; }
.auth-switch-button { padding: 0; border: 0; background: none; color: #ffad76; font: inherit; font-weight: 700; cursor: pointer; }
.auth-switch-button:hover { text-decoration: underline; }
.auth-switch-button:focus-visible { outline: 2px solid #ffad76; outline-offset: 4px; }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .header-inner { height: 64px; gap: 10px; }
  .logo-text { font-size: 17px; }
  .nav { position: relative; gap: 8px; font-size: 13.5px; }
  .nav > .nav-link, .nav > .mobile-auth-link { display: none !important; }
  .mobile-nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
  .mobile-nav-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .nav.mobile-open .mobile-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.mobile-open .mobile-nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.mobile-open .mobile-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav.mobile-open .nav-link, .nav.mobile-open .mobile-auth-link { display: inline-flex !important; position: absolute; right: 0; width: 190px; padding: 12px 14px; background: rgba(25,12,17,.98); border: 1px solid var(--border); box-shadow: 0 14px 35px rgba(0,0,0,.45); }
  .nav.mobile-open .nav-link:nth-of-type(1) { top: 48px; }
  .nav.mobile-open .nav-link:nth-of-type(2) { top: 94px; }
  .nav.mobile-open .nav-link:nth-of-type(3) { top: 140px; }
  .nav.mobile-open .nav-link:nth-of-type(4) { top: 186px; }
  .nav.mobile-open .mobile-auth-link[data-auth-open="login"] { top: 232px; }
  .nav.mobile-open .mobile-auth-link[data-auth-open="register"] { top: 278px; }
  .mobile-auth-link { border: 0; text-align: left; cursor: pointer; font: inherit; }
  .nav.mobile-open .mobile-auth-primary { color: #fff; background: var(--grad-fire); }
  .nav-divider { display: none; }
  .nav-user { max-width: 142px; gap: 6px; padding-right: 8px; }
  .nav-user > span:not(.balance):not(.chev), .nav-user .role-badge { display: none; }
  .nav-user .balance { max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
  .auth-slot { display: none; }
  .hero { padding: 70px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { padding: 20px; }
  .stat-num { font-size: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .modal-body { padding: 24px 20px; }
  .modal-title { font-size: 24px; }
  .modal-price { font-size: 28px; }
  .admin-head h1 { font-size: 26px; }
  .admin-table-head { display: none; }
  .admin-row {
    grid-template-columns: 60px 1fr 60px;
    grid-template-areas:
      'thumb title actions'
      'thumb meta actions';
  }
}

/* ====================== FANCY SELECT ====================== */
/* Custom animated dropdown that replaces the native <select>.
   The native element is kept (visually hidden) for value + events. */
.fancy-select {
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 0;
  font-size: 14px;
  -webkit-user-select: none;
  user-select: none;
  vertical-align: middle;
}
.fancy-select-sort { min-width: 218px; }

.fsel-native {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; border: 0;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
}

.fsel-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .28s ease, background .2s ease, transform .12s ease;
}
.fsel-trigger:hover { border-color: var(--border-strong); }
.fsel-trigger:active { transform: scale(.985); }
.fancy-select.open .fsel-trigger {
  border-color: var(--flame-2);
  background: rgba(255, 90, 50, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 90, 30, 0.15), var(--shadow-fire);
}

.fsel-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fsel-arrow {
  flex-shrink: 0;
  color: var(--text-mute);
  transition: transform .34s cubic-bezier(.34,1.56,.64,1), color .2s ease;
}
.fancy-select.open .fsel-arrow {
  transform: rotate(180deg);
  color: var(--flame-3);
}

.fsel-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: min(280px, 45vh);
  overflow-y: auto;
  z-index: 80;
  padding: 6px;
  background: rgba(24, 24, 27, 0.99);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.96);
  transform-origin: top center;
  transition: opacity .2s ease, transform .28s cubic-bezier(.34,1.3,.64,1), visibility .2s;
}
.fancy-select.open .fsel-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fsel-option {
  position: relative;
  padding: 10px 34px 10px 12px;
  border-radius: 9px;
  color: var(--text-mute);
  font-weight: 500;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0;
  /* hover only — kept separate from the entrance animation so it fires instantly */
  transition: background .12s ease, color .12s ease;
}
/* entrance is an animation (with its own stagger delay) so it never delays :hover */
.fancy-select.open .fsel-option {
  animation: fselOptIn .3s cubic-bezier(.22,.9,.32,1) both;
}
@keyframes fselOptIn {
  from { opacity: 0; transform: translateX(-7px); }
  to   { opacity: 1; transform: translateX(0); }
}
.fancy-select.open .fsel-option:nth-child(1) { animation-delay: .03s; }
.fancy-select.open .fsel-option:nth-child(2) { animation-delay: .06s; }
.fancy-select.open .fsel-option:nth-child(3) { animation-delay: .09s; }
.fancy-select.open .fsel-option:nth-child(4) { animation-delay: .12s; }
.fancy-select.open .fsel-option:nth-child(5) { animation-delay: .15s; }
.fancy-select.open .fsel-option:nth-child(6) { animation-delay: .18s; }
.fancy-select.open .fsel-option:nth-child(7) { animation-delay: .21s; }
.fancy-select.open .fsel-option:nth-child(8) { animation-delay: .24s; }
.fancy-select.open .fsel-option:nth-child(n+9) { animation-delay: .27s; }

.fsel-option:hover {
  background: rgba(255, 90, 40, 0.13);
  color: var(--text);
}
.fsel-option.selected {
  color: var(--flame-3);
  background: rgba(255, 90, 40, 0.1);
  font-weight: 600;
}
/* checkmark on the selected option */
.fsel-option.selected::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 5px;
  height: 10px;
  border: solid var(--flame-3);
  border-width: 0 2px 2px 0;
  transform: translateY(-65%) rotate(45deg);
}
.fsel-option.disabled {
  opacity: .38;
  cursor: not-allowed;
}
.fsel-trigger:disabled { opacity: .5; cursor: not-allowed; }
.fancy-select.open { z-index: 90; }
.fsel-option.disabled:hover { background: transparent; color: var(--text-mute); }

@media (prefers-reduced-motion: reduce) {
  .fsel-panel,
  .fsel-arrow { transition-duration: .01ms !important; }
  .fancy-select.open .fsel-option { animation-duration: .01ms !important; }
}

@media (max-width: 640px) {
  .fancy-select-sort { width: 100%; display: block; }
}

/* ====================== CUSTOM SCROLLBAR ====================== */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 92, 26, 0.55) transparent;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--flame-2), var(--flame-1));
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--flame-3), var(--flame-2));
}
::selection {
  background: rgba(255, 92, 26, 0.32);
  color: #fff;
}

/* ====================== RANK MEDALS ====================== */
/* Per-rank accent colour — each rank gets its own glow */
[data-rank]              { --rank-glow: rgba(255, 92, 26, 0.40); }
[data-rank="herald"]     { --rank-glow: rgba(184, 126, 78, 0.44); }
[data-rank="stradj"]     { --rank-glow: rgba(142, 168, 98, 0.42); }
[data-rank="knight"]     { --rank-glow: rgba(166, 186, 216, 0.46); }
[data-rank="hero"]       { --rank-glow: rgba(60, 188, 166, 0.44); }
[data-rank="legend"]     { --rank-glow: rgba(184, 104, 216, 0.46); }
[data-rank="vlastelin"]  { --rank-glow: rgba(72, 192, 222, 0.46); }
[data-rank="divine"]     { --rank-glow: rgba(98, 142, 240, 0.48); }
[data-rank="titan"]      { --rank-glow: rgba(245, 186, 72, 0.50); }
[data-rank="titan_up"]   { --rank-glow: rgba(250, 212, 96, 0.52); }
[data-rank="top_1_titan"]{ --rank-glow: rgba(250, 142, 72, 0.54); }

@keyframes rankGlowPulse {
  0%, 100% { opacity: .55; transform: scale(.88); }
  50%      { opacity: 1;   transform: scale(1.12); }
}
/* float uses the standalone `translate` property so it composes with hover scale */
@keyframes rankFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -7px; }
}

/* Rank medal shown as the catalog card image (when there's no photo) */
.card-rank-medal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 52% at 50% 46%, rgba(255, 255, 255, 0.10), transparent 72%),
    linear-gradient(160deg, #2b2b31 0%, #18181b 56%, #101012 100%);
}
.card-rank-medal::before {
  content: '';
  position: absolute;
  inset: -22%;
  background: radial-gradient(circle at 50% 47%, var(--rank-glow), transparent 58%);
  animation: rankGlowPulse 4.6s ease-in-out infinite;
}
/* glowing pedestal the medal floats above */
.card-rank-medal::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 56%;
  height: 13px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--rank-glow), transparent 72%);
  filter: blur(4px);
  opacity: 0.9;
}
.card-rank-medal img {
  position: relative;
  width: auto;
  height: 98%;
  max-width: 86%;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 24px var(--rank-glow))
    saturate(1.12) brightness(1.05);
  animation: rankFloat 5s ease-in-out infinite;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.card:hover .card-rank-medal img { transform: scale(1.09); }

/* Small rank badge in the corner when the card has its own photo */
.card-media .card-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 9px var(--rank-glow));
  z-index: 2;
}
.card:hover .card-media .card-rank-badge { transform: none; }

/* Rank medal inside the product modal */
.modal-rank-medal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 60% at 50% 48%, rgba(255, 255, 255, 0.06), transparent 72%);
}
.modal-rank-medal::before {
  content: '';
  position: absolute;
  inset: -14%;
  background: radial-gradient(circle at 50% 48%, var(--rank-glow), transparent 60%);
  animation: rankGlowPulse 4.6s ease-in-out infinite;
}
.modal-rank-medal img {
  position: relative;
  width: auto;
  height: 90%;
  max-width: 68%;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 26px var(--rank-glow))
    saturate(1.1) brightness(1.04);
  animation: rankFloat 5.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .card-rank-medal::before,
  .modal-rank-medal::before,
  .card-rank-medal img,
  .modal-rank-medal img { animation: none; }
}

/* ====================== MMR BOOST PAGE ====================== */
.boost-hero {
  padding: 28px 0 14px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.boost-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 7vw, 66px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
}
.boost-sub {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.6;
}
.boost-section { padding: 4px 0 90px; position: relative; z-index: 1; }
.boost-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px) {
  .boost-grid { grid-template-columns: 1fr; }
  .boost-hero { padding-top: 24px; }
}
.boost-card {
  background: linear-gradient(160deg, rgba(40,12,18,0.6), rgba(15,6,10,0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
}
.boost-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
}
.boost-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  margin: 10px 0 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
}
.boost-price-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-mute);
  font-weight: 600;
}
.boost-price-hint { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.boost-price-value {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.boost-success { text-align: center; padding: 16px 6px; }
.boost-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--flame-3);
}
.boost-success h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.boost-success p { color: var(--text-mute); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.boost-success b { color: var(--flame-3); }
.boost-success-price { font-size: 15px; margin-bottom: 20px; }
.boost-aside { display: flex; flex-direction: column; gap: 18px; }
.boost-aside-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}
.boost-steps {
  list-style: none;
  counter-reset: bs;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.boost-steps li {
  counter-increment: bs;
  position: relative;
  padding-left: 40px;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
}
.boost-steps li b { color: var(--text); }
.boost-steps li::before {
  content: counter(bs);
  position: absolute;
  left: 0;
  top: -2px;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--grad-fire);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}
.boost-perks { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px; }
.boost-perk {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.boost-perk svg { color: var(--flame-3); flex-shrink: 0; }
.boost-become {
  display: block;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}
.boost-become:hover { transform: translateY(-2px); border-color: var(--flame-2); }
.boost-become b { display: block; color: var(--flame-3); font-size: 15px; margin-bottom: 3px; }
.boost-become span { font-size: 13px; color: var(--text-mute); }

/* ---- Boost mode (solo / duo) selector ---- */
.boost-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.boost-mode-opt { position: relative; cursor: pointer; }
.boost-mode-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bmo-body {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.boost-mode-opt:hover .bmo-body { border-color: var(--border-strong); }
.boost-mode-opt input:checked + .bmo-body {
  border-color: var(--flame-2);
  background: rgba(255, 90, 50, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 90, 30, 0.13);
}
.bmo-title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 3px;
}
.bmo-desc { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.bmo-tag { font-size: 11px; font-weight: 700; color: var(--flame-3); }
@media (max-width: 420px) {
  .boost-mode { grid-template-columns: 1fr; }
}

/* ---- Solo/Duo mode tag (order rows) ---- */
.mode-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: var(--grad-fire);
  padding: 2px 6px;
  border-radius: 5px;
  vertical-align: 1px;
}
.mode-tag-solo {
  background: var(--surface-2);
  color: var(--text-mute);
  border: 1px solid var(--border);
}
@keyframes pricePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.boost-price-value.pulse { animation: pricePulse .35s ease; }

/* ---- Become-a-booster card on /boost ---- */
.boost-become-lead {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
  margin-bottom: 16px;
}
#becomeForm { margin-top: 6px; }

/* ====================== BOOSTER PAGE ====================== */
.booster-page {
  max-width: 880px;
  padding-top: 32px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}
.booster-head { margin-bottom: 28px; }
.booster-page-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
}
.booster-page-sub {
  color: var(--text-mute);
  font-size: 15px;
  max-width: 540px;
  line-height: 1.55;
}
.booster-gate {
  text-align: center;
  padding: 64px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.booster-gate-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: var(--grad-fire-soft);
  border: 1px solid var(--accent-line);
  color: var(--flame-3);
}
.booster-gate h2 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}
.booster-gate p {
  color: var(--text-mute);
  font-size: 14.5px;
  max-width: 420px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.mode-tag-solo {
  background: var(--surface-2);
  color: var(--text-mute);
  border-color: var(--border);
}

/* ====================== MULTI-GAME ACCOUNTS HUB ====================== */
.accounts-page main { position: relative; z-index: 1; }
.accounts-hero { padding: 148px 0 54px; text-align: center; }
.accounts-hero h1 { margin: 14px auto 14px; max-width: 760px; font: 700 clamp(42px, 7vw, 76px)/1.02 'Inter', sans-serif; letter-spacing: -.045em; }
.accounts-hero p { max-width: 560px; margin: 0 auto 30px; color: var(--text-mute); font-size: 16px; line-height: 1.6; }
.game-search { display: flex; align-items: center; gap: 12px; max-width: 620px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 16px; background: rgba(30, 30, 34, .8); box-shadow: 0 14px 40px rgba(0,0,0,.22); }
.game-search > span { color: var(--flame-3); display:flex; }
.game-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; }
.game-search button { border:0; background:transparent; color:var(--text-dim); font-size:24px; cursor:pointer; }
.games-section { padding: 12px 0 72px; }
.games-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.game-tile { position:relative; min-height: 178px; display:flex; flex-direction:column; align-items:flex-start; gap:14px; padding:22px; overflow:hidden; text-align:left; border:1px solid var(--border); border-radius:20px; color:var(--text); background:linear-gradient(150deg, rgba(40,40,45,.92), rgba(21,21,24,.94)); cursor:pointer; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.game-tile::after { content:''; position:absolute; width:130px; height:130px; right:-42px; top:-44px; border-radius:50%; background:radial-gradient(circle, rgba(255,92,26,.3), transparent 68%); }
.game-tile:hover, .game-tile.active { transform:translateY(-5px); border-color:var(--flame-2); box-shadow: 0 16px 34px rgba(255,75,26,.14); }
.game-tile-icon { font-size:34px; line-height:1; }
.game-tile-body { display:flex; flex-direction:column; gap:5px; }
.game-tile-body b { font:700 20px 'Inter',sans-serif; }
.game-tile-body small { color:var(--text-mute); font-size:12px; line-height:1.4; }
.game-tile-stock { margin-top:auto; color:var(--flame-3); font-size:12px; font-weight:600; }
.game-tile-arrow { position:absolute; right:18px; bottom:16px; color:var(--text-dim); font-size:20px; }
.account-products { padding: 18px 0 90px; }
.account-products[hidden] { display:none; }
.product-toolbar { justify-content:flex-end; margin-bottom:22px; }
.product-search { width:min(420px,100%); }
.configurable-card { transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.configurable-card:hover { border-color:var(--flame-2); box-shadow: 0 18px 40px rgba(255,75,26,.12); }
.configurable-card.accent-ice { --flame-2:#5cbaff; --flame-3:#9cddff; }
.configurable-card.accent-violet { --flame-2:#9b6cff; --flame-3:#cfb7ff; }
.card-config-subtitle { min-height:38px; margin: 8px 0 12px; color:var(--text-mute); font-size:13px; line-height:1.45; }
.product-card-emoji { font-size: 64px; filter: drop-shadow(0 10px 20px rgba(255,100,30,.22)); }
.footer-bottom { display:flex; justify-content:space-between; gap:12px; padding:24px 0; color:var(--text-dim); font-size:12px; }
.hub-page main { position: relative; z-index: 1; }
.hub-hero { padding: 174px 0 110px; text-align:center; }
.hub-hero h1 { margin: 18px auto 16px; font:700 clamp(46px,8vw,88px)/1.02 'Inter',sans-serif; letter-spacing:-.05em; }
.hub-hero p { max-width:560px; margin:0 auto 30px; color:var(--text-mute); font-size:17px; line-height:1.65; }
.hub-hero .hero-actions { justify-content:center; }
.hub-services { padding: 0 0 92px; }
.service-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:15px; }
.hub-page .service-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.service-card { min-height:220px; display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding:28px; border:1px solid var(--border); border-radius:22px; background:linear-gradient(145deg,rgba(36,36,41,.9),rgba(19,19,22,.95)); color:var(--text); text-decoration:none; transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.service-card:hover { transform:translateY(-5px); border-color:var(--flame-2); box-shadow:0 18px 42px rgba(255,75,26,.13); }
.service-card-main { background:linear-gradient(145deg,rgba(75,25,25,.9),rgba(23,17,22,.96)); }
.service-card-vpn { background:linear-gradient(145deg,rgba(53,24,44,.92),rgba(22,14,24,.96)); }
.service-icon { font-size:38px; line-height:1; }
.service-copy { display:flex; flex-direction:column; gap:8px; }
.service-copy b { font:700 24px 'Inter',sans-serif; }
.service-copy small { max-width:320px; color:var(--text-mute); font-size:13px; line-height:1.55; }
.service-link { margin-top:auto; color:var(--flame-3); font-size:13px; font-weight:700; }
.hub-rental { padding: 58px 0 110px; }
.hub-rental .container { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:32px; border:1px solid var(--border); border-radius:22px; background:rgba(30,30,34,.6); }
.hub-rental p { color:var(--text-mute); margin-top:10px; }
@media (max-width: 1100px) { .hub-page .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 800px) { .hub-hero { padding-top:125px; } .service-grid,.hub-page .service-grid { grid-template-columns:1fr; } .service-card { min-height:180px; } .hub-rental .container { flex-direction:column; align-items:flex-start; } }
@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .accounts-hero { padding-top:110px; } .games-grid { grid-template-columns:1fr; } .game-tile { min-height:145px; } .footer-bottom { flex-direction:column; } }

/* ====================== BOOST SERVICE TYPES ====================== */
.boost-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.boost-type-opt { position: relative; cursor: pointer; }
.boost-type-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.boost-type-opt span {
  display: block;
  text-align: center;
  padding: 12px 6px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.boost-type-opt:hover span { border-color: var(--border-strong); color: var(--text); }
.boost-type-opt input:checked + span {
  background: var(--accent-soft);
  border-color: var(--flame-2);
  color: var(--flame-3);
}

/* ====================== BOOSTER PANEL TABS ====================== */
.booster-tabs {
  display: flex;
  gap: 4px;
  margin: 24px 0 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.booster-tab {
  padding: 11px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
  margin-bottom: -1px;
}
.booster-tab:hover { color: var(--text); }
.booster-tab.active {
  color: var(--flame-3);
  border-bottom-color: var(--flame-2);
}

/* ====================== EMBER HOME ====================== */
/* The home page leads with a real product-shaped preview instead of a
   generic centred slogan. These selectors are deliberately scoped so the
   service pages keep their own layouts. */
.hub-page .hub-hero {
  padding: 112px 0 92px;
  text-align: left;
  overflow: visible;
}

.hub-page .hub-hero::before {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  top: -480px;
  right: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 97, 42, .16) 0%, rgba(255, 97, 42, .045) 35%, transparent 68%);
  pointer-events: none;
}

.hub-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
}

.hub-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hub-page .hero-badge {
  margin-bottom: 20px;
  padding: 7px 11px;
  border-color: rgba(255, 157, 116, .28);
  background: rgba(255, 105, 55, .07);
  color: #d7cbc7;
  font-size: 12px;
}

.hub-page .hub-hero h1 {
  max-width: 680px;
  margin: 0 0 19px;
  padding: .12em 0 .08em;
  font: 700 clamp(48px, 5.6vw, 80px)/1.08 'Inter', sans-serif;
  letter-spacing: -.065em;
}

.hub-page .hub-hero p {
  max-width: 560px;
  margin: 0;
  color: #aaa5a4;
  font-size: 16px;
  line-height: 1.72;
}

.hub-page .hub-hero .hero-actions {
  align-items: center;
  justify-content: flex-start;
  margin: 31px 0 24px;
}

.hub-page .btn {
  border-radius: 10px;
}

.hub-page .btn-primary {
  box-shadow: 0 12px 28px -13px rgba(255, 81, 31, .68);
}

.hub-page .btn-primary .ic,
.hub-text-link .ic,
.service-link .ic,
.hero-product-bottom .ic {
  width: 16px;
  height: 16px;
}

.hub-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 2px;
  color: #c7c0be;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease, gap .2s ease;
}

.hub-text-link:hover {
  gap: 11px;
  color: var(--flame-3);
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: #817b7a;
  font-size: 11.5px;
  font-weight: 500;
}

.hero-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-assurances .ic {
  width: 14px;
  height: 14px;
  color: var(--flame-3);
}

.hero-product {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 102, 49, .11), transparent 42%),
    linear-gradient(155deg, rgba(31, 31, 35, .97), rgba(15, 15, 18, .98));
  box-shadow: 0 32px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .018) inset;
}

.hero-product::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 16px -18px -18px 22px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 20px;
  pointer-events: none;
}

.hero-product-top,
.hero-product-bottom,
.hero-product-body,
.hero-product-stats {
  position: relative;
  z-index: 1;
}

.hero-product-top,
.hero-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-product-game,
.hero-product-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}

.hero-product-game {
  color: #e5dfdc;
}

.hero-product-game img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hero-product-live {
  color: #9f9996;
  font-size: 10px;
  font-weight: 600;
}

.hero-product-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7bcf84;
  box-shadow: 0 0 8px rgba(123, 207, 132, .55);
}

.hero-product-body {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 31px 0 28px;
}

.hero-rank-wrap {
  display: grid;
  flex: 0 0 106px;
  width: 106px;
  height: 106px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 155, 99, .2);
  border-radius: 15px;
  background: radial-gradient(circle, rgba(255, 120, 48, .18), transparent 68%), #131215;
}

.hero-rank-wrap img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .55));
}

.hero-product-label {
  display: block;
  margin-bottom: 5px;
  color: #a39b98;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-product h2 {
  margin: 0 0 5px;
  font: 700 clamp(22px, 2.4vw, 29px)/1.05 'Inter', sans-serif;
  letter-spacing: -.04em;
}

.hero-product-body p {
  margin: 0;
  color: #8f8987;
  font-size: 11px;
  line-height: 1.5;
}

.hero-product-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero-product-stats span {
  display: grid;
  gap: 3px;
  padding: 14px 11px;
}

.hero-product-stats span + span {
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.hero-product-stats b {
  color: #f1edeb;
  font: 700 16px/1 'Inter', sans-serif;
}

.hero-product-stats small,
.hero-product-bottom small {
  color: #837d7b;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-product-bottom small {
  display: block;
  margin-bottom: 2px;
}

.hero-product-bottom strong {
  color: #ffbc83;
  font: 700 20px/1.1 'Inter', sans-serif;
  letter-spacing: -.04em;
}

.hero-product-bottom a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 155, 99, .42);
  border-radius: 10px;
  color: #ffd2b1;
  transition: background .2s ease, transform .2s ease;
}

.hero-product-bottom a:hover {
  background: rgba(255, 107, 52, .12);
  transform: translateX(2px);
}

.hub-page .hub-services {
  padding: 0 0 110px;
}

.hub-page .section-head {
  align-items: flex-end;
  margin-bottom: 27px;
}

.hub-page .section-head p {
  max-width: 250px;
  margin: 0 0 2px;
  color: #87817f;
  font-size: 13px;
  line-height: 1.55;
}

.hub-page .section-title {
  letter-spacing: -.05em;
}

.hub-page .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hub-page .service-card {
  position: relative;
  min-height: 194px;
  gap: 15px;
  padding: 20px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: #151518;
}

.hub-page .service-card::after {
  content: '';
  position: absolute;
  inset: auto -16% -58% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 104, 49, .11), transparent 68%);
  pointer-events: none;
}

.hub-page .service-card:hover {
  border-color: rgba(255, 144, 84, .45);
  background: #19181b;
  box-shadow: 0 20px 42px -28px rgba(0, 0, 0, .9);
}

.hub-page .service-card-main {
  background: linear-gradient(145deg, #211715, #151518 63%);
}

.service-card-index {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #6d6663;
  font: 600 11px 'Inter', sans-serif;
}

.hub-page .service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 173, 123, .22);
  border-radius: 10px;
  background: rgba(255, 99, 42, .06);
  color: #ffb176;
}

.hub-page .service-icon .ic {
  width: 21px;
  height: 21px;
}

.hub-page .service-copy {
  gap: 6px;
}

.hub-page .service-copy b {
  font-size: 18px;
}

.hub-page .service-copy small {
  color: #938d8a;
  font-size: 12px;
  line-height: 1.52;
}

.hub-page .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffc090;
}

.hub-page .hub-process {
  padding: 0 0 106px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  gap: 14px 13px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(31, 29, 31, .82), rgba(17, 17, 20, .84));
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.process-list li + li {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.process-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 144, 84, .42);
  background: linear-gradient(145deg, rgba(39, 29, 29, .9), rgba(18, 17, 20, .9));
}

.process-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  grid-column: 1;
  grid-row: 1;
  border: 1px solid rgba(255, 173, 123, .24);
  border-radius: 10px;
  color: #ffad77;
  background: rgba(255, 99, 42, .08);
}

.process-icon .ic {
  width: 19px;
  height: 19px;
}

.process-number {
  position: absolute;
  top: 24px;
  right: 20px;
  color: #ffad77;
  font: 700 12px 'Inter', sans-serif;
}

.process-list li > div {
  grid-column: 1 / -1;
}

.process-list h3 {
  margin: 0 0 7px;
  font: 700 17px 'Inter', sans-serif;
  letter-spacing: -.03em;
}

.process-list p {
  margin: 0;
  color: #8c8582;
  font-size: 12px;
  line-height: 1.55;
}

.product-platform-mark {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #ffb176;
}

.product-platform-mark .platform-icon {
  filter: drop-shadow(0 10px 24px rgba(255, 92, 35, .22));
}

.game-tile-icon .platform-icon {
  color: #ffb176;
}

.hub-final {
  padding: 0 0 84px;
}

.hub-final .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 44px;
  padding-bottom: 44px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.hub-final .eyebrow {
  margin-bottom: 7px;
}

.hub-final h2 {
  margin: 0;
  font: 700 clamp(28px, 4vw, 47px)/.98 'Inter', sans-serif;
  letter-spacing: -.055em;
}

.hub-page .features,
.hub-page .hub-rental {
  display: none;
}

@media (max-width: 960px) {
  .hub-page .hub-hero { padding: 95px 0 80px; }
  .hub-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(330px, .68fr); gap: 40px; }
  .hub-page .hub-hero h1 { font-size: clamp(46px, 6vw, 65px); }
  .hero-product { padding: 18px; }
  .hero-rank-wrap { flex-basis: 82px; width: 82px; height: 82px; }
  .hero-rank-wrap img { width: 74px; height: 74px; }
  .hero-product-body { gap: 14px; margin: 24px 0; }
  .hero-product-stats span { padding: 12px 8px; }
}

@media (max-width: 760px) {
  .hub-page .hub-hero { padding: 78px 0 66px; }
  .hub-hero-layout { grid-template-columns: 1fr; gap: 42px; }
  .hub-page .hub-hero h1 { font-size: clamp(43px, 12vw, 61px); }
  .hero-product { width: min(100%, 510px); }
  .hub-page .service-grid,
  .process-list { grid-template-columns: 1fr; }
  .hub-page .service-card { min-height: 192px; }
  .process-list li,
  .process-list li + li { min-height: 0; padding: 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
  .hub-final .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .hub-page .hub-hero { padding-top: 54px; }
  .hub-page .hero-badge { margin-bottom: 17px; }
  .hub-page .hub-hero h1 { font-size: clamp(40px, 11.5vw, 53px); }
  .hub-page .hub-hero p { font-size: 14px; }
  .hub-page .hub-hero .hero-actions { align-items: flex-start; flex-direction: column; margin-top: 25px; }
  .hub-page .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-assurances { display: grid; gap: 7px; }
  .hero-product { padding: 17px; border-radius: 16px; }
  .hero-product::after { display: none; }
  .hero-product-body { align-items: flex-start; }
  .hero-rank-wrap { flex-basis: 74px; width: 74px; height: 74px; }
  .hero-rank-wrap img { width: 67px; height: 67px; }
  .hero-product h2 { font-size: 21px; }
  .hero-product-stats b { font-size: 14px; }
  .hub-page .section-head { display: block; }
  .hub-page .section-head p { margin-top: 12px; }
  .hub-page .hub-services { padding-bottom: 76px; }
  .hub-page .hub-process { padding-bottom: 74px; }
  .hub-final { padding-bottom: 58px; }
  .hub-final .container { padding-top: 32px; padding-bottom: 32px; }
}

/* Simple, direct home hero: one offer, one sentence, two clear actions. */
.hub-page .hub-hero {
  position: relative;
  padding: 92px 0 78px;
  text-align: center;
  isolation: isolate;
}

.hub-page .hub-hero::before {
  top: -510px;
  right: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(50%);
  background: radial-gradient(circle, rgba(255, 97, 42, .18) 0%, rgba(255, 97, 42, .055) 37%, transparent 69%);
}

.hub-page .hub-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 35px;
  left: 50%;
  width: min(720px, 82vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255, 255, 255, .012), 0 0 0 104px rgba(255, 255, 255, .009);
  pointer-events: none;
}

.hub-page .hub-hero-layout {
  display: flex;
  justify-content: center;
}

.hub-page .hub-hero-copy {
  max-width: 850px;
  text-align: center;
}

.hub-page .hero-badge {
  margin-bottom: 22px;
  padding: 8px 13px;
  border-color: rgba(255, 156, 108, .24);
  background: rgba(255, 103, 51, .065);
  color: #d1c2bc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.hub-page .hub-hero h1 {
  max-width: 850px;
  margin: 0 auto 21px;
  font-size: clamp(52px, 7vw, 82px);
  line-height: .99;
  letter-spacing: -.067em;
}

.hub-page .hub-hero p {
  max-width: 635px;
  margin: 0 auto;
  color: #aaa4a2;
  font-size: 16px;
  line-height: 1.7;
}

.hub-page .hub-hero .hero-actions {
  justify-content: center;
  gap: 11px;
  margin: 28px 0 0;
}

.hub-page .hub-hero .btn {
  min-height: 50px;
  padding: 13px 19px;
  font-size: 14px;
}

.hub-page .hub-hero .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .025);
  backdrop-filter: none;
}

.hub-page .hub-hero .btn-primary {
  background: linear-gradient(125deg, #ff713c, #f34f2c);
  box-shadow: 0 10px 34px -16px rgba(255, 94, 44, .72);
}

.hub-page .hub-hero .btn-primary:hover {
  background: linear-gradient(125deg, #ff8659, #f35d3d);
  box-shadow: 0 13px 34px -15px rgba(255, 94, 44, .75);
}

.hub-page .hub-hero .btn-ghost:hover {
  border-color: rgba(255, 160, 110, .45);
  background: rgba(255, 111, 62, .07);
}

.hero-games {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.hero-games-label {
  margin-right: 3px;
  color: #77716f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-games a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  color: #c9c3c0;
  font-size: 11px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.hero-games a:hover {
  border-color: rgba(255, 158, 106, .35);
  background: rgba(255, 112, 59, .07);
  color: #fff;
}

.hero-games img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.hub-page .hub-services {
  padding-top: 23px;
}

.hub-page .hub-services .section-head {
  margin-bottom: 24px;
}

.hub-page .hub-services .eyebrow,
.hub-page .hub-process .eyebrow {
  font-size: 10px;
  letter-spacing: .16em;
}

.hub-page .service-card {
  min-height: 198px;
  border-radius: 13px;
  background: linear-gradient(145deg, #171719, #111113);
  box-shadow: 0 16px 42px -36px rgba(0, 0, 0, .9);
}

.hub-page .service-card-main {
  background: linear-gradient(145deg, rgba(93, 42, 27, .42), #151416 68%);
}

.hub-page .service-copy b {
  max-width: 300px;
  font-size: 18px;
  line-height: 1.2;
}

.hub-page .service-copy small { max-width: 310px; font-size: 12px; }

@media (max-width: 760px) {
  .hub-page .hub-hero {
    padding: 78px 0 64px;
  }

  .hub-page .hub-hero-copy {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hub-page .hub-hero {
    padding: 54px 0 52px;
  }

  .hub-page .hub-hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 9.5vw, 48px);
    letter-spacing: -.075em;
  }

  .hub-page .hero-badge { max-width: 100%; white-space: normal; text-align: center; }
  .hub-page .hero-art-label { max-width: 100%; white-space: normal; text-align: center; }

  .hub-page .hub-hero p {
    max-width: 410px;
    font-size: 14px;
  }

  .hub-page .hub-hero .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hub-page .hub-hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-games {
    margin-top: 22px;
  }

  .hero-games-label {
    display: none;
  }

  .hub-page .service-card {
    min-height: 190px;
  }
}
.bt-count {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 700;
  margin-left: 3px;
}
.booster-tab.active .bt-count { background: var(--accent-soft); color: var(--flame-3); }
.booster-tab-panel { display: none; }
.booster-tab-panel.active { display: block; }

/* Home page: a clean, text-led entry point with a compact service chooser. */
.hub-page .hub-hero {
  padding: clamp(86px, 12vw, 150px) 0 92px;
  text-align: center;
}
.hub-page .hub-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  max-width: 1120px;
}
.hub-page .hub-hero-copy { max-width: 670px; margin: 0; }
.hub-page .hub-hero h1 { margin: 0 0 22px; }
.hub-page .hub-hero p { margin: 0; max-width: 560px; }
.hub-page .hub-hero .hero-actions { display:grid; grid-template-columns:repeat(2,minmax(0,240px)); justify-content:start; gap:12px; margin:32px 0 0; }
.hub-page .hub-hero .hero-actions .btn { position:relative; width:100%; min-height:50px; justify-content:center; padding:13px 42px 13px 18px; text-align:center; }
.hub-page .hub-hero .hero-actions .btn [data-icon] { position:absolute; right:15px; top:50%; display:flex; transform:translateY(-50%); }
.hub-page .hub-services { padding: 0 0 84px; }
.hub-page .service-grid { gap: 16px; }
.hub-page .service-card {
  min-height: 198px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.016));
}
.hub-page .service-card-main { background: linear-gradient(155deg, rgba(255,90,31,.11), rgba(255,255,255,.018)); }
.hub-page .service-icon { color: var(--flame-3); }
.hub-page .service-copy b { font-size: 20px; letter-spacing: -.025em; }
.hub-page .service-copy small { font-size: 13px; }
.hub-page .service-link { display: inline-flex; align-items: center; gap: 8px; }
.hub-page .service-link .ic { width: 15px; height: 15px; }
.hub-page .footer-bottom { align-items: center; border-top: 1px solid var(--border); }
.hub-page .footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.hub-page .footer-links a { color: var(--text-mute); transition: color .2s ease; }
.hub-page .footer-links a:hover { color: var(--text); }
@media (max-width: 800px) {
  .hub-page .hub-hero { padding: 94px 0 68px; }
  .hub-page .hub-hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .hub-page .hub-hero-copy { text-align: center; margin: 0 auto; }
  .hub-page .hub-hero p { margin: 0 auto; }
  .hub-page .hub-hero .hero-actions { grid-template-columns:repeat(2,minmax(0,240px)); justify-content:center; }
  .hub-page .hub-hero-art { width: min(100%, 520px); margin: 0 auto; }
  .hub-page .hub-services { padding-bottom: 62px; }
  .hub-page .service-grid { grid-template-columns: 1fr; }
  .hub-page .service-card { min-height: 190px; }
}
@media (max-width: 560px) {
  .hub-page .hub-hero .hero-actions { grid-template-columns:minmax(0,1fr); justify-content:stretch; }
  .hub-page .hub-hero .hero-actions .btn { width: 100%; justify-content: center; }
  .hub-page .footer-bottom { align-items: flex-start; }
  .hub-page .footer-links { gap: 12px 18px; }
}

.hub-hero-art { position:relative; min-height:340px; isolation:isolate; display:flex; align-items:center; justify-content:center; }
.hub-hero-art::before { content:""; position:absolute; z-index:-2; width:310px; height:310px; border-radius:50%; background:radial-gradient(circle,rgba(255,100,56,.22),rgba(255,100,56,.04) 58%,transparent 72%); filter:blur(10px); }
.hero-orbit { position:absolute; border:1px solid rgba(255,255,255,.08); border-radius:50%; transform:rotate(-22deg); }
.hero-orbit-one { width:390px; height:185px; }
.hero-orbit-two { width:320px; height:260px; transform:rotate(40deg); border-color:rgba(255,111,71,.13); }
.hero-art-label { position:absolute; top:12px; left:50%; transform:translateX(-50%); color:#9ca4ab; font:600 10px 'Inter',sans-serif; letter-spacing:.2em; white-space:nowrap; }
.hero-game-card { position:absolute; display:flex; align-items:center; gap:14px; width:240px; padding:14px 16px; border:1px solid rgba(255,255,255,.12); border-radius:14px; background:linear-gradient(145deg,rgba(27,31,36,.96),rgba(15,17,20,.96)); box-shadow:0 18px 45px rgba(0,0,0,.36); transition:transform .2s,border-color .2s; }
.hero-game-card:hover { transform:translateY(-3px); border-color:rgba(255,117,73,.55); }
.hero-game-card img { width:46px; height:46px; object-fit:contain; filter:drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.hero-game-card span,.hero-rank-card span { display:flex; flex-direction:column; gap:4px; }
.hero-game-card b { font:700 16px 'Inter',sans-serif; color:#f5f6f7; }
.hero-game-card small { font-size:11px; color:#9ca4ab; }
.hero-game-card i { margin-left:auto; color:#f49a72; }
.hero-game-card i .ic { width:17px; height:17px; }
.hero-game-dota { top:78px; left:0; transform:rotate(-5deg); }
.hero-game-dota:hover { transform:rotate(-2deg) translateY(-3px); }
.hero-game-cs { right:0; bottom:70px; transform:rotate(4deg); }
.hero-game-cs:hover { transform:rotate(1deg) translateY(-3px); }
.hero-rank-card { position:absolute; right:24px; top:44px; display:flex; align-items:center; gap:10px; padding:9px 13px; border:1px solid rgba(255,255,255,.09); border-radius:12px; background:rgba(14,16,19,.85); box-shadow:0 12px 32px rgba(0,0,0,.28); }
.hero-rank-card img { width:32px; height:32px; object-fit:contain; }
.hero-rank-card small { font-size:8px; color:#aab1b7; letter-spacing:.08em; }
.hero-rank-card b { font-size:11px; color:#f3f4f5; }
.hub-page .hub-process { padding:8px 0 82px; }
.hub-page .hub-process .section-head { align-items:end; }
.hub-page .hub-process .section-head>p { max-width:390px; color:var(--text-mute); font-size:14px; line-height:1.6; }
.hub-page .process-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; list-style:none; margin-top:28px; }
.hub-page .process-list li { display:grid; grid-template-columns:38px 1fr; gap:14px 13px; min-height:176px; padding:20px; border:1px solid var(--border); border-radius:16px; background:linear-gradient(155deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); }
.hub-page .process-list li>span { color:#ff956d; font:700 13px 'Inter',sans-serif; letter-spacing:.08em; }
.hub-page .process-list h3 { margin-bottom:7px; color:#f1f2f3; font-size:16px; }
.hub-page .process-list p { color:var(--text-mute); font-size:13px; line-height:1.55; }
.hub-page .hub-final { padding:0 0 82px; }
.hub-page .hub-final .container { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:34px 40px; border:1px solid rgba(255,117,73,.2); border-radius:18px; background:radial-gradient(ellipse at 80% 0%,rgba(255,101,53,.13),transparent 52%),linear-gradient(135deg,#15181b,#101113); }
.hub-page .hub-final h2 { margin-top:8px; color:#f5f6f7; font:700 clamp(25px,3vw,34px)/1.15 'Inter',sans-serif; letter-spacing:-.04em; }
@media(max-width:800px) { .hub-page .process-list { grid-template-columns:1fr; } .hub-page .process-list li { min-height:0; } }
@media(max-width:560px) { .hub-hero-art { min-height:300px; transform:scale(.92); transform-origin:center; margin-top:-8px; margin-bottom:-16px; } .hero-game-card { width:215px; } .hero-game-dota { left:-4px; top:70px; } .hero-game-cs { right:-4px; bottom:62px; } .hero-rank-card { right:0; top:34px; } .hub-page .hub-final .container { align-items:flex-start; flex-direction:column; padding:26px; } }
.legal-content { max-width:860px; padding-top:56px; padding-bottom:84px; }
.legal-content .legal-back { display:inline-block; margin-bottom:30px; color:var(--text-mute); font-size:13px; }
.legal-content .legal-back:hover,.legal-content a:not(.legal-back) { color:#ff9b75; }
.legal-content h1 { margin:10px 0 8px; font:700 clamp(34px,6vw,52px)/1.08 'Inter',sans-serif; letter-spacing:-.045em; }
.legal-content .legal-updated { margin-bottom:30px; color:var(--text-dim); font-size:13px; }
.legal-content p { margin:0 0 18px; color:#b4b8bc; font-size:15px; line-height:1.8; }
.legal-content h2 { margin:30px 0 10px; color:#f0f1f2; font:600 21px/1.3 'Inter',sans-serif; }
.legal-content .legal-note { margin-top:30px; padding:16px 18px; border-left:2px solid var(--flame-2); background:rgba(255,255,255,.025); font-size:13px; }
@media(max-width:560px) { .legal-content { padding-top:36px; padding-bottom:60px; } .legal-content p { font-size:14px; } }
.vpn-content { min-height:calc(100vh - 148px); display:grid; place-items:center; padding-top:54px; padding-bottom:54px; }
.vpn-content>.legal-back { position:absolute; top:42px; left:28px; color:var(--text-mute); font-size:13px; }
.vpn-panel { position:relative; width:min(100%,640px); overflow:hidden; padding:clamp(30px,6vw,56px); border:1px solid rgba(255,255,255,.11); border-radius:22px; background:radial-gradient(ellipse at 85% 0%,rgba(255,105,60,.16),transparent 45%),linear-gradient(145deg,#171a1e,#101214); box-shadow:0 28px 85px rgba(0,0,0,.35); }
.vpn-icon { display:grid; place-items:center; width:58px; height:58px; margin-bottom:26px; border:1px solid rgba(255,133,94,.24); border-radius:17px; background:rgba(255,104,57,.09); color:#ff9b75; }
.vpn-icon svg { width:34px; height:34px; }
.vpn-panel h1 { margin:10px 0 14px; font:700 clamp(36px,6vw,54px)/1.05 'Inter',sans-serif; letter-spacing:-.05em; }
.vpn-panel p { max-width:490px; margin-bottom:26px; color:#b4b8bc; font-size:15px; line-height:1.75; }
.vpn-panel .btn { display:inline-flex; gap:10px; align-items:center; }
.vpn-panel>small { display:block; margin-top:16px; color:var(--text-dim); font-size:12px; }
@media(max-width:560px) { .vpn-content { min-height:calc(100vh - 170px); padding-top:72px; } .vpn-content>.legal-back { top:28px; left:18px; } .vpn-panel { border-radius:17px; } }

/* Final alignment for the home hero. The second line needs a little extra
   vertical room for Cyrillic descenders such as «у». */
.hub-page .hub-hero-copy {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.hub-page .hub-hero h1 {
  margin: 0 auto 22px;
  line-height: 1.08;
  letter-spacing: -.055em;
}
.hub-page .hub-hero h1 .flame-text {
  padding: 0 .04em .09em;
  line-height: 1.08;
}
.hub-page .hub-hero p { margin-left: auto; margin-right: auto; }
.hub-page .hub-hero .hero-actions {
  width: min(100%, 492px);
  margin: 32px auto 0;
  justify-content: center;
}
.hub-page .hub-hero .hero-actions .btn {
  padding-left: 42px;
  padding-right: 42px;
}
@media (max-width: 560px) {
  .hub-page .hub-hero .hero-actions { width: 100%; }
}
/* Shared motion polish */
a,button,.card,.ov-card,.quick-action,.profile-nav-item,.service-card,.hero-game-card { transition:color .25s ease,background-color .25s ease,border-color .25s ease,box-shadow .3s ease,transform .3s cubic-bezier(.22,.61,.36,1),opacity .25s ease; }

.accounts-page .game-tile-icon img{display:block;width:42px;height:42px;object-fit:contain}.accounts-page .card-media{background:linear-gradient(135deg,#18161b,#100f12)}
@media(max-width:560px){.accounts-page .card-media{max-height:168px}}

/* VPN on the home page */
.hub-page .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-page .service-card-vpn { background: linear-gradient(145deg, rgba(59,20,32,.95), rgba(23,10,17,.97)); }
.home-vpn { padding: 0 0 100px; }
.home-vpn-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.72fr); gap:clamp(32px,6vw,80px); align-items:center; padding:clamp(26px,4vw,48px); border:1px solid rgba(255,125,75,.24); border-radius:24px; background:radial-gradient(circle at 80% 0,rgba(255,95,42,.13),transparent 42%),linear-gradient(145deg,rgba(49,15,23,.95),rgba(19,8,13,.98)); }
.home-vpn-copy h2 { max-width:550px; margin:13px 0; font:700 clamp(29px,4vw,44px)/1.1 'Inter',sans-serif; letter-spacing:-.04em; }
.home-vpn-copy p { max-width:480px; margin:0 0 24px; color:var(--text-mute); font-size:14px; line-height:1.7; }
.home-vpn-details { display:grid; gap:0; }
.home-vpn-details>div { display:flex; align-items:center; gap:15px; padding:15px 0; border-bottom:1px solid var(--border); }
.home-vpn-details>div:last-child { border-bottom:0; }
.home-vpn-details>div>span { display:grid; place-items:center; flex:none; width:38px; height:38px; border:1px solid rgba(255,125,75,.2); border-radius:12px; background:var(--grad-fire-soft); color:var(--flame-3); font:700 11px 'Inter',sans-serif; }
.home-vpn-details strong,.home-vpn-details small { display:block; }
.home-vpn-details strong { font-size:13px; }.home-vpn-details small { margin-top:4px; color:var(--text-mute); font-size:12px; }
@media(max-width:1100px) { .hub-page .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .hub-page .service-grid { grid-template-columns:1fr; } .home-vpn { padding-bottom:70px; } .home-vpn-panel { grid-template-columns:1fr; gap:20px; } }
.hero-vpn-card { border-color:rgba(255,125,75,.24); color:inherit; text-decoration:none; transition:transform .25s ease,border-color .25s ease,background .25s ease; }
.hero-vpn-card:hover { transform:translateY(-3px); border-color:rgba(255,125,75,.65); background:rgba(40,14,20,.96); }
.hero-vpn-card .hero-vpn-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:var(--grad-fire-soft); color:var(--flame-3); }
.hero-vpn-icon svg { width:18px; height:18px; }
.hero-vpn-card .hero-vpn-arrow { margin-left:3px; color:var(--flame-3); }
.hero-vpn-arrow svg { width:14px; height:14px; }
.hero-vpn-card:focus-visible { outline:2px solid var(--flame-2); outline-offset:3px; }

/* Hub service chooser and VPN timeline */
.hub-page .hub-hero h1 { font-size: clamp(42px, 4.4vw, 62px); line-height: 1.12; }
.hub-page .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hub-page .service-card { min-height: 202px; padding: 20px; border: 1px solid rgba(255,255,255,.12); }
.hub-page .service-card:hover { border-color: rgba(255,144,84,.55); box-shadow: 0 16px 36px -20px rgba(255,90,31,.35); }
.hub-page .service-card:focus-visible { outline: 2px solid var(--flame-2); outline-offset: 3px; }
.home-vpn-details { position: relative; display: grid; gap: 8px; margin: 0; padding: 14px; list-style: none; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.03); }
.home-vpn-details::before { content: ''; position: absolute; top: 44px; bottom: 44px; left: 33px; width: 1px; background: rgba(255,145,91,.25); }
.home-vpn-details > li { position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; padding: 10px 0; }
.vpn-step-number { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid rgba(255,125,75,.25); border-radius: 12px; background: #27151a; color: var(--flame-3); font: 700 11px 'Inter',sans-serif; }
.home-vpn-details li > div { min-width: 0; flex: 1; }
.vpn-step-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 10px; color: #ffb176; background: rgba(255,255,255,.03); }
.vpn-step-icon .ic { width: 17px; height: 17px; }
@media (max-width: 1000px) { .hub-page .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hub-page .hub-hero h1 { font-size: clamp(34px, 9vw, 44px); } .hub-page .service-grid { grid-template-columns: 1fr; } }

/* The shared menu has six destinations; keep the mobile links in normal flow. */
.mobile-auth-link { display: none; }
@media (min-width: 1001px) { .header-inner { gap: 10px; } .nav { gap: 0; } .nav-link { padding-left: 9px; padding-right: 9px; font-size: 13px; } }
@media (max-width: 1000px) {
  .nav > .nav-link, .nav > .mobile-auth-link { display: none !important; }
  .mobile-nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
  .mobile-nav-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor; }
  .nav.mobile-open { position: absolute; right: 18px; top: 12px; width: min(250px, calc(100vw - 36px)); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 45px 8px 8px; border: 1px solid var(--border); border-radius: 12px; background: #190c11; box-shadow: var(--shadow-pop); }
  .nav.mobile-open .mobile-nav-toggle { position: absolute; right: 8px; top: 4px; }
  .nav.mobile-open .nav-link, .nav.mobile-open .mobile-auth-link { display: inline-flex !important; position: static; width: 100%; padding: 12px 14px; border: 0; box-shadow: none; background: transparent; }
  .nav.mobile-open .auth-slot, .nav.mobile-open .nav-divider { display: none; }
}
/* Shared marketplace refinements */
.hub-page .hub-services,.hub-page .hub-process { padding-top:70px; padding-bottom:80px; }
.hub-page .service-card { border-radius:18px; background:linear-gradient(145deg,rgba(43,31,32,.9),rgba(20,17,20,.96)); }
.hub-page .service-card:hover { transform:translateY(-4px); background:linear-gradient(145deg,rgba(65,37,33,.95),rgba(23,18,20,.98)); }
.hub-page .service-icon { border-radius:12px; }
.hub-page .hub-hero h1 { line-height:1.16; padding-bottom:.08em; }
.hub-page .hub-hero h1 .flame-text { line-height:1.16; }
.hub-page .process-list li { border-color:rgba(255,255,255,.09); background:linear-gradient(145deg,rgba(43,31,32,.75),rgba(20,17,20,.95)); }
@media(max-width:700px) { .hub-page .hub-services,.hub-page .hub-process { padding-top:48px; padding-bottom:55px; } }

/* Keep the wallet available beside the mobile menu on every signed-in page. */
@media(max-width:1000px) {
  .nav > .auth-slot.is-authenticated { display:flex; }
  .nav.mobile-open > .auth-slot.is-authenticated { display:none; }
  .nav-user { max-width:none; gap:5px; padding:4px; }
  .nav-user .avatar { width:26px; height:26px; font-size:11px; }
  .nav-user > .chev { display:none; }
  .nav-user .hdr-balance-button { min-height:30px; gap:5px; padding:4px 5px 4px 7px; }
  .nav-user .hdr-balance-button .balance { max-width:none; font-size:11px; }
  .hdr-balance-plus { width:15px; height:15px; border-radius:4px; }
}
@media(max-width:480px) {
  .header-inner { gap:8px; }
  .header-inner .nav { gap:7px; }
  .header-inner .logo-text { font-size:17px; }
  .header-inner .logo-mark { width:30px; height:30px; }
}
