/* ─────────────────────────────────────────
   WRAITH — Main Stylesheet
   Fonts: Bebas Neue (display) · DM Sans (body) · JetBrains Mono (mono)
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #050505;
  --surface:  #080808;
  --surface2: #111115;
  --card:     #0d0d0d;
  --border:   #1c1c1c;
  --border2:  #282828;
  --red:      #c41a1a;
  --red-h:    #e02020;
  --red-glow: rgba(196,26,26,.4);
  --cyan:     #00d4ff;
  --green:    #00ff88;
  --gold:     #fbbf24;
  --accent:   #00d4ff;
  --text:     #f0f0f0;
  --muted:    #505050;
  --muted2:   #888;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

/* ─── CURSOR GLOW ─── */
#cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(196,26,26,.10) 0%,
    rgba(196,26,26,.045) 30%,
    rgba(196,26,26,.01) 60%,
    transparent 72%);
  pointer-events: none; z-index: 9998;
  will-change: transform; transform: translate(-50%,-50%);
  mix-blend-mode: screen;
}

/* ─── BACKGROUND CANVAS ─── */
#bg-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}

/* ─── GRAIN TEXTURE — subtle noise overlay on all pages ─── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > footer { margin-top: auto; }
/* Always leave breathing room above footer regardless of content height */
footer { padding-top: 3.5rem !important; padding-bottom: 2rem !important; }


/* ─── SCROLL REVEAL ─── */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1),
              transform .55s cubic-bezier(.22,1,.36,1);
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px);  }
[data-reveal="scale"] { transform: scale(.94);        }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
/* staggered children via delay attribute */
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ─── ANIMATED STAT COUNTERS ─── */
.stat-counter-wrap {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
  padding: 3rem 2rem;
}
.stat-counter {
  text-align: center;
  min-width: 120px;
}
.stat-counter-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: .05em;
  line-height: 1;
  color: var(--text);
}
.stat-counter-value .accent { color: var(--red); }
.stat-counter-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-top: .4rem;
}

/* ─── STICKY BUY BAR (mobile) ─── */
.sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(8,8,8,.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border2);
  padding: .85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.sticky-buy-bar.visible { transform: translateY(0); }
.sticky-buy-bar-info { display: flex; flex-direction: column; gap: .15rem; }
.sticky-buy-bar-name { font-size: .75rem; color: var(--muted2); font-family: var(--font-mono); letter-spacing: .08em; }
.sticky-buy-bar-price { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .05em; color: var(--cyan); }
.sticky-buy-bar-btn {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .1em;
  padding: .65rem 1.5rem;
  background: var(--cyan);
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity .15s;
}
.sticky-buy-bar-btn:hover { opacity: .85; }
@media (max-width: 768px) {
  .sticky-buy-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ─── ANIMATIONS ─── */

/* Page-level fade-in: every public page gently appears instead of popping in. */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageIn .22s ease both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseRing {
  0%, 100% { opacity: .25; transform: scale(1); }
  50%       { opacity: .5;  transform: scale(1.05); }
}
@keyframes revealCard {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scanMove {
  from { background-position: 0 0; }
  to   { background-position: 0 100%; }
}


/* ─── SOCIAL PROOF BAR ─── */

.sp-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201;
  height: 30px;
  background: rgba(5,5,5,.98);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.sp-bar-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: sp-scroll 32s linear infinite;
  will-change: transform;
}
.sp-bar-track:hover { animation-play-state: paused; }
@keyframes sp-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.sp-bar-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0 2.5rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.sp-bar-item .sp-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.sp-bar-item .sp-dot--green { background: #4ade80; }
.sp-bar-item .sp-dot--gold  { background: #fbbf24; }
.sp-bar-item strong { color: rgba(255,255,255,.55); font-weight: 600; }

/* When .sp-bar is present, push nav + page content down */
body.has-sp-bar nav { top: 30px; }
body.has-sp-bar .pyp-hero,
body.has-sp-bar .hero,
body.has-sp-bar .cheats-hero { padding-top: calc(56px + 30px + 2rem); }

/* ─── NAV ─── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 56px;
  background: rgba(5,5,5,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
}

.nav-logo-gif {
  height: 30px; width: 30px;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 0 8px var(--red-glow));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 5px;
  color: var(--text);
}

.nav-links { display: flex; gap: 1.3rem; list-style: none; align-items: center; }

.nav-links a {
  font-family: var(--font-mono);
  color: var(--muted2); text-decoration: none;
  font-size: .68rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: color .15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  font-family: var(--font-mono);
  padding: .4rem 1.1rem;
  border: 1px solid var(--red);
  border-radius: 2px;
  color: var(--text); font-size: .68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}

.nav-cta:hover {
  background: var(--red);
  box-shadow: 0 0 22px var(--red-glow);
}

/* nav right cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: .7rem;
}

#navUserState {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Login button (ghost) */
.nav-login-btn {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted2);
  padding: .38rem .9rem;
  border: 1px solid var(--border2);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-login-btn:hover {
  color: var(--text);
  border-color: var(--muted2);
}

/* Discord icon in nav */
.nav-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  color: #5865f2;
  background: rgba(88,101,242,.1);
  border: 1px solid rgba(88,101,242,.25);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}
.nav-discord-btn:hover {
  background: rgba(88,101,242,.22);
  border-color: rgba(88,101,242,.5);
  color: #7289da;
}

/* User chip (when logged in) */
.nav-user {
  position: relative;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: .28rem .75rem .28rem .3rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  color: var(--text);
}

.nav-user-btn:hover {
  border-color: var(--muted2);
  background: rgba(255,255,255,.04);
}

.nav-user-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border2);
  background: var(--bg);
  flex-shrink: 0;
}

.nav-user-name {
  font-size: .72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .04em;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-balance {
  font-size: .68rem;
  font-family: var(--font-mono);
  color: #4ade80;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.18);
  border-radius: 3px;
  padding: .1rem .4rem;
  white-space: nowrap;
}

.nav-user-caret {
  font-size: .55rem;
  opacity: .5;
  margin-left: .1rem;
}

/* Dropdown */
.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #0d0d0d;
  border: 1px solid var(--border2);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  overflow: hidden;
  z-index: 300;
  animation: fadeInUp .15s both;
}

.nav-user-dropdown.open { display: block; }

.dropdown-header {
  padding: .7rem .9rem .5rem;
  border-bottom: 1px solid var(--border);
}

.dropdown-header-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .35rem;
}

.dropdown-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid var(--border2);
  flex-shrink: 0;
}

.dropdown-username {
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-provider {
  font-size: .65rem;
  font-family: var(--font-mono);
  color: var(--muted2);
  margin-top: .1rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  font-size: .82rem;
  color: var(--muted2);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.dropdown-item:hover {
  background: rgba(255,255,255,.04);
  color: var(--text);
}

.dropdown-item.danger:hover {
  background: rgba(196,26,26,.1);
  color: #e05555;
}


/* ─── HERO ─── */

.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative; overflow: hidden;
}

/* Scan-line texture overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,0,0,.05) 3px, rgba(0,0,0,.05) 4px
  );
}

.hero > * { position: relative; z-index: 2; }

.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% -15%, rgba(196,26,26,.2) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 50% 55%, rgba(196,26,26,.04) 0%, transparent 80%);
}

.hero-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
}

.hero-logo-wrap {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp .7s .05s both;
}

.hero-logo-ring {
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(196,26,26,.3);
  animation: pulseRing 3.5s ease-in-out infinite;
}

.hero-logo-ring2 {
  position: absolute; inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(196,26,26,.12);
  animation: pulseRing 3.5s 1.75s ease-in-out infinite;
}

.hero-gif {
  width: 96px; height: 96px;
  object-fit: contain;
  border-radius: 50%;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 26px rgba(196,26,26,.6));
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: .65rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 1.5rem;
  animation: fadeInUp .6s .2s both;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: 4px;
  max-width: 960px;
  animation: fadeInUp .7s .3s both;
}

h1 .red { color: var(--red); }

.hero-desc {
  margin-top: 1.75rem;
  font-size: .95rem; color: var(--muted2);
  max-width: 380px; line-height: 1.8;
  animation: fadeInUp .6s .42s both;
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp .6s .52s both;
}

/* ─── STATS COUNT-UP ─── */

.stat-item {
  opacity: 0;
  transform: translateY(22px) scale(.95);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  position: relative;
}
.stat-item.stat-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.stat-item:nth-child(1) { transition-delay: .0s; }
.stat-item:nth-child(2) { transition-delay: .15s; }
.stat-item:nth-child(3) { transition-delay: .30s; }
.stat-item:nth-child(4) { transition-delay: .45s; }

/* Glow flash when count finishes */
.stat-item.stat-done .stat-num {
  animation: stat-flash .45s ease forwards;
}
@keyframes stat-flash {
  0%   { text-shadow: none; }
  40%  { text-shadow: 0 0 18px rgba(var(--red-rgb, 180,28,28), .7); }
  100% { text-shadow: none; }
}

.stat-star {
  color: #f59e0b;
  font-size: 2.2rem;
  line-height: 1;
  vertical-align: middle;
  margin-left: .05em;
}

.hero-stats {
  margin-top: 5rem;
  display: flex; gap: 4.5rem; flex-wrap: wrap; justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  width: 100%; max-width: 600px;
  animation: fadeInUp .6s .62s both;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem; display: block;
  line-height: 1; letter-spacing: 2px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: .6rem; color: var(--muted); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: .3rem; display: block;
}


/* ─── SHARED BUTTONS ─── */

.btn {
  display: inline-block; padding: .75rem 2rem; border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none; transition: all .18s;
}

.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 0 26px rgba(196,26,26,.35);
}

.btn-red:hover {
  background: var(--red-h);
  box-shadow: 0 0 40px rgba(196,26,26,.55);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border2); color: var(--muted2);
}

.btn-outline:hover { border-color: var(--muted); color: var(--text); }


/* ─── SHARED LAYOUT ─── */

.hr { border: none; border-top: 1px solid var(--border); }

.section-wrap { max-width: 1160px; margin: 0 auto; padding: 6rem 2rem; }

.section-tag {
  font-family: var(--font-mono);
  font-size: .65rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .7rem;
}

.section-tag::before {
  content: '';
  display: inline-block; width: 20px; height: 1px;
  background: var(--red); flex-shrink: 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400; letter-spacing: 3px;
  line-height: .95;
  margin-bottom: .75rem;
}

.section-desc { color: var(--muted2); font-size: .9rem; max-width: 440px; line-height: 1.75; }


/* ─── SHOP / GAME CARDS ─── */

#shop { background: var(--surface); }

.cards-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.75rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.game-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  background: #0c0c0c; cursor: pointer;
}

.game-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94), filter .45s;
  filter: brightness(.6) saturate(.65);
}

/* Red border glow on hover */
.game-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .35s, box-shadow .35s;
}

.game-card:hover::after {
  border-color: rgba(196,26,26,.45);
  box-shadow: inset 0 0 50px rgba(196,26,26,.1);
}

.game-card:hover .game-card-img,
.game-card:hover .fallback {
  transform: scale(1.07);
  filter: brightness(.3) saturate(.35);
}

.fallback {
  position: absolute; inset: 0; display: none;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94), filter .45s;
}

.fallback-rust  { background: linear-gradient(160deg,#100905,#2a1105,#0c0302); }
.fallback-steam { background: linear-gradient(170deg,#060c1a 0%,#0c1d38 40%,#112542 65%,#060c1a 100%); }

/* ── Coming Soon card ── */
.game-card--soon { cursor: default; }
.game-card--soon:hover::after { border-color: rgba(196,26,26,.2) !important; box-shadow: none !important; }
.game-card--soon:hover .soon-bg { transform: none; filter: none; }

.soon-bg { position: absolute; inset: 0; overflow: hidden; background: #080808; }

.soon-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,26,26,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,26,26,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: soon-drift 18s linear infinite;
}

.soon-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(196,26,26,.13) 0%, transparent 70%);
  animation: soon-pulse 3s ease-in-out infinite alternate;
}

@keyframes soon-drift { to { background-position: 28px 28px; } }
@keyframes soon-pulse { from { opacity:.5; } to { opacity:1; } }

.soon-lock {
  color: rgba(196,26,26,.75);
  animation: soon-pulse 3s ease-in-out infinite alternate;
}

/* ── Cheats Coming Soon card ── */
.game-card--cheats { cursor: default; }
.game-card--cheats:hover::after { border-color: rgba(56,189,248,.2) !important; box-shadow: none !important; }
.game-card--cheats:hover .cheats-bg { transform: none; filter: none; }

.cheats-bg { position: absolute; inset: 0; overflow: hidden; background: #04080f; }

.cheats-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: soon-drift 14s linear infinite;
}

.cheats-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(56,189,248,.04) 48%,
    rgba(56,189,248,.09) 50%,
    rgba(56,189,248,.04) 52%,
    transparent 100%);
  background-size: 100% 200%;
  animation: cheats-scan 4s ease-in-out infinite;
}

.cheats-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 50% at 50% 45%, rgba(56,189,248,.1) 0%, transparent 70%);
  animation: soon-pulse 4s ease-in-out infinite alternate;
}

.cheats-corners::before,
.cheats-corners::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border-color: rgba(56,189,248,.4);
  border-style: solid;
  z-index: 4;
}
.cheats-corners::before { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.cheats-corners::after  { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }

@keyframes cheats-scan {
  0%   { background-position: 0 -100%; }
  50%  { background-position: 0 100%; }
  100% { background-position: 0 -100%; }
}

.cheats-icon {
  color: rgba(56,189,248,.8);
  animation: soon-pulse 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(56,189,248,.4));
}

/* ── Cheats card content layout ── */
.cheats-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: .75rem; padding: 1.5rem;
}
.cheats-content-left {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .6rem;
}
.cheats-genre {
  margin: 0; color: #38bdf8; letter-spacing: .13em; font-size: .7rem;
}
.cheats-title {
  margin: 0; font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: .1em; color: #fff; font-weight: 400;
}
.cheats-content-sep { display: none; }
.cheats-content-right {
  display: flex; flex-direction: column;
  align-items: center; gap: .6rem;
}
.cheats-desc {
  font-size: .74rem; color: var(--muted2);
  line-height: 1.65; max-width: 160px; margin: 0;
}
.cheats-btn {
  margin-top: .2rem; font-size: .7rem;
  background: rgba(56,189,248,.12) !important;
  border-color: rgba(56,189,248,.35) !important;
  color: #38bdf8 !important;
}

/* Wide mode — cheats card spans full row */
.game-grid .game-card:last-child:nth-child(3n+1).game-card--cheats .cheats-content {
  flex-direction: row;
  text-align: left;
  gap: 0;
  padding: 2rem 3rem;
  justify-content: center;
}
.game-grid .game-card:last-child:nth-child(3n+1).game-card--cheats .cheats-content-left {
  align-items: flex-start;
  min-width: 200px;
  flex-shrink: 0;
}
.game-grid .game-card:last-child:nth-child(3n+1).game-card--cheats .cheats-content-sep {
  display: block;
  width: 1px; min-height: 90px; align-self: center;
  background: rgba(56,189,248,.15);
  margin: 0 2.5rem;
  flex-shrink: 0;
}
.game-grid .game-card:last-child:nth-child(3n+1).game-card--cheats .cheats-content-right {
  align-items: flex-start;
  max-width: 360px;
}
.game-grid .game-card:last-child:nth-child(3n+1).game-card--cheats .cheats-desc {
  max-width: 100%;
  font-size: .82rem;
}
.fallback-fortnite { background: linear-gradient(170deg,#07021a 0%,#190535 35%,#290d58 65%,#07021a 100%); }
.fallback-fnite    { background: linear-gradient(170deg,#07021a 0%,#190535 35%,#290d58 65%,#07021a 100%); }
.fallback-siege    { background: linear-gradient(160deg,#060d02,#102005,#020700); }
.fallback-cs       { background: linear-gradient(160deg,#0d0802,#261a05,#0c0700); }
.fallback-cs2      { background: linear-gradient(160deg,#0d0802,#261a05,#0c0700); }
.fallback-apex         { background: linear-gradient(170deg,#110505 0%,#2c0b06 40%,#420d06 65%,#110505 100%); }
.fallback-tarkov       { background: linear-gradient(160deg,#05090a 0%,#0c1c10 40%,#0a1a0d 65%,#05090a 100%); }
.fallback-rocketleague { background: linear-gradient(160deg,#010d12 0%,#04232e 40%,#063545 65%,#010d12 100%); }
.fallback-gta          { background: linear-gradient(160deg,#0a0900 0%,#1c1800 40%,#2b2400 65%,#0a0900 100%); }

/* ── Valorant card art ── */
.fallback-valorant {
  background: linear-gradient(170deg,#0d0206 0%,#1f0509 40%,#2e060c 65%,#0d0206 100%);
}
.card-art-bg--val {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255,70,85,.22) 0%, transparent 65%);
  animation: soon-pulse 3.5s ease-in-out infinite alternate;
}
.card-art-grid--val {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,70,85,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,70,85,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  animation: soon-drift 18s linear infinite;
}
.card-art-icon--val {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 2;
  width: 52%; color: #ff4655;
  opacity: .22;
  filter: drop-shadow(0 0 18px rgba(255,70,85,.5));
}

/* ── League of Legends card art ── */
.fallback-lol {
  background: linear-gradient(160deg,#06060e 0%,#0b0d1e 40%,#0e1028 65%,#06060e 100%);
}
.card-art-bg--lol {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(200,155,60,.18) 0%, transparent 65%);
  animation: soon-pulse 4s ease-in-out infinite alternate;
}
.card-art-grid--lol {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,155,60,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,155,60,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  animation: soon-drift 24s linear infinite;
}
.card-art-icon--lol {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 2;
  width: 55%; color: #c89b3c;
  opacity: .22;
  filter: drop-shadow(0 0 18px rgba(200,155,60,.5));
}

/* ── Fill incomplete last row: last card spans remaining columns ── */
.game-grid .game-card:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
  aspect-ratio: unset;
  min-height: 230px;
}
.game-grid .game-card:last-child:nth-child(3n+2) {
  grid-column: auto / span 2;
}

/* Steam card art */
.card-art-steam-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(103,193,245,.1) 0%, transparent 65%),
    radial-gradient(circle at 15% 85%, rgba(40,100,180,.15) 0%, transparent 50%);
}
.card-art-steam-logo {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -55%);
  width: 72%; max-width: 200px;
  opacity: .2; filter: brightness(0) invert(1);
  pointer-events: none; user-select: none;
}

/* Fortnite fallback glows */
.card-art-fnite-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(140,50,255,.45) 0%, transparent 70%);
  pointer-events: none;
}
.card-art-fnite-glow2 {
  position: absolute; bottom: 10%; right: -10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,60,200,.25) 0%, transparent 65%);
  pointer-events: none;
}

/* Apex fallback glows */
.card-art-apex-glow {
  position: absolute; top: -5%; left: 50%; transform: translateX(-50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(210,55,30,.5) 0%, transparent 70%);
  pointer-events: none;
}
.card-art-apex-glow2 {
  position: absolute; bottom: 5%; right: -5%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,110,30,.2) 0%, transparent 65%);
  pointer-events: none;
}

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.97) 0%,
    rgba(0,0,0,.62) 42%,
    rgba(0,0,0,.06) 72%,
    transparent 100%);
}

.card-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  padding: .2rem .55rem;
  background: var(--red); border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}

.card-body {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 1.5rem 1.5rem 1.6rem;
}

.card-genre {
  font-family: var(--font-mono);
  font-size: .57rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: .4rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 400;
  letter-spacing: 1.5px; margin-bottom: .65rem; line-height: 1;
}

.card-tags {
  display: flex; flex-wrap: wrap; gap: .28rem; margin-bottom: 1rem;
}

.ctag {
  font-family: var(--font-mono);
  font-size: .58rem; font-weight: 600; color: var(--muted2);
  background: rgba(255,255,255,.04);
  padding: .18rem .5rem; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.06);
  letter-spacing: .5px;
}

.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 400; letter-spacing: 1px; line-height: 1;
}

.card-price small {
  font-family: var(--font-mono);
  font-size: .57rem; font-weight: 400; color: var(--muted2);
  display: block; line-height: 1; margin-bottom: 2px;
  letter-spacing: 1px; text-transform: uppercase;
}

.card-btn {
  font-family: var(--font-mono);
  padding: .48rem 1rem;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  border-radius: 2px; color: var(--text);
  font-size: .65rem; font-weight: 700; letter-spacing: 1.5px;
  text-decoration: none; text-transform: uppercase;
  transition: background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}

.game-card:hover .card-btn,
.card-btn:hover {
  background: var(--red); border-color: var(--red);
  box-shadow: 0 0 20px rgba(196,26,26,.45);
}


/* ─── BRAND STRIP ─── */

.brand-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap; text-align: center;
}

.brand-strip-gif {
  width: 50px; height: 50px;
  object-fit: contain; border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(196,26,26,.5));
}

.brand-strip-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  letter-spacing: 8px; text-transform: uppercase;
  color: var(--muted2);
}

.brand-strip-text strong { color: var(--text); }


/* ─── WHY US ─── */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

/* Scroll-in animation */
.why-item {
  background: var(--card);
  padding: 2rem 2.25rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), background .2s;
}
.why-item.why-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Red left accent bar — slides in with the card */
.why-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s cubic-bezier(.22,1,.36,1) .2s;
}
.why-item.why-visible::before { transform: scaleY(1); }

.why-item:hover { background: rgba(196,26,26,.03); }

.why-body { display: flex; flex-direction: column; gap: .4rem; }

.why-icon {
  width: 20px; height: 20px;
  color: var(--red);
  opacity: .8;
  margin-bottom: .3rem;
  flex-shrink: 0;
}

.why-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.why-desc {
  font-size: .82rem;
  color: var(--muted2);
  line-height: 1.7;
}


/* ─── REVIEWS ─── */

#reviews { background: var(--surface); overflow: hidden; }
#reviews .section-wrap { padding-bottom: 2rem; }

/* Marquee container */
.reviews-marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.reviews-marquee:last-of-type { margin-bottom: 3rem; }
/* Edge fade */
.reviews-marquee::before,
.reviews-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.reviews-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--surface) 0%, transparent 100%);
}
.reviews-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--surface) 0%, transparent 100%);
}

/* Track */
.reviews-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-left 50s linear infinite;
}
.reviews-track--reverse {
  animation: marquee-right 55s linear infinite;
}
.reviews-marquee:hover .reviews-track,
.reviews-marquee:hover .reviews-track--reverse {
  animation-play-state: paused;
}

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.review {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  width: 320px;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.review:hover { background: #111; border-color: var(--border2); }

.review-stars { display: flex; gap: 3px; margin-bottom: 1rem; }

.star {
  width: 10px; height: 10px; background: #c4820a;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.star.dim { background: #281e00; }

.review-text {
  font-size: .85rem; color: var(--muted2);
  line-height: 1.75; margin-bottom: 1.2rem;
  font-style: italic;
}

.review-author { display: flex; align-items: center; gap: .65rem; }

.r-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--border2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: .62rem; font-weight: 700; color: var(--muted2); flex-shrink: 0;
}

.r-name { font-size: .85rem; font-weight: 600; }
.r-game {
  font-family: var(--font-mono);
  font-size: .62rem; color: var(--red); letter-spacing: 1px; text-transform: uppercase;
}


/* ─── FAQ ─── */

.faq-list { display: flex; flex-direction: column; }

details { border-bottom: 1px solid var(--border); padding: 1.3rem 0; }
details:first-child { border-top: 1px solid var(--border); }

summary {
  font-size: .92rem; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}

summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--muted2);
  transition: border-color .15s, color .15s, background .15s;
}

.faq-icon::after { content: '+'; }
details[open] .faq-icon { border-color: var(--red); color: #fff; background: var(--red); }
details[open] .faq-icon::after { content: '\2212'; }

.faq-body {
  margin-top: .7rem; font-size: .85rem; color: var(--muted2);
  line-height: 1.75; max-width: 640px;
  animation: fadeInUp .2s both;
}


/* ─── CTA ─── */

.cta-wrap { max-width: 1160px; margin: 0 auto; padding: 0 2rem 6rem; }

.cta-block {
  border: 1px solid var(--border);
  border-radius: 4px; padding: 5rem 3rem;
  text-align: center; position: relative; overflow: hidden;
  background: var(--surface);
}

.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 90% at 50% 115%, rgba(196,26,26,.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 50% 50%, rgba(196,26,26,.03) 0%, transparent 80%);
  pointer-events: none;
}

.cta-gif {
  width: 54px; height: 54px; object-fit: contain;
  border-radius: 50%; margin-bottom: 1.75rem;
  filter: drop-shadow(0 0 16px rgba(196,26,26,.45));
}

.cta-block h2 { margin-bottom: .65rem; }
.cta-block p  { color: var(--muted2); font-size: .92rem; margin-bottom: 2.5rem; }


/* ─── FOOTER ─── */

footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer-brand { display: flex; align-items: center; gap: .6rem; }

.footer-gif { width: 26px; height: 26px; object-fit: contain; border-radius: 3px; opacity: .6; }

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted2);
}

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-links a {
  font-family: var(--font-mono);
  font-size: .65rem; color: var(--muted); text-decoration: none;
  letter-spacing: .8px; text-transform: uppercase;
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: .65rem; color: var(--muted); letter-spacing: .5px;
}


/* ─── RESPONSIVE ─── */

@media (max-width: 960px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .review { width: 270px; }
  nav { padding: 0 1.5rem; }
}

@media (max-width: 620px) {
  .game-grid { grid-template-columns: 1fr; }
  .why-grid  { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  footer      { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 2.5rem; }
  h1 { letter-spacing: 2px; }
}


/* ─────────────────────────────────────────
   PRODUCT PAGE STYLES
   ───────────────────────────────────────── */

/* ─── PAGE HERO ─── */

.page-hero {
  min-height: 52vh;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 2rem 4rem;
}

/* Scan-line on product heroes too */
.page-hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,0,0,.04) 3px, rgba(0,0,0,.04) 4px
  );
}

.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--game-img, none);
  background-size: cover;
  background-position: center top;
  filter: brightness(.38) saturate(.7);
}

.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      rgba(5,5,5,1) 0%,
      rgba(5,5,5,.92) 30%,
      rgba(5,5,5,.5) 60%,
      rgba(5,5,5,.15) 100%
    ),
    linear-gradient(to top,
      rgba(5,5,5,1) 0%,
      rgba(5,5,5,.7) 20%,
      transparent 52%
    );
}

.page-back {
  position: absolute; top: 5rem; left: 2rem;
  font-family: var(--font-mono);
  color: var(--muted2); font-size: .68rem;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; z-index: 3;
  transition: color .15s;
}
.page-back:hover { color: var(--text); }

.page-hero-inner {
  max-width: 1160px; margin: 0 auto;
  width: 100%; position: relative; z-index: 3;
}

.page-genre-tag {
  font-family: var(--font-mono);
  font-size: .6rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: .75rem; display: block;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 400; letter-spacing: 4px; line-height: .95;
  max-width: 1160px; margin: 0 auto;
  width: 100%; position: relative; z-index: 3;
}

.page-subtitle {
  color: var(--muted2); font-size: .9rem;
  max-width: 480px; margin-top: .8rem; line-height: 1.72;
  position: relative; z-index: 3;
}


/* ─── ACCOUNTS SECTION ─── */

.accounts-section {
  background: var(--surface);
  padding: 5rem 2rem;
}

.accounts-inner { max-width: 1160px; margin: 0 auto; }

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.account-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  display: flex; flex-direction: column;
  position: relative;
  border-top: 3px solid transparent;
  transition: border-top-color .25s, transform .25s, box-shadow .25s, background .25s, border-color .25s;
}

.account-card.reveal-in {
  animation: revealCard .5s both;
}

.account-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.03) 0%, transparent 60%);
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
}
.account-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(196,26,26,.3), 0 0 40px rgba(196,26,26,.08);
  border-top-color: var(--red);
  background: #0f0f0f;
  z-index: 1;
}
.account-card:hover::after { opacity: 1; }

.account-tier {
  font-family: var(--font-mono);
  font-size: .6rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: .5rem;
}

.account-price {
  font-family: var(--font-display);
  font-size: 4.2rem; font-weight: 400;
  line-height: 1; letter-spacing: 2px;
  margin-bottom: .2rem;
}

.account-price small {
  font-family: var(--font-mono);
  font-size: .58rem; color: var(--muted2); font-weight: 400;
  letter-spacing: 1px; text-transform: uppercase;
}

.account-features {
  list-style: none;
  margin: 1.25rem 0 1.5rem; flex: 1;
}

.account-features li {
  font-size: .84rem; color: var(--muted2);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .6rem;
}

.account-features li:last-child { border-bottom: none; }

.account-features li::before {
  content: "✓";
  color: var(--red); font-weight: 700;
  font-size: .78rem; flex-shrink: 0;
}

.account-buy {
  display: block; text-align: center;
  padding: .78rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
  background: var(--red); color: #fff;
  transition: background .15s, box-shadow .15s;
  margin-top: auto;
}
.account-buy:hover { background: var(--red-h); box-shadow: 0 0 22px rgba(196,26,26,.45); }

.account-price-tbd {
  font-family: var(--font-body) !important;
  font-size: 1.1rem !important;
  color: var(--muted2) !important;
  font-weight: 600 !important;
}

.accounts-empty {
  padding: 3rem 2rem; text-align: center;
  color: var(--muted2); font-size: .9rem;
  grid-column: 1 / -1;
}
.accounts-empty a { color: var(--red); text-decoration: none; }
.accounts-empty a:hover { text-decoration: underline; }

/* ─── SOLD STATE ─── */
.account-card.acc-sold { opacity: .6; pointer-events: none; }
.account-card.acc-sold .buy-account-btn { cursor: default; }
.sold-badge {
  position: absolute; top: .6rem; right: .6rem;
  background: #222; color: var(--muted2);
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .12em; padding: .2rem .5rem;
  border-radius: 3px; text-transform: uppercase;
}
.account-price-sold { color: var(--muted2) !important; text-decoration: line-through; }

/* ─── BUY BUTTON (card) ─── */
.buy-account-btn {
  position: relative; overflow: hidden;
  flex: 1;                         /* fills remaining space next to preview btn */
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: 0 1rem; height: 40px;   /* matches preview btn height */
  background: linear-gradient(115deg, #8f0e0e 0%, #b01515 30%, #d41c1c 55%, #b01515 80%, #8f0e0e 100%);
  background-size: 280% 100%; background-position: 0% 0;
  color: #fff; border: none; border-radius: 4px;
  font-family: var(--font-display); font-size: .9rem;
  letter-spacing: .1em; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(196,26,26,.4),
              0 2px 12px rgba(196,26,26,.3),
              inset 0 1px 0 rgba(255,255,255,.08);
  transition: background-position .55s ease, box-shadow .3s, transform .15s;
  white-space: nowrap;
  margin-top: 0;
}
/* top-edge highlight */
.buy-account-btn::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  pointer-events: none;
}
/* shimmer sweep */
.buy-account-btn::before {
  content: '';
  position: absolute; top: 0; left: -90%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.buy-account-btn:hover:not(:disabled) {
  background-position: 100% 0;
  box-shadow: 0 0 28px rgba(196,26,26,.7),
              0 0 0 1px rgba(196,26,26,.6),
              0 6px 24px rgba(196,26,26,.35),
              inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.buy-account-btn:hover:not(:disabled)::before { left: 145%; }
.buy-account-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 0 16px rgba(196,26,26,.4), 0 0 0 1px rgba(196,26,26,.4);
  transition-duration: .08s;
}
.buy-account-btn .btn-buy-icon { display: flex; align-items: center; flex-shrink: 0; opacity: .85; }
.buy-account-btn .btn-buy-price {
  font-size: 1rem; font-family: var(--font-display);
  letter-spacing: .04em;
}
.buy-account-btn .btn-buy-label {
  font-size: .65rem; letter-spacing: .14em;
  opacity: .75; font-family: var(--font-mono);
}
.buy-account-btn.sold {
  background: #0e0e0e; color: var(--muted);
  border: 1px solid var(--border); cursor: default;
  box-shadow: none; flex: 1; display: flex;
  align-items: center; justify-content: center;
  height: 40px; border-radius: 4px; margin-top: 0;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .1em;
}
.buy-account-btn.sold::before,
.buy-account-btn.sold::after { display: none; }

/* ─── PURCHASE MODAL ─── */
.purch-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.purch-modal {
  background: var(--card, #0a0a12);
  border: 1px solid var(--border2, #1e1e2e);
  border-top: 3px solid var(--red, #c41a1a);
  border-radius: 8px;
  width: 100%; max-width: 420px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp .2s both;
}
.purch-x {
  position: absolute; top: .7rem; right: .8rem;
  background: none; border: none;
  color: var(--muted2); font-size: 1.1rem;
  cursor: pointer; line-height: 1; padding: .1rem .3rem;
}
.purch-x:hover { color: var(--text); }
.purch-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--red); color: #fff;
  border: none; border-radius: 4px;
  font-family: var(--font-display); font-size: .95rem;
  letter-spacing: .06em; padding: .65rem 1.6rem;
  cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.purch-btn:hover { background: #a81212; }
.purch-btn.discord-btn { background: #5865f2; }
.purch-btn.discord-btn:hover { background: #4752c4; }
.purch-cancel-btn {
  display: block; margin: .7rem auto 0;
  background: none; border: none;
  color: var(--muted2); font-size: .82rem;
  cursor: pointer; text-decoration: underline;
}
.purch-cancel-btn:hover { color: var(--text); }

/* ─── DROPS ADDON ─── */
.drops-row {
  display: flex; gap: .6rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.drop-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: .25rem; padding: .6rem 1rem;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 6px; cursor: pointer;
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--muted2); transition: border-color .2s, color .2s, background .2s;
  min-width: 100px;
}
.drop-btn:hover { border-color: rgba(196,26,26,.4); color: var(--text); }
.drop-btn.active {
  border-color: var(--red); background: rgba(196,26,26,.1);
  color: var(--text);
}
.drop-btn .drop-icon { font-size: 1.4rem; }
.drop-btn .drop-name { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.drop-btn .drop-price { color: #4ade80; }


/* ─── PAYMENT BUTTONS ─── */

.pay-methods {
  display: flex; flex-direction: column;
  gap: .4rem;
}

/* when inside account-actions, remove old top margin/padding */
.account-actions .pay-methods {
  margin-top: 0;
  padding-top: 0;
}

.pay-btn {
  display: flex; align-items: center; justify-content: center;
  gap: .55rem; padding: .7rem 1rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .15s, transform .12s, box-shadow .15s;
}

.pay-btn:hover {
  filter: brightness(1.14);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,.45);
}

.pay-btn .pay-icon { width: 15px; height: 15px; flex-shrink: 0; opacity: .9; }

.pay-stripe { background: #5851ea; color: #fff; }
.pay-paypal { background: #003087; color: #fff; }
.pay-crypto { background: #e07a00; color: #fff; }


/* ─── FOOTER PAYMENT LOGOS ─── */

.footer-pay { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

.footer-pay-label {
  font-family: var(--font-mono);
  font-size: .62rem; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}

.footer-pay-logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px;
  opacity: .7;
  transition: opacity .2s;
  flex-shrink: 0;
}
.footer-pay-logo:hover { opacity: 1; }
/* Coin logos (circle-based) */
.footer-pay-logo svg { height: 28px; width: auto; }
/* Card logos (wider) */
.footer-pay-logo:first-child svg,
.footer-pay-logo:nth-child(3) svg { height: 22px; }


/* ─── ACCOUNT STATS GRID ─── */

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.acc-stat {
  background: #0a0a0a;
  padding: .45rem .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.acc-stat-icon {
  font-size: .8rem;
  flex-shrink: 0;
  opacity: .7;
}

.acc-stat-body { min-width: 0; }

.acc-stat-label {
  font-size: .58rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  display: block;
  line-height: 1.2;
}

.acc-stat-val {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── CARD ACTIONS ─── */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1rem;
}

/* Preview — small, subtle top row */
.card-preview-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border: 1px solid var(--border2);
  border-radius: 3px;
  background: none;
  color: var(--muted2);
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  width: 100%;
}
.card-preview-btn:hover {
  border-color: var(--muted2);
  color: var(--text);
  background: rgba(255,255,255,.025);
}
.card-preview-btn svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Buy — bold, full-width, unmistakably a CTA */
.card-buy-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem 1.1rem;
  background: linear-gradient(115deg, #900e0e 0%, #b81818 35%, #d42020 55%, #b81818 75%, #900e0e 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(196,26,26,.5),
    0 4px 18px rgba(196,26,26,.35),
    inset 0 1px 0 rgba(255,255,255,.1),
    inset 0 -1px 0 rgba(0,0,0,.2);
  transition: background-position .55s ease, box-shadow .25s, transform .15s;
}
/* shimmer */
.card-buy-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-15deg);
  transition: left .65s ease;
  pointer-events: none;
}
.card-buy-btn:hover:not(:disabled) {
  background-position: 100% 0;
  box-shadow:
    0 0 30px rgba(196,26,26,.75),
    0 0 0 1px rgba(196,26,26,.7),
    0 8px 28px rgba(196,26,26,.4),
    inset 0 1px 0 rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.card-buy-btn:hover:not(:disabled)::before { left: 145%; }
.card-buy-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 0 14px rgba(196,26,26,.45), 0 0 0 1px rgba(196,26,26,.45);
  transition-duration: .07s;
}

.card-buy-btn__lock {
  display: flex;
  align-items: center;
  opacity: .8;
  flex-shrink: 0;
}
.card-buy-btn__text {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
  flex: 1;
  text-align: left;
}
.card-buy-btn__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .03em;
  font-weight: 700;
}
.card-buy-btn--sold {
  background: #111 !important;
  color: var(--muted) !important;
  border: 1px solid var(--border) !important;
  cursor: default !important;
  box-shadow: none !important;
  transform: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .75rem 1.1rem;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
}
.card-buy-btn--sold::before { display: none !important; }

/* legacy aliases — kept visible so old cached JS still renders buttons */
.account-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1rem;
}
.btn-preview {
  display: flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .45rem .8rem;
  border: 1px solid var(--border2); border-radius: 3px;
  background: none; color: var(--muted2);
  font-family: var(--font-mono); font-size: .62rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; width: 100%;
  transition: border-color .15s, color .15s;
}
.btn-preview:hover { border-color: var(--muted2); color: var(--text); }
/* old buy button — will show if new script.js hasn't loaded yet */
.buy-account-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: .75rem 1.1rem; width: 100%;
  background: linear-gradient(115deg, #900e0e 0%, #b81818 35%, #d42020 55%, #b81818 75%, #900e0e 100%);
  background-size: 300% 100%; background-position: 0% 0;
  color: #fff; border: none; border-radius: 5px; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .08em;
  box-shadow: 0 0 0 1px rgba(196,26,26,.5), 0 4px 18px rgba(196,26,26,.35),
              inset 0 1px 0 rgba(255,255,255,.1);
  transition: background-position .55s, box-shadow .25s, transform .15s;
}
.buy-account-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-15deg); transition: left .65s ease; pointer-events: none;
}
.buy-account-btn:hover:not(:disabled) {
  background-position: 100% 0;
  box-shadow: 0 0 30px rgba(196,26,26,.75), 0 0 0 1px rgba(196,26,26,.7),
              0 8px 28px rgba(196,26,26,.4);
  transform: translateY(-2px);
}
.buy-account-btn:hover:not(:disabled)::before { left: 145%; }
.buy-account-btn:active:not(:disabled) { transform: translateY(0); transition-duration: .08s; }
.buy-account-btn.sold {
  background: #111 !important; color: var(--muted) !important;
  border: 1px solid var(--border) !important; box-shadow: none !important;
  transform: none !important; font-size: .68rem; letter-spacing: .1em;
  font-family: var(--font-mono); justify-content: center;
}

/* ─── BUY MODAL ─── */

/* ── overlay: display:block + inner flex wrapper = 100% reliable centering ── */
.bym-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.bym-overlay.open { display: block; animation: fadeIn .18s both; }

/* inner wrapper is the flex container that does the centering */
.bym-inner {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.bym-panel {
  background: var(--card);
  border: 1px solid var(--border2);
  border-top: 3px solid var(--red);
  border-radius: 6px;
  width: min(90vw, 500px);
  overflow-y: visible;
  box-shadow: 0 0 100px rgba(0,0,0,.9), 0 0 0 1px rgba(196,26,26,.08);
  animation: fadeInUp .22s both;
  font-size: .88rem;
  color: var(--text);
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

.bym-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 2;
}
.bym-topbar-left  { display: flex; align-items: center; gap: .5rem; }
.bym-topbar-icon  { color: var(--muted2); display: flex; align-items: center; }
.bym-topbar-title {
  font-family: var(--font-mono);
  font-size: .65rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted2);
}
.bym-topbar-right { display: flex; align-items: center; gap: .8rem; }
.bym-price-tag {
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: .04em;
  color: var(--text);
}
.bym-close {
  background: none; border: 1px solid var(--border2);
  border-radius: 4px; padding: .2rem .5rem;
  color: var(--muted2); cursor: pointer;
  font-size: .9rem; line-height: 1;
  transition: border-color .2s, color .2s;
}
.bym-close:hover { border-color: var(--muted2); color: var(--text); }

.bym-body {
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}

/* Stats strip inside buy modal */
.bym-stats-wrap .account-stats { gap: .45rem; }

/* Account identity strip */
.bym-acct-id {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .7rem .85rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
}
.bym-acct-id-info { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.bym-acct-game-tag {
  font-size: .57rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted2);
}
.bym-acct-name {
  font-size: .92rem; font-weight: 700; color: var(--text); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px;
}
.bym-acct-id-toprow {
  display: flex; align-items: center; gap: .4rem;
}
.bym-acct-idnum {
  font-size: .68rem; font-weight: 600; font-family: var(--font-mono); letter-spacing: .04em;
  color: var(--muted2); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  padding: .13rem .42rem; border-radius: 4px;
}
.bym-fn-pills { padding: .1rem 0; }
.bym-fn-pills .fn-card-pill { font-size: .75rem; padding: .28rem .65rem; }
.bym-fn-skins {
  display: flex; align-items: center; gap: .28rem; flex-shrink: 0;
}
.bym-fn-sc {
  width: 42px; height: 42px; border-radius: 6px;
  background: var(--fnbg, rgba(255,255,255,.05)); border: 1.5px solid var(--fnb, rgba(255,255,255,.15));
  overflow: hidden; flex-shrink: 0;
}
.bym-fn-sc img { width: 100%; height: 100%; object-fit: cover; }
.bym-fn-more {
  font-size: .7rem; color: var(--muted2); font-weight: 600;
  white-space: nowrap; padding-left: .15rem;
}

/* Features list */
.bym-features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .35rem .8rem;
}
.bym-features li {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: var(--muted2);
}
.bym-features li svg { flex-shrink: 0; }

/* Drops section */
.bym-drops {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .9rem 1rem;
}
.bym-drops-hdr {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: .75rem;
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted2);
}
.bym-drops-hint { font-size: .6rem; color: var(--muted); text-transform: none; letter-spacing: 0; }
.bym-drops-row  { display: flex; gap: .55rem; flex-wrap: wrap; }

.bym-drop-chip {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .85rem;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 6px; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  flex: 1; min-width: 130px; text-align: left;
}
.bym-drop-chip:hover {
  border-color: rgba(196,26,26,.4);
  background: rgba(196,26,26,.04);
}
.bym-drop-chip.active {
  border-color: var(--red);
  background: rgba(196,26,26,.1);
  box-shadow: 0 0 0 1px rgba(196,26,26,.2);
}

.bdc-icon { font-size: 1.2rem; flex-shrink: 0; }
.bdc-info  { display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.bdc-name  {
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); font-weight: 700;
}
.bdc-price { font-size: .72rem; color: #4ade80; font-family: var(--font-mono); }

.bdc-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s, background .2s, color .2s;
  color: transparent;
}
.bym-drop-chip.active .bdc-check {
  background: var(--red); border-color: var(--red);
  color: #fff;
}

/* Total bar */
.bym-total-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.bym-total-label {
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted2);
}
.bym-total-val {
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--text); letter-spacing: .02em;
}

/* Confirm button */
.bym-confirm-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem;
  background: linear-gradient(110deg, #b01515 0%, #c41a1a 40%, #e02020 60%, #c41a1a 100%);
  background-size: 250% 100%; background-position: 0% 0;
  border: none; border-radius: 6px;
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: .06em; color: #fff; cursor: pointer;
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(196,26,26,.35), 0 4px 20px rgba(196,26,26,.25);
  transition: background-position .5s, box-shadow .3s, transform .15s, opacity .2s;
}
.bym-confirm-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.bym-confirm-btn:hover:not(:disabled) {
  background-position: 100% 0;
  box-shadow: 0 0 32px rgba(196,26,26,.6), 0 0 0 1px rgba(196,26,26,.5), 0 8px 30px rgba(196,26,26,.3);
  transform: translateY(-1px);
}
.bym-confirm-btn:hover:not(:disabled)::before { transform: translateX(100%); }
.bym-confirm-btn:active:not(:disabled)  { transform: translateY(0); box-shadow: 0 0 16px rgba(196,26,26,.4); }
.bym-confirm-btn:disabled { opacity: .5; cursor: default; }

/* ── Two-step confirmation ── */
.bym-deduct-notice {
  display: flex; align-items: flex-start; gap: .55rem;
  background: rgba(196,26,26,.07); border: 1px solid rgba(196,26,26,.22);
  border-radius: 7px; padding: .8rem 1rem; font-size: .82rem;
  color: var(--muted); line-height: 1.55; margin-bottom: .65rem;
}
.bym-deduct-notice strong { color: var(--text); }
.bym-deduct-notice svg { color: #f87171; margin-top: 1px; flex-shrink: 0; }
.bym-confirm-row { display: flex; gap: .55rem; }
.bym-back-btn {
  flex: 0 0 auto; padding: .88rem 1.1rem;
  font-size: .82rem; font-weight: 600; font-family: inherit;
  background: transparent; border: 1px solid var(--border2);
  color: var(--muted2); border-radius: 6px; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.bym-back-btn:hover { border-color: var(--muted); color: var(--text); }
.bym-back-btn:disabled { opacity: .4; cursor: default; }
.bym-final-btn {
  flex: 1; padding: .9rem 1.5rem;
  font-size: .88rem; font-weight: 800; letter-spacing: .06em;
  font-family: var(--font-display);
  background: linear-gradient(110deg, #1a7a35 0%, #1f9944 50%, #1a7a35 100%);
  background-size: 200%;
  border: none; color: #fff; border-radius: 6px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(26,138,58,.28);
  transition: background-position .45s, transform .12s, opacity .2s;
}
.bym-final-btn:hover:not(:disabled) { background-position: 100%; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(26,138,58,.4); }
.bym-final-btn:active:not(:disabled) { transform: translateY(0); }
.bym-final-btn:disabled { opacity: .5; cursor: default; }

@media (max-width: 420px) {
  .bym-features { grid-template-columns: 1fr; }
  .bym-drop-chip { min-width: unset; flex: 1 1 100%; }
}

/* ─── PREVIEW MODAL ─── */

.preview-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}
.preview-modal-overlay.open { display: flex; animation: fadeIn .18s both; }

/* ── Main modal shell ── */
.pm2 {
  background: var(--card);
  border: 1px solid var(--border2);
  border-top: 3px solid var(--red);
  border-radius: 4px;
  width: min(90vw, 960px);
  max-height: 92vh;
  overflow-y: hidden;           /* panel itself scrolls, not the shell */
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 100px rgba(0,0,0,.9), 0 0 0 1px rgba(196,26,26,.08);
  animation: fadeInUp .22s both;
  font-size: .88rem;
  color: var(--text);
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

/* ── Top bar ── */
.pm2-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.pm2-topbar-title {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
}
.pm2-topbar-right { display: flex; align-items: center; gap: .8rem; }
.pm2-price-tag {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .05em;
  color: var(--red);
}
.pm2-close {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 3px;
  color: var(--muted2);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem;
  transition: border-color .15s, color .15s;
}
.pm2-close:hover { border-color: var(--muted2); color: var(--text); }

/* ── Profile header ── */
.pm2-profile-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(135deg, rgba(196,26,26,.07) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Avatar — WRAITH logo GIF */
.pm2-avatar-wrap {
  flex-shrink: 0;
  position: relative;
  width: 80px; height: 80px;
}
.pm2-avatar-border {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--red), #e05050, #800, var(--red));
  box-shadow: 0 0 22px var(--red-glow);
  animation: spin 4s linear infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pm2-avatar-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pm2-avatar-gif {
  width: 70px; height: 70px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px var(--red-glow));
  position: relative; z-index: 2;
}

/* Identity block */
.pm2-identity { flex: 1; min-width: 0; }
.pm2-username-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
  user-select: none;
}
.pm2-username-redacted {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--border2);
  letter-spacing: .05em;
  filter: blur(3px);
  user-select: none;
}
.pm2-username-hint {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--muted);
  letter-spacing: .08em;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: .1rem .4rem;
}
.pm2-meta-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}
.pm2-geo { font-size: .78rem; color: var(--muted2); }
.pm2-vpn { font-size: .72rem; font-family: var(--font-mono); color: var(--muted2); }
.pm2-tag-chip {
  display: inline-block;
  font-size: .65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .06em;
  padding: .18rem .55rem;
  border-radius: 3px;
  background: rgba(196,26,26,.12);
  border: 1px solid rgba(196,26,26,.3);
  color: #e05555;
}
.pm2-tags { display: flex; flex-wrap: wrap; gap: .35rem; }

/* Level + years panel */
.pm2-right-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
  flex-shrink: 0;
}
.pm2-listed-block {
  text-align: right;
  font-size: .72rem;
  color: var(--muted2);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
}
.pm2-listed-block strong { color: var(--red); }
.pm2-avail-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: .35rem;
  box-shadow: 0 0 6px rgba(74,222,128,.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 4px rgba(74,222,128,.5); }
  50%      { box-shadow: 0 0 10px rgba(74,222,128,.9); }
}
.pm2-status { color: #8a8a9a; font-size: .75rem; }
.pm2-last-seen { font-size: .65rem; color: var(--muted); font-family: var(--font-mono); margin-bottom: .8rem; }
.pm2-level-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(196,26,26,.12);
  border: 2px solid rgba(196,26,26,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .04em;
  color: var(--text);
  box-shadow: 0 0 12px var(--red-glow);
}
.pm2-years-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(196,26,26,.07);
  border: 1px solid rgba(196,26,26,.2);
  border-radius: 4px;
  padding: .3rem .6rem;
}
.pm2-years-num {
  width: 26px; height: 26px;
  background: rgba(196,26,26,.15);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--text);
  border: 1px solid rgba(196,26,26,.35);
  flex-shrink: 0;
}
.pm2-years-info { font-size: .68rem; color: var(--muted2); line-height: 1.4; }
.pm2-years-info strong { color: var(--text); font-size: .72rem; }

/* ── Body ── */
.pm2-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  flex: 1;
  min-height: 0;
  overflow: hidden;  /* children handle their own scroll */
}

/* Left column */
.pm2-left {
  border-right: 1px solid var(--border);
  padding: 1rem 1.1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}
.pm2-section-title {
  font-size: .65rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .65rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}

/* Activity row */
.pm2-activity {
  display: flex;
  gap: .85rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}
.pm2-game-icon {
  width: 58px; height: 28px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.pm2-game-icon img { width: 100%; height: 100%; object-fit: cover; }
.pm2-activity-info { flex: 1; min-width: 0; }
.pm2-activity-name { font-weight: 600; font-size: .85rem; color: var(--text); margin-bottom: .2rem; }
.pm2-activity-hrs  { font-size: .72rem; color: var(--muted2); margin-bottom: .4rem; }
.pm2-ach-bar-wrap  { margin-bottom: .2rem; }
.pm2-ach-bar {
  height: 6px;
  background: var(--border2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .25rem;
}
.pm2-ach-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-h));
  border-radius: 3px;
  transition: width .4s ease;
}
.pm2-ach-label { font-size: .67rem; color: var(--muted2); }
.pm2-ach-plus  { color: var(--red-h); font-weight: 700; }

/* Comments */
.pm2-comments { display: flex; flex-direction: column; gap: .5rem; }
.pm2-comment-row { display: flex; align-items: flex-start; gap: .5rem; }
.pm2-comment-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border2);
  flex-shrink: 0;
  filter: blur(4px);
}
.pm2-comment-body { flex: 1; }
.pm2-comment-name {
  height: 8px; width: 80px;
  background: var(--border2);
  border-radius: 2px;
  margin-bottom: .3rem;
  filter: blur(4px);
}
.pm2-comment-text {
  height: 7px;
  background: var(--border);
  border-radius: 2px;
  filter: blur(3px);
}
.pm2-comment-text.w60 { width: 60%; }
.pm2-comment-text.w80 { width: 80%; }
.pm2-comment-text.w45 { width: 45%; margin-top: .2rem; }

/* Right column — Account Summary */
.pm2-right {
  padding: .9rem;
  background: var(--bg);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}
.pm2-status { font-size: .75rem; font-weight: 600; color: var(--muted2); margin-bottom: .15rem; }
.pm2-last-seen { font-size: .65rem; color: var(--muted); margin-bottom: .8rem; font-family: var(--font-mono); }
.pm2-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .8rem;
}
.pm2-sum-cell {
  background: var(--surface);
  padding: .38rem .45rem;
  font-size: .7rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.pm2-sum-icon { font-size: .78rem; opacity: .7; }
.pm2-sum-label { color: var(--muted); flex: 1; font-size: .65rem; }
.pm2-sum-val { font-weight: 700; color: var(--red); font-family: var(--font-mono); }

/* Badges row */
.pm2-badges-section { margin-top: .3rem; }
.pm2-badges-row { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.pm2-badge-item {
  width: 28px; height: 28px;
  background: rgba(196,26,26,.1);
  border: 1px solid rgba(196,26,26,.2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
}

/* ── Footer ── (pinned to bottom of flex-column .pm2) */
.pm2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.1rem;
  flex-shrink: 0;   /* never compress the footer */
  background: var(--bg);
  border-top: 1px solid var(--border);
  gap: .8rem;
  flex-wrap: wrap;
}
.pm2-generated { font-size: .65rem; font-family: var(--font-mono); color: var(--muted2); }
.pm2-footer-unlock {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .65rem;
  font-family: var(--font-mono);
  color: var(--muted2);
  background: rgba(196,26,26,.07);
  border: 1px solid rgba(196,26,26,.2);
  border-radius: 20px;
  padding: .3rem .75rem;
}
.pm2-footer-unlock svg { color: var(--red); flex-shrink: 0; }

/* ── Tab bar ── */
.pm2-tabs {
  flex-shrink: 0;
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #000;
  overflow-x: auto;
}
.pm2-tab {
  flex-shrink: 0;
  padding: .6rem 1.1rem;
  font-size: .7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(196,26,26,.45);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.pm2-tab:hover { color: rgba(196,26,26,.75); }
.pm2-tab.active { color: var(--red); border-bottom-color: var(--red); font-weight: 700; }

/* ── Tab panels ── */
.pm2-panel { display: none; }
.pm2-panel.active {
  display: flex;
  flex-direction: column;
  flex: 1;           /* grow to fill remaining modal height */
  min-height: 0;     /* allow shrinking below content height */
  overflow-y: auto;  /* scroll within the panel if content overflows */
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

/* Games list — scrollable so it doesn't overflow the modal */
.pm2-games-list {
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}
.pm2-games-list::-webkit-scrollbar { width: 4px; }
.pm2-games-list::-webkit-scrollbar-track { background: transparent; }
.pm2-games-list::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.pm2-games-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .75rem 1rem .5rem;
  font-size: .65rem;
  font-family: var(--font-mono);
  color: var(--muted2);
  border-bottom: 1px solid var(--border);
}
.pm2-games-header strong { color: var(--muted); }
.pm2-game-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.pm2-game-row:hover { background: rgba(255,255,255,.02); }
.pm2-game-thumb {
  width: 40px; height: 20px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}
.pm2-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm2-game-name {
  flex: 1; font-size: .82rem; color: var(--text);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  min-width: 0;
}
.pm2-game-hrs {
  font-size: .72rem;
  color: var(--muted2);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ── Skins Tab — Wizard Accounts style ── */
.pm2-skins-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .6rem 1rem .5rem;
  font-size: .65rem;
  font-family: var(--font-mono);
  color: var(--muted2);
  border-bottom: 1px solid var(--border);
}
.pm2-skins-header strong { color: var(--muted); }

.pm2-skins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0;
  background: var(--bg);
  max-height: 380px;
  overflow-y: auto;
  padding: 4px;
}
.pm2-skins-grid::-webkit-scrollbar { width: 4px; }
.pm2-skins-grid::-webkit-scrollbar-track { background: transparent; }
.pm2-skins-grid::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.pm2-skin-cell {
  background: #14181e;
  padding: .45rem .3rem .35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .22rem;
  border: 1px solid #1e242c;
  transition: background .12s, border-color .12s;
  cursor: default;
  border-radius: 2px;
  margin: 2px;
}
.pm2-skin-cell:hover { background: #1a2029; }

/* Rarity border colours — match Steam inventory style */
.pm2-skin-cell.rarity-common    { border-color: #2e3540; }
.pm2-skin-cell.rarity-uncommon  { border-color: rgb(53,163,80); box-shadow: inset 0 0 0 0 transparent; }
.pm2-skin-cell.rarity-rare      { border-color: rgb(53,120,241); }
.pm2-skin-cell.rarity-very_rare { border-color: rgb(241,88,64); }
.pm2-skin-cell.rarity-legendary { border-color: rgb(255,140,0); box-shadow: 0 0 6px rgba(255,140,0,.25); }

.pm2-skin-thumb {
  width: 64px; height: 64px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  overflow: hidden;
  position: relative;
}

/* Loaded CDN image */
.pm2-skin-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  image-rendering: auto;
}

/* Emoji/icon fallback */
.pm2-skin-noimg {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 1.6rem;
  opacity: .7;
}

.pm2-skin-name {
  font-size: .58rem;
  text-align: center;
  color: #9ba3b0;
  line-height: 1.25;
  max-width: 92px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.pm2-skin-qty {
  font-size: .55rem;
  color: #5a6370;
  font-family: var(--font-mono);
}

/* BattleMetrics */
.pm2-bm-wrap { padding: .9rem 1rem; }

/* Hero stat row */
.pm2-bm-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(196,26,26,.06);
  border: 1px solid rgba(196,26,26,.2);
  border-radius: 6px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}
.pm2-bm-hero-icon { font-size: 1.6rem; line-height: 1; }
.pm2-bm-hero-body { flex: 1; }
.pm2-bm-hero-val {
  font-size: 2rem;
  font-family: var(--font-display);
  color: var(--red);
  line-height: 1;
  letter-spacing: .04em;
}
.pm2-bm-hero-unit { font-size: .9rem; margin-left: .3rem; color: var(--muted2); }
.pm2-bm-hero-label { font-size: .65rem; color: var(--muted2); font-family: var(--font-mono); margin-top: .25rem; }
.pm2-bm-hero-right { margin-left: auto; }
.pm2-bm-kv { display: flex; flex-direction: column; }

.pm2-bm-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Confidentiality notice */
.pm2-bm-notice {
  margin-top: .9rem;
  padding: .55rem .8rem;
  background: rgba(196,26,26,.06);
  border-left: 3px solid var(--red);
  border-radius: 0 4px 4px 0;
  font-size: .68rem;
  color: var(--muted2);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pm2-bm-notice-icon { font-size: .9rem; flex-shrink: 0; }
.pm2-bm-stat-label {
  font-size: .65rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
  margin-bottom: .2rem;
}
.pm2-bm-stat-val {
  font-size: 1.3rem;
  font-family: var(--font-display);
  letter-spacing: .04em;
  color: var(--text);
  line-height: 1;
}
.pm2-bm-stat-val.big { font-size: 1.8rem; }
.pm2-bm-badge {
  display: inline-block;
  background: rgba(196,26,26,.15);
  border: 1px solid rgba(196,26,26,.35);
  border-radius: 20px;
  padding: .15rem .55rem;
  font-size: .65rem;
  font-family: var(--font-mono);
  color: var(--red);
  margin-left: .4rem;
  vertical-align: middle;
}
.pm2-bm-servers-title {
  font-size: .7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
  margin-bottom: .6rem;
}
.pm2-bm-server-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .38rem 0;
  border-bottom: 1px solid var(--border);
}
.pm2-bm-server-row:last-child { border-bottom: none; }
.pm2-bm-server-name { flex: 1; font-size: .78rem; color: var(--muted); }
.pm2-bm-server-bar-wrap { width: 80px; height: 5px; background: var(--surface); border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.pm2-bm-server-bar { height: 100%; background: linear-gradient(90deg, #8b0000, var(--red)); border-radius: 3px; }
.pm2-bm-server-hrs { font-size: .7rem; color: var(--red); font-family: var(--font-mono); width: 30px; text-align: right; flex-shrink: 0; }

/* pm-close (kept for backwards compat) */
.pm-close {
  background: none; border: 1px solid var(--border2); border-radius: 3px;
  color: var(--muted2); width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem;
  transition: border-color .15s, color .15s; flex-shrink: 0;
}
.pm-close:hover { border-color: var(--muted2); color: var(--text); }

@media (max-width: 600px) {
  .pm2-body { grid-template-columns: 1fr; }
  .pm2-right { border-top: 1px solid #1e2530; }
  .pm2-profile-header { flex-wrap: wrap; }
  .pm2-right-panel { flex-direction: row; align-items: center; width: 100%; justify-content: flex-start; }
}


/* ─── FEATURED CARD ─── */

.account-card.featured {
  border-top-color: var(--red);
  background: linear-gradient(170deg, rgba(196,26,26,.06) 0%, var(--card) 45%);
}

.featured-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-family: var(--font-mono);
  font-size: .6rem; font-weight: 700;
  padding: .22rem .75rem; border-radius: 2px;
  white-space: nowrap; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ─── REDESIGNED GAME CARDS ─── */
/* Per-game CSS variables — one definition drives every accent */
.gcard--rust    { --gc:205,92,0;    --gcc:#ed8936; }
.gcard--cs2     { --gc:39,135,245;  --gcc:#60a5fa; }
.gcard--apex    { --gc:201,62,24;   --gcc:#fb7340; }
.gcard--tarkov  { --gc:78,130,78;   --gcc:#6db56d; }
.gcard--siege   { --gc:255,180,0;   --gcc:#fbbf24; }
.gcard--steam   { --gc:102,192,244; --gcc:#66c0f4; }
.gcard--default       { --gc:255,255,255; --gcc:#aaaaaa; }
.gcard--valorant      { --gc:255,70,85;   --gcc:#ff4655; }
.gcard--rocket-league { --gc:0,191,255;   --gcc:#00bfff; }
.gcard--gta           { --gc:245,197,24;  --gcc:#f5c518; }
.gcard--lol           { --gc:200,155,60;  --gcc:#c89b3c; }

.gcard {
  border-color: rgba(var(--gc),.28) !important;
  background: linear-gradient(160deg, rgba(var(--gc),.05) 0%, transparent 55%) !important;
  padding: 0 !important;
}
.gcard.featured { border-color: rgba(var(--gc),.52) !important; }

.gcard-idtag {
  position: absolute; top: .55rem; right: .6rem; z-index: 2; pointer-events: none;
  font-size: .6rem; font-weight: 600; font-family: var(--font-mono); letter-spacing: .04em;
  color: var(--muted2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  padding: .12rem .4rem; border-radius: 4px; white-space: nowrap;
}

.gcard-body {
  padding: 1.1rem;
  display: flex; flex-direction: column; gap: .65rem;
}

.gcard-game-label {
  display: inline-block; width: fit-content;
  font-size: .55rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gcc);
  background: rgba(var(--gc),.12); border: 1px solid rgba(var(--gc),.28);
  padding: .14rem .5rem; border-radius: 3px;
}

.gcard-title {
  font-size: .97rem; font-weight: 700; color: var(--text); line-height: 1.35;
}
.gcard-title-muted { color: var(--muted2); font-size: .82rem; font-weight: 400; }

/* Stat pills */
.gcard-pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.gcard-pill {
  font-size: .7rem; font-weight: 600; white-space: nowrap;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  padding: .22rem .55rem; border-radius: 999px; color: var(--muted);
}
.gcard-pill--level { background: rgba(var(--gc),.1);  border-color: rgba(var(--gc),.28); color: var(--gcc); }
.gcard-pill--time  { background: rgba(var(--gc),.06); border-color: rgba(var(--gc),.18); color: var(--gcc); }
.gcard-pill--rank  { background: rgba(var(--gc),.1);  border-color: rgba(var(--gc),.3);  color: var(--gcc); }
/* Apex heirlooms always purple-rare */
.gcard-pill--rare  { background: rgba(168,85,247,.12); border-color: rgba(168,85,247,.3); color: #c084fc; }
/* Tarkov edition gold */
.gcard--tarkov .gcard-pill--rare { background: rgba(255,180,0,.1); border-color: rgba(255,180,0,.3); color: #fbbf24; }

/* Footer row */
.gcard-footer-row {
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
  padding-top: .45rem; border-top: 1px solid rgba(255,255,255,.05);
}

.gcard-actions { display: flex; flex-direction: column; gap: .45rem; }

/* Preview button — game-tinted */
.gcard-preview-btn {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  width: 100%; padding: .58rem;
  background: rgba(var(--gc),.07); border: 1px solid rgba(var(--gc),.25);
  color: var(--gcc); font-size: .8rem; font-weight: 600; font-family: inherit;
  border-radius: 7px; cursor: pointer;
  transition: background .18s, border-color .18s, transform .15s;
}
.gcard-preview-btn:hover {
  background: rgba(var(--gc),.14); border-color: rgba(var(--gc),.5);
  transform: translateY(-1px);
}
.gcard-preview-btn svg { flex-shrink: 0; }

/* ─── ACCOUNT CARD TITLE AREA (legacy) ─── */
.card-acct-header {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-bottom: .85rem;
  padding-top: .1rem;
}
.card-game-tag {
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  opacity: .75;
}
.card-acct-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-acct-name--muted {
  color: var(--muted2);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .02em;
}


/* ─── SIMPLE PAGES ─── */

.simple-page { max-width: 720px; margin: 0 auto; padding: 10rem 2rem 6rem; }

.simple-page h1 {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 400;
  letter-spacing: 3px; margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}

.simple-page h2 {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 700;
  margin: 2rem 0 .5rem; letter-spacing: -.2px;
}

.simple-page p, .simple-page li {
  font-size: .9rem; color: var(--muted2); line-height: 1.75;
}

.simple-page ul { padding-left: 1.2rem; margin: .5rem 0; }


/* ─── CONTACT FORM ─── */

.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-group label {
  font-family: var(--font-mono);
  font-size: .63rem; font-weight: 600;
  color: var(--muted2); letter-spacing: 1px; text-transform: uppercase;
}

.form-input {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 2px; padding: .72rem 1rem;
  color: var(--text);
  font-family: var(--font-body); font-size: .9rem;
  transition: border-color .15s; outline: none;
  appearance: none; -webkit-appearance: none;
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23848484' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}

.form-input:focus { border-color: var(--red); }

textarea.form-input { min-height: 120px; resize: vertical; }

.form-submit { align-self: flex-start; }

.contact-discord { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.contact-discord p { font-size: .9rem; color: var(--muted2); margin-bottom: .75rem; }
.contact-discord a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem;
  border-bottom: 1px solid var(--border2); padding-bottom: 1px;
  transition: border-color .15s, color .15s;
}
.contact-discord a:hover { color: var(--red); border-color: var(--red); }

@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }


/* ─── ACCOUNT ACCESS & DELIVERY BADGES ─── */

.acc-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1rem;
}

.acc-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .6rem;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1;
}

/* Full Access — green */
.acc-access--full {
  background: rgba(74,222,128,.10);
  border: 1px solid rgba(74,222,128,.28);
  color: #4ade80;
}

/* Partial / No Email — amber */
.acc-access--partial {
  background: rgba(251,146,60,.10);
  border: 1px solid rgba(251,146,60,.28);
  color: #fb923c;
}

/* Instant delivery — cyan */
.acc-del--auto {
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.22);
  color: #22d3ee;
}

/* Discord delivery — indigo */
.acc-del--discord {
  background: rgba(139,92,246,.10);
  border: 1px solid rgba(139,92,246,.28);
  color: #a78bfa;
}

/* Full-access card: subtle green top accent on hover */
.account-card.acc-full-access:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(74,222,128,.25), 0 0 40px rgba(74,222,128,.06);
  border-top-color: rgba(74,222,128,.55);
}

/* ─── RICH FEATURES (no stats, e.g. Fortnite / Apex) ─── */

.account-features--rich {
  margin-top: .25rem;
}

.account-features--rich li {
  font-size: .88rem;
  color: #b0b0b0;
  padding: .5rem 0;
}

.account-features--rich li::before {
  color: #4ade80;
  font-size: .8rem;
}


/* ══════════════════════════════════════════════════════════════
   CARD PRICE TAG (shown on all account cards)
══════════════════════════════════════════════════════════════ */

.card-price-tag {
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em;
  color: #fff; line-height: 1; white-space: nowrap; flex-shrink: 0;
  align-self: flex-start;
}
.card-price-tag--sold { color: var(--muted); text-decoration: line-through; }

/* Title row shared by fn-card and gcard */
.fn-card-title-row,
.gcard-title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: .5rem;
}
.fn-card-title-row .fn-card-title,
.gcard-title-row   .gcard-title { flex: 1; }

/* For gcards, accent the price tag */
.gcard .card-price-tag { color: var(--gcc); }

/* For Fortnite cards, purple price */
.fn-card .card-price-tag { color: #c084fc; }


/* ══════════════════════════════════════════════════════════════
   ACCOUNT FILTER / SORT TOOLBAR
══════════════════════════════════════════════════════════════ */

.acct-toolbar {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.6rem; flex-wrap: wrap;
}

.acct-sort-sel {
  appearance: none; -webkit-appearance: none;
  background: rgba(255,255,255,.04)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right .75rem center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px; color: var(--text);
  font-family: var(--font-body); font-size: .82rem;
  padding: .55rem 2.2rem .55rem .9rem;
  cursor: pointer; outline: none;
  transition: border-color .18s, background .18s;
}
.acct-sort-sel:hover { border-color: rgba(255,255,255,.22); background-color: rgba(255,255,255,.07); }
.acct-sort-sel:focus { border-color: var(--red); }
.acct-sort-sel option { background: #111118; color: #e8e8ee; }

.acct-avail-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  cursor: pointer; user-select: none;
  font-size: .8rem; color: var(--muted2);
  padding: .52rem .85rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px; transition: all .18s;
}
.acct-avail-toggle:hover { border-color: rgba(74,222,128,.35); color: #4ade80; }
.acct-avail-toggle input { display: none; }
.acct-avail-toggle .atog-box {
  width: 15px; height: 15px;
  border: 1.5px solid rgba(255,255,255,.2); border-radius: 3px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.acct-avail-toggle input:checked ~ .atog-box {
  background: rgba(74,222,128,.2); border-color: #4ade80;
}
.acct-avail-toggle input:checked ~ .atog-box::after {
  content: ''; display: block;
  width: 7px; height: 4px;
  border-left: 2px solid #4ade80; border-bottom: 2px solid #4ade80;
  transform: rotate(-45deg) translate(0,-1px);
}
.acct-avail-toggle.active { border-color: rgba(74,222,128,.35); color: #4ade80; }

.acct-toolbar-count {
  margin-left: auto;
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--muted2); letter-spacing: .04em; white-space: nowrap;
}

@media (max-width: 540px) {
  .acct-toolbar { gap: .5rem; }
  .acct-toolbar-count { margin-left: 0; width: 100%; }
}


/* ══════════════════════════════════════════════════════════════
   PER-GAME HERO ENHANCEMENTS
══════════════════════════════════════════════════════════════ */

/* Live stats strip injected below subtitle */
.hero-live-stats {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.5rem;
  animation: heroStatsFadeIn .4s ease .3s both;
}
@keyframes heroStatsFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-live-stat {
  display: flex; flex-direction: column; gap: .15rem;
}
.hero-live-stat__val {
  font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .05em;
  color: var(--page-accent, var(--red)); line-height: 1;
}
.hero-live-stat__label {
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted2);
}
.hero-live-divider {
  width: 1px; height: 2rem; background: rgba(255,255,255,.08); flex-shrink: 0;
}

/* Per-game accent colors applied to the .page-hero element */
.page-hero[data-game="rust"]     { --page-accent: #ed8936; --page-accent-rgb: 205,92,0;    }
.page-hero[data-game="fortnite"] { --page-accent: #c084fc; --page-accent-rgb: 168,85,247;  }
.page-hero[data-game="cs2"]      { --page-accent: #60a5fa; --page-accent-rgb: 39,135,245;  }
.page-hero[data-game="apex"]     { --page-accent: #fb7340; --page-accent-rgb: 201,62,24;   }
.page-hero[data-game="tarkov"]   { --page-accent: #6db56d; --page-accent-rgb: 78,130,78;   }
.page-hero[data-game="siege"]    { --page-accent: #fbbf24; --page-accent-rgb: 255,180,0;   }
.page-hero[data-game="steam"]         { --page-accent: #66c0f4; --page-accent-rgb: 102,192,244; }
.page-hero[data-game="valorant"]      { --page-accent: #ff4655; --page-accent-rgb: 255,70,85;   }
.page-hero[data-game="rocket-league"] { --page-accent: #00bfff; --page-accent-rgb: 0,191,255;   }
.page-hero[data-game="gta"]           { --page-accent: #f5c518; --page-accent-rgb: 245,197,24;  }
.page-hero[data-game="lol"]           { --page-accent: #c89b3c; --page-accent-rgb: 200,155,60;  }

/* Accent-tint on the genre tag and back link */
.page-hero[data-game] .page-genre-tag {
  color: var(--page-accent, var(--red));
}
.page-hero[data-game] .page-hero-bg::after {
  background:
    linear-gradient(to right,
      rgba(5,5,5,1) 0%,
      rgba(5,5,5,.98) 30%,
      rgba(var(--page-accent-rgb, 196,26,26),.04) 58%,
      rgba(5,5,5,.08) 100%
    ),
    linear-gradient(to top,
      rgba(5,5,5,1) 0%,
      rgba(5,5,5,.6) 18%,
      transparent 48%
    );
}

/* Games without a landscape image: gradient-only hero */
.page-hero[data-game="fortnite"] .page-hero-bg,
.page-hero[data-game="tarkov"] .page-hero-bg,
.page-hero[data-game="valorant"] .page-hero-bg,
.page-hero[data-game="lol"] .page-hero-bg {
  filter: none;
}
.page-hero[data-game="fortnite"] .page-hero-bg::after {
  background:
    radial-gradient(ellipse at 75% 45%, rgba(168,85,247,.22) 0%, transparent 60%),
    linear-gradient(to right, rgba(5,5,5,1) 0%, rgba(5,5,5,.96) 35%, rgba(5,5,5,.55) 70%, rgba(5,5,5,.2) 100%),
    linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,.6) 18%, transparent 48%);
}
.page-hero[data-game="tarkov"] .page-hero-bg::after {
  background:
    radial-gradient(ellipse at 75% 45%, rgba(109,181,109,.18) 0%, transparent 60%),
    linear-gradient(to right, rgba(5,5,5,1) 0%, rgba(5,5,5,.96) 35%, rgba(5,5,5,.55) 70%, rgba(5,5,5,.2) 100%),
    linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,.6) 18%, transparent 48%);
}
.page-hero[data-game="valorant"] .page-hero-bg::after {
  background:
    radial-gradient(ellipse at 75% 45%, rgba(255,70,85,.22) 0%, transparent 60%),
    linear-gradient(to right, rgba(5,5,5,1) 0%, rgba(5,5,5,.96) 35%, rgba(5,5,5,.55) 70%, rgba(5,5,5,.2) 100%),
    linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,.6) 18%, transparent 48%);
}
.page-hero[data-game="lol"] .page-hero-bg::after {
  background:
    radial-gradient(ellipse at 75% 45%, rgba(200,155,60,.22) 0%, transparent 60%),
    linear-gradient(to right, rgba(5,5,5,1) 0%, rgba(5,5,5,.96) 35%, rgba(5,5,5,.55) 70%, rgba(5,5,5,.2) 100%),
    linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,.6) 18%, transparent 48%);
}

/* Large atmospheric game-name watermark behind the text */
.page-hero-inner::before {
  content: attr(data-game-name);
  position: absolute;
  bottom: -1rem; left: -.05em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07);
  text-stroke: 1px rgba(255,255,255,.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
  text-transform: uppercase;
}
.page-hero-inner > * { position: relative; z-index: 1; }


/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════════════════════ */

.wraith-toast-wrap {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99999;
  display: flex; flex-direction: column-reverse; gap: .5rem;
  pointer-events: none; max-width: 340px;
}
.wraith-toast {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .75rem 1rem;
  background: #111118; border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px; box-shadow: 0 8px 32px rgba(0,0,0,.55);
  font-size: .82rem; color: var(--text); line-height: 1.45;
  pointer-events: auto;
  animation: toastIn .25s cubic-bezier(.34,1.56,.64,1) both;
}
.wraith-toast.toast-out {
  animation: toastOut .22s ease forwards;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(60px) scale(.92); }
  to   { opacity: 1; transform: translateX(0)    scale(1);   }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0)    scale(1);   }
  to   { opacity: 0; transform: translateX(40px) scale(.9);  }
}
.wraith-toast--success { border-color: rgba(74,222,128,.3); }
.wraith-toast--success .toast-icon { color: #4ade80; }
.wraith-toast--error   { border-color: rgba(248,113,113,.3); }
.wraith-toast--error   .toast-icon { color: #f87171; }
.wraith-toast--info    { border-color: rgba(96,165,250,.3); }
.wraith-toast--info    .toast-icon { color: #60a5fa; }
.toast-icon { font-size: 1rem; flex-shrink: 0; line-height: 1.35; }
.toast-body { flex: 1; }
.toast-close {
  background: none; border: none; color: var(--muted2);
  cursor: pointer; font-size: .85rem; padding: 0; line-height: 1;
  flex-shrink: 0; margin-top: .05rem; transition: color .15s;
}
.toast-close:hover { color: var(--text); }

@media (max-width: 480px) {
  .wraith-toast-wrap { right: .75rem; bottom: .75rem; left: .75rem; max-width: none; }
}


/* ══════════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
══════════════════════════════════════════════════════════════ */

.scroll-top-btn {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 900;
  width: 40px; height: 40px;
  background: rgba(20,20,26,.9); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; color: var(--muted2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transform: translateY(8px) scale(.9);
  transition: opacity .22s, transform .22s, border-color .18s, color .18s;
}
.scroll-top-btn.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0) scale(1);
}
.scroll-top-btn:hover {
  border-color: rgba(255,255,255,.3); color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

@media (max-width: 480px) {
  /* Shift to avoid overlapping toasts */
  .scroll-top-btn { bottom: 5rem; }
}

/* ─────────────────────────────────────────
   RECENTLY VIEWED ROW
───────────────────────────────────────── */
.rv-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem .4rem;
}
.rv-header {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
}
.rv-header-icon {
  font-size: .8rem;
  opacity: .55;
}
.rv-header-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted2);
}
.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
}
.rv-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .8rem 1rem .75rem;
  background: #09090f;
  border: 1px solid #181826;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color .18s, background .18s;
}
.rv-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: #00d4ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.rv-card:hover { border-color: #252538; background: #0b0b16; }
.rv-card:hover::after { transform: scaleX(1); }
.rv-card-game {
  font-family: var(--font-mono);
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #00d4ff;
  opacity: .8;
}
.rv-card-name {
  font-family: var(--font-display);
  font-size: .98rem;
  letter-spacing: .04em;
  color: #fff;
}
.rv-card-cta {
  margin-top: .3rem;
  font-size: .7rem;
  font-family: var(--font-mono);
  color: var(--muted2);
  transition: color .15s;
}
.rv-card:hover .rv-card-cta { color: #00d4ff; }
@media (max-width: 600px) {
  .rv-grid { grid-template-columns: 1fr 1fr; }
}
