:root {
  color-scheme: dark;
  /* Arkham monochrome — deep black, silver-white, cold grays. No colour. */
  --bg: #060607;
  --bg-2: #0d0d10;
  --panel: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  --panel-strong: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
  --panel-solid: #131317;
  --card: #111115;
  --card-2: #17171c;
  --text: #f4f4f7;
  --muted: #9a9aa4;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.30);
  --accent: #e7e7ec;
  --accent-2: #b9b9c2;
  --accent-hi: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.10);
  --glow: rgba(255, 255, 255, 0.16);
  --green: #cdd2d8;
  --star: #e7e7ec;
  --grad: linear-gradient(135deg, #f2f2f5, #b9b9c2);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(255, 255, 255, 0.06), transparent 60%), linear-gradient(180deg, #0b0b0d 0%, #060607 100%);
  background-color: var(--bg-2);
  min-height: 100vh;
  min-height: 100dvh;
  opacity: 0;
  animation: pageIn 600ms ease forwards;
  overflow-x: hidden;
}

/* ---------- Ambient background (GPU-composited, no scroll cost) ---------- */
.bg-fx {
  position: fixed;
  inset: -25vmax;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
}

.bg-fx span {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  will-change: transform;
  transform: translateZ(0);
}

.bg-fx .b1 {
  width: 52vmax; height: 52vmax; left: -12%; top: -18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 70%);
  animation: drift1 36s ease-in-out infinite alternate;
}
.bg-fx .b2 {
  width: 46vmax; height: 46vmax; right: -12%; top: -6%;
  background: radial-gradient(circle, rgba(180, 180, 195, 0.07), transparent 70%);
  animation: drift2 42s ease-in-out infinite alternate;
}
.bg-fx .b3 {
  width: 58vmax; height: 58vmax; left: 26%; bottom: -34%;
  background: radial-gradient(circle, rgba(120, 120, 135, 0.08), transparent 72%);
  animation: drift3 48s ease-in-out infinite alternate;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .bg-fx span { animation: none !important; }
  .featured-card, .soon-badge, .button.glow, .deal-banner { animation: none !important; }
}

@keyframes drift1 { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-8vmax, 9vmax, 0) scale(1.08); } }
@keyframes drift3 { to { transform: translate3d(7vmax, -8vmax, 0) scale(1.14); } }

/* Opacity only — NO transform. A transform on <body> makes it the containing
   block for position:fixed children, which made .bg-fx (inset:-25vmax) hang
   ~25vmax below the page and created the empty void under every page. */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* main grows to fill, keeping the footer pinned to the bottom on short pages */
.shell > main {
  flex: 1 0 auto;
}

/* ---------- Header ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(20, 20, 24, 0.92), rgba(12, 12, 15, 0.9));
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 50;
  transition: box-shadow 240ms ease, border-color 240ms ease;
}

.topbar.scrolled {
  border-color: var(--line-strong);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px var(--glow);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px var(--glow); transform: scale(1); }
  50% { box-shadow: 0 0 22px var(--glow); transform: scale(1.15); }
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.topbar nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 160ms ease, background 160ms ease;
}

.topbar nav a .nav-ico { display: inline-flex; opacity: 0.85; }

.topbar nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.topbar nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.topbar nav a.active .nav-ico { opacity: 1; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Customer Panel button (top-right CTA) */
.panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--grad);
  color: #0a0a0d;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.panel-btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 28px rgba(255, 255, 255, 0.4); }
.panel-btn span { transition: transform 180ms ease; }
.panel-btn:hover span { transform: translateX(3px); }

@media (max-width: 900px) {
  .panel-btn { padding: 9px 13px; }
  .topbar nav a span:not(.nav-ico) { display: none; }
  .topbar nav a { padding: 9px 11px; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lang-switch:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

/* cart button in header */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cart-link:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.3);
}

.cart-link svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 0 12px var(--glow);
}

.cart-count[hidden] {
  display: none;
}

.cart-count.bump {
  animation: bump 320ms ease;
}

@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ---------- Buttons ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #0a0a0d;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.28);
  transition: transform 200ms cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 200ms ease, filter 200ms ease;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 600ms ease;
}

.button:hover {
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.button:hover::before {
  left: 130%;
}

.button:active {
  transform: scale(0.98);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button.cta {
  border-radius: 12px;
}

.button.big {
  min-height: 54px;
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* Magnetic wrapper — JS sets --mx/--my offsets */
.magnetic {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms cubic-bezier(0.16, 1, 0.3, 1), transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  body, .brand .dot, .bg-fx span { animation: none; opacity: 1; }
  .bg-fx span { opacity: 0.5; }
  .button::before { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 56px;
  text-align: center;
}

/* Home hero — left-aligned, reference style */
.home-hero {
  text-align: left;
  padding: 96px 0 72px;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-badge svg { color: var(--accent); }
.home-h1 {
  margin: 0 0 20px;
  max-width: 18ch;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
  animation: none;
}
.home-h1 .hero-accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero p { margin-left: 0; margin-right: 0; max-width: 52ch; }
.home-hero .hero-actions { justify-content: flex-start; }
.hero-discord img { border-radius: 4px; }

.hero .eyebrow,
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0 auto 18px;
  max-width: 16ch;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.14;
  padding-bottom: 0.08em; /* gradient-clipped text: keep descenders (y, p, g) from clipping */
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #fff 20%, #dcdce2 45%, #9a9aa4 70%, #fff 95%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to { background-position: 220% center; }
}

.hero p {
  max-width: 56ch;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* feature badges */
.badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.badge:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.badge .ico,
.info-card .ico {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform 260ms ease;
}

.badge .ico {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

.badge:hover .ico,
.info-card:hover .ico {
  transform: rotate(-8deg) scale(1.08);
}

.badge .ico svg { width: 24px; height: 24px; }

.badge strong { font-size: 1.02rem; }

.badge span {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-link {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 700;
}

.section-link:hover { text-decoration: underline; }

/* ---------- Product cards ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  contain: layout paint;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--ty, 0px), 0) scale(var(--sc, 1));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease, box-shadow 240ms ease;
  transform-style: preserve-3d;
}

/* cursor spotlight sheen */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.service-card.tilting::before { opacity: 1; }

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}

.service-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 44px rgba(0, 0, 0, 0.45);
}

/* dragging state */
.service-card.dragging {
  z-index: 200;
  cursor: grabbing;
  transition: none;
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line-strong);
}

.service-card.returning {
  transition: transform 620ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 400ms ease;
}

.service-card .card-grab {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 4;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  cursor: grab;
  opacity: 0;
  transition: opacity 200ms ease, color 160ms ease, transform 160ms ease;
  touch-action: none;
}

.service-card:hover .card-grab { opacity: 1; }
.service-card .card-grab:hover { color: var(--accent); transform: scale(1.1); }
.service-card .card-grab svg { width: 16px; height: 16px; }

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(160deg, #1a1a20, #101015);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card-media .placeholder {
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.1em;
  transition: transform 400ms ease;
  transform: translateZ(40px);
}

.service-card:hover .card-media .placeholder {
  transform: translateZ(60px) scale(1.12);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card:hover .card-media::after { opacity: 1; }

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(12, 12, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1;
}

.service-card h3 { margin: 0; font-size: 1.12rem; font-weight: 700; }

.service-card h3 a { transition: color 160ms ease; }
.service-card h3 a:hover { color: var(--accent); }

.service-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.price { color: var(--text); font-weight: 800; font-size: 1.1rem; }

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.card-actions .button { flex: 1; }

.card-body .button { width: 100%; margin-top: 12px; }
/* keep the action button pinned to the bottom so cards with short
   descriptions still line up across the grid */
.service-card .card-body > .button:last-child { margin-top: auto; }
.card-actions .button { margin-top: 0; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.icon-btn:hover { background: var(--accent-soft); transform: translateY(-2px); }

/* ---------- Product detail page ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 16px;
}

/* Left column: the image with the plan/purchase controls stacked beneath it. */
.product-detail .pd-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-detail .pd-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(255, 255, 255, 0.4), transparent 60%),
    linear-gradient(160deg, #17171c, #0f0f12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* ---------- media gallery (image + video carousel) ---------- */
.pd-media.gallery {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
}
.gallery-track {
  position: absolute;
  inset: 0;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}
.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f0708;
}
.gallery-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}
.gallery-play .play-ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  padding-left: 4px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.gallery-play:hover .play-ico {
  transform: scale(1.08);
  background: var(--accent, #e7e7ec);
}
.gallery-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.75);
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  gap: 7px;
  justify-content: center;
}
.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
}
.gallery-dot.active {
  background: #fff;
}

.product-detail .pd-media .placeholder {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.12em;
}

.pd-info h1 {
  text-align: left;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  animation: none;
  -webkit-text-fill-color: var(--text);
  background: none;
  color: var(--text);
}

.pd-price {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pd-info p { color: var(--muted); }

.pd-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
}

.pd-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.pd-list li svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.back-link:hover { color: var(--accent); }

/* ---------- Info feature cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.info-card.tilting::before { opacity: 1; }

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.25);
}

.info-card .ico { width: 52px; height: 52px; border-radius: 16px; }
.info-card .ico svg { width: 26px; height: 26px; }
.info-card h3 { margin: 0; font-size: 1.1rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- About page ---------- */
.prose {
  max-width: 70ch;
  margin: 0 auto;
}

.prose p { color: var(--muted); font-size: 1.05rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.stat {
  text-align: center;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.22);
}

.stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .lbl { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cart / form panel ---------- */
.cart,
#quote-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.cart { margin-bottom: 22px; }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  animation: rowIn 320ms ease;
}

@keyframes rowIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item span { color: var(--muted); }

.remove-item {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.remove-item:hover { color: var(--accent-2); transform: scale(1.2) rotate(90deg); }

/* ---------- multi-item cart ---------- */
.cart-thumb {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph { font-weight: 800; color: var(--muted); font-size: 1.15rem; }
.custom-head { align-items: center; gap: 12px; }
.cart-item-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cart-item-price { color: var(--muted); font-size: 0.86rem; }
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.qty-ctrl .qstep {
  width: 32px;
  height: 34px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.qty-ctrl .qstep:hover { background: var(--accent-soft); color: var(--accent); }
.qty-ctrl input {
  width: 50px;
  height: 34px;
  margin: 0;
  padding: 0 4px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  -moz-appearance: textfield;
}
.qty-ctrl input::-webkit-outer-spin-button,
.qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.custom-item .qty-ctrl { margin-top: 8px; align-self: flex-start; }

/* ---------- recommended / extras ---------- */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: border-color 160ms ease, transform 160ms ease;
}
.rec-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.rec-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rec-price { font-weight: 800; color: var(--accent); white-space: nowrap; }
.rec-card p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.rec-card .button { margin-top: 4px; width: 100%; }

.cart-empty { margin: 0 0 4px; color: var(--muted); }

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  font-size: 1.05rem;
}

.total-row strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.4rem;
}

.request-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: start;
}

label { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 600; }

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea { resize: vertical; }

.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.fine-print { margin: 16px 0 0; color: var(--muted); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto; /* pin to bottom of the flex shell — no gap below on short pages */
  padding: 56px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
}
.footer-brand { max-width: 340px; }
.footer-brand .brand { font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand p { margin: 0 0 16px; line-height: 1.6; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 160ms ease, transform 160ms ease;
}
.footer-socials a:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.footer-links { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.footer-col-label { display: none; }
.footer-links a { color: var(--text); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.status-dot::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
.site-footer a:hover { color: var(--accent); }
.admin-link { opacity: 0.7; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(340px, calc(100% - 36px));
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  z-index: 100;
}

.toast.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .catalog-grid,
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-layout,
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; justify-content: center; border-radius: var(--radius-md); }
  .topbar nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; margin: 4px 0 0; }
  .hero { padding: 56px 0 40px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .catalog-grid,
  .info-grid,
  .badges,
  .stats { grid-template-columns: 1fr; }
}

/* ============================================================
   Custom build configurator + single-select cart additions
   ============================================================ */

.custom-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.custom-main { min-width: 0; }

.field-block {
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.block-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.field-block input[type="text"],
.field-block input[type="search"] {
  margin-top: 4px;
}

/* design options */
.design-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.design-opt {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 18px 18px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-weight: 500;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.design-opt:hover { transform: translateY(-2px); border-color: var(--line-strong); }

.design-opt input { position: absolute; opacity: 0; pointer-events: none; }

.design-opt.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.design-title { font-weight: 800; font-size: 1.05rem; }
.design-sub { color: var(--muted); font-size: 0.85rem; }
.design-price {
  margin-top: 6px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* mods header / toolbar */
.mods-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mods-head input[type="search"] { max-width: 260px; margin: 0; }

.mods-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }

.mods-count {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.mini-btn {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.mini-btn:hover { background: var(--accent-soft); transform: translateY(-1px); }

/* mod groups */
.mod-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  content-visibility: auto;
  contain-intrinsic-size: auto 56px;
}

.mod-group-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease;
}

.mod-group-head:hover { background: var(--accent-soft); }
.mod-group-head.open { border-bottom: 1px solid var(--line); }

.mod-group-head::after {
  content: "▸";
  margin-left: auto;
  color: var(--accent);
  transition: transform 200ms ease;
}
.mod-group-head.open::after { transform: rotate(90deg); }

.mod-group-meta {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82rem;
  margin-left: auto;
  margin-right: 6px;
}

.mod-group-pick {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-right: 4px;
}
.mod-group-pick:empty { display: none; }

.mod-group-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
}

.mod-row {
  display: grid;
  grid-template-columns: 22px 1fr 66px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: background 140ms ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 38px;
}

.mod-row:hover { background: var(--accent-soft); }
.mod-row.checked { background: rgba(255, 255, 255, 0.1); }

.mod-check,
.menu-check {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
}

.mod-name {
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.mod-price {
  flex: none;
  text-align: right;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}
.mod-price.free { color: var(--muted); }

/* "What's included" menu contents on the buy page */
.menu-contents {
  margin-top: 40px;
}
.menu-contents-head {
  margin-bottom: 16px;
}
.menu-contents-head h2 {
  text-align: left;
  margin: 0;
  -webkit-text-fill-color: var(--text);
  background: none;
}
.menu-contents-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.menu-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-cat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card, rgba(255, 255, 255, 0.02));
  overflow: hidden;
}
.menu-cat.open {
  border-color: var(--accent, #e7e7ec);
}
.menu-cat-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: none;
  border: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.menu-cat-head:hover {
  background: rgba(255, 255, 255, 0.03);
}
.menu-cat-name {
  flex: 1;
}
.menu-cat-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent, #e7e7ec);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 10px;
}
.menu-cat-chevron {
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.menu-cat.open .menu-cat-chevron {
  transform: rotate(180deg);
}
.menu-cat-body {
  display: none;
  padding: 0 18px 16px;
}
.menu-cat.open .menu-cat-body {
  display: block;
}
.menu-cat-mods {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.menu-mod {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  border: 1px solid var(--line);
}

/* summary panel */
.custom-summary {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(24, 24, 28, 0.82), rgba(14, 14, 17, 0.78));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.custom-summary h3 { margin: 0 0 14px; font-size: 1.15rem; }

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}

.mini-row span:last-child { color: var(--text); font-weight: 600; }

#sum-total { transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1); display: inline-block; }
#sum-total.pop { transform: scale(1.18); }

/* custom item in cart */
.custom-item {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.custom-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.custom-head strong { font-size: 1.15rem; }

.custom-sub {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.custom-breakdown { display: grid; }

.mod-detail summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.mod-detail-list {
  margin-top: 10px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 6px;
}

.mod-detail-list .mini-row { font-size: 0.86rem; }

/* responsive */
@media (max-width: 880px) {
  .custom-layout { grid-template-columns: 1fr; }
  .custom-summary { position: static; }
}

@media (max-width: 560px) {
  .design-options { grid-template-columns: 1fr; }
}

/* disable heavy 3D tilt on touch / reduced motion */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .service-card { transform: none !important; }
  .service-card .card-grab { display: none; }
  .service-card::before, .info-card::before { display: none; }
}

/* ============================================================
   Multi-game front page: tabs, pills, image slots
   ============================================================ */

.game-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.game-tab {
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.game-tab:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.game-tab.active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(255, 255, 255, 0.35);
}

.game-head {
  text-align: center;
  margin-bottom: 28px;
}

.game-head h2 { margin: 0 0 6px; }
.game-head p { margin: 0; color: var(--muted); }

/* keep single-product games from stretching full width */
.game-grid {
  justify-content: center;
}
.game-grid .service-card {
  max-width: 360px;
  width: 100%;
}

/* "Customizable · Free · Legit" pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 2px;
}

.pill {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* card media link wrapper + image slot */
.card-media-wrap {
  display: block;
  position: relative;
}

.card-media.has-img {
  background-size: cover;
  background-position: center;
}

.img-slot {
  position: relative;
}

.img-slot-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  border: 1.5px dashed var(--line-strong);
  border-radius: inherit;
  margin: 12px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 200ms ease, color 200ms ease;
}

.img-slot-inner svg { width: 30px; height: 30px; }
.card-media-wrap:hover .img-slot-inner { opacity: 1; color: var(--accent); }

/* ============================================================
   Home landing: typing headline, deal banner, game tiles
   ============================================================ */
.home-hero .type-line {
  display: inline-flex;
  align-items: baseline;
  min-height: 1.1em;
}
.type-h1 { min-height: 1.1em; }

.type-caret {
  display: inline-block;
  width: 3px;
  height: 1em;
  margin-left: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(0.1em);
  animation: caretBlink 1s steps(1) infinite;
  box-shadow: 0 0 12px var(--glow);
}
@keyframes caretBlink { 50% { opacity: 0; } }

.deal-banner {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(100deg, rgba(255,255,255,0.12), rgba(150,150,160,0.12));
  background-size: 200% auto;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
  animation: bannerSheen 4s linear infinite;
}
.deal-banner.big { margin: 18px auto 6px; font-size: 1.05rem; }
@keyframes bannerSheen { to { background-position: 200% center; } }

.coupon-msg {
  min-height: 1.1em;
  margin: -4px 0 2px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.coupon-msg.ok { color: var(--success, #46c26a); }
.coupon-msg.bad { color: var(--danger, #e5484d); }

.home-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.home-game {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1), border-color 240ms ease, box-shadow 240ms ease;
}
.home-game:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(255,255,255,0.3);
}
.hg-media {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}
.hg-placeholder {
  background: radial-gradient(120% 120% at 30% 10%, rgba(255,255,255,0.4), transparent 60%), linear-gradient(160deg,#17171c,#0f0f12);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.1em;
}
.hg-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.hg-name { font-weight: 800; }
.hg-tag { color: var(--accent); font-size: 0.85rem; font-weight: 600; }

/* ---------- release-deal countdown bar ---------- */
.deal-bar {
  display: block;
  margin: 16px 0 -4px;
  padding: 10px 18px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(100deg, rgba(255,255,255,0.18), rgba(150,150,160,0.18));
  background-size: 200% auto;
  animation: bannerSheen 4s linear infinite;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 160ms ease;
}
.deal-bar:hover { border-color: var(--accent); }
.deal-count { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* ---------- rotating product showcase ---------- */
.rotator { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rotator-stage { position: relative; aspect-ratio: 16 / 7; min-height: 300px; }
.rslide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 700ms ease;
  pointer-events: none;
}
.rslide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.rs-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.rslide.active .rs-bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.16); } }
.rs-ph { background: radial-gradient(120% 120% at 30% 10%, rgba(255,255,255,0.5), transparent 60%), linear-gradient(160deg,#17171c,#0f0f12); }
.rslide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,3,3,0.92) 0%, rgba(8,3,3,0.55) 45%, rgba(8,3,3,0.05) 100%);
}
.rs-info {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: 64%;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(14px);
  opacity: 0;
}
.rslide.active .rs-info { transform: translateY(0); opacity: 1; transition: opacity 600ms ease 180ms, transform 600ms ease 180ms; }
.rs-name { font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.05; }
.rs-tag { color: var(--muted); font-size: 0.98rem; }
.rs-meta { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.rs-price { font-size: 1.2rem; font-weight: 800; }
.rs-cta { color: var(--accent); font-weight: 800; }
.soon-pill { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 0.8rem; }
.rnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.rnav.prev { left: 14px; }
.rnav.next { right: 14px; }
.rnav:hover { background: var(--accent-soft); }
.rdots { position: absolute; bottom: 16px; right: 20px; z-index: 3; display: flex; gap: 8px; }
.rdot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: width 240ms ease, background 240ms ease; }
.rdot.active { background: var(--accent); width: 24px; border-radius: 5px; }
@media (max-width: 640px) {
  .rs-info { max-width: 88%; padding: 20px 22px; }
  .rotator-stage { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .rslide.active .rs-bg, .deal-bar { animation: none; }
}

/* ============================================================
   Featured (custom) product card — flashy
   ============================================================ */
.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30,30,35,0.85), rgba(18,18,22,0.8));
  box-shadow: 0 24px 60px rgba(255,255,255,0.28);
  animation: featFloat 6s ease-in-out infinite;
}
@keyframes featFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, var(--accent), transparent 40%, transparent 60%, var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
  animation: bannerSheen 5s linear infinite;
  background-size: 200% auto;
}
.featured-media {
  position: relative;
  overflow: hidden;
  display: block;
}
.featured-media .card-media.big {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
  background-size: cover;
  background-position: center;
}
.featured-shine {
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  animation: featShine 4.5s ease-in-out infinite;
}
@keyframes featShine { 0%,60% { left: -130%; } 100% { left: 160%; } }
.featured-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.featured-flag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.featured-body h3 { margin: 0; font-size: 1.6rem; }

/* rainbow priority card */
.featured-card.rainbow { box-shadow: 0 24px 60px rgba(140, 90, 255, 0.3); }
.featured-card.rainbow::after {
  background: linear-gradient(120deg, #f2f2f5, #cfcfd6, #ffffff, #b9b9c2, #dcdce2, #9a9aa4, #f2f2f5);
  background-size: 320% 100%;
  opacity: 0.95;
  animation: rainbowBorder 6s linear infinite;
}
@keyframes rainbowBorder { to { background-position: 320% 0; } }
.featured-card.rainbow .featured-flag {
  background: linear-gradient(120deg, #f2f2f5, #cfcfd6, #ffffff, #b9b9c2, #dcdce2, #9a9aa4);
  background-size: 320% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-color: transparent;
  animation: rainbowBorder 6s linear infinite;
  font-weight: 900;
}
.featured-body p { margin: 0; color: var(--muted); }
.button.glow { box-shadow: 0 0 0 0 rgba(255,255,255,0.6), 0 12px 30px rgba(255,255,255,0.5); animation: btnGlow 2.4s ease-in-out infinite; }
@keyframes btnGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5), 0 12px 30px rgba(255,255,255,0.45); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255,0), 0 16px 40px rgba(255,255,255,0.6); }
}
@media (max-width: 720px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-media .card-media.big { min-height: 220px; }
}

/* showcase (horizontal) images on product cards + buy page */
.card-media.img-cover { background-size: cover; background-position: center; }
.card-media.wide { aspect-ratio: 16 / 9; }
.pd-media.showcase {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.pd-media.showcase .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* ---------- image tabs (vertical product imgs) ---------- */
.game-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.game-tile {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: #0f0f12;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  color: var(--text);
  font: inherit;
  transition: transform 200ms cubic-bezier(0.22,1,0.36,1), border-color 200ms ease, box-shadow 200ms ease;
}
.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,3,3,0) 40%, rgba(8,3,3,0.85));
}
.game-tile:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(255,255,255,0.3); }
.game-tile.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 18px 44px rgba(255,255,255,0.4);
}
.tile-name {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  z-index: 2;
  font-weight: 800;
  font-size: 0.92rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.tile-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  background: radial-gradient(120% 120% at 30% 10%, rgba(255,255,255,0.4), transparent 60%), linear-gradient(160deg,#17171c,#0f0f12);
}
.tile-soon {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  z-index: 3;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(8,3,3,0.7);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(255,255,255,0.5);
}
.game-tile.soon { filter: saturate(0.85); }

/* ---------- "not released" overlay (cards + buy page) ---------- */
.soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(160deg, rgba(8,3,3,0.55), rgba(8,3,3,0.78));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(16,16,20,0.6);
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  animation: soonPulse 2.2s ease-in-out infinite;
}
.soon-badge svg { width: 18px; height: 18px; }
.soon-sub { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
@keyframes soonPulse {
  0%,100% { box-shadow: 0 0 16px rgba(255,255,255,0.4); transform: translateY(0); }
  50% { box-shadow: 0 0 30px rgba(255,255,255,0.7); transform: translateY(-2px); }
}

/* current-system subheading */
.game-subhead { margin: 30px 0 18px; text-align: center; }
.game-subhead h3 { margin: 0 0 4px; font-size: 1.4rem; }
.game-subhead p { margin: 0; color: var(--muted); }

/* deal price styling */
.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 600;
  font-size: 0.85em;
  opacity: 0.8;
}
.deal-price { color: var(--text); }
.from { color: var(--muted); font-weight: 600; font-size: 0.8em; }

/* buy form (terms + customer) */
.buy-form { margin-top: 4px; }
.buy-form .req { color: var(--accent-2); }
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  margin: 6px 0 14px;
}
.agree-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.agree-row a { color: var(--accent); font-weight: 700; }
.agree-row a:hover { text-decoration: underline; }
.buy-form .button[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* terms page spacing */
.prose.terms h3 { margin: 24px 0 6px; color: var(--text); }
.prose.terms p { margin: 0 0 8px; }

/* card title + price row */
.card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.card-price {
  flex: none;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* coming soon */
.service-card.is-soon { opacity: 0.82; }
.card-media-wrap.soon { display: block; position: relative; cursor: default; }

.vr-note {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
}
.vr-note strong { color: var(--text); }
.vr-note a { color: var(--accent); font-weight: 700; }
.vr-tag { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 600; }

.coming-soon-badge {
  display: inline-block;
  padding: 8px 16px;
  margin: 6px 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* plan picker on buy page */
.plan-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

/* Two per row; a lone last tile (e.g. Month under Day/Week) stays half-width
   and centers instead of sticking to the left. */
.plan-options .design-opt {
  flex: 0 1 calc(50% - 6px);
  align-content: start;
}

@media (max-width: 480px) {
  .plan-options .design-opt { flex-basis: 100%; }
}

/* ============================================================
   Unlock / redeem
   ============================================================ */
.redeem-box {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.redeem-box .button { width: 100%; margin-top: 4px; }

.redeem-msg { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.redeem-msg.error { color: var(--accent-2); }

.key-reveal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 4px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.key-reveal code {
  flex: 1;
  min-width: 180px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.key-reveal .button { min-height: 42px; padding: 8px 18px; }

.unlock-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin: 6px 0 10px;
  border-radius: 999px;
  background: rgba(120, 220, 120, 0.12);
  border: 1px solid rgba(120, 220, 120, 0.4);
  color: #8fe28f;
  font-weight: 800;
}

/* ============================================================
   Admin panel
   ============================================================ */
.admin-login {
  max-width: 420px;
  margin: 30px auto 0;
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--panel);
  text-align: center;
}

.admin-login h1 {
  font-size: 2rem;
  text-align: center;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
  background: none;
  animation: none;
  margin: 8px 0 6px;
}

.admin-login p { color: var(--muted); margin: 0 0 20px; }
.admin-login label { text-align: left; }
.admin-login .button { width: 100%; }

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.admin-head h1 {
  font-size: 2rem;
  text-align: left;
  margin: 6px 0 0;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
  background: none;
  animation: none;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-grid select,
.field-block select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.key-table-wrap { overflow-x: auto; }

.key-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.key-table th,
.key-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.key-table th { color: var(--muted); font-weight: 700; }
.key-table code { color: var(--accent); font-weight: 700; }

.key-status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}
.key-status.ok { background: rgba(120, 220, 120, 0.14); color: #8fe28f; }
.key-status.used { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.key-status.exp { background: rgba(150, 150, 160, 0.14); color: var(--accent-2); }

.key-empty { text-align: center; color: var(--muted); padding: 24px; }

.link-danger {
  border: 0;
  background: none;
  color: var(--accent-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.link-danger:hover { text-decoration: underline; }

.img-preview {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.img-preview-label { color: var(--muted); font-size: 0.85rem; }
.img-preview img {
  max-width: 220px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.admin-grid input[type="file"],
.field-block input[type="file"] {
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-link { opacity: 0.7; }
.admin-link:hover { opacity: 1; }

/* ============================================================
   Discord buttons
   ============================================================ */
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(88,101,242,0.45);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.discord-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 28px rgba(88,101,242,0.6); }
.discord-btn img { display: block; }
.footer-discord { display: inline-flex; align-items: center; gap: 6px; color: #9aa6ff !important; }
.footer-discord:hover { color: #c2c9ff !important; }
@media (max-width: 760px) {
  .discord-btn span { display: none; }
  .discord-btn { padding: 8px; }
}

/* ============================================================
   Live social-proof popups
   ============================================================ */
.sp-wrap {
  position: fixed;
  left: 18px;
  top: 92px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.sp-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--panel-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-120%) scale(0.96);
  transition: opacity 380ms ease, transform 420ms cubic-bezier(0.22,1,0.36,1);
}
.sp-toast.in { opacity: 1; transform: translateX(0) scale(1); }
.sp-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 14px var(--glow);
}
.sp-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sp-line { font-size: 0.86rem; }
.sp-sub { font-size: 0.84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-sub strong { color: var(--text); }
.sp-time { font-size: 0.72rem; color: var(--green); font-weight: 700; }
.sp-close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.sp-toast { position: relative; }
.sp-close:hover { color: var(--text); }
@media (max-width: 560px) {
  .sp-wrap { left: 10px; right: 10px; top: 84px; }
  .sp-toast { max-width: none; }
}

/* ============================================================
   Confetti
   ============================================================ */
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* ============================================================
   Reviews / social proof
   ============================================================ */
.reviews-section { opacity: 1; }

.rv-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.rv-score { display: flex; align-items: center; gap: 16px; }
.rv-avg { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.rv-stars { display: inline-flex; gap: 2px; font-size: 0.95rem; }
.rv-stars.big { font-size: 1.15rem; }
.rv-star { color: rgba(255,255,255,0.18); }
.rv-star.on { color: var(--star); text-shadow: 0 0 10px rgba(230,230,236,0.35); }
.rv-count { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.rv-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.rv-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.rv-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.rv-top { display: flex; align-items: center; gap: 10px; }
.rv-avatar {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}
.rv-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rv-name { font-weight: 700; font-size: 0.95rem; }
.rv-sub { font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.rv-verified { color: var(--green); font-weight: 700; }
.rv-prod { color: var(--accent); }
.rv-top .rv-stars { margin-left: auto; align-self: flex-start; }
.rv-text { margin: 0; color: var(--text); font-size: 0.92rem; line-height: 1.55; }
.rv-time { color: var(--muted); font-size: 0.75rem; }

/* Account: review form + Discord link */
.review-form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.star-pick { display: inline-flex; gap: 4px; }
.star-btn {
  border: 0; background: none; cursor: pointer;
  font-size: 1.8rem; line-height: 1;
  color: rgba(255,255,255,0.2);
  transition: color 120ms ease, transform 120ms ease;
  padding: 0;
}
.star-btn:hover { transform: scale(1.12); }
.star-btn.on { color: var(--star); text-shadow: 0 0 12px rgba(230,230,236,0.4); }
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
}
.review-form textarea:focus { outline: none; border-color: var(--line-strong); }
.review-form .button { align-self: flex-start; }
.discord-cta { background: #5865f2 !important; color: #fff !important; box-shadow: 0 8px 22px rgba(88,101,242,0.35) !important; }
.discord-cta:hover { filter: brightness(1.08); }

/* Post-purchase "what to do next" steps */
.next-steps {
  margin: 6px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.next-steps li { color: var(--muted); line-height: 1.55; }
.next-steps li::marker { color: var(--accent); font-weight: 800; }
.next-steps li strong { color: var(--text); }

@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .rv-summary { flex-direction: column; align-items: flex-start; }
}

/* Aurora removed for performance — it was a huge spinning conic gradient that
   caused most of the scroll lag. The static hero glow + light blobs remain. */
.bg-fx::before { content: none; display: none; }

/* ============================================================
   Subscriptions + plan extras
   ============================================================ */
.design-price .per { color: var(--muted); font-size: 0.8em; font-weight: 600; }
.sub-manage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
}
.sub-manage span { color: var(--muted); }
.sub-manage strong { color: var(--text); text-transform: capitalize; }

/* ============================================================
   Tickets — status, rows, conversation, admin
   ============================================================ */
.ticket-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: capitalize;
}
.ticket-status.open { background: rgba(255,255,255,0.16); color: var(--accent); }
.ticket-status.delivered { background: rgba(120,220,120,0.16); color: #8fe28f; }
.ticket-status.closed { background: rgba(255,255,255,0.08); color: var(--muted); }

.ticket-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: border-color 160ms ease, transform 160ms ease;
}
.ticket-row:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ticket-id { color: var(--muted); font-size: 0.78rem; margin-left: 8px; }
.ticket-row-sub { grid-column: 1 / 2; color: var(--muted); font-size: 0.86rem; }
.ticket-row .ticket-status { grid-column: 2; grid-row: 1 / 3; }

.ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.ticket-order { margin: 4px 0 16px; color: var(--muted); }
.ticket-order strong { color: var(--text); }

/* conversation */
.msg-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  padding: 6px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.18);
}
.msg-list.small { max-height: 260px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; }
.msg-meta { font-size: 0.74rem; color: var(--muted); margin-bottom: 3px; }
.msg-text { white-space: pre-wrap; word-break: break-word; }
.msg.buyer { align-self: flex-start; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.admin { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--line-strong); border-bottom-right-radius: 4px; }

.reply-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.reply-form textarea { flex: 1 1 240px; margin: 0; }
.reply-form .button { white-space: nowrap; }
.reply-file { flex: 1 1 100%; font-size: 0.82rem; color: var(--muted); padding: 6px 0; }

/* attachments */
.attach {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  margin-right: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}
.attach:hover { background: var(--accent-soft); }

/* confirm / deny delivery */
.confirm-box {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}
.confirm-box.done { border-color: rgba(120,220,120,0.5); background: rgba(120,220,120,0.1); color: #8fe28f; font-weight: 700; }
.confirm-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.admin-tools input[type="file"], .owe-box input[type="file"] { padding: 8px; background: rgba(255,255,255,0.04); }

/* admin tickets */
.ticket-admin { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; background: rgba(255,255,255,0.02); }
.ticket-admin.open { border-color: var(--line-strong); }
.ticket-admin.is-closed { opacity: 0.6; }
.ticket-admin.needs-admin { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.ticket-status.resolved { background: rgba(120,220,120,0.16); color: #8fe28f; }

.pill.needs { background: rgba(150,150,160,0.18); border-color: var(--accent-2); color: var(--accent-2); }
.assigned { color: var(--accent); font-weight: 700; }
.assigned-line { color: var(--muted); margin: 0 0 14px; }
.assigned-line strong { color: var(--accent); }

.admin-tools { margin: 6px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); }
.note-edit { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.note-edit input { margin: 0; }
.tool-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* account dashboard */
.acct-keys { display: flex; flex-direction: column; gap: 12px; }
.acct-key { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); }
.acct-key-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.acct-key-row code { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.05em; color: var(--accent); }

/* pending deliveries */
.delivery-card {
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background: rgba(150,150,160,0.06);
}
.delivery-head { margin-bottom: 8px; }
.delivery-head strong { font-size: 1.05rem; }

/* typing indicator */
.typing-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; margin: 4px 0 10px; }
.typing-line span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: typingDot 1.2s infinite ease-in-out;
}
.typing-line span:nth-child(2) { animation-delay: 0.18s; }
.typing-line span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot { 0%,60%,100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ticket-admin-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.ticket-admin-head:hover { background: var(--accent-soft); }
.ticket-admin-meta { color: var(--muted); font-size: 0.84rem; white-space: nowrap; }
.ticket-admin-body { padding: 0 16px 16px; }

.owe-box {
  margin: 6px 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(150,150,160,0.08);
}
.owe-box.done { border-color: rgba(120,220,120,0.5); background: rgba(120,220,120,0.1); color: #8fe28f; font-weight: 700; }
.owe-details { white-space: pre-wrap; color: var(--muted); margin: 8px 0; font-size: 0.9rem; }
.owe-price { font-weight: 800; margin-bottom: 10px; }
.owe-box .button { margin-top: 4px; }
.deliver-row { margin: 12px 0 8px; }
.deliver-row input { margin-top: 4px; }

/* custom menu spec (buyer form + summaries) */
.spec-box {
  margin: 10px 0 18px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--panel);
}
.spec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.spec-head strong { font-size: 1.05rem; }
.spec-form label { display: grid; gap: 6px; margin-bottom: 12px; font-weight: 600; }
.spec-colors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.spec-colors input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-top: 6px;
}
.spec-grid.admin { margin: 10px 0; }
.spec-grid > div { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.spec-grid > div.full { grid-column: 1 / -1; align-items: flex-start; }
.spec-grid span { color: var(--muted); font-weight: 500; min-width: 90px; }
.sw {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  vertical-align: middle;
  margin-right: 4px;
}
@media (max-width: 520px) {
  .spec-colors, .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Hard-coded customizations (from the debug console)
   Translated to stable selectors so they survive re-renders.
   ============================================================ */
.topbar .brand .dot { display: none !important; }                              /* brand pulsing dot */
.home-hero > .hero-badge, .home-hero > p { display: none !important; }         /* hero badge + subtext */
.rotator .rs-tag { display: none !important; }                                 /* showcase slide taglines */
.topbar nav a[href="reviews.html"] .nav-ico { display: none !important; }      /* reviews nav-link icon */
#home-products .section-head p { display: none !important; }                    /* "featured games" subtext */
.footer-brand .brand, .footer-brand p { display: none !important; }            /* footer brand link + tagline */
/* product cards: hide descriptions, featured flags, and fine-print (prices/stock kept) */
#game-panel .card-body > p,
#game-panel .featured-body > p,
#game-panel .featured-flag { display: none !important; }

/* ============================================================
   Bulletproof sticky footer — kills the empty void under pages.
   Body becomes the flex column; the shell fills it; the footer
   (margin-top:auto) sits at the bottom no matter the content height.
   ============================================================ */
html { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; }
body > .shell { flex: 1 0 auto; }

/* ============================================================
   Meteor streaks — subtle whitish diagonal streaks on every page
   ============================================================ */
.meteors {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
/* Aceternity "meteors" effect (ui.aceternity.com/components/meteors),
   ported to vanilla CSS — a small head with a fading horizontal tail. */
.meteor {
  position: absolute;
  top: 0;
  width: 2px;
  height: 2px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(215deg);
  opacity: 0; /* hidden during the start delay — only visible while streaking */
  animation-name: meteor;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.meteor::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.45), transparent);
}
@keyframes meteor {
  0% { transform: rotate(215deg) translateX(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: rotate(215deg) translateX(-500px); opacity: 0; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .meteor { display: none; }
}
