/* ============================================================
   HYPERION · OBSIDIAN AURORA
   Modern final layer. Loaded after styles/professional/premium.
   Goals: editorial type, floating glass chrome, luminous gold,
   layered depth, restrained motion. Refines — never re-lays-out —
   the storefront so every existing interaction keeps working.
   ============================================================ */

:root {
  --font-sans: 'Sora', 'Poppins', 'Ubuntu', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Poppins', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', 'Georgia', 'Times New Roman', serif;

  --ink-0: #06080b;
  --ink-1: #0a0d12;
  --ink-2: #0f1319;
  --ink-3: #151b22;
  --ink-4: #1b232c;

  --aurora-gold: rgba(217, 178, 106, .5);
  --aurora-warm: rgba(240, 215, 161, .34);
  --aurora-cool: rgba(96, 132, 168, .22);

  --glass: rgba(16, 21, 27, .66);
  --glass-strong: rgba(11, 15, 20, .9);
  --hair: rgba(255, 255, 255, .08);
  --hair-gold: rgba(217, 178, 106, .24);

  --gold-grad: linear-gradient(135deg, #f8e8bd 0%, #e2bf7b 38%, #d9b26a 62%, #b98a45 100%);
  --gold-grad-soft: linear-gradient(135deg, rgba(248, 232, 189, .22), rgba(185, 138, 69, .06));

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --shadow-card: 0 30px 70px -46px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .045);
  --shadow-float: 0 40px 90px -50px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ---- Base ---------------------------------------------------------------- */
html { background: var(--ink-0); }

body {
  font-family: var(--font-sans);
  font-feature-settings: 'ss01' 1, 'cv01' 1;
  letter-spacing: -.006em;
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(217, 178, 106, .10), transparent 62%),
    radial-gradient(900px 560px at 4% 2%, rgba(96, 132, 168, .08), transparent 60%),
    radial-gradient(1400px 900px at 50% 120%, rgba(217, 178, 106, .05), transparent 62%),
    var(--ink-1);
}

/* Fixed aurora wash behind every page. */
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: .75;
  background:
    radial-gradient(closest-side at 24% 18%, rgba(217, 178, 106, .10), transparent 72%),
    radial-gradient(closest-side at 78% 8%, rgba(240, 215, 161, .07), transparent 70%),
    radial-gradient(closest-side at 64% 84%, rgba(96, 132, 168, .08), transparent 74%);
  filter: blur(30px);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  from { transform: translate3d(-1.4%, -1%, 0) scale(1); }
  to { transform: translate3d(1.6%, 1.4%, 0) scale(1.05); }
}

h1, h2, h3, h4, h5,
.hero-title, .store-head h1, .showcase-heading h2, .quick-help h2,
.rank-preview-copy h3, .modal-head h2, .prod-modal-info h2 {
  font-family: var(--font-display);
  letter-spacing: -.035em;
}

/* Editorial italic accents on display headings. */
.showcase-heading h2 em,
.quick-help h2 em,
.leaderboard-directory-head h2 em,
.map-teaser-copy h2 em,
.leaderboard-page-intro h1 em,
.atlas-intro .hof-sub em,
.hero-sub em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--ad);
}

::selection { background: rgba(217, 178, 106, .34); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ad);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Floating glass chrome ---------------------------------------------- */
.top-zone.site-header {
  position: sticky;
  top: 12px;
  z-index: 120;
  width: calc(100% - 28px);
  max-width: 1240px;
  margin: 12px auto 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 20px;
  background: rgba(12, 16, 21, .68);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow:
    0 24px 60px -38px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.top-zone.site-header::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(248, 232, 189, .28), transparent 34%, transparent 66%, rgba(185, 138, 69, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .75;
}
.top-zone.site-header.scrolled {
  background: rgba(8, 11, 15, .9);
  border-color: rgba(217, 178, 106, .16);
  box-shadow:
    0 28px 70px -34px rgba(0, 0, 0, 1),
    0 0 0 1px rgba(217, 178, 106, .05),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}
.site-header .header-row {
  min-height: 68px;
  padding: 8px 14px;
  gap: clamp(14px, 3vw, 44px);
}
.site-header .brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  filter: drop-shadow(0 8px 20px rgba(217, 178, 106, .22));
}
.site-header .brand-text { font-size: 15px; letter-spacing: .16em; }
.site-header .brand-text b { font-size: 8px; letter-spacing: .42em; }

.site-header .nav-link {
  position: relative;
  border-radius: var(--r-pill);
  padding: 9px 15px;
  font-size: 12.5px;
  font-weight: 650;
  color: #98a1ab;
  transition: color .2s var(--ease-out), background .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.site-header .nav-link:hover { color: #f2efe8; background: rgba(255, 255, 255, .05); }
.site-header .nav-link.active {
  color: #f8e8bd;
  background: linear-gradient(180deg, rgba(217, 178, 106, .18), rgba(217, 178, 106, .07));
  box-shadow: inset 0 0 0 1px rgba(217, 178, 106, .3), 0 8px 20px -14px rgba(217, 178, 106, .8);
}
.site-header .nav-link.active::after { display: none; }
.site-header .nav-links { flex-wrap: nowrap; min-width: 0; }

.site-header .cart-btn,
.site-header .user-chip {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-pill);
  box-shadow: none;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out), transform .2s var(--ease-out);
}
.site-header .cart-btn { width: 42px; height: 42px; }
.site-header .cart-btn:hover,
.site-header .user-chip:hover {
  border-color: rgba(217, 178, 106, .42);
  background: rgba(217, 178, 106, .09);
  transform: translateY(-1px);
}
.site-header .user-chip { padding: 5px 12px 5px 6px; flex-direction: row; align-items: center; gap: 9px; }
.site-header .user-avatar { width: 28px; height: 28px; border-radius: 50%; }
.site-header .user-name { font-size: 12.5px; }
.site-header .user-credits { font-size: 10.5px; color: var(--ad); }
.site-header .header-right .abtn { min-height: 40px; border-radius: var(--r-pill); }

/* ---- Buttons ------------------------------------------------------------- */
.abtn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-pill);
  font-weight: 700;
  letter-spacing: .005em;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background .22s var(--ease-out), border-color .22s var(--ease-out), filter .22s var(--ease-out);
}
.abtn-ac {
  background: var(--gold-grad);
  color: #1b1408;
  border: 1px solid rgba(255, 244, 214, .55);
  box-shadow:
    0 14px 32px -16px rgba(217, 178, 106, .8),
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(120, 84, 32, .35);
}
.abtn-ac::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .65s var(--ease-out);
}
.abtn-ac:hover {
  background: var(--gold-grad);
  filter: brightness(1.06) saturate(1.03);
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px -18px rgba(217, 178, 106, .95),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}
.abtn-ac:hover::after { transform: translateX(130%); }
.abtn-ac:active { transform: translateY(0) scale(.985); }
.abtn-so,
.abtn-ghost {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .11);
  color: #f2efe8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.abtn-so:hover,
.abtn-ghost:hover {
  background: rgba(255, 255, 255, .085);
  border-color: rgba(217, 178, 106, .35);
  transform: translateY(-2px);
}
.abtn-sm { padding: 8px 15px; font-size: 12.5px; }
.abtn-xs { padding: 6px 12px; font-size: 11.5px; }

/* Inputs --------------------------------------------------------------- */
input[type="text"], input[type="password"], input[type="email"], input[type="number"],
select, textarea,
.modal-form input,
.pm-coupon input,
#pm-gift-username,
.admin-form input,
.admin-form select,
.admin-form textarea,
.staff-detail .admin-detail-grid select {
  font-family: var(--font-sans);
  color: #f2efe8;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out);
}
input:focus, select:focus, textarea:focus,
.modal-form input:focus,
.pm-coupon input:focus {
  outline: none;
  border-color: rgba(217, 178, 106, .62);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 4px rgba(217, 178, 106, .13), 0 10px 24px -20px rgba(217, 178, 106, .8);
}
::placeholder { color: #5f6872; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { margin-top: 18px; }
.hero-banner {
  position: relative;
  border-radius: var(--r-xl);
  min-height: 470px;
  border: 1px solid rgba(217, 178, 106, .16);
  background:
    radial-gradient(760px 420px at 84% 4%, rgba(217, 178, 106, .17), transparent 64%),
    radial-gradient(620px 420px at 8% 112%, rgba(96, 132, 168, .13), transparent 62%),
    linear-gradient(118deg, #1c232a 0%, #12171d 52%, #241f16 100%);
  box-shadow:
    0 50px 110px -60px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  isolation: isolate;
}
.hero-banner::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -210px;
  top: -240px;
  border: 1px solid rgba(217, 178, 106, .13);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(217, 178, 106, .026),
    0 0 0 130px rgba(217, 178, 106, .018),
    0 0 0 210px rgba(217, 178, 106, .012);
  pointer-events: none;
  animation: haloBreathe 9s ease-in-out infinite alternate;
}
.hero-banner::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}
@keyframes haloBreathe {
  from { transform: scale(1) rotate(0deg); opacity: .9; }
  to { transform: scale(1.06) rotate(6deg); opacity: 1; }
}
.hero-overlay { display: none; }
.hero-content.welcome-hero {
  position: relative;
  z-index: 2;
  min-height: 470px;
  max-width: none;
  padding: clamp(30px, 5vw, 66px);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(217, 178, 106, .28);
  color: #f0d7a1;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright, #f0d7a1);
  box-shadow: 0 0 0 4px rgba(217, 178, 106, .14), 0 0 12px rgba(217, 178, 106, .7);
}
.hero-title {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 800;
  text-wrap: balance;
  color: #f6f3ec;
}
.hero-title span {
  display: inline;
  background: linear-gradient(100deg, #fdf2d6 0%, #f0d7a1 28%, #d9b26a 52%, #f7e6bb 74%, #c99a52 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 7s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  max-width: 560px;
  color: #c6cbd0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 30px;
}
.hero-ctas { gap: 12px; }
.hero-ctas .abtn { padding: 13px 24px; font-size: 14px; }

/* Join card — glass console */
.join-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(217, 178, 106, .24);
  background:
    linear-gradient(180deg, rgba(28, 35, 43, .82), rgba(14, 18, 23, .92));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 34px 70px -40px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, .07);
}
.join-card::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(240, 215, 161, .8), transparent);
  opacity: .9;
}
.jc-label {
  display: block;
  color: #f0d7a1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.jc-ip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: #f2efe8;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out), transform .2s var(--ease-out);
}
.jc-ip:hover {
  border-color: rgba(217, 178, 106, .6);
  background: rgba(217, 178, 106, .08);
  transform: translateY(-1px);
}
.jc-ip-value { font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.jc-copy { display: inline-flex; align-items: center; gap: 6px; color: #f0d7a1; font-size: 10.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.jc-rows { margin-top: 16px; display: grid; gap: 9px; }
.jc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa3ad;
  font-size: 12px;
}
.jc-row b { color: #f2efe8; font-size: 13px; font-weight: 750; }
.jc-row .dot.on { background: #6ee7a8; box-shadow: 0 0 0 4px rgba(110, 231, 168, .12), 0 0 12px rgba(110, 231, 168, .6); }

/* Trust strip under the hero */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 0;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: rgba(12, 16, 21, .82);
  color: #aab2bb;
  font-size: 11.5px;
  font-weight: 600;
}
.trust-item i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: rgba(217, 178, 106, .1);
  border: 1px solid rgba(217, 178, 106, .22);
  color: #f0d7a1;
  font-style: normal;
  font-size: 12px;
}
.trust-item b { display: block; color: #eee9df; font-size: 11.5px; font-weight: 700; }
.trust-item small { display: block; color: #717b86; font-size: 10px; font-weight: 500; }

/* ---- Section headings ---------------------------------------------------- */
.showcase, .journey, .quick-help, .network-news { margin: 72px 0; }
.showcase-heading { align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.showcase-heading h2, .quick-help h2, .leaderboard-directory-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
  color: #f6f3ec;
}
.showcase-heading p, .quick-help-intro p, .leaderboard-directory-head p {
  max-width: 560px;
  color: #98a1ab;
  font-size: 13.5px;
  line-height: 1.65;
  margin-top: 12px;
}
.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d9b26a;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.showcase-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9b26a);
}

/* ---- Rank selector / preview -------------------------------------------- */
.rank-selector { gap: 10px; margin-bottom: 14px; }
.rank-select {
  min-height: 112px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(160deg, rgba(27, 34, 42, .9), rgba(13, 17, 22, .95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: transform .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
}
.rank-select::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 178, 106, .8), transparent);
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.rank-select:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 178, 106, .38);
  box-shadow: 0 24px 50px -34px #000;
}
.rank-select:hover::after { opacity: .6; }
.rank-select.active {
  border-color: rgba(217, 178, 106, .66);
  background:
    radial-gradient(circle at 78% 0%, rgba(217, 178, 106, .22), transparent 62%),
    linear-gradient(160deg, #272117, #14151a 72%);
  box-shadow:
    0 26px 56px -32px #000,
    inset 0 1px 0 rgba(255, 255, 255, .09),
    0 0 0 1px rgba(217, 178, 106, .18);
}
.rank-select.active::after { opacity: 1; }
.rank-select-name { letter-spacing: -.02em; }
.rank-select-popular {
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: rgba(217, 178, 106, .14);
  border: 1px solid rgba(217, 178, 106, .3);
}

.rank-preview {
  border-radius: var(--r-xl);
  border: 1px solid rgba(217, 178, 106, .2);
  background:
    radial-gradient(circle at 16% 50%, rgba(217, 178, 106, .18), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(96, 132, 168, .1), transparent 52%),
    linear-gradient(118deg, #1b2027, #0f1318 74%);
  box-shadow: var(--shadow-float);
  padding: 32px 36px;
}
.rank-preview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 232, 189, .7), transparent);
}
.rank-preview-art::before {
  width: 210px;
  height: 210px;
  border-color: rgba(217, 178, 106, .3);
  box-shadow:
    inset 0 0 60px rgba(217, 178, 106, .1),
    0 0 60px rgba(217, 178, 106, .08),
    0 0 0 22px rgba(217, 178, 106, .02);
}
.rank-preview-art .art-img {
  width: 184px;
  height: 184px;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(217, 178, 106, .18));
  animation: artFloat 6s ease-in-out infinite;
}
@keyframes artFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.rank-preview-copy h3 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.05em; }
.rank-preview-copy p { color: #aab2bb; }
.rank-preview-copy li {
  padding: 4px 0;
  color: #e8e4dc;
  font-size: 12.5px;
}
.rank-preview-copy li span { color: #f0d7a1; text-shadow: 0 0 12px rgba(217, 178, 106, .5); }
.rank-preview-buy { border-color: rgba(217, 178, 106, .16); }
.rank-preview-buy strong {
  background: linear-gradient(180deg, #fff, #e8d6ac);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 42px;
  letter-spacing: -.05em;
}
.rank-preview-buy small { color: #d9b26a; }

/* ---- Product cards ------------------------------------------------------- */
.p-card {
  position: relative;
  gap: 10px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(170deg, rgba(25, 31, 39, .92), rgba(12, 16, 21, .97));
  box-shadow: var(--shadow-card);
  transition: transform .28s var(--ease-out), border-color .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.p-card::after {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(217, 178, 106, .14), transparent 46%);
  transition: opacity .3s var(--ease-out);
}
.p-card:hover::after { opacity: 1; }
.p-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 178, 106, .38);
  box-shadow:
    0 34px 70px -40px rgba(0, 0, 0, 1),
    0 0 0 1px rgba(217, 178, 106, .1),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
.p-art {
  height: 176px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background:
    radial-gradient(320px 170px at 50% 118%, rgba(217, 178, 106, .2), transparent 72%),
    radial-gradient(220px 140px at 50% -10%, rgba(255, 255, 255, .05), transparent 70%),
    linear-gradient(180deg, #1b222a, #12171d);
}
.p-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(10, 13, 17, .55));
  pointer-events: none;
}
.p-icon-lg {
  width: 108px;
  height: 108px;
  position: relative;
  z-index: 1;
  transition: transform .45s var(--ease-out), filter .45s var(--ease-out);
}
.p-card:hover .p-icon-lg {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 20px rgba(217, 178, 106, .28));
}
.p-badge {
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(217, 178, 106, .34);
  background: rgba(14, 18, 23, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f0d7a1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.p-badge.best {
  background: var(--gold-grad);
  color: #1b1408;
  border-color: rgba(255, 244, 214, .6);
  box-shadow: 0 8px 20px -10px rgba(217, 178, 106, .8);
}
.p-card .p-name {
  position: relative;
  z-index: 1;
  font-size: 20px;
  letter-spacing: -.03em;
  color: #f6f3ec;
}
.p-card .p-server {
  position: relative;
  z-index: 1;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
  color: #8f99a3;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.p-card .p-tag { color: #9aa3ad; font-size: 16px; line-height: 1.55; }
.p-card .p-feats { gap: 8px; }
.p-card .p-feats li {
  position: relative;
  padding-left: 18px;
  color: #b6bec6;
  font-size: 16px;
  line-height: 1.45;
}
.p-card .p-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(217, 178, 106, .12);
  color: #f0d7a1;
  font-size: 8px;
  font-weight: 900;
}
.p-cta { border-color: rgba(255, 255, 255, .07); padding-top: 16px; }
.p-cta .p-price { gap: 1px; }
.price-num { font-size: 25px; letter-spacing: -.04em; color: #f0d7a1; }
.price-cur { color: #d9b26a; }
.credits-price .price-cur, .credits-price .price-num { color: #f0d7a1; }
.p-cta .p-price small { color: #8f99a3; font-size: 11px; }
.p-card .abtn { width: 100%; justify-content: center; }
.p-card .p-cta > .abtn {
  background: linear-gradient(180deg, rgba(217, 178, 106, .16), rgba(217, 178, 106, .06));
  border: 1px solid rgba(217, 178, 106, .3);
  color: #f0d7a1;
  box-shadow: none;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.p-card:hover .p-cta > .abtn {
  background: var(--gold-grad);
  border-color: rgba(255, 244, 214, .55);
  color: #1b1408;
  box-shadow: 0 14px 30px -16px rgba(217, 178, 106, .85);
}

/* Featured cards */
.feat-card {
  border-radius: var(--r-lg);
  border: 1px solid rgba(217, 178, 106, .22);
  background: linear-gradient(170deg, rgba(34, 31, 23, .92), rgba(13, 17, 22, .97));
  box-shadow: var(--shadow-card);
}
.feat-card:hover { transform: translateY(-6px); border-color: rgba(217, 178, 106, .55); box-shadow: 0 34px 70px -40px #000; }
.feat-art {
  height: 168px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: radial-gradient(300px 170px at 50% 120%, rgba(217, 178, 106, .26), transparent 72%), linear-gradient(180deg, #1e242b, #12171d);
}
.feat-icon-lg { width: 108px; height: 108px; }
.feat-badge { border-radius: var(--r-pill); background: var(--gold-grad); color: #1b1408; }

/* ---- Journey / quick help / side cards ---------------------------------- */
.journey-step {
  padding: 26px;
  min-height: 200px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .07);
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(217, 178, 106, .08), transparent 70%),
    linear-gradient(160deg, rgba(25, 31, 39, .9), rgba(12, 16, 21, .96));
  box-shadow: var(--shadow-card);
  transition: transform .28s var(--ease-out), border-color .28s var(--ease-out);
}
.journey-step:hover { transform: translateY(-5px); border-color: rgba(217, 178, 106, .32); }
.journey-step::after { border-color: rgba(217, 178, 106, .12); }
.journey-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(217, 178, 106, .28);
  background: rgba(217, 178, 106, .07);
  color: #f0d7a1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.journey-glyph {
  display: block;
  margin: 16px 0 12px;
  color: #f0d7a1;
  font-size: 22px;
  text-shadow: 0 0 22px rgba(217, 178, 106, .45);
}
.journey-step h3 { font-size: 18px; letter-spacing: -.03em; }
.journey-step p { color: #98a1ab; }

.quick-help {
  padding: 34px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(217, 178, 106, .16);
  background:
    radial-gradient(circle at 0 0, rgba(217, 178, 106, .1), transparent 46%),
    linear-gradient(160deg, rgba(23, 29, 36, .92), rgba(11, 15, 20, .97));
  box-shadow: var(--shadow-card);
}
.quick-help-list details {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.quick-help-list details:hover { background: rgba(255, 255, 255, .045); }
.quick-help-list details[open] {
  border-color: rgba(217, 178, 106, .38);
  background: rgba(217, 178, 106, .05);
}
.quick-help-list summary { font-weight: 650; font-size: 13.5px; }
.quick-help-list summary::marker { color: #d9b26a; }

.side-card {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(170deg, rgba(24, 30, 37, .92), rgba(12, 16, 21, .97));
  box-shadow: var(--shadow-card);
}
.side-card .side-nav-title,
.side-card .side-head-tx b { letter-spacing: -.01em; }
.side-head-ic {
  border-radius: 11px;
  background: rgba(217, 178, 106, .1);
  border: 1px solid rgba(217, 178, 106, .2);
  color: #f0d7a1;
}
.live-row {
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .025);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.live-row:hover { border-color: rgba(217, 178, 106, .26); background: rgba(217, 178, 106, .05); }

/* Leaderboard directory */
.leaderboard-directory { border-radius: var(--r-xl); }
.leaderboard-link-card {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
  transition: transform .22s var(--ease-out), border-color .22s var(--ease-out), background .22s var(--ease-out);
}
.leaderboard-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 178, 106, .4);
  background: rgba(217, 178, 106, .07);
}
.leaderboard-link-icon {
  border-radius: 12px;
  border: 1px solid rgba(217, 178, 106, .26);
  background: rgba(217, 178, 106, .1);
  color: #f0d7a1;
}

/* Network status / server list */
.mc-list-card {
  border-radius: var(--r-xl);
  border: 1px solid rgba(217, 178, 106, .16);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(217, 178, 106, .07), transparent 70%),
    linear-gradient(170deg, rgba(23, 29, 36, .94), rgba(11, 15, 20, .98));
  box-shadow: var(--shadow-card);
}
.mc-row {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(110deg, rgba(31, 39, 48, .9), rgba(22, 28, 35, .95));
  transition: border-color .22s var(--ease-out), background .22s var(--ease-out), transform .22s var(--ease-out);
}
.mc-row:hover { transform: translateY(-1px); border-color: rgba(217, 178, 106, .3); }
.mc-players { border-radius: var(--r-pill); }

/* Blog cards */
.blog-card {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(170deg, rgba(24, 30, 37, .92), rgba(12, 16, 21, .97));
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease-out), border-color .25s var(--ease-out);
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(217, 178, 106, .34); }
.blog-cat { border-radius: var(--r-pill); background: rgba(217, 178, 106, .1); border: 1px solid rgba(217, 178, 106, .22); color: #f0d7a1; }
.blog-title { font-size: 16px; letter-spacing: -.02em; }

/* ---- Store page ---------------------------------------------------------- */
.store-head {
  position: relative;
  margin: 20px 0 30px;
  padding: 26px 28px;
  border: 1px solid rgba(217, 178, 106, .16);
  border-radius: var(--r-xl);
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(217, 178, 106, .12), transparent 68%),
    linear-gradient(160deg, rgba(23, 29, 36, .9), rgba(11, 15, 20, .96));
  box-shadow: var(--shadow-card);
}
.store-head h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff, #e9dcc0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.store-head p { color: #98a1ab; font-size: 13px; }
.store-head-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  border: 1px solid rgba(217, 178, 106, .3);
  background: radial-gradient(circle at 50% 20%, rgba(217, 178, 106, .2), rgba(217, 178, 106, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.store-rate {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #b6bec6;
  font-size: 11px;
  font-weight: 650;
}
.side-nav {
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.side-nav:hover { background: rgba(255, 255, 255, .045); transform: translateX(2px); }
.side-nav.active {
  background: linear-gradient(90deg, rgba(217, 178, 106, .16), rgba(217, 178, 106, .05));
  border-color: rgba(217, 178, 106, .34);
  color: #f0d7a1;
  box-shadow: inset 2px 0 0 #d9b26a;
}
.sn-count {
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 750;
}
.side-nav.active .sn-count { background: rgba(217, 178, 106, .16); color: #f0d7a1; }
.balance-card .balance-val { font-size: 30px; letter-spacing: -.04em; color: #f0d7a1; }
.store-toolbar {
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .025);
}
.store-count { color: #8f99a3; font-size: 12px; font-weight: 650; }
.store-count b { color: #f0d7a1; }
.sort-select {
  border-radius: var(--r-pill);
  background-color: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  color: #e8e4dc;
  font-weight: 650;
}
.sort-select:hover { border-color: rgba(217, 178, 106, .4); }

/* ---- Modals -------------------------------------------------------------- */
.modal { padding: 20px; }
.modal-backdrop {
  background:
    radial-gradient(circle at 50% 42%, rgba(18, 22, 28, .72), rgba(3, 4, 6, .95) 72%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.modal-card {
  border-radius: var(--r-xl);
  border: 1px solid rgba(217, 178, 106, .18);
  background:
    radial-gradient(600px 220px at 50% -10%, rgba(217, 178, 106, .1), transparent 70%),
    linear-gradient(180deg, rgba(23, 29, 36, .98), rgba(10, 14, 19, .99));
  box-shadow:
    0 60px 140px -50px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  animation: modalRise .4s var(--ease-out) both;
}
@keyframes modalRise {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to { opacity: 1; transform: none; }
}
.modal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(248, 232, 189, .65), transparent);
  pointer-events: none;
}
.modal-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #c6cbd0;
  transition: transform .2s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.modal-x:hover {
  background: rgba(248, 113, 113, .16);
  border-color: rgba(248, 113, 113, .45);
  color: #ffd1d1;
  transform: rotate(90deg);
}
.modal-logo { border-radius: 18px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)); }
.modal-head h2 { font-size: 25px; letter-spacing: -.04em; }
.modal-head p { color: #98a1ab; line-height: 1.6; }

.prod-modal-icon {
  width: 92px;
  height: 92px;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 20%, rgba(217, 178, 106, .22), rgba(217, 178, 106, .04));
  border: 1px solid rgba(217, 178, 106, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.prod-modal-info h2 { font-size: 28px; letter-spacing: -.04em; }
.prod-modal-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(217, 178, 106, .1);
  border: 1px solid rgba(217, 178, 106, .24);
  color: #f0d7a1;
  font-size: 11px;
}
.tier {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.tier:hover { transform: translateY(-2px); border-color: rgba(217, 178, 106, .4); }
.tier.active {
  border-color: rgba(217, 178, 106, .7);
  background: linear-gradient(160deg, rgba(217, 178, 106, .16), rgba(217, 178, 106, .04));
  box-shadow: 0 0 0 1px rgba(217, 178, 106, .4), 0 14px 30px -22px rgba(217, 178, 106, .9);
}
.prod-modal-feats h4 { font-size: 11px; letter-spacing: .16em; color: #8f99a3; }
.prod-modal-feats li::before { color: #f0d7a1; }
.prod-modal-price { border-color: rgba(255, 255, 255, .08); }
.price-big { font-size: 36px; letter-spacing: -.05em; color: #f0d7a1; }
.gift-box, .pm-coupon {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025);
  padding: 12px 14px;
}
.pm-coupon input { flex: 1; }

/* Cart / account */
.account-card {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}
.account-card-value { color: #f0d7a1; letter-spacing: -.04em; }
.row {
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .025);
}
.row-status { border-radius: var(--r-pill); }
.account-skin-wrap { border-radius: var(--r-md); overflow: hidden; }
.account-actions { border-color: rgba(255, 255, 255, .08); }
.section-sub::before { color: #d9b26a; }

/* ---- Admin workspace ----------------------------------------------------- */
.admin-page {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(217, 178, 106, .07), transparent 62%),
    var(--ink-1);
}
.admin-page-header {
  background: rgba(9, 12, 16, .88);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.admin-page-main { padding: 38px 28px 100px; }
.admin-page-intro h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff, #e9dcc0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.admin-panel, .stat, .admin-record, .server-status, .staff-perm-group, .admin-tx-stat {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(170deg, rgba(24, 30, 37, .9), rgba(13, 17, 22, .96));
}
.admin-panel { box-shadow: var(--shadow-card); }
.admin-record { transition: border-color .2s var(--ease-out), background .2s var(--ease-out); }
.admin-record:hover { border-color: rgba(217, 178, 106, .28); background: rgba(217, 178, 106, .04); }
.admin-tabs { border-color: rgba(255, 255, 255, .08); }
.admin-tab { border-radius: var(--r-pill); }
.admin-tx-stat.pending { border-color: rgba(217, 178, 106, .4); background: linear-gradient(155deg, rgba(217, 178, 106, .13), rgba(13, 17, 22, .96) 70%); }
.staff-owner-tag { border-radius: var(--r-pill); }

/* ---- Map ---------------------------------------------------------------- */
.map-teaser {
  border-radius: var(--r-xl);
  border: 1px solid rgba(217, 178, 106, .2);
  background: linear-gradient(160deg, rgba(23, 29, 36, .94), rgba(11, 15, 20, .98));
  box-shadow: var(--shadow-card);
}
.map-teaser-art {
  background:
    radial-gradient(ellipse at 44% 55%, rgba(217, 178, 106, .2), transparent 50%),
    linear-gradient(145deg, #202a2d, #12171b 68%);
}
.map-teaser-copy h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.045em; }
.map-frame-shell, .atlas-map-frame {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: var(--shadow-float);
}
.map-frame-top {
  background: rgba(18, 23, 29, .92);
  border-color: rgba(255, 255, 255, .07);
}
.map-connect-state {
  background:
    radial-gradient(ellipse at 50% 44%, rgba(217, 178, 106, .1), transparent 50%),
    linear-gradient(170deg, rgba(20, 26, 32, .96), rgba(9, 13, 17, .99));
}
.map-connect-icon {
  border: 1px solid rgba(217, 178, 106, .34);
  color: #f0d7a1;
  background: rgba(217, 178, 106, .07);
  box-shadow: 0 0 40px rgba(217, 178, 106, .12);
}
.atlas-realm-tab {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out), transform .2s var(--ease-out);
}
.atlas-realm-tab:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(217, 178, 106, .35); }
.atlas-realm-tab.active {
  border-color: rgba(217, 178, 106, .55);
  background: linear-gradient(160deg, rgba(217, 178, 106, .16), rgba(217, 178, 106, .04));
}
.atlas-intro { border-radius: var(--r-xl); }

/* ---- Footer ------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: 40px;
  padding: 44px 0 34px;
  background: linear-gradient(180deg, rgba(10, 13, 17, .4), rgba(6, 8, 11, .9));
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 178, 106, .4), transparent);
}
.footer-inner { gap: 28px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 12px; }
.footer-brand b { font-size: 15px; letter-spacing: .04em; }
.footer-brand span { color: #8f99a3; }
.footer-links button, .footer-links a {
  color: #8f99a3;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s var(--ease-out);
}
.footer-links button:hover, .footer-links a:hover { color: #f0d7a1; }
.footer-inner > small { color: #5f6872; border-color: rgba(255, 255, 255, .06); }

/* ---- Data error / toast -------------------------------------------------- */
.data-error {
  border-radius: var(--r-md);
  border: 1px solid rgba(248, 113, 113, .35);
  background: linear-gradient(160deg, rgba(62, 26, 32, .75), rgba(28, 16, 20, .9));
}
.toast {
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(16, 21, 27, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9);
  font-size: 12.5px;
  font-weight: 600;
}
.toast.success { border-color: rgba(110, 231, 168, .35); }
.toast.error { border-color: rgba(248, 113, 113, .4); }

/* ---- Scroll progress + back to top -------------------------------------- */
.hl-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #b98a45, #f0d7a1 45%, #d9b26a);
  box-shadow: 0 0 12px rgba(217, 178, 106, .6);
  pointer-events: none;
}
.hl-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217, 178, 106, .3);
  background: rgba(13, 17, 22, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #f0d7a1;
  box-shadow: 0 18px 40px -20px #000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s, background .2s, border-color .2s;
}
.hl-to-top.show { opacity: 1; visibility: visible; transform: none; }
.hl-to-top:hover { background: rgba(217, 178, 106, .14); border-color: rgba(217, 178, 106, .6); transform: translateY(-2px); }

/* ---- Scroll reveal ------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.reveal-no-motion { opacity: 1; transform: none; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .top-zone.site-header { top: 8px; width: calc(100% - 16px); }
  .site-header .header-row { grid-template-columns: auto 1fr auto; }
  .site-header .nav-links { gap: 2px; }
  .site-header .nav-link { padding: 8px 9px; font-size: 11.5px; }
}
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header .header-row { grid-template-columns: 1fr auto; gap: 4px 12px; min-height: 0; }
  .site-header .nav { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
  .site-header .header-right { grid-column: 2; grid-row: 1; }
  .site-header .nav-links { padding-top: 2px; }
  .hero-content.welcome-hero { min-height: 0; padding: 32px 26px; align-items: stretch; }
  .hero-banner { min-height: 0; }
  .hero-title { font-size: clamp(34px, 7vw, 52px); }
  .join-card { max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 700px) {
  .top-zone.site-header {
    top: 6px;
    width: calc(100% - 12px);
    border-radius: 16px;
  }
  .site-header .header-row { min-height: 60px; padding: 7px 10px; gap: 8px; }
  .site-header .brand img { width: 38px; height: 38px; }
  .site-header .brand-text { font-size: 13px; }
  .site-header .nav-link { padding: 8px 9px; font-size: 11.5px; }
  .hero-banner { border-radius: 22px; }
  .hero-content.welcome-hero { padding: 26px 20px; gap: 24px; }
  .join-card { max-width: none; }
  .hero-badge { font-size: 9px; padding: 7px 12px; }
  .hero-title { letter-spacing: -.045em; }
  .hero-sub { font-size: 14px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { padding: 11px 14px; }
  .showcase, .journey, .quick-help, .network-news { margin: 44px 0; }
  .quick-help { padding: 22px; border-radius: var(--r-lg); }
  .store-head { padding: 20px; border-radius: var(--r-lg); }
  .store-toolbar { padding: 8px 10px; }
  .modal { padding: 10px; }
  .modal-card { border-radius: 22px; }
  .hl-to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}
@media (max-width: 520px) {
  .site-header .brand-text { display: none; }
  .site-header .user-credits { display: none; }
  .site-header .user-chip { padding: 5px 8px 5px 5px; }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .hero-banner::before,
  .hero-title span,
  .rank-preview-art .art-img,
  .reveal { opacity: 1; transform: none; transition: none; }
  .p-card, .feat-card, .rank-select, .journey-step, .blog-card, .abtn, .mc-row, .side-nav { transition: none !important; }
}
