/* Riot Shop — Kireimarket-style layout, black & red */

:root {
  --brand-bg: #060a10;
  --brand-vignette: rgba(4, 8, 14, 0.94);
  --riot-red: #B0E0FF;
  --riot-red-soft: #D0EEFF;
  --riot-text: #ffffff;
  --riot-muted: rgba(255, 255, 255, 0.55);
  /* Header-style frosted glass — used by all glass cards */
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-top: rgba(255, 255, 255, 0.12);
  --glass-bg-bottom: rgba(255, 255, 255, 0.04);
  --glass-shadow: 0 10px 36px -14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --radius-sm: 0.875rem;
  --radius-md: 1.125rem;
  --radius-lg: 1.375rem;
  --radius-xl: 1.5rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Kill the default grey/blue flash + any brand-colored tap flash on mobile */
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Questrial', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--brand-bg);
  color: var(--riot-text);
  min-height: 100vh;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* No red/grey flash under finger when tapping links, buttons, cards, etc. */
a,
button,
input,
select,
textarea,
label,
summary,
[role="button"],
[tabindex]:not([tabindex="-1"]) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Keyboard focus only — avoid persistent rings after mobile taps */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid rgba(176, 224, 255, 0.55);
  outline-offset: 2px;
}

::selection {
  background-color: rgba(176, 224, 255, 0.35);
  color: #fff;
}

/* ── Background layers ── */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--brand-bg);
}

.site-bg-glow { position: absolute; inset: 0; }

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.82;
  will-change: transform;
}

.glow-orb-1 {
  width: 62vw; height: 62vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(176, 224, 255, 0.82) 0%, rgba(176, 224, 255, 0.28) 38%, transparent 68%);
  top: -18%; left: -12%;
  animation: glow-drift-1 22s ease-in-out infinite;
}
.glow-orb-2 {
  width: 56vw; height: 56vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(126, 184, 224, 0.68) 0%, rgba(126, 184, 224, 0.2) 40%, transparent 70%);
  bottom: -22%; right: -14%;
  animation: glow-drift-2 26s ease-in-out infinite;
}
.glow-orb-3 {
  width: 48vw; height: 48vw; max-width: 540px; max-height: 540px;
  background: radial-gradient(circle, rgba(176, 224, 255, 0.58) 0%, rgba(176, 224, 255, 0.16) 38%, transparent 72%);
  top: 38%; left: 42%;
  animation: glow-drift-3 30s ease-in-out infinite;
}
.glow-orb-4 {
  width: 40vw; height: 40vw; max-width: 460px; max-height: 460px;
  background: radial-gradient(circle, rgba(176, 224, 255, 0.72) 0%, rgba(176, 224, 255, 0.22) 42%, transparent 74%);
  top: 12%; right: 18%;
  animation: glow-drift-4 24s ease-in-out infinite;
}

@keyframes glow-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(18vw, 14vh) scale(1.1); }
  50%  { transform: translate(8vw, 32vh) scale(0.95); }
  75%  { transform: translate(-12vw, 18vh) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes glow-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-16vw, -10vh) scale(1.12); }
  50%  { transform: translate(-28vw, 8vh) scale(0.92); }
  75%  { transform: translate(-8vw, -20vh) scale(1.06); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes glow-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-14vw, -16vh) scale(1.14); }
  50%  { transform: translate(20vw, -8vh) scale(0.9); }
  75%  { transform: translate(10vw, 22vh) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes glow-drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-10vw, 12vh) scale(1.08); }
  50%  { transform: translate(14vw, 20vh) scale(0.94); }
  75%  { transform: translate(6vw, -14vh) scale(1.12); }
  100% { transform: translate(0, 0) scale(1); }
}

.site-bg-grid {
  position: absolute; inset: 0; opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 56px 56px;
}

.site-bg-dots {
  position: absolute; inset: 0; opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

.site-bg-grain {
  position: absolute; inset: 0; opacity: 0.045; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.site-bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 115% 85% at 50% 85%, transparent 35%, var(--brand-vignette) 100%);
}

.site-bg-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12rem;
  background: linear-gradient(to top, var(--brand-bg), transparent);
}

/* ── Glass system ── */
.glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: linear-gradient(to bottom, var(--glass-bg-top), var(--glass-bg-bottom));
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset-inline: 0.85rem;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.glass-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(to bottom, var(--glass-bg-top), var(--glass-bg-bottom));
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.glass-pill::before {
  content: '';
  position: absolute;
  inset-inline: 0.75rem;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.live-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.live-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--riot-red);
  opacity: 0.65;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-dot::after {
  content: '';
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--riot-red);
  box-shadow: 0 0 12px rgba(176, 224, 255, 0.7);
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.brand-text {
  background: linear-gradient(to right, #E8F6FF, var(--riot-red), #C8EBFF, #B0E0FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon-well {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(to bottom right, rgba(176, 224, 255, 0.35), rgba(126, 184, 224, 0.15));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.text-heading { color: var(--riot-text); }
.text-muted { color: var(--riot-muted); }

/* ── Layout ── */
.site-main {
  padding-top: calc(env(safe-area-inset-top, 0px) + 4.5rem);
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .site-main { padding-top: calc(env(safe-area-inset-top, 0px) + 4.75rem); }
}

@media (min-width: 1024px) {
  .site-main { padding-top: calc(env(safe-area-inset-top, 0px) + 6.75rem); padding-bottom: 6rem; }
}

/* ── Header — fully clear; glass lives only on the pill / hamburger ── */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  padding-top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
  padding-bottom: 0.65rem;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* No full-width top shade — looked like a dark bar over the hamburger on mobile */
.site-header::before {
  display: none;
}

.header-wrap {
  display: flex;
  justify-content: center;
  padding: 0 0.75rem;
}

@media (min-width: 640px) { .header-wrap { padding: 0 1rem; } }

.header-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  gap: 0.125rem;
  flex: 0 0 auto;
}

.header-pill--compact {
  width: max-content !important;
  max-width: calc(100vw - 1.5rem) !important;
}

@media (max-width: 899px) {
  .header-wrap {
    justify-content: flex-end;
    padding: 0 0.875rem;
  }

  /* Hamburger — glass card (same language as site panels) */
  .header-pill,
  .header-pill--compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem !important;
    height: 2.85rem;
    min-width: 2.85rem !important;
    min-height: 2.85rem;
    max-width: 2.85rem !important;
    padding: 0;
    margin: 0;
    gap: 0;
    overflow: hidden;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.05)
    );
    box-shadow:
      0 10px 28px -12px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
  }

  .header-pill .header-nav {
    display: none !important;
  }

  .header-pill::before,
  .header-pill--compact::before {
    display: none;
  }
}

@media (min-width: 900px) {
  .header-pill,
  .header-pill--compact {
    min-height: 3.125rem;
    padding: 0.75rem 1.5rem;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04)
    );
    box-shadow:
      0 10px 36px -14px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
  }

  .header-pill::before,
  .header-pill--compact::before {
    content: '';
    position: absolute;
    inset-inline: 0.85rem;
    top: 0;
    height: 1px;
    border-radius: 9999px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
    pointer-events: none;
  }
}

.header-nav {
  display: none;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: max-content;
}

@media (min-width: 900px) {
  .header-nav {
    display: inline-flex;
  }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5625rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
  flex: 0 0 auto;
  font-family: inherit;
}

.nav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-btn-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
}

.nav-btn-login {
  color: var(--riot-red-soft);
  background: transparent;
  box-shadow: none;
}

.nav-btn-login:hover,
.nav-btn-login.nav-btn-active,
.nav-btn-active.nav-btn-login {
  color: #D0EEFF;
  background: rgba(176, 224, 255, 0.12);
}

.nav-btn-signout {
  color: var(--riot-red-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-btn-signout:hover {
  color: #D0EEFF;
  background: rgba(176, 224, 255, 0.12);
}

.site-header:not(.auth-ready) .auth-nav-slot {
  opacity: 0;
  visibility: hidden;
}

.site-header.auth-ready .auth-nav-slot {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}

.auth-nav-slot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1023px) {
  .auth-nav-slot {
    width: 100%;
  }
}

.header-actions {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .header-actions { right: 0.75rem; }
}

@media (max-width: 899px) {
  .header-actions {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

@media (min-width: 900px) {
  .header-actions { display: none; }
}

.mobile-menu-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: var(--radius-lg);
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.mobile-menu-btn svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.mobile-menu-btn svg.hidden {
  display: none !important;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mobile-menu-btn:active {
  transform: scale(0.96);
}

@media (max-width: 899px) {
  /* Button is transparent; glass is on the parent pill */
  .mobile-menu-btn {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-menu-btn:hover:not([aria-expanded="true"]) {
    background: rgba(255, 255, 255, 0.08);
  }

  .header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* Mobile dropdown nav — panel only, no dim overlay */
.mobile-nav {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 3.85rem);
  right: 0.875rem;
  left: auto;
  width: min(16rem, calc(100vw - 1.5rem));
  z-index: 55;
  pointer-events: none;
}

.mobile-nav.is-open { pointer-events: auto; }

.mobile-nav-panel {
  position: relative;
  max-height: min(24rem, calc(100vh - 5.5rem));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 22, 0.97);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: auto;
}

.mobile-nav.is-open .mobile-nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mobile-nav .nav-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  min-height: 2.75rem;
  box-sizing: border-box;
  white-space: normal;
  text-align: left;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  background: transparent;
}

.mobile-nav .nav-btn-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  opacity: 1;
}

/* Reach Us in menu should never look dimmed/disabled */
.mobile-nav a[href="/reach-us"],
.mobile-nav .nav-btn[data-nav="reach"] {
  color: #ffffff;
  opacity: 1;
}

.mobile-nav-auth {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.25rem;
  padding-top: 0.375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-auth .nav-btn,
.mobile-nav-auth .nav-btn-login,
.mobile-nav-auth .nav-btn-signout {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  min-height: 2.375rem;
  padding: 0.5rem 1rem;
}

.mobile-menu-body-lock { overflow: hidden; }

/* ── Hero ── */
.hero-section {
  text-align: center;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) { .hero-section { padding-bottom: 3.5rem; } }

.hero-section--home {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero-section--home {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-section--home {
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
  }
}

.hero-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-section--home .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-section--home .hero-copy { gap: 1.75rem; }
}

.hero-section--home .glass-pill {
  margin: 0 auto;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.hero-section--home .hero-title {
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .hero-section--home .hero-title {
    line-height: 1.24;
    padding: 0 1rem;
  }
}

.hero-subtitle {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  text-wrap: pretty;
}

@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }

.hero-section--home .hero-subtitle {
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.75rem;
}

.hero-section--home .hero-actions {
  margin-top: 2rem;
}

.hero-action-btn {
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  min-width: 9.5rem;
}

.hero-section--home #hero-stats {
  width: 100%;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .hero-section--home .hero-actions {
    gap: 1rem;
    margin-top: 2.25rem;
  }

  .hero-action-btn {
    font-size: 1rem;
    padding: 0.8125rem 2rem;
    min-width: 10.5rem;
  }

  .hero-section--home #hero-stats {
    margin-top: 2.5rem;
  }
}

@media (max-width: 639px) {
  .hero-actions {
    width: 100%;
    padding: 0;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-action-btn {
    width: 100%;
    min-width: 0;
    flex: none;
    text-align: center;
    justify-content: center;
  }
}

.page-hero {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .page-hero { padding-top: 3rem; }
}

@media (min-width: 1024px) {
  .page-hero { padding-top: 3.5rem; }
}

.page-hero > div { border-bottom: none; padding-bottom: 0; }

.page-hero-pill {
  margin: 0 auto 1.5rem;
  width: fit-content;
}

.page-hero-eyebrow {
  margin: 0 auto 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--riot-red-soft);
}

/* ── Stats ── */
.hero-stats-grid,
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
  max-width: 56rem;
  margin: 2.75rem auto 0;
}

@media (min-width: 640px) {
  .hero-stats-grid,
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.375rem; }
}

@media (min-width: 1024px) {
  .hero-stats-grid--3,
  .stats-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 11.5rem;
  padding: 1.625rem 1.75rem;
  text-align: center;
  /* Match header glass — frosted, not flat transparent */
  border-color: var(--glass-border);
  background: linear-gradient(to bottom, var(--glass-bg-top), var(--glass-bg-bottom));
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: var(--glass-shadow);
}

/* Keep red icon boxes on stats (not plain glass) */
.stat-card .brand-icon-well {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: linear-gradient(to bottom right, rgba(176, 224, 255, 0.35), rgba(126, 184, 224, 0.15));
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-size: clamp(1.85rem, 3.5vw, 2.125rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat-label {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.stats-bar { background: transparent; }
.stats-bar-inner { border: none; padding: 2rem 0; }

/* ── Section headings ── */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.section-heading p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--riot-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.section-block { padding: 3rem 0; }
.section-block--home-products {
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .section-block--home-products { padding-top: 3.5rem; }
}

@media (min-width: 1024px) {
  .section-block--home-products { padding-top: 4rem; }
}

.section-block--home-cta {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.section-block--checkout {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-block--checkout {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}

.checkout-intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .checkout-intro { margin-bottom: 2.25rem; }
}

.checkout-intro-title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.checkout-intro-sub {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--riot-muted);
  max-width: 28rem;
  margin-inline: auto;
}

.section-alt { background: transparent; }

/* ── Shop / product cards ── */
.content-box {
  padding: 1.5rem;
  border-radius: 1rem;
}

/* ── Legal pages (Privacy / Terms) ── */
.legal-updated {
  margin: 0.875rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.42);
}

.legal-block {
  padding-top: 0 !important;
  padding-bottom: 3rem;
}

.legal-wrap {
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .legal-wrap {
    padding: 0 1.5rem;
  }
}

.legal-doc.glass-card,
.legal-doc {
  display: block;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.legal-body {
  padding: 1.35rem 1.25rem 1.5rem;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .legal-body {
    padding: 1.75rem 1.75rem 2rem;
  }
}

@media (min-width: 900px) {
  .legal-body {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.legal-lead {
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.legal-section {
  padding: 0;
  margin: 0 0 1.5rem;
}

.legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-section[id] {
  scroll-margin-top: 5.75rem;
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.legal-section-num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--riot-red-soft);
  font-variant-numeric: tabular-nums;
}

.legal-section p {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-section li {
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-section li strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.legal-section a,
.legal-body a {
  color: var(--riot-red-soft);
  text-decoration: none;
  font-weight: 600;
}

.legal-section a:hover,
.legal-body a:hover {
  text-decoration: underline;
}

.legal-disclaimer {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.42);
}

/* Legacy class hooks (older markup / scripts) */
.legal-page {
  display: block;
}

.legal-sections {
  display: block;
}

.legal-disclaimer-card {
  display: none;
}

.legal-content {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-content h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

.legal-content h2:first-of-type {
  margin-top: 1.25rem;
}

.legal-content p {
  margin-bottom: 0.875rem;
}

.legal-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 0.375rem;
}

.legal-content a {
  color: var(--riot-red-soft);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content .legal-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.content-box .shop-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.875rem;
}

.shop-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem;
  min-height: 10rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shop-card:hover {
  transform: translateY(-2px);
  border-color: rgba(176, 224, 255, 0.25);
}

.shop-card h3 {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.shop-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--riot-muted);
  flex: 1;
}

.shop-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--riot-red-soft);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  position: relative;
  min-height: 12rem;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(176, 224, 255, 0.35);
  background: rgba(176, 224, 255, 0.15);
  color: #E8F6FF;
}

.product-amount { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.product-sub, .product-region { font-size: 0.8rem; color: var(--riot-muted); margin-top: 0.25rem; }

.product-delivery-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
  line-height: 1.45;
}
.product-price {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--riot-red);
  margin: 1rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .product-grid--vp { grid-template-columns: repeat(3, 1fr); }
  .product-grid--accounts { grid-template-columns: repeat(3, 1fr); }
}

/* ── Region tabs ── */
.region-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--riot-red) transparent;
}

.region-tab {
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.region-tab:hover {
  border-color: rgba(176, 224, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.region-tab-active {
  background: rgba(176, 224, 255, 0.2);
  border-color: rgba(176, 224, 255, 0.45);
  color: #fff;
}

/* ── Process / trust ── */
.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .process-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .process-steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step,
.trust-card {
  padding: 1.5rem;
  text-align: center;
}

.process-steps-home .section-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.process-steps-home .section-heading p {
  font-size: 1rem;
}

.process-steps-home .process-steps-grid {
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .process-steps-home .process-steps-grid { gap: 1.75rem; }
}

.process-steps-home .process-step {
  padding: 2rem 1.5rem;
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-steps-home .step-number {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.125rem;
  margin-bottom: 1.125rem;
}

.process-steps-home .process-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}

.process-steps-home .process-step-text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(to bottom right, rgba(176, 224, 255, 0.45), rgba(126, 184, 224, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap svg { color: var(--riot-red); }

/* ── Reviews (Kireimarket-style) ── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  min-height: 14rem;
}

.review-card .quote-watermark {
  position: absolute;
  right: -0.25rem;
  top: 1rem;
  width: 5rem;
  height: 5rem;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

@media (min-width: 640px) {
  .review-card .quote-watermark { width: 6rem; height: 6rem; }
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.review-card-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.review-avatar {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(176, 224, 255, 0.45), rgba(126, 184, 224, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(176, 224, 255, 0.12);
}

.review-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-top: 0.25rem;
}

.review-stars svg {
  width: 0.875rem;
  height: 0.875rem;
}

.review-stars .star-filled {
  fill: url(#brand-stars);
  stroke: url(#brand-stars);
}

.review-stars .star-empty {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
}

.review-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(176, 224, 255, 0.35);
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E8F6FF;
}

.review-text {
  position: relative;
  z-index: 1;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

.review-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Buttons ── */
.btn-primary,
.btn-secondary,
.form-input,
.payment-method-card,
.payment-step-indicator,
.voucher-row {
  border-radius: var(--radius-md);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--riot-red) 0%, #7EB8E0 100%);
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(176, 224, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(176, 224, 255, 0.35);
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Header-style frosted glass (Feedback, secondary CTAs) */
  background: linear-gradient(to bottom, var(--glass-bg-top), var(--glass-bg-bottom));
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset-inline: 0.65rem;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.btn-secondary:hover {
  border-color: rgba(176, 224, 255, 0.4);
  background: linear-gradient(
    to bottom,
    rgba(176, 224, 255, 0.18),
    rgba(176, 224, 255, 0.06)
  );
  color: #fff;
  box-shadow:
    0 10px 28px -12px rgba(176, 224, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ── Forms ── */
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.form-input:focus {
  outline: none;
  border-color: rgba(176, 224, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(176, 224, 255, 0.12);
}

.form-field { position: relative; }

.form-field.is-invalid .form-input,
.form-field.is-invalid .custom-select-trigger {
  border-color: rgba(176, 224, 255, 0.65);
  background: rgba(176, 224, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(176, 224, 255, 0.14);
}

/* Field / method errors — smooth pop-in (same language as Processing notice) */
.field-error {
  display: block;
  margin: 0;
  padding: 0 0.85rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px) scale(0.96);
  border-radius: 0.75rem;
  border: 0 solid rgba(176, 224, 255, 0.35);
  background: rgba(176, 224, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: #E8F6FF;
  pointer-events: none;
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-width 0.2s ease;
  will-change: opacity, transform;
}

.form-field.is-invalid .field-error,
.payment-section-card.is-invalid .field-error,
.payment-field-card.is-invalid .field-error,
.field-error.is-shown,
.payment-method-error.is-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 6rem;
  padding: 0.55rem 0.85rem;
  margin-top: 0.55rem;
  border-width: 1px;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .field-error {
    transition: none !important;
    transform: none;
  }

  .form-field.is-invalid .field-error,
  .payment-section-card.is-invalid .field-error,
  .payment-field-card.is-invalid .field-error,
  .field-error.is-shown,
  .payment-method-error.is-shown {
    opacity: 1;
    max-height: none;
  }
}

/* Custom select */
.content-box:has(#contact-form-panel),
.contact-form-panel,
.form-field[data-field="subject"] {
  overflow: visible;
}

.custom-select {
  position: relative;
  z-index: 1;
}

.custom-select.is-open {
  z-index: 60;
}

.custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.875rem 1.1rem;
  border: 1px solid rgba(176, 224, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.custom-select.has-value .custom-select-trigger {
  border-color: rgba(176, 224, 255, 0.35);
  background: rgba(176, 224, 255, 0.08);
}

.custom-select.is-open .custom-select-trigger {
  border-color: rgba(176, 224, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(176, 224, 255, 0.12);
}

.custom-select-value.is-placeholder { color: rgba(255, 255, 255, 0.35); }
.custom-select-value:not(.is-placeholder) { color: #fff; font-weight: 600; }

.custom-select-chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select-chevron { transform: rotate(180deg); }

.custom-select-menu {
  position: absolute;
  z-index: 70;
  pointer-events: none;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(176, 224, 255, 0.16);
  background: rgba(8, 14, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(176, 224, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select-option {
  display: block;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover {
  background: rgba(176, 224, 255, 0.12);
  color: #fff;
}

.custom-select-option.is-selected {
  background: rgba(176, 224, 255, 0.16);
  color: #E8F6FF;
}

.hidden { display: none !important; }

.form-spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--riot-red);
  animation: form-spin 0.75s linear infinite;
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

/* Keep primary red when disabled — was looking darkened/greyed out on mobile (Reach Us) */
.btn-primary:disabled,
.btn-primary[disabled] {
  background: linear-gradient(135deg, #B0E0FF 0%, #7EB8E0 100%);
  color: #ffffff;
  opacity: 0.78;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 16px rgba(176, 224, 255, 0.22);
  filter: none;
  -webkit-text-fill-color: #ffffff;
}

.btn-primary:disabled:hover,
.btn-primary[disabled]:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(176, 224, 255, 0.22);
  background: linear-gradient(135deg, #B0E0FF 0%, #7EB8E0 100%);
  opacity: 0.78;
}

/* Reach Us submit always stays clearly red on mobile */
body[data-page="reach"] #reach-submit.btn-primary,
body[data-page="reach"] #reach-submit.btn-primary:disabled {
  background: linear-gradient(135deg, #B0E0FF 0%, #7EB8E0 100%);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
}

body[data-page="reach"] #reach-submit.btn-primary:disabled {
  opacity: 0.82;
}

/* ── FAQ ── */
.faq-search-panel {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
}

.faq-search-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.faq-search-row {
  position: relative;
  display: flex;
  align-items: center;
}

.faq-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  padding: 0.95rem 3rem 0.95rem 2.85rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.faq-search-input:focus {
  border-color: rgba(176, 224, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(176, 224, 255, 0.12);
}

.faq-search-clear {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq-search-meta {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--riot-muted);
}

.faq-search-empty {
  margin-bottom: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.faq-search-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.faq-search-empty-sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--riot-muted);
  line-height: 1.6;
}

.faq-category-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--riot-red) transparent;
}

.faq-category-btn {
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.faq-category-btn:hover {
  border-color: rgba(176, 224, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.faq-category-btn.is-active {
  background: rgba(176, 224, 255, 0.2);
  border-color: rgba(176, 224, 255, 0.45);
  color: #fff;
}

.faq-list-wrap {
  margin-top: 0.25rem;
}

.faq-section + .faq-section {
  margin-top: 1.75rem;
}

.faq-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.75rem;
  padding-left: 0.15rem;
}

.faq-section-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-search-mark {
  background: rgba(176, 224, 255, 0.22);
  color: #fff;
  border-radius: 0.2rem;
  padding: 0 0.15rem;
}

.faq-question-text {
  flex: 1;
  text-align: left;
}

.faq-item { overflow: hidden; margin-bottom: 0.75rem; }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.125rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.faq-question:hover { background: rgba(255, 255, 255, 0.04); }

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}

.faq-answer.open {
  padding: 0 1.5rem 1.25rem;
  max-height: 400px;
  opacity: 1;
}

.faq-answer p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--riot-muted);
}

/* ── Page CTA ── */
.page-cta-box {
  max-width: 36rem;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.page-cta-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── Footer ── */
.site-footer {
  border-top: none;
  padding: 2rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  background: transparent !important;
}

.site-footer::before {
  content: '';
  display: block;
  width: min(92%, 40rem);
  height: 1px;
  margin: 0 auto 2rem;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover { color: var(--riot-red-soft); }

.footer-copy p:first-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copy p:last-child {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.5rem;
  max-width: 28rem;
  margin-inline: auto;
  line-height: 1.5;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
}

.footer-legal-row .footer-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
}

body:not(.home-minimal) #site-footer:empty {
  display: none;
}

/* ── Minimal home page ── */
body.home-minimal {
  min-height: 100vh;
  min-height: 100dvh;
}

body.home-minimal #site-header,
body.home-minimal .site-main {
  display: none;
}

body.home-minimal #site-footer {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

body.home-minimal .site-footer--home {
  width: 100%;
  max-width: 36rem;
  padding: 0;
}

body.home-minimal .site-footer--home::before {
  display: none;
}

body.home-minimal .footer-links-row {
  gap: 1.125rem 2rem;
  margin-bottom: 1.5rem;
}

body.home-minimal .footer-link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
}

body.home-minimal .footer-copy p:first-child {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

body.home-minimal .footer-copy p:last-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
}

/* ── Animations ── */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.site-main {
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Header / footer stay readable during page fades */
.site-header,
#site-footer {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  opacity: 1 !important;
}

/* Smooth leave — used for SPA + full reload to checkout */
body.is-page-leaving .site-main {
  opacity: 0;
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
  pointer-events: none;
}

body.is-page-leaving--soft .site-main {
  opacity: 0.4;
  -webkit-transform: none;
  transform: none;
}

body.is-page-entering .site-main {
  animation: pageEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-page-leaving .site-bg {
  opacity: 0.78;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-page-leaving--soft .site-bg {
  opacity: 1;
}

/* Checkout landing — gentle fade-in after transfer */
body[data-page="payment"] .checkout-intro,
body[data-page="payment"] #payment-root {
  animation: pageEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="payment"] #payment-root {
  animation-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="payment"] .checkout-intro,
  body[data-page="payment"] #payment-root {
    animation: none !important;
  }
}

.site-bg-glow {
  transition: opacity 0.4s ease;
}

/* Default: content always visible (kills FOUC before JS) */
.scroll-reveal {
  opacity: 1;
  transform: none;
}

/*
 * Motion after body.motion-ok — smooth fade + rise on scroll.
 * Transition MUST live on the base rule (not only :not(.is-visible)),
 * or the browser drops the animation when .is-visible is applied.
 */
body.motion-ok .scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

body.motion-ok .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* page-enter is inert until motion-ok — no opacity:0 on first paint */
.page-enter,
.page-animate {
  animation: none;
}

body.motion-ok .page-enter {
  animation: pageEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.motion-ok .page-animate {
  animation: pageEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--page-enter-delay, 0s);
}

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

/* GPU-friendly page transitions on touch devices (same feel as desktop) */
@media (hover: none), (pointer: coarse) {
  .site-main {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.contact-form-panel { transition: opacity 0.3s ease, transform 0.3s ease; }
.contact-form-panel.is-hiding { opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* Legacy toast nodes stay in DOM for a11y but are never shown as floating UI */
.toast,
.site-notice {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

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

/* Inline checkout feedback — smooth pop-in like Processing notice */
.checkout-alert {
  margin: 0;
  padding: 0 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px) scale(0.96);
  border-radius: var(--radius-md);
  border: 0 solid transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-width 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  will-change: opacity, transform;
}

.checkout-alert.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 6rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-width: 1px;
}

.checkout-alert--info.is-visible {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.checkout-alert--error.is-visible {
  border-color: rgba(176, 224, 255, 0.35);
  background: rgba(176, 224, 255, 0.1);
  color: #E8F6FF;
}

.checkout-alert--success.is-visible {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
  color: #bbf7d0;
}

@media (prefers-reduced-motion: reduce) {
  .checkout-alert {
    transition: none !important;
    transform: none;
  }

  .checkout-alert.is-visible {
    opacity: 1;
    max-height: none;
  }
}

.payment-method-note {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--riot-muted);
}

/* payment-method-error visibility handled via .field-error + .is-shown */

button.is-feedback,
.crypto-copy-value.is-feedback,
.crypto-address-copy.is-feedback {
  color: #fff !important;
  border-color: rgba(74, 222, 128, 0.4) !important;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-arrow:hover { color: var(--riot-red-soft); }

/* ── Payment checkout ── */
.payment-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.payment-step-indicator {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--glass-border);
  background: linear-gradient(to bottom, var(--glass-bg-top), var(--glass-bg-bottom));
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.payment-step-indicator.is-active,
.payment-step-indicator.is-done {
  opacity: 1;
  border-color: rgba(176, 224, 255, 0.35);
}

.payment-step-indicator.is-active {
  background: linear-gradient(
    to bottom,
    rgba(176, 224, 255, 0.18),
    rgba(176, 224, 255, 0.06)
  );
  box-shadow:
    0 8px 24px -12px rgba(176, 224, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.payment-step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--riot-red-soft);
}

.payment-step-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--riot-muted);
  margin-top: 0.25rem;
  white-space: nowrap;
  line-height: 1.2;
}

.payment-complete-tracker {
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0;
  max-width: 18rem;
  text-align: left;
}

.payment-complete-tracker li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.875rem;
  color: var(--riot-muted);
}

.payment-complete-tracker li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.payment-complete-tracker li.is-done {
  color: var(--riot-text);
}

.payment-complete-tracker li.is-done::before {
  background: var(--riot-red);
}

.payment-complete-tracker li.is-active {
  color: var(--riot-text);
  font-weight: 600;
}

.payment-complete-tracker li.is-active::before {
  background: var(--riot-red);
  box-shadow: 0 0 0 4px rgba(176, 224, 255, 0.2);
}

.payment-complete-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.payment-complete-actions .btn-primary,
.payment-complete-actions .btn-secondary {
  width: 100%;
  max-width: 16rem;
}

.payment-order-summary {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.payment-order-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--riot-muted);
}

.payment-order-product {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.375rem;
}

.payment-order-price-original {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  margin-top: 0.35rem;
}

.payment-order-discount-badge {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4ade80;
  margin-top: 0.25rem;
}

.payment-order-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--riot-red);
  margin-top: 0.25rem;
}

.payment-checkout-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-section-card {
  padding: 1.5rem;
}

.payment-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.payment-section-sub {
  font-size: 0.875rem;
  color: var(--riot-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ── Processing notice (inline, smooth pop-in after code submit) ── */
.payment-submission-note {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(176, 224, 255, 0.28);
  background: rgba(176, 224, 255, 0.1);
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-width 0.2s ease,
    margin 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.payment-submission-note.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 12rem;
  padding: 0.95rem 1.05rem;
  border-width: 1px;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.payment-submission-note.is-hiding {
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.payment-submission-note .giftcard-requirements-title {
  margin-bottom: 0.45rem;
}

.payment-submission-note-text,
.payment-submission-note .giftcard-requirements-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.payment-submission-note strong,
.payment-submission-note .giftcard-requirements-text strong {
  color: #fff;
  font-weight: 600;
}

.payment-submission-note.giftcard-requirements {
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .payment-submission-note {
    transition: none !important;
    transform: none;
  }

  .payment-submission-note.is-visible {
    opacity: 1;
    max-height: none;
  }
}

.payment-field-card {
  margin-top: 1rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.payment-field-card .form-label {
  margin-bottom: 0.5rem;
}

.payment-field-card .form-input {
  background: rgba(10, 6, 8, 0.55);
}

.payment-discount-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.payment-discount-row .form-input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.payment-discount-btn {
  flex-shrink: 0;
  padding-inline: 1rem;
  white-space: nowrap;
}

.payment-discount-hint,
.payment-discount-success {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.payment-discount-hint {
  color: var(--riot-muted);
}

.payment-discount-success {
  color: #4ade80;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: rgba(74, 222, 128, 0.08);
}

/* Only animate the first time a code is applied — not on every re-render */
.payment-discount-success.is-fresh {
  animation: inline-msg-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes inline-msg-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-discount-success.is-fresh {
    animation: none;
  }
}

.payment-section-card.is-invalid .field-error,
.payment-field-card.is-invalid .field-error {
  color: #E8F6FF;
}

.payment-field-card.is-invalid .form-input {
  border-color: rgba(176, 224, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(176, 224, 255, 0.15);
}

.payment-order-id {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

.payment-panel {
  padding: 1.5rem;
}

.payment-panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.payment-panel-sub {
  font-size: 0.875rem;
  color: var(--riot-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin-top: 1.25rem;
}

@media (min-width: 480px) {
  .payment-method-grid { grid-template-columns: repeat(3, 1fr); }
}

.payment-method-card {
  padding: 0.875rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.payment-method-card:hover {
  border-color: rgba(176, 224, 255, 0.35);
  background: rgba(176, 224, 255, 0.08);
}

.payment-method-card.is-selected {
  border-color: rgba(176, 224, 255, 0.5);
  background: rgba(176, 224, 255, 0.15);
  color: #E8F6FF;
  box-shadow: inset 0 0 0 1px rgba(176, 224, 255, 0.2);
}

.payment-method-group-label {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.payment-method-group-label:first-of-type {
  margin-top: 0;
}

.payment-method-group-label--muted {
  color: rgba(255, 255, 255, 0.32);
}

.payment-section-sub--compact {
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.payment-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.5rem;
}

.payment-method-card--recommended {
  border-color: rgba(176, 224, 255, 0.22);
  background: rgba(176, 224, 255, 0.06);
}

.payment-method-card--crypto {
  opacity: 0.92;
}

.payment-method-badge {
  display: inline-block;
  padding: 0.125rem 0.4rem;
  border-radius: 999px;
  background: rgba(176, 224, 255, 0.18);
  color: #E8F6FF;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.payment-method-badge--instant {
  background: rgba(34, 197, 94, 0.2);
  color: #bbf7d0;
}

.payment-method-card--instant {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.06);
}

.payment-method-card--instant.is-selected {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.14);
  color: #dcfce7;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.22);
}

.payment-method-label {
  line-height: 1.3;
}

.payment-method-grid--recommended {
  margin-top: 0.5rem;
}

.payment-method-grid--crypto {
  margin-top: 0.5rem;
  max-width: 12rem;
}

.payment-nav-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.voucher-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.voucher-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.voucher-tier {
  font-weight: 700;
  color: #fff;
  font-size: 0.9375rem;
}

.voucher-hint {
  font-size: 0.75rem;
  color: var(--riot-muted);
  margin-top: 0.125rem;
}

.payment-total-voucher {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--riot-muted);
}

.payment-total-voucher strong { color: #fff; }

.payment-attempts { margin-top: 0.75rem; }

.alt-providers-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.alt-providers-wrap.is-open {
  max-height: 24rem;
  opacity: 1;
  margin-top: 1rem;
}

.alt-providers {
  padding: 1.25rem;
}

.alt-provider-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alt-provider-list a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--riot-red-soft);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.alt-provider-list a:hover {
  background: rgba(176, 224, 255, 0.1);
}

.payment-cancelled .payment-panel-title { color: #E8F6FF; }

.payment-instant-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.625rem;
}

/* ── Available Products catalog grid ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .catalog-card { padding: 1.5rem; }
}

.catalog-card:hover {
  border-color: rgba(176, 224, 255, 0.28);
  transform: translateY(-2px);
}

.catalog-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.catalog-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--riot-red-soft);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: rgba(176, 224, 255, 0.12);
  border: 1px solid rgba(176, 224, 255, 0.2);
  position: static;
}

.catalog-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--riot-red);
  margin: 0;
  white-space: nowrap;
}

.catalog-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.catalog-desc {
  font-size: 0.875rem;
  color: var(--riot-muted);
  line-height: 1.6;
  flex: 1;
}

.catalog-delivery-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.75rem;
}

.catalog-card .shop-card-cta,
.catalog-card .product-buy-btn {
  margin-top: auto;
  padding: 1rem 0 0;
  align-self: flex-start;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

/* ── Payment step transitions ── */
.payment-flow {
  transition: opacity 0.32s ease, transform 0.32s ease;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.payment-flow.is-leaving {
  opacity: 0;
  -webkit-transform: translate3d(0, 12px, 0);
  transform: translate3d(0, 12px, 0);
}

.payment-flow.is-entering {
  opacity: 0;
  -webkit-transform: translate3d(0, -12px, 0);
  transform: translate3d(0, -12px, 0);
}

.payment-flow.is-entering.is-active {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* ── Crypto payment ── */
.crypto-checkout {
  margin-top: 1.25rem;
}

.crypto-coin-section {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.crypto-section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--riot-muted);
  margin-bottom: 0.75rem;
}

.crypto-coin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.crypto-coin-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 4.25rem;
  padding: 0.875rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.crypto-coin-btn:hover {
  border-color: rgba(176, 224, 255, 0.35);
  background: rgba(176, 224, 255, 0.08);
}

.crypto-coin-btn.is-selected {
  border-color: rgba(176, 224, 255, 0.5);
  background: rgba(176, 224, 255, 0.15);
  color: #E8F6FF;
  box-shadow: inset 0 0 0 1px rgba(176, 224, 255, 0.2);
}

.crypto-coin-name {
  font-size: 0.8125rem;
  font-weight: 600;
}

.crypto-coin-symbol {
  font-size: 0.6875rem;
  color: var(--riot-muted);
}

.crypto-coin-btn.is-selected .crypto-coin-symbol {
  color: rgba(254, 202, 202, 0.75);
}

.crypto-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.crypto-details.is-open {
  max-height: 32rem;
  opacity: 1;
  margin-top: 1rem;
}

.crypto-pick-hint {
  font-size: 0.875rem;
  color: var(--riot-muted);
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.crypto-payment-box {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.crypto-amount-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .crypto-amount-row { grid-template-columns: 1fr; }
}

.crypto-amount-block {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.crypto-amount-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--riot-muted);
  margin-bottom: 0.5rem;
}

.crypto-copy-value {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.crypto-copy-value:hover { color: var(--riot-red-soft); }

.crypto-copy-hint {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.25rem;
}

.crypto-rate-note,
.crypto-rate-loading,
.crypto-rate-error {
  font-size: 0.75rem;
  color: var(--riot-muted);
  margin-top: 0.375rem;
}

.crypto-rate-error { color: #E8F6FF; }

.crypto-address-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-address-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(176, 224, 255, 0.25);
  background: rgba(176, 224, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.crypto-address-copy:hover {
  background: rgba(176, 224, 255, 0.14);
  border-color: rgba(176, 224, 255, 0.4);
}

.crypto-address-text {
  flex: 1;
  font-size: 0.8125rem;
  word-break: break-all;
  line-height: 1.5;
  color: #E8F6FF;
}

.crypto-copy-icon {
  flex-shrink: 0;
  color: var(--riot-red-soft);
}

.crypto-address-hint {
  font-size: 0.75rem;
  color: var(--riot-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ── Mobile polish ── */
.btn-primary,
.btn-secondary,
.nav-btn,
.nav-btn-login,
.nav-btn-signout,
.mobile-menu-btn,
.crypto-coin-btn,
.payment-method-card,
.product-buy-btn,
.catalog-card,
.catalog-card .shop-card-cta,
.shop-card,
.faq-question,
.faq-category-btn,
.region-tab,
.footer-link,
.link-arrow,
.custom-select-trigger,
.discount-popup-backdrop,
.discount-popup-close,
.discount-popup-dismiss {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/*
 * Touch devices apply :hover on tap. Neutralize red hover tints so they don't
 * stick or flash after a press (real hover still works on desktop).
 */
@media (hover: none), (pointer: coarse) {
  .nav-btn:hover:not(.nav-btn-active) {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
  }

  .nav-btn-login:hover:not(.nav-btn-active),
  .nav-btn-signout:hover {
    color: var(--riot-red-soft);
    background: transparent;
  }

  .mobile-menu-btn:hover:not([aria-expanded="true"]) {
    background: transparent;
    color: inherit;
  }

  /* Keep X / close red feedback on tap (touch devices) */
  .mobile-menu-btn[aria-expanded="true"]:hover,
  .mobile-menu-btn[aria-expanded="true"]:active,
  .discount-popup-close:hover,
  .discount-popup-close:active,
  .faq-search-clear:hover,
  .faq-search-clear:active {
    color: var(--riot-red);
    background: rgba(176, 224, 255, 0.12);
  }

  .btn-primary:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(176, 224, 255, 0.25);
  }

  .btn-secondary:hover {
    border-color: var(--glass-border);
    background: linear-gradient(to bottom, var(--glass-bg-top), var(--glass-bg-bottom));
    box-shadow: var(--glass-shadow);
    color: rgba(255, 255, 255, 0.92);
  }

  .shop-card:hover,
  .catalog-card:hover {
    border-color: var(--glass-border);
    transform: none;
  }

  .region-tab:hover:not(.region-tab-active) {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.65);
  }

  .faq-category-btn:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
  }

  .faq-question:hover {
    background: transparent;
  }

  .faq-search-clear:hover {
    color: var(--riot-red);
    background: rgba(176, 224, 255, 0.12);
  }

  .payment-method-card:hover:not(.is-selected):not(.is-active),
  .crypto-coin-btn:hover:not(.is-selected):not(.is-active) {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .crypto-copy-value:hover,
  .crypto-address-copy:hover {
    color: inherit;
    background: transparent;
    border-color: inherit;
  }

  .custom-select-option:hover {
    background: transparent;
  }

  .alt-provider-list a:hover {
    background: transparent;
  }

  .footer-link:hover,
  .link-arrow:hover,
  .legal-section a:hover,
  .legal-body a:hover,
  .legal-content a:hover {
    color: inherit;
  }

  /* Subtle press feedback — no red overlay */
  .nav-btn:active,
  .btn-secondary:active,
  .mobile-menu-btn:active,
  .faq-category-btn:active,
  .region-tab:active,
  .payment-method-card:active,
  .crypto-coin-btn:active {
    opacity: 0.92;
  }
}

@media (max-width: 639px) {
  .section-block { padding: 2.25rem 0; }

  .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }

  .section-block--checkout {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
  }

  .checkout-intro {
    margin-bottom: 1.25rem;
    padding-inline: 0.25rem;
  }

  .payment-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .payment-step-indicator {
    padding: 0.625rem 0.375rem;
    min-width: 0;
  }

  .payment-step-label {
    font-size: 0.625rem;
    letter-spacing: 0.02em;
    white-space: normal;
    line-height: 1.25;
    word-break: break-word;
    hyphens: auto;
  }

  .payment-panel,
  .payment-section-card {
    padding: 1.25rem;
  }

  .payment-order-summary {
    padding: 1rem 1.125rem;
  }

  .payment-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .payment-discount-row { flex-direction: column; }

  .payment-discount-btn { width: 100%; }

  .payment-nav-row {
    flex-direction: column;
  }

  .payment-nav-row .btn-primary,
  .payment-nav-row .btn-secondary {
    width: 100%;
  }

  .payment-complete-actions {
    width: 100%;
    align-items: stretch;
  }

  .payment-complete-actions .btn-primary,
  .payment-complete-actions .btn-secondary {
    max-width: none;
    width: 100%;
  }

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

  .voucher-row .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .catalog-card { padding: 1rem; }

  .catalog-title { font-size: 0.9375rem; }

  .catalog-desc,
  .catalog-delivery-note { font-size: 0.8125rem; }

  .btn-primary,
  .btn-secondary { min-height: 2.75rem; }

  .mobile-nav .nav-btn { min-height: 2.75rem; }

  .page-cta-actions { flex-direction: column; width: 100%; }

  .page-cta-actions .btn-primary,
  .page-cta-actions .btn-secondary { width: 100%; }

  .auth-card {
    padding: 1.25rem !important;
  }

  .referrals-account-gate {
    padding: 1.5rem 1.25rem !important;
  }

  .referrals-account-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .referrals-account-actions .btn-primary,
  .referrals-account-actions .btn-secondary {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .support-cta,
  .vp-custom-cta {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem;
  }

  .support-cta-btn,
  .vp-custom-cta-btn {
    width: 100%;
    min-width: 0;
  }

  .product-card {
    padding: 1.125rem 1.25rem;
    min-width: 0;
  }
}

/* ── Support chat widget ── */
.support-chat-root {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  font-family: inherit;
}

.support-chat-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, #B0E0FF 0%, #7EB8E0 100%);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(176, 224, 255, 0.35),
    0 2px 6px rgba(126, 184, 224, 0.2);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(176, 224, 255, 0.42),
    0 4px 8px rgba(126, 184, 224, 0.22);
}

.support-chat-toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.support-chat-toggle-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 107, 118, 0.55);
  animation: supportChatPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes supportChatPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.support-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.875rem);
  width: min(22.5rem, calc(100vw - 2.5rem));
  height: 28rem;
  display: flex;
  flex-direction: column;
  background: #12080c;
  border-radius: 1.125rem;
  border: 1px solid rgba(176, 224, 255, 0.22);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 6px 16px rgba(176, 224, 255, 0.12);
  overflow: hidden;
  transform-origin: bottom right;
  transform: translateY(18px) scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-chat-panel--open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.support-chat-panel--closing {
  transform: translateY(14px) scale(0.94);
  opacity: 0;
  visibility: visible;
  pointer-events: none;
}

.support-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, #B0E0FF 0%, #5A9BC4 100%);
  color: #fff;
}

.support-chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.support-chat-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
}

.support-chat-avatar--ai {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(176, 224, 255, 0.35));
}

.support-chat-agent {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}

.support-chat-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.support-chat-online-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
}

.support-chat-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.support-chat-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.support-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.03);
}

.support-chat-message {
  display: flex;
}

.support-chat-message--user {
  justify-content: flex-end;
}

.support-chat-message--agent {
  justify-content: flex-start;
}

.support-chat-bubble {
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  word-break: break-word;
}

.support-chat-bubble--agent {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 0.25rem;
}

.support-chat-bubble--typing {
  padding: 0.5rem 0.75rem;
  line-height: 1;
  width: fit-content;
}

.support-chat-bubble--user {
  background: linear-gradient(135deg, #B0E0FF, #7EB8E0);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

.support-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 0.375rem;
}

.support-chat-typing span {
  display: block;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  animation: supportChatTyping 1.2s ease-in-out infinite;
}

.support-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.support-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes supportChatTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.support-chat-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 6, 8, 0.95);
}

.support-chat-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.support-chat-input:focus {
  border-color: rgba(176, 224, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(176, 224, 255, 0.18);
}

.support-chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.75rem;
  background: #B0E0FF;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.support-chat-send:hover {
  background: #D0EEFF;
}

.support-chat-send:disabled,
.support-chat-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── First-order discount popup ── */
body.discount-popup-open {
  overflow: hidden;
}

.discount-popup-root {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s ease;
}

.discount-popup-root--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.discount-popup-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  background: rgba(4, 10, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.discount-popup-root--open .discount-popup-backdrop {
  opacity: 1;
}

.discount-popup-dialog {
  position: relative;
  width: min(24rem, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(8, 14, 22, 0.97);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  will-change: transform, opacity;
}

.discount-popup-root--open .discount-popup-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.discount-popup-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* Shared close / X control — brand red on hover & press */
.mobile-menu-btn[aria-expanded="true"]:hover,
.mobile-menu-btn[aria-expanded="true"]:focus-visible,
.mobile-menu-btn[aria-expanded="true"]:active,
.discount-popup-close:hover,
.discount-popup-close:focus-visible,
.discount-popup-close:active,
.faq-search-clear:hover,
.faq-search-clear:focus-visible,
.faq-search-clear:active {
  color: var(--riot-red);
  background: rgba(176, 224, 255, 0.12);
}

.mobile-menu-btn[aria-expanded="true"]:active,
.discount-popup-close:active {
  color: #D0EEFF;
  background: rgba(176, 224, 255, 0.18);
  transform: scale(0.96);
}

/* FAQ clear is vertically centered — keep translate on press */
.faq-search-clear:active {
  color: #D0EEFF;
  background: rgba(176, 224, 255, 0.18);
  transform: translateY(-50%) scale(0.96);
}

.discount-popup-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--riot-red-soft);
  margin-bottom: 0.5rem;
}

.discount-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.625rem;
}

.discount-popup-text {
  font-size: 0.875rem;
  color: var(--riot-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.discount-popup-code-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.discount-popup-code {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(176, 224, 255, 0.45);
  background: rgba(176, 224, 255, 0.1);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.discount-popup-copy-btn {
  flex-shrink: 0;
  padding-inline: 1rem;
}

.discount-popup-cta {
  margin-bottom: 0.75rem;
}

.discount-popup-dismiss {
  border: none;
  background: transparent;
  color: var(--riot-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.discount-popup-dismiss:hover {
  color: #fff;
}

/* ── Payment type picker popup ── */
body.payment-picker-open {
  overflow: hidden;
}

.payment-picker-root {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.payment-picker-root--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.payment-picker-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  background: rgba(4, 2, 4, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.payment-picker-dialog {
  position: relative;
  width: min(28rem, 100%);
  max-height: min(85vh, 36rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1.25rem 1.25rem;
  z-index: 2;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(8, 14, 22, 0.97);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--glass-shadow);
}

.payment-picker-root--open .payment-picker-dialog {
  transform: translateY(0) scale(1);
}

.payment-picker-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.payment-picker-close:hover {
  background: rgba(176, 224, 255, 0.18);
  color: #fff;
}

.payment-picker-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--riot-red-soft);
  margin-bottom: 0.375rem;
}

.payment-picker-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.payment-picker-sub {
  font-size: 0.875rem;
  color: var(--riot-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.payment-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.payment-picker-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.payment-picker-option.is-selected {
  border-color: rgba(176, 224, 255, 0.5);
  background: rgba(176, 224, 255, 0.12);
}

.payment-picker-option-meta {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--riot-muted);
}

/* ── Crypto coin select (checkout page) ── */
.payment-method-grid.crypto-select-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 480px) {
  .payment-method-grid.crypto-select-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#gun-buddy,
#unban {
  scroll-margin-top: 5.5rem;
}

/* ── Crypto / cash selected badge ── */
.crypto-selected-badge {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(176, 224, 255, 0.3);
  background: rgba(176, 224, 255, 0.08);
}

.crypto-selected-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--riot-muted);
}

.giftcard-requirements-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--riot-red-soft);
  margin-bottom: 0.5rem;
}

/* ── Cash checkout (one step at a time) ── */
.cash-checkout {
  margin-top: 0.75rem;
}

.cash-progress {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.85rem;
}

.cash-step-card {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cash-step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.cash-step-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.cash-step-text strong {
  color: rgba(255, 255, 255, 0.95);
}

.cash-step-action {
  margin-top: 1rem;
}

/* Map link — text style, not a primary button (keeps Next clear) */
.cash-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.cash-map-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.cash-next-wrap {
  margin-top: 1.5rem;
  padding-top: 0.25rem;
}

.cash-wallet-panel {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.cash-wallet-panel--qr-only {
  align-items: center;
}

.cash-qr-wrap {
  flex-shrink: 0;
  padding: 0.6rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cash-qr-image {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 4px;
}

.cash-footer-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.cash-checkout--blocked {
  text-align: center;
  padding: 1.25rem 0.5rem 0.25rem;
}

.cash-blocked-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.cash-blocked-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 22rem;
  margin: 0 auto;
}

.cash-blocked-text strong {
  color: #fff;
}

@media (max-width: 480px) {
  .cash-qr-image {
    width: 180px;
    height: 180px;
  }
}

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

.accounts-region-panel {
  display: contents;
}

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

.seo-intro-card,
.seo-service-card {
  padding: 1.5rem 1.75rem;
}

.seo-intro-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading, #fff);
  margin-bottom: 0.75rem;
}

.seo-intro-text {
  color: var(--text-muted, #a1a1aa);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.seo-intro-text a {
  color: #B0E0FF;
  font-weight: 500;
}

.seo-intro-text a:hover {
  text-decoration: underline;
}

.seo-steps-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted, #a1a1aa);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.seo-steps-list li + li {
  margin-top: 0.35rem;
}

.faq-question-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.faq-question-heading .faq-question {
  width: 100%;
}

/* ── Support / custom amount CTAs ── */
.support-cta,
.vp-custom-cta {
  max-width: 28rem;
  margin: 2.5rem auto 0;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-color: rgba(176, 224, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(176, 224, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(176, 224, 255, 0.06) 100%);
  box-shadow:
    var(--glass-shadow),
    0 0 40px -12px rgba(176, 224, 255, 0.25);
  box-sizing: border-box;
  width: 100%;
}

.support-cta-text,
.vp-custom-cta-text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.support-cta-btn,
.vp-custom-cta-btn {
  min-width: 10rem;
  max-width: 100%;
  box-sizing: border-box;
}

/* Reach Us page form — solid full-width CTA on small screens */
body[data-page="reach"] #reach-submit,
body[data-page="reach"] .btn-primary {
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  box-sizing: border-box;
}

body[data-page="reach"] .content-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body[data-page="reach"] .hero-title {
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 639px) {
  body[data-page="reach"] .section-block .max-w-lg {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body[data-page="reach"] .content-box {
    padding: 1.25rem !important;
    border-radius: var(--radius-lg);
  }

  body[data-page="reach"] #reach-submit {
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .support-cta-btn,
  .vp-custom-cta-btn,
  .page-cta-actions .btn-primary,
  .page-cta-actions .btn-secondary {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

#products-support-cta .support-cta {
  margin-top: 0;
  margin-bottom: 2rem;
}

/* ── Order tracking ── */
.track-lookup-card {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .track-lookup-card {
    padding: 2rem;
  }
}

.track-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .track-form-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.track-order-input {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', monospace;
  letter-spacing: 0.02em;
}

.track-submit-btn {
  min-width: 10rem;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .track-submit-btn {
    width: 100%;
  }
}

.track-form-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--riot-muted);
  line-height: 1.5;
}

.track-form-error {
  margin-top: 0.75rem;
}

.track-support-wrap {
  margin-top: 1.75rem;
}

.track-support-wrap .support-cta {
  margin-top: 0;
}

.track-loading,
.track-result,
.track-empty {
  margin-top: 1.5rem;
}

.track-panel {
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 640px;
  overflow: hidden;
}

.track-panel-hidden {
  opacity: 0;
  transform: translateY(14px);
  max-height: 0;
  margin-top: 0;
  pointer-events: none;
  visibility: hidden;
}

.track-panel-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

.track-panel-entering {
  opacity: 0;
  transform: translateY(16px);
}

.track-panel-entering.track-panel-active {
  opacity: 1;
  transform: translateY(0);
}

.track-order-reveal {
  animation: trackOrderReveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes trackOrderReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.track-empty {
  padding: 2rem 1.5rem;
  text-align: center;
}

.track-order-hint {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--riot-muted);
}

.track-order-hint a {
  color: var(--riot-red-soft);
  font-weight: 600;
  text-decoration: none;
}

.track-order-hint a:hover {
  color: #D0EEFF;
}

/* ── Auth & Dashboard ── */
.auth-card {
  max-width: 28rem;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.dashboard-hero .hero-subtitle {
  margin-top: 0.75rem;
}

.dashboard-hero + .section-block.pt-0,
.referrals-dashboard-hero + .section-block.pt-0 {
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .dashboard-hero + .section-block.pt-0,
  .referrals-dashboard-hero + .section-block.pt-0 {
    padding-top: 2.25rem;
  }
}

.dashboard-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .dashboard-layout {
    gap: 3.25rem;
  }
}

.referrals-dashboard-hero .hero-subtitle {
  margin-top: 0.75rem;
}

.referrals-dashboard-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .referrals-dashboard-layout {
    gap: 2.75rem;
  }
}

.form-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-tab {
  flex: 1;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.625rem;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--riot-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-tab:hover {
  color: #fff;
}

.dashboard-tab--active {
  background: rgba(176, 224, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(176, 224, 255, 0.25);
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

.dashboard-stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.dashboard-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--riot-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.dashboard-stat-value {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--riot-red);
  line-height: 1.15;
}

.dashboard-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dashboard-section-link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--riot-red-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dashboard-section-link:hover {
  color: #D0EEFF;
}

.dashboard-orders-panel,
.dashboard-referral-link-panel,
.dashboard-cashout-panel {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .dashboard-orders-panel,
  .dashboard-referral-link-panel,
  .dashboard-cashout-panel {
    padding: 2rem;
  }
}

.dashboard-cashout-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dashboard-cashout-balance {
  margin-top: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.dashboard-referral-steps {
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .dashboard-referral-steps {
    gap: 2rem;
  }
}

.dashboard-empty {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.order-card {
  padding: 1.25rem 1.5rem;
}

.order-card-top,
.order-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-card-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: var(--riot-muted);
}

.order-code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.order-meta {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--riot-muted);
}

.order-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Internal keys: awaiting_payment → Pending, processing → Paid */
.order-status--awaiting_payment,
.order-status--pending {
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.order-status--processing,
.order-status--paid {
  background: rgba(176, 224, 255, 0.15);
  color: #E8F6FF;
  border: 1px solid rgba(176, 224, 255, 0.3);
}

.order-status--delivered {
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.order-status--cancelled,
.order-status--created {
  background: rgba(255, 255, 255, 0.06);
  color: var(--riot-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-tracker {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  text-align: left;
}

.order-tracker li {
  position: relative;
  padding: 0.375rem 0 0.375rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--riot-muted);
}

.order-tracker li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.7rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.order-tracker li.is-done {
  color: rgba(255, 255, 255, 0.75);
}

.order-tracker li.is-done::before {
  background: var(--riot-red);
}

.order-tracker li.is-active {
  color: #fff;
  font-weight: 600;
}

.order-tracker li.is-active::before {
  background: var(--riot-red);
  box-shadow: 0 0 0 4px rgba(176, 224, 255, 0.2);
}

.referral-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(176, 224, 255, 0.15);
  border: 1px solid rgba(176, 224, 255, 0.3);
  color: #E8F6FF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.referral-link-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.referral-link-input {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
}

.referral-copy-btn {
  flex-shrink: 0;
  padding-inline: 1.25rem;
}

.referral-step-card {
  padding: 1.125rem;
}

.referral-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--riot-red), #7EB8E0);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.referrals-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .referrals-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.referrals-highlight-card {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.referrals-highlight-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--riot-red);
  line-height: 1.1;
}

.referrals-highlight-label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

.referrals-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .referrals-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.referrals-account-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.referrals-link-card,
.referrals-balance-card {
  padding: 1.75rem 1.5rem;
}

@media (min-width: 640px) {
  .referrals-link-card,
  .referrals-balance-card {
    padding: 2.25rem 2rem;
  }
}

.referrals-card-header {
  margin-bottom: 1.5rem;
}

.referrals-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.referrals-card-sub {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--riot-muted);
}

.referrals-balance-amount {
  margin: 0.625rem 0 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--riot-red);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.referrals-cashout-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.referrals-cashout-btn {
  min-width: 10rem;
  padding: 0.875rem 2rem;
}

.referrals-cashout-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.referrals-payout-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--riot-red-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.referrals-payout-link:hover {
  color: #D0EEFF;
}

body.referrals-auth-pending #referrals-marketing,
body.referrals-auth-pending #referrals-guest-gate,
body.referrals-auth-pending #referrals-user-panel,
body.referrals-auth-pending #referrals-dashboard-hero,
body.referrals-auth-pending #referrals-cashout-info {
  display: none !important;
}

.referrals-account-gate {
  padding: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .referrals-account-gate {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 640px) {
  .referral-link-row {
    flex-direction: column;
  }

  .referral-copy-btn {
    width: 100%;
  }

  .referrals-link-card,
  .referrals-balance-card {
    padding: 1.5rem 1.25rem !important;
  }

  .referrals-cashout-actions {
    width: 100%;
    align-items: stretch;
  }

  .referrals-cashout-btn {
    width: 100%;
    min-width: 0;
  }

  .dashboard-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .support-chat-root {
    right: 1rem;
    bottom: 1rem;
  }

  .support-chat-panel {
    width: calc(100vw - 2rem);
    height: min(26rem, calc(100vh - 6rem));
  }

  .discount-popup-code-row {
    flex-direction: column;
  }
}

/* Mobile hamburger open state — blue brand, not red */
.mobile-menu-btn[aria-expanded="true"] {
  color: #E8F6FF;
  background: rgba(176, 224, 255, 0.12);
}
.mobile-nav-panel {
  background: rgba(8, 14, 22, 0.97) !important;
  border-color: rgba(176, 224, 255, 0.16) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(176, 224, 255, 0.06) !important;
}
.discount-popup-dialog {
  background: rgba(8, 14, 22, 0.98) !important;
  border-color: rgba(176, 224, 255, 0.18) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px -12px rgba(176, 224, 255, 0.2) !important;
}
.discount-popup-backdrop {
  background: rgba(4, 10, 18, 0.78) !important;
}

.trust-grid.trust-grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .trust-grid.trust-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-grid.trust-grid--3 { grid-template-columns: repeat(3, 1fr); }
}



/* Home hero: 2 lines on mobile, balanced stack */
.hero-section--home .hero-title {
  text-align: center;
}
.hero-section--home .hero-title .brand-text {
  display: inline-block;
}
/* Always break after "cheapest" so mobile + desktop match the stacked look */
.hero-section--home .hero-title-break {
  display: block;
}
.hero-section--home .hero-title .brand-text {
  margin-top: 0.08em;
}
