:root {
  --accent: #f2f2f2;
  --accent-border: rgba(255, 255, 255, 0.18);
  --accent-dim: rgba(255, 255, 255, 0.06);
  --accent-glow: rgba(255, 255, 255, 0.12);
  --bg: #070707;
  --bg-card: #121212;
  --bg-card-hover: #1a1a1a;
  --bg-surface: #0c0c0c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --container: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: "Inter", sans-serif;
  --font-display: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --nav-h: 68px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --text: #f5f5f5;
  --text-dim: #3a3a3a;
  --text-muted: #8a8a8a;
  --btn-ink: #0a0a0a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.accent {
  color: var(--accent);
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 45%, rgba(255, 255, 255, 0.03), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(255, 255, 255, 0.025), transparent 55%),
    var(--bg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--btn-ink);
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
}

.btn--discord {
  background: #1c1c1c;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.btn--discord:hover {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 9, 0.72);
  border-bottom: 1px solid var(--border);
  animation: navIn 0.7s var(--ease) both;
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.nav__logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: auto;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link.is-active {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-dim);
}

button.nav__link {
  cursor: pointer;
  background: transparent;
  font: inherit;
}

.nav__dropdown {
  position: relative;
}

.nav__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: transparent;
  font: inherit;
}

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 280px;
  padding: 0.5rem;
  border-radius: 12px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 80;
}

.nav__dropdown-panel[hidden] {
  display: none;
}

.nav__dropdown-panel a,
.nav__dropdown-cat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  color: #d8d8d8;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.nav__dropdown-panel a:hover,
.nav__dropdown-cat:hover {
  background: #1c1c1c;
  color: #fff;
}

.nav__dropdown-icon {
  width: 48px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 6px;
}

.nav__dropdown-logo {
  position: relative;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: transparent !important;
  transition: background 0.28s ease;
}

.nav__dropdown-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 62%
  );
  transform: translateX(-125%);
  transition: transform 0.32s ease;
  pointer-events: none;
  z-index: 1;
}

.nav__dropdown-logo::after {
  content: "";
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-50%);
  transition: width 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
  z-index: 2;
}

.nav__dropdown-logo:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

.nav__dropdown-logo:hover::before {
  transform: translateX(125%);
}

.nav__dropdown-logo:hover::after {
  width: 58%;
}

.nav__dropdown-logo .nav__dropdown-icon {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 160px;
  height: 44px;
  background: transparent;
  mix-blend-mode: normal;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.nav__dropdown-logo:hover .nav__dropdown-icon {
  transform: scale(1.045) translateY(-2px);
  filter: brightness(1.14);
}

@keyframes nav-logo-confirm {
  0% {
    transform: scale(1) translateY(0);
    filter: brightness(1);
  }
  38% {
    transform: scale(0.94) translateY(1px);
    filter: brightness(1.38);
  }
  72% {
    transform: scale(1.05) translateY(-1px);
    filter: brightness(1.18);
  }
  100% {
    transform: scale(1) translateY(0);
    filter: brightness(1);
  }
}

@keyframes nav-logo-bar-flash {
  0% {
    width: 0;
    opacity: 0;
  }
  35% {
    width: 72%;
    opacity: 1;
  }
  100% {
    width: 88%;
    opacity: 0;
  }
}

.nav__dropdown-logo.is-confirming {
  background: rgba(255, 255, 255, 0.09) !important;
}

.nav__dropdown-logo.is-confirming::before {
  transform: translateX(125%);
  transition: none;
}

.nav__dropdown-logo.is-confirming .nav__dropdown-icon {
  animation: nav-logo-confirm 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nav__dropdown-logo.is-confirming::after {
  animation: nav-logo-bar-flash 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .nav__dropdown-logo::before {
    display: none;
  }

  .nav__dropdown-logo,
  .nav__dropdown-logo .nav__dropdown-icon {
    transition: none;
  }

  .nav__dropdown-logo:hover .nav__dropdown-icon {
    transform: none;
    filter: brightness(1.06);
  }

  .nav__dropdown-logo:hover::after {
    width: 40%;
    transition: none;
  }

  .nav__dropdown-logo.is-confirming .nav__dropdown-icon,
  .nav__dropdown-logo.is-confirming::after {
    animation: none;
  }

  .nav__dropdown-logo.is-confirming {
    background: rgba(255, 255, 255, 0.08) !important;
  }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav__icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
}

.nav__icon-btn:hover {
  color: var(--text);
}

.nav__login {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
}

.nav__login:hover {
  color: var(--text);
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
}

.nav__menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.4rem 0;
}

.mobile-menu .btn {
  width: fit-content;
  margin-top: 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(1.25rem, 3vw, 2rem);
  min-height: 0;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero__binary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 8%,
    rgba(0, 0, 0, 0.8) 20%,
    #000 36%,
    #000 58%,
    rgba(0, 0, 0, 0.5) 74%,
    rgba(0, 0, 0, 0.18) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 8%,
    rgba(0, 0, 0, 0.8) 20%,
    #000 36%,
    #000 58%,
    rgba(0, 0, 0, 0.5) 74%,
    rgba(0, 0, 0, 0.18) 88%,
    transparent 100%
  );
}

.hero__binary-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero__binary-canvas {
    opacity: 0.55;
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 30% 45%, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.4) 50%, transparent 78%),
    linear-gradient(to bottom, transparent 0%, rgba(7, 7, 7, 0.15) 55%, rgba(7, 7, 7, 0.75) 100%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  justify-items: center;
  width: min(100% - 2.5rem, var(--container));
}

.hero__copy {
  max-width: 560px;
  width: 100%;
  justify-self: start;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  perspective: 600px;
}

.hero__title .accent {
  display: inline;
}

.hero__brand-word {
  color: #ff1f3d;
  animation: brand-siren 0.7s steps(1, end) infinite;
}

@keyframes brand-siren {
  0%,
  49.9% {
    color: #ff1f3d;
    text-shadow:
      0 0 10px rgba(255, 31, 61, 0.85),
      0 0 22px rgba(255, 31, 61, 0.4);
  }
  50%,
  100% {
    color: #2f6bff;
    text-shadow:
      0 0 10px rgba(47, 107, 255, 0.85),
      0 0 22px rgba(47, 107, 255, 0.4);
  }
}

.hero__word {
  display: inline-block;
  margin-right: 0.28em;
}

.hero__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em) rotateX(55deg) scale(0.75);
  transform-origin: bottom center;
  animation: dominateIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.08s + var(--i) * 0.07s);
  will-change: transform, opacity;
}

@keyframes dominateIn {
  0% {
    opacity: 0;
    transform: translateY(1.15em) rotateX(70deg) scale(0.7);
    filter: blur(6px);
  }
  55% {
    opacity: 1;
    filter: blur(0);
  }
  75% {
    transform: translateY(-0.12em) rotateX(-6deg) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

.hero__sub {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--text-muted);
  min-width: 9.5rem;
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  flex-shrink: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.85s var(--ease) forwards;
}

.hero__title-rest.reveal { animation-delay: 0.7s; }
.hero__sub.reveal { animation-delay: 0.85s; }
.hero__ctas.reveal { animation-delay: 1s; }
.hero__stats.reveal { animation-delay: 1.12s; }
.hero__mugshot.reveal { animation-delay: 0.55s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero mugshot / wanted animation */
.hero__mugshot {
  justify-self: stretch;
  align-self: center;
  width: 100%;
  max-width: 480px;
}

.mugshot {
  width: 100%;
  transition: transform 0.4s var(--ease);
}

.mugshot__frame {
  position: relative;
  padding: 0.85rem;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(28, 28, 28, 0.95), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.mugshot__photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 0;
  cursor: zoom-in;
  appearance: none;
  font: inherit;
  color: inherit;
  aspect-ratio: 440 / 560;
}

.mugshot__inner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mugshot__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #c8c8c8;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(0, 0, 0, 0.14) calc(12.5% - 1px),
    rgba(0, 0, 0, 0.14) 12.5%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.mugshot__photo.is-custom-face .mugshot__backdrop {
  opacity: 1;
}

.mugshot__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.08);
  animation: mugshot-settle 1.1s var(--ease) both;
}

.mugshot__photo.is-custom-face .mugshot__face {
  top: 7%;
  left: 10%;
  width: 80%;
  height: 82%;
  right: auto;
  bottom: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 2px;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28);
}

.mugshot__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  pointer-events: none;
  z-index: 2;
}

.mugshot__bars span {
  display: block;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(220, 220, 220, 0.88) 18%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(180, 180, 180, 0.85) 82%,
    rgba(0, 0, 0, 0.2) 100%
  );
  width: 42%;
  justify-self: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  transform: translateY(-110%);
  animation: mugshot-bars-drop 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mugshot__bars span:nth-child(1) { animation-delay: 0.55s; }
.mugshot__bars span:nth-child(2) { animation-delay: 0.65s; }
.mugshot__bars span:nth-child(3) { animation-delay: 0.72s; }
.mugshot__bars span:nth-child(4) { animation-delay: 0.8s; }
.mugshot__bars span:nth-child(5) { animation-delay: 0.88s; }
.mugshot__bars span:nth-child(6) { animation-delay: 0.96s; }
.mugshot__bars span:nth-child(7) { animation-delay: 1.04s; }

.mugshot__flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.85), transparent 55%);
  opacity: 0;
  pointer-events: none;
  animation: mugshot-flash 0.7s ease-out 0.35s both;
}

/* Separate layer so hover flash does not restart the load flash */
.mugshot__hover-flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.95), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 40%, rgba(255, 255, 255, 0.14));
  opacity: 0;
  pointer-events: none;
}

.mugshot__stamp {
  position: absolute;
  top: 36%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -20%) rotate(-14deg) scale(1.35);
  opacity: 0;
  pointer-events: none;
  animation: mugshot-stamp 0.55s cubic-bezier(0.2, 1.4, 0.3, 1) 1.25s both;
}

.mugshot__stamp span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 3px solid #e11d2e;
  border-radius: 4px;
  color: #e11d2e;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    inset 0 0 18px rgba(225, 29, 46, 0.12);
}

.mugshot__popup {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.82) 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 0.28s var(--ease),
    visibility 0.28s var(--ease),
    transform 0.28s var(--ease);
  line-height: 1.2;
}

/* Fine pointer: lift card + flash + overlay on hover */
@media (hover: hover) and (pointer: fine) {
  .mugshot:hover {
    transform: translateY(-18px);
  }

  .mugshot:hover .mugshot__frame {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
      0 36px 80px rgba(0, 0, 0, 0.72),
      inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .mugshot:hover .mugshot__popup {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mugshot:hover .mugshot__stamp {
    opacity: 0 !important;
    transition: opacity 0.25s var(--ease);
  }

  .mugshot:hover .mugshot__hover-flash {
    animation: mugshot-hover-flash 0.55s ease-out both;
  }
}

/* Touch: quiet caption, no flash / no lift */
@media (hover: none), (pointer: coarse) {
  .mugshot__popup {
    opacity: 0.92;
    visibility: visible;
    transform: none;
    background:
      linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.78) 100%);
  }

  .mugshot__stamp {
    opacity: 0 !important;
  }

  .mugshot__hover-flash {
    display: none;
  }
}

.mugshot__caught {
  display: block;
  margin: 0;
  max-width: 14ch;
  padding: 0.55rem 0.7rem;
  border: 3px solid #e11d2e;
  border-radius: 3px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e11d2e;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.45);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    inset 0 0 18px rgba(225, 29, 46, 0.12);
  transform: rotate(-8deg);
}

.mugshot__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
  opacity: 0;
  animation: mugshot-meta-in 0.7s var(--ease) 1.55s both;
}

@keyframes mugshot-settle {
  from {
    opacity: 0;
    transform: scale(1.08);
    filter: grayscale(1) contrast(1.08) brightness(1.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(1) contrast(1.08);
  }
}

@keyframes mugshot-bars-drop {
  from {
    transform: translateY(-110%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes mugshot-flash {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

@keyframes mugshot-hover-flash {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  35% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
  }
}

@keyframes mugshot-stamp {
  0% {
    opacity: 0;
    transform: translate(-50%, -20%) rotate(-28deg) scale(1.8);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -20%) rotate(-12deg) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -20%) rotate(-14deg) scale(1);
  }
}

@keyframes mugshot-meta-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.mugshot__photo.is-click-flashing .mugshot__hover-flash {
  animation: mugshot-click-flash 0.65s ease-out both;
}

@keyframes mugshot-click-flash {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  22% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
  }
}

/* Wanted poster fullscreen lightbox */
.mugshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem 2.5rem;
}

.mugshot-lightbox[hidden] {
  display: none !important;
}

.mugshot-lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.94);
  cursor: zoom-out;
  opacity: 0;
}

.mugshot-lightbox.is-open .mugshot-lightbox__backdrop {
  animation: wanted-backdrop-in 0.45s var(--ease) both;
}

.mugshot-lightbox__flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.55) 28%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08));
  opacity: 0;
}

.mugshot-lightbox.is-open .mugshot-lightbox__flash {
  animation: wanted-screen-flash 0.85s ease-out both;
}

.mugshot-lightbox__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  width: min(92vw, 420px);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.mugshot-lightbox.is-open .mugshot-lightbox__stage {
  animation: wanted-stage-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.mugshot-lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  z-index: 4;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.72);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mugshot-lightbox.is-open .mugshot-lightbox__close {
  animation: wanted-close-in 0.4s var(--ease) 0.85s both;
}

.mugshot-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.wanted-card {
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.85rem 1.1rem;
  border-radius: 4px;
  background: #f4f4f2;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.65) inset,
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  transform: rotate(-1.5deg);
}

.wanted-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 440 / 560;
  background: #111;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.wanted-card__inner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wanted-card__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #c8c8c8;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(0, 0, 0, 0.14) calc(12.5% - 1px),
    rgba(0, 0, 0, 0.14) 12.5%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.wanted-card__photo.is-custom-face .wanted-card__backdrop {
  opacity: 1;
}

.wanted-card__face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.1);
}

.wanted-card__photo.is-custom-face .wanted-card__face {
  top: 7%;
  left: 10%;
  width: 80%;
  height: 82%;
  right: auto;
  bottom: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 2px;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28);
}

.wanted-card__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  pointer-events: none;
  z-index: 2;
}

.wanted-card__bars span {
  display: block;
  width: 42%;
  height: 100%;
  justify-self: center;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(210, 210, 210, 0.92) 18%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(175, 175, 175, 0.88) 82%,
    rgba(0, 0, 0, 0.22) 100%
  );
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
  transform: translateY(-110%);
}

.mugshot-lightbox.is-open .wanted-card__bars span {
  animation: wanted-bars-drop 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mugshot-lightbox.is-open .wanted-card__bars span:nth-child(1) { animation-delay: 0.28s; }
.mugshot-lightbox.is-open .wanted-card__bars span:nth-child(2) { animation-delay: 0.36s; }
.mugshot-lightbox.is-open .wanted-card__bars span:nth-child(3) { animation-delay: 0.43s; }
.mugshot-lightbox.is-open .wanted-card__bars span:nth-child(4) { animation-delay: 0.5s; }
.mugshot-lightbox.is-open .wanted-card__bars span:nth-child(5) { animation-delay: 0.57s; }
.mugshot-lightbox.is-open .wanted-card__bars span:nth-child(6) { animation-delay: 0.64s; }
.mugshot-lightbox.is-open .wanted-card__bars span:nth-child(7) { animation-delay: 0.71s; }

.wanted-card__stamp {
  position: absolute;
  top: 38%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -20%) rotate(-14deg) scale(1.2);
  opacity: 0;
  pointer-events: none;
}

.mugshot-lightbox.is-open .wanted-card__stamp {
  animation: wanted-stamp-in 0.5s cubic-bezier(0.2, 1.4, 0.3, 1) 0.78s both;
}

.wanted-card__stamp span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 3px solid #c41e2a;
  border-radius: 3px;
  color: #c41e2a;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.wanted-card__caption {
  margin-top: 0.85rem;
  text-align: center;
  color: #111;
}

.wanted-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.wanted-card__case {
  margin: 0.45rem 0 0;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.4vw, 0.72rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}

.wanted-caught-pill {
  margin: 0;
  padding: 0.55rem 1.1rem;
  border: 2px solid #fff;
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #f5f5f5;
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 2.2vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
}

.mugshot-lightbox.is-open .wanted-caught-pill {
  animation: wanted-pill-in 0.5s var(--ease) 0.95s both;
}

.mugshot-lightbox__hint {
  margin: 0.35rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  opacity: 0;
}

.mugshot-lightbox.is-open .mugshot-lightbox__hint {
  animation: wanted-hint-in 0.45s var(--ease) 1.15s both;
}

@keyframes wanted-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wanted-screen-flash {
  0% { opacity: 0; }
  12% { opacity: 1; }
  35% { opacity: 0.45; }
  100% { opacity: 0; }
}

@keyframes wanted-stage-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wanted-bars-drop {
  from { transform: translateY(-110%); }
  to { transform: translateY(0); }
}

@keyframes wanted-stamp-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -20%) rotate(-28deg) scale(1.65);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -20%) rotate(-12deg) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -20%) rotate(-14deg) scale(1);
  }
}

@keyframes wanted-pill-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wanted-hint-in {
  to { opacity: 1; }
}

@keyframes wanted-close-in {
  to { opacity: 1; }
}

@media (max-width: 480px) {
  .mugshot-lightbox {
    padding: 3.25rem 0.85rem 2rem;
  }

  .mugshot-lightbox__stage {
    width: min(94vw, 340px);
    gap: 1rem;
  }

  .wanted-card {
    padding: 0.65rem 0.65rem 0.85rem;
    transform: rotate(-1deg);
  }

  .mugshot-lightbox__close {
    top: -2.35rem;
    right: 0.15rem;
  }

  .wanted-caught-pill {
    padding: 0.48rem 0.85rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mugshot {
    transition: transform 0.2s ease;
  }

  .mugshot__face,
  .mugshot__bars span,
  .mugshot__flash,
  .mugshot__hover-flash,
  .mugshot__stamp,
  .mugshot__meta {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .mugshot__bars span {
    transform: translateY(0);
  }

  .mugshot__stamp {
    transform: translate(-50%, -20%) rotate(-14deg);
  }

  .mugshot__flash,
  .mugshot__hover-flash {
    display: none !important;
    animation: none !important;
  }

  .mugshot__frame,
  .mugshot__popup {
    transition: none !important;
  }

  .mugshot__popup {
    transform: none !important;
  }

  .mugshot__caught {
    transform: rotate(-8deg);
  }

  .mugshot__photo.is-click-flashing .mugshot__hover-flash {
    animation: none !important;
  }

  .mugshot-lightbox__flash,
  .mugshot-lightbox.is-open .mugshot-lightbox__backdrop,
  .mugshot-lightbox.is-open .mugshot-lightbox__stage,
  .mugshot-lightbox.is-open .mugshot-lightbox__close,
  .mugshot-lightbox.is-open .wanted-card__bars span,
  .mugshot-lightbox.is-open .wanted-card__stamp,
  .mugshot-lightbox.is-open .wanted-caught-pill,
  .mugshot-lightbox.is-open .mugshot-lightbox__hint {
    animation: none !important;
  }

  .mugshot-lightbox__flash {
    display: none;
  }

  .mugshot-lightbox__backdrop,
  .mugshot-lightbox__stage,
  .mugshot-lightbox__close,
  .wanted-card__stamp,
  .wanted-caught-pill,
  .mugshot-lightbox__hint {
    opacity: 1;
    transform: none;
  }

  .wanted-card__bars span {
    transform: translateY(0);
  }

  .wanted-card__stamp {
    transform: translate(-50%, -20%) rotate(-14deg);
  }

  @media (hover: hover) and (pointer: fine) {
    .mugshot:hover {
      transform: translateY(-6px);
    }

    .mugshot:hover .mugshot__hover-flash {
      animation: none !important;
    }
  }

  .hero__brand-word {
    animation: none !important;
    color: #ff1f3d;
    text-shadow: none;
  }
}
/* Categories */
.categories {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-sub {
  margin: 0 0 2.5rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.game-marquee {
  --game-marquee-gap: 1rem;
  --game-marquee-duration: 42s;
  --game-marquee-shift: 50%;
  margin-top: 0.25rem;
  padding: 0.75rem 0 1.35rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.game-marquee__track {
  display: flex;
  width: max-content;
  gap: var(--game-marquee-gap);
  will-change: transform;
}

.game-marquee[data-ready] .game-marquee__track {
  animation: gameMarqueeRight var(--game-marquee-duration) linear infinite;
}

.game-marquee:hover .game-marquee__track,
.game-marquee:focus-within .game-marquee__track {
  animation-play-state: paused;
}

.game-marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--game-marquee-gap);
}

@keyframes gameMarqueeRight {
  from {
    transform: translateX(calc(-1 * var(--game-marquee-shift)));
  }
  to {
    transform: translateX(0);
  }
}

.game-card {
  --game-card-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: flex-end;
  width: clamp(200px, 18vw, 260px);
  min-height: 340px;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  isolation: isolate;
  z-index: 0;
  transition:
    transform 0.55s var(--game-card-ease),
    border-color 0.55s var(--game-card-ease),
    box-shadow 0.55s var(--game-card-ease),
    opacity 0.45s var(--game-card-ease),
    filter 0.45s var(--game-card-ease);
  animation: cardGlow 4s ease-in-out infinite;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(255, 255, 255, 0.05);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.game-card--1 { animation-delay: 0s; }
.game-card--2 { animation-delay: 0.45s; }
.game-card--3 { animation-delay: 0.9s; }
.game-card--4 { animation-delay: 1.35s; }
.game-card--5 { animation-delay: 1.8s; }

@keyframes cardGlow {
  0%,
  100% {
    box-shadow:
      0 0 6px rgba(255, 255, 255, 0.08),
      0 0 14px rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.22);
  }
  50% {
    box-shadow:
      0 0 10px rgba(255, 255, 255, 0.18),
      0 0 22px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
  }
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(160deg, #1a1a1a, #0c0c0c 60%);
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.7s var(--game-card-ease),
    filter 0.55s var(--game-card-ease);
  will-change: transform;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 48%,
    rgba(255, 255, 255, 0.2) 52%,
    transparent 65%
  );
  background-size: 220% 220%;
  background-position: 120% 40%;
  opacity: 0;
  transition:
    opacity 0.5s var(--game-card-ease),
    background-position 0.7s var(--game-card-ease);
}

.game-card--1::before {
  background: url("assets/card-fortnite.png") center 20% / cover no-repeat;
}

.game-card--2::before {
  background: url("assets/card-spoofer.png") center 22% / cover no-repeat;
}

.game-card--2 {
  padding-bottom: 0;
}

.game-card--2 .game-card__content {
  position: absolute;
  left: 50%;
  bottom: 1.5%;
  z-index: 2;
  margin: 0;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
}

.game-card--2 .game-card__count {
  display: block;
  margin: 0;
  padding-top: 0;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.game-card--3::before {
  background: url("assets/card-cod.png") center 25% / cover no-repeat;
}

.game-card--4::before {
  background: url("assets/card-mecha.png") center 30% / cover no-repeat;
}

.game-card--5::before {
  background: url("assets/card-r6.png") center 20% / cover no-repeat;
}

/* Fine pointer only — avoids sticky hover / layout shift on touch */
@media (hover: hover) and (pointer: fine) {
  .game-marquee:hover .game-card:not(:hover) {
    transform: scale(0.965);
    opacity: 0.62;
    filter: brightness(0.72) saturate(0.85);
  }

  .game-card:hover {
    z-index: 2;
    animation: none;
    transform: translateY(-14px) scale(1.07);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.18),
      0 0 22px rgba(255, 255, 255, 0.28),
      0 0 48px rgba(255, 255, 255, 0.1);
  }

  .game-card:hover::before {
    transform: scale(1.14);
    filter: brightness(1.18) contrast(1.08);
  }

  .game-card:hover::after {
    opacity: 1;
    background-position: -20% 60%;
  }

  .game-card:hover .game-card__browse {
    opacity: 1;
    transform: none;
  }

  .game-card:focus-visible {
    z-index: 2;
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
    transform: translateY(-8px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.6);
  }
}

.game-card__content h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.game-card__content span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-card__browse {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(-4px);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  background: var(--accent);
  color: var(--btn-ink);
  font-size: 0.75rem;
  font-weight: 700;
  transition: opacity 0.35s var(--game-card-ease), transform 0.35s var(--game-card-ease);
}

/* Featured */
.featured {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

.featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.featured-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.22);
}

.featured-card__bg-num {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

.featured-card__visual {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 630;
  margin: 0 0 1.25rem;
}

.featured-card__box {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.featured-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
}

.featured-card__badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.featured-card__desc {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.featured-card__cta {
  width: 100%;
  justify-content: center;
}

.featured-card--carousel {
  padding-bottom: clamp(2.25rem, 3vw, 2.75rem);
}

.featured-card__carousel {
  position: relative;
  display: grid;
  flex: 1;
}

.featured-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.65s var(--ease),
    visibility 0.65s var(--ease);
}

.featured-slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.featured-card__dots {
  position: absolute;
  bottom: clamp(0.85rem, 1.5vw, 1.1rem);
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.featured-card__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    width 0.25s var(--ease);
}

.featured-card__dot:hover {
  background: rgba(255, 255, 255, 0.42);
}

.featured-card__dot.is-active {
  width: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
}

.featured-card__dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.featured__trust {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.5vw, 1rem);
}

.trust-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.trust-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.22);
}

.trust-card__bg-num {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  z-index: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
}

.trust-card__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
}

.trust-card__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.trust-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.trust-card__metric {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  white-space: nowrap;
}

.trust-card--payments {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.trust-card--payments .trust-card__content {
  grid-column: 2;
}

.trust-card__payments {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.payment-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.14rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.payment-badge__logo {
  display: block;
  width: 100%;
  height: 100%;
}

/* Reviews */
.reviews {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  overflow: hidden;
}

.reviews .container {
  margin-bottom: 2rem;
}

.marquee {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.marquee__track--left {
  animation: marqueeLeft 55s linear infinite;
}

.marquee__track--right {
  animation: marqueeRight 60s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.review-card {
  flex: 0 0 auto;
  width: min(340px, 78vw);
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* FAQ */
.faq {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.faq__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.faq__intro .section-sub {
  margin-bottom: 1.5rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  margin: 1rem 0 1.25rem;
  max-width: 22rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__socials a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__socials a:hover,
.footer a:hover {
  color: var(--accent);
}

.footer h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__legal a {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .game-card {
    width: clamp(190px, 28vw, 240px);
    min-height: 300px;
  }

  .featured__grid,
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero__copy {
    justify-self: center;
  }

  .hero__mugshot {
    justify-self: center;
    max-width: 420px;
  }

  .hero__veil {
    background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.45) 50%, transparent 75%);
  }
}

@media (max-width: 800px) {
  .nav__links,
  .nav__login,
  .btn--discord,
  .nav__icon-btn,
  .nav__actions > .btn--primary {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }

  .mobile-menu:not([hidden]) {
    display: flex;
  }

  .game-card {
    width: clamp(180px, 42vw, 220px);
    min-height: 280px;
  }

  .hero {
    min-height: auto;
    padding-top: 1.25rem;
    padding-bottom: 1rem;
  }

  .hero__stats {
    gap: 1.35rem 1.75rem;
  }

  .stat {
    min-width: 0;
  }

  .stat strong {
    font-size: 1.45rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .game-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .game-card {
    width: min(200px, 72vw);
    min-height: 240px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .game-card::before {
    will-change: auto;
  }

  .game-marquee {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .game-marquee__track {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .game-marquee__group--clone {
    display: none;
  }

  .game-card {
    scroll-snap-align: start;
  }

  .game-card:hover,
  .game-card:focus-visible,
  .game-marquee:hover .game-card:not(:hover) {
    transform: none;
    opacity: 1;
    filter: none;
  }

  .game-card:hover::before {
    transform: none;
    filter: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__letter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .marquee__track {
    transform: none !important;
  }
}

/* ========== Store: category + product pages ========== */
.store-page .nav__link.is-active {
  color: var(--accent);
}

.store-back {
  display: inline-block;
  margin: 1.25rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.store-back:hover {
  color: var(--text);
}

.cat-page {
  padding-bottom: 4rem;
}

.cat-panel {
  max-width: 820px;
  margin: 0 auto 2rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0c0c0c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.cat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.cat-modal[hidden] {
  display: none !important;
}

.cat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.cat-panel--modal {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  margin: 0;
  max-height: min(88vh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
}

.cat-panel__hero {
  position: relative;
  min-height: 200px;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.35)),
    radial-gradient(ellipse at 30% 20%, #2a2a2a, #101010 55%, #070707);
  border-bottom: 1px solid var(--border);
}

.cat-panel__hero.has-cover {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cat-panel__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.cat-panel__hero.has-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.96) 0%,
    rgba(8, 8, 8, 0.55) 42%,
    rgba(8, 8, 8, 0.2) 100%
  );
  pointer-events: none;
}

.cat-panel__hero-copy {
  position: relative;
  z-index: 2;
  padding: 2.4rem 1.75rem 1.75rem;
}

.cat-panel__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.cat-panel__eyebrow {
  margin: 0 0 0.45rem;
  color: #cfcfcf;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.cat-panel__title {
  position: relative;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cat-panel__count {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cat-panel__list {
  padding: 0.25rem 0;
  overflow-x: hidden;
}

.cat-item {
  --cat-hover-duration: 0.58s;
  --cat-hover-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --cat-sheen-duration: 0.72s;

  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border);
  transition:
    transform var(--cat-hover-duration) var(--cat-hover-ease),
    background var(--cat-hover-duration) var(--cat-hover-ease),
    box-shadow var(--cat-hover-duration) var(--cat-hover-ease);
}

.cat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.04) 62%,
    transparent 100%
  );
  transform: translateX(-105%);
  transition: transform var(--cat-sheen-duration) var(--cat-hover-ease);
  pointer-events: none;
}

.cat-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.55) 58%,
    transparent 100%
  );
  opacity: 0;
  transform: scaleY(0.72);
  transition:
    opacity var(--cat-hover-duration) var(--cat-hover-ease),
    transform var(--cat-hover-duration) var(--cat-hover-ease);
  pointer-events: none;
}

.cat-item:hover {
  transform: translateY(-4px) scale(1.015);
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 6px 22px rgba(0, 0, 0, 0.28);
}

.cat-item:hover::before {
  transform: translateX(105%);
}

.cat-item:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.cat-item:last-child {
  border-bottom: none;
}

.cat-item__thumb {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}

.cat-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition:
    filter var(--cat-hover-duration, 0.58s) var(--cat-hover-ease, cubic-bezier(0.33, 1, 0.68, 1)),
    transform var(--cat-hover-duration, 0.58s) var(--cat-hover-ease, cubic-bezier(0.33, 1, 0.68, 1));
}

.cat-item:hover .cat-item__thumb img {
  filter: brightness(1.24);
  transform: scale(1.04);
}

.cat-item__name {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  transition: color var(--cat-hover-duration, 0.58s) var(--cat-hover-ease, cubic-bezier(0.33, 1, 0.68, 1));
}

.cat-item:hover .cat-item__name {
  color: #fafafa;
}

.cat-item__badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d8d8d8;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cat-item__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 34rem;
}

.cat-item__aside {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.cat-item__price {
  margin: 0;
  white-space: nowrap;
}

.cat-item__price strong {
  color: #f2f2f2;
  font-size: 1.05rem;
  font-weight: 700;
}

.cat-item__price span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cat-item__view {
  position: relative;
  overflow: hidden;
  min-width: 88px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  transition:
    transform 0.22s var(--ease),
    background 0.22s var(--ease),
    border-color 0.22s var(--ease),
    text-decoration-color 0.22s var(--ease);
}

.cat-item__view:hover {
  transform: translateX(3px);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.cat-item__view:active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  animation: catViewFlash 0.32s var(--ease) forwards;
  pointer-events: none;
}

@keyframes catBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes catPanelEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes catRowEnter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes catViewFlash {
  0% { opacity: 0.55; }
  100% { opacity: 0; }
}

.cat-modal--animate .cat-modal__backdrop {
  animation: catBackdropIn 0.3s var(--ease) forwards;
}

.cat-modal--animate .cat-panel--modal {
  animation: catPanelEnter 0.34s var(--ease) forwards;
}

.cat-modal--animate .cat-panel__title:not([hidden]) {
  animation: catRowEnter 0.32s var(--ease) 0.06s backwards;
}

.cat-modal--animate .cat-panel__count {
  animation: catRowEnter 0.32s var(--ease) 0.11s backwards;
}

.cat-modal--animate .cat-item {
  animation: catRowEnter 0.36s var(--ease) backwards;
}

.cat-modal--animate .cat-item:nth-child(1) { animation-delay: 0.14s; }
.cat-modal--animate .cat-item:nth-child(2) { animation-delay: 0.2s; }
.cat-modal--animate .cat-item:nth-child(3) { animation-delay: 0.26s; }
.cat-modal--animate .cat-item:nth-child(4) { animation-delay: 0.32s; }
.cat-modal--animate .cat-item:nth-child(5) { animation-delay: 0.38s; }
.cat-modal--animate .cat-item:nth-child(6) { animation-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  .cat-modal--animate .cat-modal__backdrop,
  .cat-modal--animate .cat-panel--modal,
  .cat-modal--animate .cat-panel__title:not([hidden]),
  .cat-modal--animate .cat-panel__count,
  .cat-modal--animate .cat-item {
    animation: none !important;
  }

  .cat-item,
  .cat-item::before,
  .cat-item::after,
  .cat-item__thumb img,
  .cat-item__name,
  .cat-item__view {
    transition: none !important;
  }

  .cat-item:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
  }

  .cat-item:hover::before {
    transform: translateX(-105%);
  }

  .cat-item:hover::after {
    opacity: 0;
    transform: scaleY(0.72);
  }

  .cat-item:hover .cat-item__thumb img {
    filter: none;
    transform: none;
  }

  .cat-item:hover .cat-item__name {
    color: inherit;
  }

  .cat-item__view:hover {
    transform: none;
    text-decoration: none;
  }

  .cat-item__view:active::after {
    animation: none;
    display: none;
  }
}

/* Product detail — malloc-style layout (greyscale) */
.product-page {
  padding: 0.85rem 0 3.5rem;
}

.product-page > .container {
  max-width: 1120px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs__back {
  font-weight: 600;
  color: #cfcfcf;
}

.breadcrumbs__sep {
  color: #555;
  font-size: 0.95rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(0, 520px);
  gap: 2rem 2.75rem;
  align-items: start;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  padding-left: clamp(0rem, 4vw, 3rem);
}

.product-media {
  position: relative;
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media.has-image {
  padding: 0;
  background: #080808;
  min-height: 520px;
  align-self: stretch;
  overflow: hidden;
}

.product-media__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-media__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dde6a;
  box-shadow: 0 0 8px rgba(61, 222, 106, 0.65);
  animation: undetected-dot-flash 2.2s ease-in-out infinite;
}

@keyframes undetected-dot-flash {
  0%,
  100% {
    opacity: 0.35;
    background: #2a9f4c;
    box-shadow: 0 0 4px rgba(61, 222, 106, 0.25);
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    background: #5dff8a;
    box-shadow:
      0 0 10px rgba(61, 222, 106, 0.95),
      0 0 18px rgba(61, 222, 106, 0.5);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-media__badge i {
    animation: none;
    opacity: 1;
    background: #3dde6a;
  }
}

.product-media__box {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 300px;
  border-radius: 14px;
  background:
    linear-gradient(160deg, #2a2a2a, #101010 60%, #070707);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: end center;
  padding: 1.15rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.product-media__box[hidden] {
  display: none !important;
}

.product-media__frame {
  width: 100%;
  position: relative;
}

.product-media.has-image .product-media__frame {
  aspect-ratio: auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 16px;
  background: transparent;
  border: none;
  overflow: hidden;
}

.product-media__img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.product-media.has-image .product-media__img {
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  box-sizing: border-box;
  margin: 0;
  transform: scale(var(--image-zoom, 1));
  transform-origin: center center;
}

.product-media__box span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.product-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.tag {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tag--accent {
  background: transparent;
  color: #f2f2f2;
  border: none;
  padding-left: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.tag--muted {
  background: #1a1a1a;
  color: #bdbdbd;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-info__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-info__rating {
  margin: 0 0 0.55rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.product-info__stars {
  color: #e8e8e8;
  letter-spacing: 0.05em;
}

.product-info__desc {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.5;
  font-size: 0.92rem;
}

.product-info__label {
  margin: 0 0 0.5rem;
  color: #7a7a7a;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.duration-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
  max-width: 440px;
}

.duration-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-radius: 11px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.duration-option:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.duration-option.is-selected {
  border-color: rgba(255, 255, 255, 0.55);
  background: #161616;
}

.duration-option__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}

.duration-option__radio::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.42) 38%,
    rgba(255, 255, 255, 0.12) 58%,
    transparent 72%
  );
}

.duration-option__radio.is-flashing {
  animation: duration-radio-ring-flash 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.duration-option__radio.is-flashing::before {
  animation: duration-radio-glow-flash 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes duration-radio-glow-flash {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  28% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes duration-radio-ring-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  32% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.55),
      0 0 10px 2px rgba(255, 255, 255, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes duration-radio-selected-dot-pulse {
  0%,
  100% {
    opacity: 0.68;
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(242, 242, 242, 0.15);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow:
      0 0 5px 1px rgba(255, 255, 255, 0.7),
      0 0 12px 3px rgba(255, 255, 255, 0.28);
  }
}

@keyframes duration-radio-selected-ring-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.4),
      0 0 9px 2px rgba(255, 255, 255, 0.32);
  }
}

.duration-option.is-selected .duration-option__radio {
  border-color: #f2f2f2;
  animation: duration-radio-selected-ring-pulse 1.6s ease-in-out infinite;
}

.duration-option.is-selected .duration-option__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #f2f2f2;
  z-index: 1;
  animation: duration-radio-selected-dot-pulse 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .duration-option__radio.is-flashing,
  .duration-option__radio.is-flashing::before,
  .duration-option.is-selected .duration-option__radio,
  .duration-option.is-selected .duration-option__radio::after {
    animation: none !important;
  }
}

.duration-option__label {
  font-weight: 600;
  font-size: 0.92rem;
}

.duration-option__price {
  font-weight: 700;
  color: #f2f2f2;
}

.product-buy {
  max-width: 440px;
}

.product-buy__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.product-buy__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.product-buy__price strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #f2f2f2;
}

.product-buy__price span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.product-buy__instant {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfcfcf;
  font-size: 0.76rem;
  font-weight: 600;
}

.product-buy__btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

.product-buy__discord {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.product-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

.product-trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
  font-size: 0.78rem;
  text-align: center;
}

.product-trust__icon {
  flex-shrink: 0;
  color: #fff;
  display: block;
}

.product-os {
  margin: 0;
  color: #777;
  font-size: 0.78rem;
}

.product-tabs {
  margin-top: 2.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.product-tabs__tab {
  position: relative;
  padding: 0.65rem 0;
  color: #8a8a8a;
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: none;
}

.product-tabs__tab.is-active {
  color: #f2f2f2;
}

.product-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #f2f2f2;
}

.product-tabs__panel {
  max-width: 48rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.product-tabs__panel[hidden] {
  display: none;
}

.product-includes {
  margin: 0;
  padding-left: 1.15rem;
}

.product-includes li {
  margin-bottom: 0.55rem;
}

.product-related {
  margin-top: 2.25rem;
}

.product-related__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.product-related__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.product-related__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.product-related__card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #161616;
}

.product-related__name {
  font-weight: 600;
}

.product-related__from {
  color: var(--text-muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-media {
    max-width: 480px;
    margin: 0 auto;
    min-height: 400px;
  }

  .cat-item {
    grid-template-columns: 48px 1fr;
  }

  .cat-item__aside {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ========== Product checkout modal ========== */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 0.6rem;
}

.checkout-modal[hidden] {
  display: none !important;
}

.checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.checkout-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(90vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) #0e0e0e;
  border-radius: var(--radius-lg);
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  outline: none;
}

.checkout-modal__panel::-webkit-scrollbar {
  width: 6px;
}

.checkout-modal__panel::-webkit-scrollbar-track {
  background: #0e0e0e;
}

.checkout-modal__panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 3px;
}

.checkout-modal__panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

.checkout-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.checkout-modal__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #f2f2f2;
}

.checkout-modal__brand img {
  border-radius: 6px;
}

.checkout-modal__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d8d8d8;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.checkout-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.checkout-modal__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.checkout-section__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.checkout-summary {
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-summary__product {
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-summary__name {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #f2f2f2;
}

.checkout-summary__duration {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.checkout-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
}

.checkout-summary__row-label {
  color: #9a9a9a;
}

.checkout-summary__row-value {
  font-weight: 600;
  color: #e8e8e8;
}

.checkout-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  overflow: hidden;
}

.checkout-qty__btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1;
  transition: background 0.2s var(--ease);
}

.checkout-qty__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
}

.checkout-qty__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.checkout-qty__value {
  min-width: 2rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #f2f2f2;
}

.checkout-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: #bdbdbd;
}

.checkout-summary__total strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #f2f2f2;
}

.checkout-field {
  display: block;
}

.checkout-field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #d8d8d8;
}

.checkout-field__label em {
  color: #f2f2f2;
  font-style: normal;
}

.checkout-field__input {
  width: 100%;
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  color: #f2f2f2;
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.checkout-field__input::placeholder {
  color: #555;
}

.checkout-field__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.checkout-field__input.is-invalid {
  border-color: rgba(255, 120, 120, 0.55);
}

.checkout-field__error {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: #e88;
}

.checkout-pay {
  display: grid;
  gap: 0.45rem;
  overflow: visible;
}

.checkout-section:has(.checkout-pay) {
  overflow: visible;
}

.checkout-pay__crypto {
  display: grid;
  gap: 0;
  position: relative;
  overflow: visible;
}

.checkout-pay__tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  text-align: left;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.22s var(--ease);
}

.checkout-pay__tile[data-pay-method="crypto"] {
  grid-template-columns: auto 1fr auto auto;
}

.checkout-pay__tile:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: #141414;
}

.checkout-pay__tile.is-selected {
  border-color: rgba(255, 255, 255, 0.38);
  background: #161616;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.checkout-pay__chevron {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: #888;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.checkout-pay__tile.is-selected .checkout-pay__chevron,
.checkout-pay__crypto.is-open .checkout-pay__chevron {
  color: #d8d8d8;
}

.checkout-pay__crypto.is-open .checkout-pay__chevron {
  transform: rotate(180deg);
}

.checkout-crypto-dd {
  overflow: hidden;
  margin-top: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(12, 12, 12, 0.99));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform-origin: top center;
  max-height: 0;
  opacity: 0;
  border-width: 0;
  pointer-events: none;
  transition:
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    border-width 0s linear 0.28s,
    margin-top 0.28s ease;
}

.checkout-crypto-dd.is-open {
  max-height: 16rem;
  opacity: 1;
  border-width: 1px;
  pointer-events: auto;
  margin-top: 0.4rem;
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    border-width 0s,
    margin-top 0.28s ease;
}

.checkout-crypto-dd[hidden] {
  display: block !important;
}

.checkout-crypto-dd:not(.is-open)[hidden] {
  display: none !important;
}

.checkout-crypto-dd__empty {
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  color: #888;
}

.checkout-crypto-dd__option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    box-shadow 0.28s ease;
}

.checkout-crypto-dd.is-open .checkout-crypto-dd__option {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.checkout-crypto-dd.is-open .checkout-crypto-dd__option:nth-child(1) {
  transition-delay: 0.04s, 0.04s, 0.04s, 0.04s, 0.04s;
}
.checkout-crypto-dd.is-open .checkout-crypto-dd__option:nth-child(2) {
  transition-delay: 0.09s, 0.09s, 0.09s, 0.09s, 0.09s;
}
.checkout-crypto-dd.is-open .checkout-crypto-dd__option:nth-child(3) {
  transition-delay: 0.14s, 0.14s, 0.14s, 0.14s, 0.14s;
}

.checkout-crypto-dd__option:hover,
.checkout-crypto-dd__option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.checkout-crypto-dd__option:active {
  transform: translateY(0) scale(0.995);
}

.checkout-crypto-dd__option.is-selected {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.checkout-crypto-dd__option.is-unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-crypto-dd.is-open .checkout-crypto-dd__option.is-unavailable {
  opacity: 0.55;
}

.checkout-crypto-dd__option.is-unavailable:hover,
.checkout-crypto-dd__option.is-unavailable:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  transform: none;
  box-shadow: none;
}

.checkout-crypto-dd__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ececec;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}

.checkout-crypto-dd__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checkout-crypto-dd__option:hover .checkout-crypto-dd__mark,
.checkout-crypto-dd__option:focus-visible .checkout-crypto-dd__mark {
  transform: scale(1.08) rotate(-3deg);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.checkout-crypto-dd__label {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.checkout-crypto-dd__label strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f2f2f2;
}

.checkout-crypto-dd__label span {
  font-size: 0.74rem;
  color: #8a8a8a;
}

.checkout-crypto-dd__tick {
  width: 1rem;
  height: 1rem;
  opacity: 0;
  color: #e8e8e8;
  transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(0.7);
}

.checkout-crypto-dd__option.is-selected .checkout-crypto-dd__tick {
  opacity: 1;
  transform: scale(1);
}

.checkout-pay__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.checkout-pay__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.checkout-pay__text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f2f2f2;
}

.checkout-pay__text span {
  font-size: 0.78rem;
  color: #888;
}

.checkout-pay__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.checkout-pay__tile.is-selected .checkout-pay__check {
  background: #f2f2f2;
  border-color: #f2f2f2;
  color: #0a0a0a;
}

@media (prefers-reduced-motion: reduce) {
  .checkout-pay__tile,
  .checkout-pay__chevron,
  .checkout-crypto-dd,
  .checkout-crypto-dd__option,
  .checkout-crypto-dd__mark,
  .checkout-crypto-dd__tick {
    transition: none !important;
  }

  .checkout-crypto-dd.is-open .checkout-crypto-dd__option {
    opacity: 1;
    transform: none;
  }

  .checkout-crypto-dd__option:hover,
  .checkout-crypto-dd__option:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .checkout-crypto-dd__option:hover .checkout-crypto-dd__mark,
  .checkout-crypto-dd__option:focus-visible .checkout-crypto-dd__mark {
    transform: none;
  }
}

.checkout-coupon {
  display: flex;
  gap: 0.5rem;
}

.checkout-coupon__input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  color: #f2f2f2;
  font-size: 0.88rem;
}

.checkout-coupon__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.28);
}

.checkout-coupon__apply {
  flex-shrink: 0;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #161616;
  color: #e8e8e8;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.checkout-coupon__apply:hover {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.22);
}

.checkout-coupon__msg {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: #888;
}

.checkout-coupon__msg.is-error {
  color: #e88;
}

.checkout-coupon__msg.is-success {
  color: #bdbdbd;
}

.checkout-modal__confirm {
  width: 100%;
  margin-top: 0.1rem;
  padding: 0.72rem 1.2rem;
  font-size: 0.92rem;
}

.checkout-modal__confirm:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

@keyframes checkoutBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes checkoutPanelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes checkoutBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes checkoutPanelOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

.checkout-modal--animate .checkout-modal__backdrop {
  animation: checkoutBackdropIn 0.35s var(--ease) forwards;
}

.checkout-modal--animate .checkout-modal__panel {
  animation: checkoutPanelIn 0.38s var(--ease) forwards;
}

.checkout-modal--closing .checkout-modal__backdrop {
  animation: checkoutBackdropOut 0.28s var(--ease) forwards;
}

.checkout-modal--closing .checkout-modal__panel {
  animation: checkoutPanelOut 0.28s var(--ease) forwards;
}

@media (max-width: 520px) {
  .checkout-modal {
    padding: 0;
    align-items: flex-end;
  }

  .checkout-modal__panel {
    width: 100%;
    max-height: 94vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .checkout-modal__body {
    padding: 0.9rem 1rem 1.15rem;
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-modal--animate .checkout-modal__backdrop,
  .checkout-modal--animate .checkout-modal__panel,
  .checkout-modal--closing .checkout-modal__backdrop,
  .checkout-modal--closing .checkout-modal__panel {
    animation: none !important;
  }
}

.checkout-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 12000;
  transform: translateX(-50%);
  max-width: min(92vw, 26rem);
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  background: rgba(22, 22, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f2f2f2;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
