/* Imperium — design tokens & global styles */

html {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  /* Prefer font-size over zoom — CSS zoom breaks 100dvh fixed drawers (cart clipped) */
  font-size: 110%;
}

:root {
  --brand-primary: #ff00ed;
  --brand-primary-hover: #e600d9;
  --brand-primary-light: #ff66f5;
  --brand-primary-dark: #cc00be;
  --brand-primary-glow: rgba(255, 0, 237, 0.35);
  --brand-primary-glow-soft: rgba(255, 0, 237, 0.12);
  --brand-primary-border: rgba(255, 0, 237, 0.3);
  --brand-primary-ring: rgba(255, 0, 237, 0.6);
  --brand-bg: #05080f;
  --brand-surface: #0d1117;
  --btn-primary-gradient: linear-gradient(180deg, var(--brand-primary-light) 0%, var(--brand-primary) 52%, #c400b8 100%);
  --btn-primary-gloss-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 58%);
  --btn-secondary-gloss-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0) 60%);
  --btn-shadow-base: 0 1px 2px rgba(0, 0, 0, 0.3);
  --btn-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.18), 0 4px 6px -4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ── Site-wide gloss buttons ── */
.imperium-btn-gloss,
.product-purchase-btn,
.earn-btn--primary,
.earn-btn--secondary,
.earn-btn--ghost,
.terms-btn--primary,
.terms-btn--secondary,
.promo-btn--primary,
.promo-btn--secondary,
.cart-btn--primary,
.cart-checkout,
.reviews-write-btn:not(:disabled):not(.reviews-write-btn--disabled),
.reviews-external-btn,
.reviews-form-submit,
.email-checkout-submit,
.email-checkout-cancel,
.my-keys-continue,
.my-keys-cancel,
.affiliate-portal-continue,
.affiliate-portal-cancel,
.redirect-checkout-continue,
.redirect-checkout-back,
.coupon-input-apply,
.coupon-input-suggested-apply,
.store-card-cta,
.store-drawer-apply,
.store-drawer-clear,
.store-empty-reset,
.imperium-header-cta,
.review-see-all,
.docs-back-btn,
.support-chat-action,
.support-chat-trigger,
.scratch-card-reveal-fallback,
.nav-icon-btn,
.currency-selector-trigger,
.nav-online-status,
.nav-link-icon--active,
.nav-cart-count,
.cart-empty-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.imperium-btn-gloss--primary,
.product-purchase-btn--buy,
.earn-btn--primary,
.terms-btn--primary,
.promo-btn--primary,
.cart-btn--primary,
.cart-checkout,
.reviews-write-btn:not(:disabled):not(.reviews-write-btn--disabled),
.reviews-external-btn,
.reviews-form-submit,
.email-checkout-submit,
.email-checkout-cancel,
.my-keys-continue,
.affiliate-portal-continue,
.redirect-checkout-continue,
.coupon-input-suggested-apply,
.store-card-cta,
.store-drawer-apply,
.store-empty-reset,
.imperium-header-cta,
.review-see-all,
.docs-back-btn,
.nav-link-icon--active,
.nav-cart-count {
  border: 0;
  color: #fff;
  background: var(--btn-primary-gradient);
  box-shadow: var(--btn-shadow-base);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.imperium-btn-gloss--primary:not(.browse-cheats-cta)::before,
.product-purchase-btn--buy::before,
.earn-btn--primary::before,
.terms-btn--primary::before,
.promo-btn--primary::before,
.cart-btn--primary::before,
.cart-checkout::before,
.reviews-write-btn:not(:disabled):not(.reviews-write-btn--disabled)::before,
.reviews-external-btn::before,
.reviews-form-submit::before,
.email-checkout-submit::before,
.my-keys-continue::before,
.affiliate-portal-continue::before,
.redirect-checkout-continue::before,
.coupon-input-suggested-apply::before,
.store-card-cta::before,
.store-drawer-apply::before,
.store-empty-reset::before,
.imperium-header-cta::before,
.review-see-all::before,
.docs-back-btn::before,
.nav-link-icon--active::before,
.nav-cart-count::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: var(--btn-primary-gloss-overlay);
}

.imperium-btn-gloss--primary:hover:not(:disabled),
.product-purchase-btn--buy:hover:not(:disabled),
.earn-btn--primary:hover:not(:disabled),
.terms-btn--primary:hover,
.promo-btn--primary:hover,
.cart-btn--primary:hover,
.cart-checkout:hover:not(:disabled),
.reviews-write-btn:not(:disabled):not(.reviews-write-btn--disabled):hover,
.reviews-external-btn:hover,
.reviews-form-submit:hover,
.email-checkout-submit:hover:not(:disabled),
.my-keys-continue:hover,
.affiliate-portal-continue:hover,
.redirect-checkout-continue:hover:not(:disabled),
.coupon-input-suggested-apply:hover,
.store-card-cta:hover,
.store-drawer-apply:hover,
.store-empty-reset:hover,
.imperium-header-cta:hover,
.review-see-all:hover,
.docs-back-btn:hover,
.nav-link-icon--active:hover {
  opacity: 0.9;
  box-shadow: var(--btn-shadow-hover);
}

.imperium-btn-gloss--secondary,
.product-purchase-btn--cart,
.earn-btn--secondary,
.terms-btn--secondary,
.promo-btn--secondary,
.email-checkout-cancel,
.my-keys-cancel,
.affiliate-portal-cancel,
.redirect-checkout-back,
.coupon-input-apply,
.store-drawer-clear,
.support-chat-action,
.support-chat-trigger,
.scratch-card-reveal-fallback,
.nav-icon-btn,
.currency-selector-trigger,
.nav-online-status,
.cart-empty-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.imperium-btn-gloss--secondary::before,
.product-purchase-btn--cart::before,
.earn-btn--secondary::before,
.terms-btn--secondary::before,
.promo-btn--secondary::before,
.email-checkout-cancel::before,
.my-keys-cancel::before,
.affiliate-portal-cancel::before,
.redirect-checkout-back::before,
.coupon-input-apply::before,
.store-drawer-clear::before,
.support-chat-action::before,
.support-chat-trigger::before,
.scratch-card-reveal-fallback::before,
.nav-icon-btn::before,
.currency-selector-trigger::before,
.nav-online-status::before,
.cart-empty-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: var(--btn-secondary-gloss-overlay);
}

.nav-icon-btn,
.currency-selector-trigger,
.nav-online-status {
  color: #9ca3af;
}

.imperium-btn-gloss--secondary:hover:not(:disabled),
.product-purchase-btn--cart:hover:not(:disabled),
.earn-btn--secondary:hover,
.terms-btn--secondary:hover,
.promo-btn--secondary:hover:not(.is-copied),
.email-checkout-cancel:hover:not(:disabled),
.my-keys-cancel:hover,
.affiliate-portal-cancel:hover,
.redirect-checkout-back:hover,
.coupon-input-apply:hover,
.store-drawer-clear:hover,
.support-chat-action:hover:not(:disabled),
.support-chat-trigger:hover:not(:disabled),
.scratch-card-reveal-fallback:hover,
.scratch-card-reveal-fallback:focus-visible,
.nav-icon-btn:hover,
.nav-icon-btn[aria-expanded="true"],
.currency-selector-trigger:hover,
.nav-online-status:hover,
.cart-empty-btn:hover:not(:disabled),
.cart-empty-btn:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.imperium-btn-gloss--ghost,
.earn-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #a1a1aa;
  box-shadow: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.imperium-btn-gloss--ghost::before,
.earn-btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 55%);
}

.imperium-btn-gloss--ghost:hover:not(:disabled),
.earn-btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

.imperium-btn-gloss > *,
.product-purchase-btn > *,
.nav-icon-btn > *,
.currency-selector-trigger > *,
.nav-link-icon--active > *,
.support-chat-trigger > * {
  position: relative;
  z-index: 1;
}

.imperium-btn-gloss:active:not(:disabled),
.product-purchase-btn:active:not(:disabled),
.earn-btn:active:not(:disabled),
.terms-btn:active:not(:disabled),
.promo-btn:active:not(:disabled),
.cart-btn:active:not(:disabled),
.cart-checkout:active:not(:disabled),
.reviews-write-btn:active:not(:disabled),
.reviews-external-btn:active,
.reviews-form-submit:active,
.email-checkout-submit:active:not(:disabled),
.my-keys-continue:active,
.my-keys-cancel:active,
.affiliate-portal-continue:active,
.affiliate-portal-cancel:active,
.redirect-checkout-continue:active:not(:disabled),
.redirect-checkout-back:active,
.coupon-input-apply:active,
.coupon-input-suggested-apply:active,
.store-card-cta:active,
.imperium-header-cta:active,
.review-see-all:active,
.docs-back-btn:active,
.nav-icon-btn:active,
.currency-selector-trigger:active,
.support-chat-trigger:active:not(:disabled),
.cart-empty-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.imperium-btn-gloss:disabled,
.imperium-btn-gloss--primary:disabled,
.imperium-btn-gloss--secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.imperium-btn-gloss:disabled::before,
.imperium-btn-gloss--primary:disabled::before,
.imperium-btn-gloss--secondary:disabled::before {
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .imperium-btn-gloss,
  .imperium-btn-gloss--primary,
  .imperium-btn-gloss--secondary,
  .imperium-btn-gloss--ghost,
  .product-purchase-btn,
  .earn-btn,
  .terms-btn,
  .promo-btn,
  .cart-btn,
  .cart-checkout,
  .reviews-write-btn,
  .reviews-external-btn,
  .reviews-form-submit,
  .email-checkout-submit,
  .my-keys-continue,
  .my-keys-cancel,
  .affiliate-portal-continue,
  .affiliate-portal-cancel,
  .redirect-checkout-continue,
  .redirect-checkout-back,
  .coupon-input-apply,
  .coupon-input-suggested-apply,
  .store-card-cta,
  .imperium-header-cta,
  .review-see-all,
  .docs-back-btn,
  .nav-icon-btn,
  .currency-selector-trigger,
  .nav-online-status {
    transition: none;
  }

  .imperium-btn-gloss:active:not(:disabled),
  .imperium-btn-gloss--primary:active:not(:disabled),
  .imperium-btn-gloss--secondary:active:not(:disabled),
  .product-purchase-btn:active:not(:disabled),
  .earn-btn:active:not(:disabled),
  .terms-btn:active:not(:disabled),
  .promo-btn:active:not(:disabled),
  .cart-btn:active:not(:disabled),
  .cart-checkout:active:not(:disabled),
  .reviews-write-btn:active:not(:disabled),
  .reviews-external-btn:active,
  .reviews-form-submit:active,
  .email-checkout-submit:active:not(:disabled),
  .my-keys-continue:active,
  .my-keys-cancel:active,
  .affiliate-portal-continue:active,
  .affiliate-portal-cancel:active,
  .redirect-checkout-continue:active:not(:disabled),
  .redirect-checkout-back:active,
  .coupon-input-apply:active,
  .coupon-input-suggested-apply:active,
  .store-card-cta:active,
  .imperium-header-cta:active,
  .review-see-all:active,
  .docs-back-btn:active,
  .nav-icon-btn:active,
  .currency-selector-trigger:active {
    transform: none;
  }
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--brand-primary-glow-soft);
}

/* Brand logo */
.imperium-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.imperium-logo-img {
  display: block;
  width: auto;
  height: 2.35rem;
  object-fit: contain;
}

.imperium-logo-sm .imperium-logo-img {
  height: 1.85rem;
}

.imperium-logo-lg .imperium-logo-img {
  height: 2.85rem;
}

.text-gradient-brand,
.text-gloss-brand {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(90deg, var(--brand-primary-light), var(--brand-primary), var(--brand-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 100% 100%, 200% auto;
  animation: gradientShift 4s ease infinite;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.text-gradient-white,
.text-gloss-white {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 36%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f5 48%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.text-gradient-zinc,
.text-gloss-muted {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #d4d4d8 0%, #71717a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.page-title {
  letter-spacing: -0.02em;
}

h1.page-title.text-gloss-white,
h1.text-gloss-white.page-title,
.terms-title,
.docs-title {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 36%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f5 48%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

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

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

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

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

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.animate-fade-up-delay-1 { animation: fadeUp 0.6s ease 0.1s forwards; opacity: 0; }
.animate-fade-up-delay-2 { animation: fadeUp 0.6s ease 0.2s forwards; opacity: 0; }
.animate-fade-up-delay-3 { animation: fadeUp 0.6s ease 0.3s forwards; opacity: 0; }

.animate-marquee {
  animation: marquee 40s linear infinite;
}

.animate-marquee-reverse {
  animation: marquee-reverse 40s linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.reveal-x {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-x.visible {
  opacity: 1;
  transform: translateX(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.faq-item.open {
  border-color: var(--brand-primary-border);
}

.faq-item.open .faq-dot {
  opacity: 1;
}

#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}

#mobile-menu.hidden {
  display: none;
}

/* Search dropdown */
.search-dropdown {
  --search-accent: var(--brand-primary);
  --search-accent-glow: var(--brand-primary-glow-soft);
  --search-accent-border: var(--brand-primary-border);
}
.search-dropdown input[type="search"]:focus {
  outline: none;
}
.search-dropdown .search-panel {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.search-dropdown:focus-within .search-panel,
.search-dropdown.is-open .search-panel {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 0, 237, 0.08);
}
.search-dropdown:focus-within .search-kbd,
.search-dropdown.is-open .search-kbd {
  border-color: var(--search-accent-border);
  color: var(--search-accent);
}
.search-product-row:hover,
.search-quick-link:hover,
.search-all-results:hover {
  background: rgba(255, 255, 255, 0.05);
}
.search-trigger-active {
  color: #fff;
}
.search-dropdown input[type="search"]::-webkit-search-cancel-button {
  display: none;
}
.search-results::-webkit-scrollbar {
  width: 4px;
}
.search-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.review-carousel:focus-visible {
  outline: 2px solid rgba(255, 0, 237, 0.45);
  outline-offset: 4px;
  border-radius: 1rem;
}
.review-carousel-prev:disabled,
.review-carousel-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.review-card-compact {
  min-height: 0;
}
.review-card {
  min-height: 0;
}
.review-see-all:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}
.review-carousel-dot[aria-current="true"] {
  background: #ff00ed;
}

.review-marquee-shell {
  width: 100%;
  overflow: hidden;
}

.review-marquee {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.review-marquee-track {
  display: flex;
  width: max-content;
  animation: review-marquee 50s linear infinite;
  will-change: transform;
}

.review-marquee-row--reverse .review-marquee-track {
  animation-name: review-marquee-reverse;
  animation-duration: 58s;
}

.review-marquee.is-paused .review-marquee-track {
  animation-play-state: paused;
}

.review-marquee-group {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

.review-marquee-item {
  width: min(300px, 78vw);
  flex-shrink: 0;
}

.review-marquee-item .review-card {
  height: 100%;
  min-height: 9.5rem;
}

.review-marquee-footer {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 0;
}

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

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

.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;
}

.reviews-page {
  background: #05080f;
}

.reviews-page-container {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
}

@media (min-width: 640px) {
  .reviews-page-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .reviews-page-container {
    padding-top: 2rem;
  }
}

.reviews-summary {
  margin-bottom: 1.25rem;
}

.reviews-summary-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: #090c15;
  overflow: hidden;
}

.reviews-summary-grid {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .reviews-summary-grid {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem 2rem;
    padding: 1.5rem 1.75rem;
  }
}

.reviews-summary-number {
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  margin: 0 0 0.35rem;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 36%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f5 48%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.reviews-summary-stars {
  width: 0.95rem;
  height: 0.95rem;
}

.reviews-summary-meta {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #71717a;
}

.reviews-summary-count {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #a1a1aa;
}

.reviews-summary-external-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #52525b;
}

.reviews-summary-recommend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: #a1a1aa;
}

.reviews-summary-recommend strong {
  color: #fff;
  font-weight: 700;
}

.reviews-summary-recommend-icon {
  width: 1rem;
  height: 1rem;
  color: #ff00ed;
  flex-shrink: 0;
}

.reviews-summary-bars {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.reviews-dist-row {
  display: grid;
  grid-template-columns: 1rem 1rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.25rem;
}

.reviews-dist-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #d4d4d8;
  text-align: right;
}

.reviews-dist-star {
  width: 0.75rem;
  height: 0.75rem;
}

.reviews-dist-track {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.reviews-dist-fill {
  height: 100%;
  border-radius: inherit;
  background: #ff00ed;
  transition: width 0.25s ease;
}

.reviews-dist-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #71717a;
  text-align: right;
}

.reviews-summary-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .reviews-summary-action {
    align-items: flex-end;
  }
}

.reviews-write-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.reviews-write-btn--disabled,
.reviews-write-btn:disabled {
  background: rgba(255, 255, 255, 0.04);
  color: #71717a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.85;
}

.reviews-write-btn--disabled:hover,
.reviews-write-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.04);
}

.reviews-write-btn--disabled:focus-visible,
.reviews-write-btn:disabled:focus-visible {
  outline: 2px solid #52525b;
  outline-offset: 2px;
}

.reviews-write-disabled-note {
  margin: 0;
  max-width: 14rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #52525b;
  text-align: left;
}

@media (min-width: 768px) {
  .reviews-write-disabled-note {
    text-align: right;
  }
}

.reviews-write-btn:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}

.reviews-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  margin-bottom: 0;
  overflow: visible;
  position: relative;
  z-index: 20;
}

@media (min-width: 768px) {
  .reviews-toolbar {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .reviews-toolbar-search,
  .reviews-toolbar-rating {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .reviews-toolbar {
    grid-template-columns: minmax(220px, 1.35fr) minmax(150px, 0.75fr) minmax(170px, 0.85fr) minmax(190px, 0.85fr);
    grid-template-areas:
      "search game product sort"
      "rating rating rating rating";
    align-items: center;
    column-gap: 0.625rem;
    row-gap: 0.625rem;
  }

  .reviews-toolbar-search {
    grid-area: search;
  }

  .reviews-toolbar-rating {
    grid-area: rating;
    min-width: 0;
    overflow: visible;
  }

  .reviews-toolbar-game {
    grid-area: game;
  }

  .reviews-toolbar-product {
    grid-area: product;
  }

  .reviews-toolbar-sort {
    grid-area: sort;
  }

  .reviews-filter-pills {
    overflow: visible;
    flex-wrap: wrap;
    max-width: none;
  }
}

.reviews-toolbar > * {
  min-width: 0;
}

.reviews-toolbar-search {
  position: relative;
  min-width: 0;
}

.reviews-toolbar-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #71717a;
  pointer-events: none;
}

.reviews-search-input {
  width: 100%;
  height: 3.5rem;
  padding: 0 0.85rem 0 2.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.8125rem;
}

.reviews-search-input::placeholder {
  color: #52525b;
}

.reviews-search-input:focus {
  outline: none;
  border-color: rgba(255, 0, 237, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 0, 237, 0.15);
}

.reviews-toolbar-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.reviews-filter-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #52525b;
  flex-shrink: 0;
}

.reviews-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1px 0;
}

.reviews-filter-pills::-webkit-scrollbar {
  display: none;
}


.reviews-toolbar-game,
.reviews-toolbar-product,
.reviews-toolbar-sort {
  min-width: 0;
  position: relative;
}

.reviews-filter-pill {
  height: 2.5rem;
  min-width: 2.75rem;
  padding: 0 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #a1a1aa;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.reviews-filter-pill.is-active {
  border-color: rgba(255, 0, 237, 0.45);
  background: rgba(255, 0, 237, 0.12);
  color: #fff;
}

.reviews-filter-pill:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}

.reviews-toolbar-game,
.reviews-toolbar-product,
.reviews-toolbar-sort {
  min-width: 0;
}

.reviews-toolbar-game .reviews-dropdown,
.reviews-toolbar-product .reviews-dropdown,
.reviews-toolbar-sort .reviews-dropdown {
  width: 100%;
}

.reviews-dropdown {
  min-width: 0;
  position: relative;
}

.reviews-dropdown.is-open {
  z-index: 50;
}

.reviews-dropdown-wrap {
  position: relative;
}

.reviews-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  height: 3.5rem;
  padding: 0 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e4e4e7;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.reviews-dropdown-trigger:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.reviews-dropdown-trigger:focus-visible {
  outline: none;
  border-color: rgba(255, 0, 237, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 0, 237, 0.15);
}

.reviews-dropdown.is-open .reviews-dropdown-trigger {
  border-color: rgba(255, 0, 237, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.reviews-dropdown-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reviews-dropdown-chevron {
  width: 0.95rem;
  height: 0.95rem;
  color: #71717a;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease;
}

.reviews-dropdown.is-open .reviews-dropdown-chevron {
  transform: rotate(180deg);
  color: #ff66f5;
}

.reviews-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.375rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1117;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 0, 237, 0.06);
  max-height: 16rem;
  overflow-y: auto;
}

.reviews-dropdown-panel[hidden] {
  display: none !important;
}

.reviews-dropdown-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.5rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #d4d4d8;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.reviews-dropdown-option:hover,
.reviews-dropdown-option:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.reviews-dropdown-option.is-active {
  background: rgba(255, 0, 237, 0.12);
  color: #fff;
}

.reviews-dropdown--disabled .reviews-dropdown-trigger {
  cursor: not-allowed;
  color: #52525b;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.reviews-dropdown--disabled .reviews-dropdown-chevron {
  color: #3f3f46;
}

.reviews-form-field .reviews-dropdown {
  width: 100%;
}

.reviews-toolbar-foot {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0.85rem 0 1rem;
}

.reviews-toolbar-foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reviews-clear-filters {
  min-height: 2rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d8;
  font-size: 0.75rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.reviews-clear-filters:hover {
  border-color: rgba(255, 0, 237, 0.35);
  color: #fff;
  background: rgba(255, 0, 237, 0.08);
}

.reviews-clear-filters--inline {
  margin-top: 0.75rem;
}

.reviews-results-count {
  margin: 0;
  font-size: 0.8125rem;
  color: #71717a;
}

.reviews-snapshot-notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 768px) {
  .reviews-snapshot-notice {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.reviews-snapshot-copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #71717a;
}

.reviews-external-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .reviews-external-btn {
    width: 100%;
  }
}

.reviews-external-btn-icon {
  width: 1rem;
  height: 1rem;
}

.reviews-external-btn:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}

.reviews-list {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: #090c15;
  overflow: hidden;
}

.reviews-row {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reviews-row:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .reviews-row {
    padding: 1.1rem 1.25rem;
  }
}

.reviews-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.reviews-row-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.reviews-row-stars {
  width: 0.8rem;
  height: 0.8rem;
  flex-shrink: 0;
}

.reviews-row-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a1a1aa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reviews-row-date {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #52525b;
}

.reviews-row-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.reviews-row-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.reviews-row-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.reviews-row-product {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #71717a;
}

.reviews-row-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 237, 0.25);
  background: rgba(255, 0, 237, 0.08);
  color: #ff66f5;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.reviews-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #71717a;
  font-size: 0.875rem;
}

.reviews-empty-title {
  margin: 0 0 0.35rem;
  color: #d4d4d8;
  font-size: 0.9375rem;
  font-weight: 600;
}

.reviews-empty-copy {
  margin: 0;
  font-size: 0.8125rem;
}

.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.reviews-page-btn {
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e4e4e7;
  font-size: 0.8125rem;
  font-weight: 700;
}

.reviews-page-btn:hover:not(:disabled) {
  border-color: rgba(255, 0, 237, 0.35);
  color: #fff;
}

.reviews-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-page-btn:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}

.reviews-page-status {
  font-size: 0.8125rem;
  color: #71717a;
}

.reviews-form-section {
  margin-top: 2rem;
  scroll-margin-top: 6rem;
}

.reviews-form-section--disabled .reviews-form-card {
  position: relative;
  opacity: 0.72;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(9, 12, 21, 0.92);
}

.reviews-form-disabled-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.reviews-form-lock-icon {
  width: 1rem;
  height: 1rem;
  color: #71717a;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.reviews-form-disabled-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #a1a1aa;
}

.reviews-form-disabled-sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #52525b;
}

.reviews-form-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.reviews-form-section--disabled .reviews-form-heading,
.reviews-form-section--disabled .reviews-form-lead,
.reviews-form-section--disabled .reviews-form-field label,
.reviews-form-section--disabled .reviews-form-label,
.reviews-form-section--disabled .reviews-form-hint,
.reviews-form-section--disabled .reviews-form-counter {
  color: #52525b;
}

.reviews-form-section--disabled .reviews-input,
.reviews-form-section--disabled .reviews-textarea,
.reviews-form-section--disabled .reviews-dropdown-trigger {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  color: #52525b;
  cursor: not-allowed;
}

.reviews-form-section--disabled .reviews-form-star {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  color: #3f3f46;
  cursor: not-allowed;
}

.reviews-form-section--disabled .reviews-form-star.is-active,
.reviews-form-section--disabled .reviews-form-star:hover {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  color: #3f3f46;
}

.reviews-form-section--disabled .reviews-form-submit {
  background: rgba(255, 255, 255, 0.04);
  color: #52525b;
  cursor: not-allowed;
}

.reviews-form-section--disabled .reviews-form-submit:hover {
  background: rgba(255, 255, 255, 0.04);
}

.reviews-form-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: #090c15;
  padding: 1.25rem;
}

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

.reviews-form-heading {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.reviews-form-lead {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #71717a;
  max-width: 42rem;
}

.reviews-form-grid {
  display: grid;
  gap: 1rem;
}

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

.reviews-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.reviews-form-field-full {
  grid-column: 1 / -1;
}

.reviews-form-field label,
.reviews-form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #d4d4d8;
}

.reviews-input,
.reviews-textarea {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.875rem;
}

.reviews-input {
  height: 2.75rem;
  padding: 0 0.85rem;
}

.reviews-textarea {
  min-height: 8rem;
  padding: 0.85rem;
  resize: vertical;
}

.reviews-input:focus,
.reviews-textarea:focus {
  outline: none;
  border-color: rgba(255, 0, 237, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 0, 237, 0.15);
}

.reviews-form-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #52525b;
}

.reviews-form-stars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.reviews-form-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #52525b;
}

.reviews-form-star.is-active,
.reviews-form-star:hover {
  border-color: rgba(255, 0, 237, 0.35);
  background: rgba(255, 0, 237, 0.1);
  color: #ff00ed;
}

.reviews-form-star-icon {
  width: 1rem;
  height: 1rem;
}

.reviews-form-counter {
  margin: 0.35rem 0 0;
  text-align: right;
  font-size: 0.75rem;
  color: #52525b;
}

.reviews-form-actions {
  margin-top: 1rem;
}

.reviews-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.reviews-form-submit:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}

.reviews-form-demo-note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: #52525b;
}

.reviews-form-message {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: #ff66f5;
}

.reviews-form-message.hidden {
  display: none;
}

html:has(.reviews-page) {
  scroll-behavior: smooth;
}

.product-fortnite { background: linear-gradient(to bottom right, rgba(88,28,135,0.8), rgba(30,27,75,0.6), #090c15); }
.product-warzone { background: linear-gradient(to bottom right, rgba(6,78,59,0.8), rgba(4,47,46,0.6), #090c15); }

/* Card hover lift */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
}

/* Animated gradient text — alias (see root .text-gradient-brand) */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 0%, 0% center; }
  50% { background-position: 0% 0%, 100% center; }
}

/* Page enter transition */
.page-enter {
  animation: pageEnter 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page loader */
#page-loader {
  transition: opacity 0.18s ease;
  pointer-events: none;
}
#page-loader.hidden {
  pointer-events: none;
}
#page-loader.is-hidden {
  pointer-events: none;
}

/* Social icons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgb(113, 113, 122);
  transition: all 0.2s ease;
}
.social-icon:hover {
  color: white;
  background: var(--brand-primary-glow-soft);
  border-color: var(--brand-primary-border);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--brand-primary-ring);
  outline-offset: 2px;
}

/* Product page */
.product-page .product-feature-body {
  transition: max-height 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.product-page .product-description strong {
  color: #e4e4e7;
}
.product-stock-panel.is-open .product-stock-chevron {
  transform: rotate(180deg);
}
.product-page .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product purchase panel — matched to Tyronex purchase-selection layout */
.product-purchase-section {
  align-items: start;
}

.product-purchase-media {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.product-purchase-media__desc {
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #a1a1aa;
}

.product-bundle-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 0, 237, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 0, 237, 0.1), rgba(255, 0, 237, 0.02) 55%, transparent),
    rgba(255, 255, 255, 0.02);
  position: relative;
}

.product-bundle-offer__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 0, 237, 0.18);
  border: 1px solid rgba(255, 0, 237, 0.35);
  color: #ff66f5;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-bundle-offer__thumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.product-bundle-offer__thumb {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

.product-bundle-offer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-bundle-offer__plus {
  color: #a1a1aa;
  font-size: 0.875rem;
  font-weight: 700;
}

.product-bundle-offer__body {
  flex: 1 1 12rem;
  min-width: 0;
  padding-right: 4.5rem;
}

.product-bundle-offer__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.product-bundle-offer__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #a1a1aa;
}

.product-bundle-offer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--brand-primary);
  text-decoration: none;
}

.product-bundle-offer__cta:hover {
  color: var(--brand-primary-hover);
}

@media (max-width: 640px) {
  .product-bundle-offer__body {
    padding-right: 0;
  }
  .product-bundle-offer__badge {
    position: static;
    margin-left: auto;
  }
}

.product-account-promo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #05080f;
  color: #fff;
  text-align: left;
}

.product-account-promo--selectable {
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-account-promo--selectable:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.product-account-promo--selectable.is-selected {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 1px rgba(255, 0, 237, 0.35);
  background: rgba(255, 0, 237, 0.04);
}

.product-account-promo__icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255, 0, 237, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

.product-account-promo__thumb {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255, 0, 237, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-account-promo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-account-promo__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-account-promo__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.product-account-promo__desc {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #a1a1aa;
}

.product-account-promo__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-primary);
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.product-account-promo__link:hover {
  color: var(--brand-primary-hover);
  opacity: 0.9;
}

.product-account-promo__link svg {
  flex-shrink: 0;
}

.product-account-promo__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4d4d8;
}

.product-account-promo--selectable.is-selected .product-account-promo__price {
  color: var(--brand-primary);
}

.product-account-promo__check {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.product-account-promo--selectable.is-selected .product-account-promo__check {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

.product-purchase-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0d14;
}

@media (min-width: 768px) {
  .product-purchase-art {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .product-purchase-art {
    aspect-ratio: 16 / 9;
  }
}

.product-purchase-art__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease, opacity 0.3s ease;
}

.product-gallery-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-purchase-art__video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.product-purchase-thumb--video {
  position: relative;
}

.product-purchase-thumb-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.product-purchase-thumb-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.28rem 0 0.28rem 0.45rem;
  border-color: transparent transparent transparent #fff;
}

.product-gallery {
  min-width: 0;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 15, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.product-gallery--multi .product-purchase-art:hover .product-gallery-nav,
.product-gallery--multi .product-gallery-nav:focus-visible {
  opacity: 1;
}

.product-gallery-nav:hover {
  background: rgba(5, 8, 15, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.product-gallery-nav--prev {
  left: 0.75rem;
}

.product-gallery-nav--next {
  right: 0.75rem;
}

.product-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 8, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-gallery-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-gallery-dot.is-active {
  background: var(--brand-primary);
  transform: scale(1.25);
}

@media (max-width: 767px) {
  .product-gallery--multi .product-gallery-nav {
    opacity: 1;
  }
}

.product-purchase-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  padding-bottom: 0.25rem;
}

.product-purchase-thumb {
  flex: 0 0 auto;
  width: 4.5rem;
  aspect-ratio: 16 / 9;
  border-radius: 0.65rem;
  border: 2px solid transparent;
  overflow: hidden;
  opacity: 0.45;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.product-purchase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-purchase-thumb.is-active {
  border-color: var(--brand-primary);
  opacity: 1;
}

.product-purchase-section__content {
  min-width: 0;
}

.product-purchase-controls {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.product-purchase-price {
  margin-bottom: 2rem;
}

.product-purchase-price__value {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 36%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f5 48%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

@media (min-width: 768px) {
  .product-purchase-price__value {
    font-size: 1.875rem;
  }
}

.product-plan-selector {
  margin-bottom: 2rem;
}

.product-plan-selector__label {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.product-plan-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-plan-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 4.875rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(24, 24, 27, 0.3);
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-plan-row:hover:not(.is-disabled):not(:disabled) {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(24, 24, 27, 0.5);
}

.product-plan-row.is-selected,
.product-plan-row.is-active {
  border-color: var(--brand-primary);
  background: transparent;
  box-shadow: 0 0 0 1px var(--brand-primary);
}

.product-plan-row.is-disabled,
.product-plan-row:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-plan-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding-right: 0.75rem;
}

.product-plan-row__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #e4e4e7;
}

.product-plan-row__title.is-active,
.product-plan-row.is-selected .product-plan-row__title {
  color: #fff;
}

.product-plan-row__stock {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.product-plan-row__stock-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  flex-shrink: 0;
  transform-origin: center;
}

.product-plan-row__stock-dot--green {
  background: #00b67a;
  animation: product-stock-dot-pulse 2s ease-in-out infinite;
}

.product-plan-row__stock-dot--red {
  background: #ef4444;
}

.product-plan-row__stock-text {
  font-size: 0.75rem;
  line-height: 1;
  color: #a1a1aa;
}

.product-plan-row__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
  flex-shrink: 0;
}

.product-plan-row__price {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  padding-right: 0.5rem;
}

.product-plan-row__old-price {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #71717a;
  text-decoration: line-through;
  padding-right: 0.5rem;
}

.product-plan-row__oos {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-plan-row__oos span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.product-qty-row__control {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 24, 27, 0.5);
}

.product-qty-row__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.product-qty-row__btn:hover:not(:disabled):not(.is-disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.product-qty-row__btn:disabled,
.product-qty-row__btn.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-qty-row__btn.is-at-max {
  opacity: 0.55;
  cursor: pointer;
}

.product-qty-row__value {
  width: 3rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.product-qty-row__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.product-qty-row__status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  transform-origin: center;
}

.product-qty-row__status-dot--green {
  background: #22c55e;
  animation: product-stock-dot-pulse 2s ease-in-out infinite;
}

.product-qty-row__status-dot--red {
  background: #ef4444;
}

.product-qty-row__status-dot--amber {
  background: #f59e0b;
}

.product-qty-row__status-text--green {
  color: #4ade80;
}

.product-qty-row__status-text--red {
  color: #f87171;
}

.product-qty-row__status-text--amber {
  color: #fbbf24;
}

@keyframes product-stock-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-plan-row__stock-dot--green,
  .product-qty-row__status-dot--green {
    animation: none;
  }
}

.product-purchase-actions {
  width: 100%;
}

.product-purchase-btn-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .product-purchase-btn-row {
    flex-direction: row;
  }
}

.product-purchase-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 3.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  cursor: pointer;
}

.product-purchase-btn--disabled,
.product-buy-now.product-purchase-btn--disabled,
.product-add-cart.product-purchase-btn--disabled,
.product-purchase-btn.is-disabled {
  opacity: 0.45;
  filter: grayscale(0.35);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.product-purchase-btn svg {
  flex-shrink: 0;
}

.store-card-cta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.store-card-cta > * {
  position: relative;
  z-index: 1;
}

.store-bestseller-badge {
  height: auto;
  min-height: 1.625rem;
  padding: 0.3rem 0.65rem;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  box-shadow: var(--btn-shadow-base);
}

.store-bestseller-badge:hover,
.store-bestseller-badge:active {
  transform: none;
  box-shadow: var(--btn-shadow-base);
}

.store-drawer-apply,
.store-empty-reset {
  border: 0;
}

.store-drawer-clear {
  border-color: rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
}

.store-drawer-clear:hover {
  color: #fff;
}

/* Legacy product CTA helpers */
.product-purchase-row {
  width: 100%;
}

.product-cta-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.product-add-cart,
.product-buy-now {
  flex: 1 1 0;
  min-width: 0;
}

.product-cta-label {
  display: block;
  min-width: 0;
  line-height: 1.25;
  overflow: visible;
  white-space: nowrap;
}

/* Product Showcase */
.product-showcase-stage {
  isolation: isolate;
}
.product-showcase-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.product-showcase-panel.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.product-showcase-preview {
  transition: opacity 0.25s ease, transform 0.05s linear;
}
.product-showcase-preview.is-dragging {
  cursor: grabbing;
}
.product-showcase-video-wrap iframe,
.product-showcase-video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
}

/* Status page */
.status-row:focus-visible {
  outline: 2px solid var(--brand-primary-ring);
  outline-offset: -2px;
}
.status-group + .status-group {
  margin-top: 0;
}

/* Store page */
.store-page .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.store-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.store-search-input {
  width: 100%;
  height: 3rem;
  padding-left: 2.75rem;
  padding-right: 2.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.store-search-input::placeholder { color: rgb(82, 82, 91); }
.store-search-input:focus {
  border-color: rgba(255, 0, 237, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
.store-search-input::-webkit-search-cancel-button {
  display: none;
}
.store-bestsellers-btn,
.store-filters-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgb(161, 161, 170);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}
.store-bestsellers-btn:hover,
.store-filters-mobile:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}
.store-bestsellers-btn.is-active {
  background: rgba(255, 0, 237, 0.12);
  border-color: rgba(255, 0, 237, 0.35);
  color: #ff66f5;
}
.store-pill {
  height: 2rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: rgb(113, 113, 122);
  transition: all 0.15s;
  cursor: pointer;
}
.store-pill:hover {
  color: rgb(212, 212, 216);
  border-color: rgba(255, 255, 255, 0.15);
}
.store-pill-active {
  background: rgba(255, 0, 237, 0.15) !important;
  border-color: rgba(255, 0, 237, 0.4) !important;
  color: #ff66f5 !important;
}
.store-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 10rem;
}
.store-field-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(113, 113, 122);
}
.store-dropdown-wrap {
  position: relative;
}
.store-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-width: 10rem;
  height: 2.5rem;
  padding: 0 0.75rem 0 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: left;
}
.store-dropdown-trigger:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}
.store-dropdown-trigger:focus-visible {
  border-color: rgba(255, 0, 237, 0.45);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 0, 237, 0.12);
}
.store-dropdown.is-open .store-dropdown-trigger {
  border-color: rgba(255, 0, 237, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
.store-dropdown-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-dropdown-chevron {
  color: rgb(113, 113, 122);
  transition: transform 0.2s ease, color 0.15s;
}
.store-dropdown.is-open .store-dropdown-chevron {
  transform: rotate(180deg);
  color: #ff66f5;
}
.store-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.375rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1117;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 0, 237, 0.06);
  max-height: 16rem;
  overflow-y: auto;
}
.store-dropdown-panel[hidden] {
  display: none !important;
}
.store-dropdown-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: rgb(212, 212, 216);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.store-dropdown-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.store-dropdown-option:focus-visible {
  outline: none;
  background: rgba(255, 0, 237, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 0, 237, 0.35);
}
.store-dropdown-option-active {
  background: rgba(255, 0, 237, 0.12) !important;
  color: #ff66f5 !important;
}
.store-filter-drawer-panel .store-dropdown {
  width: 100%;
}
.store-filter-drawer-panel .store-dropdown-trigger {
  width: 100%;
  min-width: 0;
}
.store-filter-drawer-panel .store-dropdown-panel {
  position: static;
  margin-top: 0.375rem;
  box-shadow: none;
  max-height: none;
}
.store-clear-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ff66f5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.store-clear-btn:hover { text-decoration: underline; }
.store-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.store-card-link:focus-visible {
  outline: 2px solid var(--brand-primary-ring);
  outline-offset: 4px;
  border-radius: 1rem;
}
.store-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  margin-left: 0.25rem;
  border-radius: 9999px;
  background: #ff00ed;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
}
.store-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.store-filter-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.store-filter-drawer-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #0d1117;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.store-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgb(161, 161, 170);
  cursor: pointer;
}
body.store-drawer-open { overflow: hidden; }

/* Currency selector */
.nav-online-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  white-space: nowrap;
  border-color: rgba(74, 222, 128, 0.22);
}

.nav-online-status-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: #4ade80;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.nav-online-status-label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #9ca3af;
  position: relative;
  z-index: 1;
}

.nav-online-status-count {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #4ade80;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}

.nav-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(88, 101, 242, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-discord-btn:hover {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.45);
}

.nav-discord-btn-label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #5865f2;
  position: relative;
  z-index: 1;
}

.nav-discord-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #5865f2;
  position: relative;
  z-index: 1;
}

.nav-discord-btn-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.nav-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-link-icon--active {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  color: #fff;
}

/* Navbar icon buttons */
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.5rem;
  padding: 0;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.nav-icon-btn--square {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
}

.nav-icon-btn--round {
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 9999px;
  padding: 0 0.75rem;
}

.nav-icon-btn--round.nav-icon-btn--icon-only {
  width: 2.25rem;
  padding: 0;
}

.nav-icon-btn--menu {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
}

.nav-icon-btn:focus-visible,
.currency-selector-trigger:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  margin-left: 0.125rem;
  border-radius: 9999px;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  z-index: 1;
}

.currency-selector {
  position: relative;
}
.currency-selector-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  color: #9ca3af;
}
.currency-selector-trigger-flag {
  gap: 0.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 0.75rem;
}
.currency-selector-compact .currency-selector-trigger-flag {
  width: 100%;
  justify-content: space-between;
  padding: 0 0.75rem;
}
.currency-selector-trigger:hover,
.currency-selector.is-open .currency-selector-trigger {
  color: #fff;
}
.currency-selector.is-open .currency-selector-trigger {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.currency-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.currency-trigger-flag {
  transition: transform 0.15s ease;
}
.currency-selector.is-open .currency-trigger-flag {
  transform: scale(1.04);
}
.currency-selector-chevron {
  color: rgb(113, 113, 122);
  transition: transform 0.2s ease, color 0.15s;
}
.currency-selector.is-open .currency-selector-chevron {
  transform: rotate(180deg);
  color: #d4d4d8;
}
.currency-selector-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 130;
  min-width: 16.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.375rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1117;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform-origin: top right;
  animation: currency-panel-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
#currency-selector-mobile .currency-selector-panel {
  position: static;
  min-width: 0;
  width: 100%;
  margin-top: 0.375rem;
  box-shadow: none;
  animation: none;
}
.currency-selector-panel[hidden] {
  display: none !important;
}
@keyframes currency-panel-in {
  from { opacity: 0; transform: scale(0.96) translateY(-4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.currency-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.625rem;
  border: none;
  border-radius: 0.625rem;
  background: transparent;
  color: rgb(212, 212, 216);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.currency-option:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(1px);
}
.currency-option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.currency-option-active {
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.currency-option-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.currency-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}
.currency-option-code {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
}
.currency-option-active .currency-option-code {
  color: #fff;
}
.currency-option-name {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgb(113, 113, 122);
  line-height: 1.2;
}
.currency-option-active .currency-option-name {
  color: rgb(212, 212, 216);
}
.currency-option-default {
  font-size: 0.625rem;
  font-weight: 500;
  color: rgb(82, 82, 91);
  line-height: 1.2;
  margin-top: 0.125rem;
}
.currency-option-active .currency-option-default {
  color: rgb(113, 113, 122);
}
.currency-option-check,
.currency-option-check-placeholder {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.currency-option-check {
  color: #d4d4d8;
}
.currency-price {
  transition: opacity 0.15s ease;
}

.currency-change-toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: min(32rem, calc(100vw - 2rem));
  max-width: 35rem;
  padding: 0;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 17, 23, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
  overflow: hidden;
  animation: currency-toast-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}
.currency-change-toast-out {
  animation: currency-toast-out 0.2s ease forwards;
}
.currency-change-toast-content {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 0.75rem 0.875rem 1rem;
}
.currency-change-toast-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.currency-change-toast-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.currency-change-toast-message {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgb(161, 161, 170);
}
.currency-change-toast-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0.375rem 0.375rem 0 0;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: rgb(113, 113, 122);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.currency-change-toast-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
@keyframes currency-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes currency-toast-out {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

@media (min-width: 1024px) {
  .store-advanced-row { display: flex !important; }
}

/* Browse Cheats CTA — interactive hint animation */
.hero-provider-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.22);
}

.hero-provider-icon-svg {
  position: relative;
  z-index: 1;
  width: 0.875rem;
  height: 0.875rem;
}

.hero-provider-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 32%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  animation: hero-provider-gloss 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-provider-gloss {
  0%, 72%, 100% {
    transform: translateX(-130%);
  }
  36% {
    transform: translateX(130%);
  }
}

.browse-cheats-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.browse-cheats-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  color: #fff;
  background:
    var(--btn-primary-gloss-overlay),
    var(--btn-primary-gradient);
  box-shadow: var(--btn-shadow-base);
  animation: browse-cta-glow 2.6s ease-in-out infinite;
}

.browse-cheats-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: browse-cta-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}
.browse-cheats-cta::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 0, 237, 0.5);
  opacity: 0;
  animation: browse-cta-ring 2.6s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

.browse-cheats-cta:hover,
.browse-cheats-cta:focus-visible {
  opacity: 0.9;
  box-shadow: var(--btn-shadow-hover);
  animation: none;
}

.browse-cheats-cta:hover::before,
.browse-cheats-cta:focus-visible::before,
.browse-cheats-cta:hover::after,
.browse-cheats-cta:focus-visible::after {
  animation: none;
  opacity: 0;
}
.browse-cheats-cta-arrow {
  animation: browse-cta-arrow 2.6s ease-in-out infinite;
}
.browse-cheats-cta-icon {
  animation: browse-cta-cart 2.6s ease-in-out infinite;
}
.browse-cheats-cta:hover .browse-cheats-cta-arrow,
.browse-cheats-cta:focus-visible .browse-cheats-cta-arrow,
.browse-cheats-cta:hover .browse-cheats-cta-icon,
.browse-cheats-cta:focus-visible .browse-cheats-cta-icon {
  animation: none;
  transform: none;
}
.browse-cheats-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding-left: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(161, 161, 170);
  animation: browse-cta-hint 2.6s ease-in-out infinite;
}
.browse-cheats-hint-pulse {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 8px var(--brand-primary-glow);
  animation: browse-cta-hint-dot 2.6s ease-in-out infinite;
}
@keyframes browse-cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 237, 0.2); }
  50% { box-shadow: 0 0 22px 2px rgba(255, 0, 237, 0.35); }
}
@keyframes browse-cta-shine {
  0%, 72%, 100% { transform: translateX(-130%); }
  28% { transform: translateX(130%); }
}
@keyframes browse-cta-ring {
  0% { transform: scale(1); opacity: 0.55; }
  75%, 100% { transform: scale(1.06); opacity: 0; }
}
@keyframes browse-cta-arrow {
  0%, 100% { transform: translateX(0); }
  42% { transform: translateX(5px); }
  54% { transform: translateX(5px); }
}
@keyframes browse-cta-cart {
  0%, 100% { transform: scale(1); }
  42% { transform: scale(1.08); }
  54% { transform: scale(1.08); }
}
@keyframes browse-cta-hint {
  0%, 100% { opacity: 0.65; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); }
}
@keyframes browse-cta-hint-dot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Support chat widget */
.support-chat-root {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  pointer-events: none;
}

@media (max-width: 767px) {
  .support-chat-root {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

body:has(#currency-change-toast) .support-chat-root {
  bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

.support-chat-trigger-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: auto;
}

.support-chat-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border-radius: 1.125rem;
  color: #ff00ed;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.support-chat-trigger:hover,
.support-chat-trigger:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 237, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 20px rgba(255, 0, 237, 0.12);
}

.support-chat-trigger:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 3px;
}

.support-chat-trigger.is-open {
  border-color: rgba(255, 0, 237, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 16px rgba(255, 0, 237, 0.1);
}

.support-chat-trigger-icon-stack {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
}

.support-chat-trigger-icon-wrap {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff00ed;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.support-chat-trigger-icon-wrap--close {
  opacity: 0;
  transform: scale(0.88);
}

.support-chat-trigger.is-open .support-chat-trigger-icon-wrap--chat {
  opacity: 0;
  transform: scale(0.88);
}

.support-chat-trigger.is-open .support-chat-trigger-icon-wrap--close {
  opacity: 1;
  transform: scale(1);
}

.support-chat-trigger-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.support-chat-trigger-icon,
.support-chat-svg {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  opacity: 1;
  visibility: visible;
  flex-shrink: 0;
}

.support-chat-trigger-wrap.is-hint-active .support-chat-trigger {
  animation: support-chat-hint-pulse 2.4s ease-in-out 1;
}

.support-chat-root:has(.support-chat-panel.is-open) .support-chat-hint,
.support-chat-root:has(.support-chat-panel.is-opening) .support-chat-hint,
.support-chat-root:has(.support-chat-panel.is-closing) .support-chat-hint {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
}

.support-chat-hint {
  position: absolute;
  right: calc(100% + 0.75rem);
  bottom: 0.55rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  background: #11131a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.support-chat-hint::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 0.75rem;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #11131a;
  transform: rotate(45deg);
}

.support-chat-hint.is-visible {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.support-chat-hint-text {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e4e4e7;
  white-space: nowrap;
}

.support-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: 380px;
  height: 560px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transform-origin: bottom right;
  pointer-events: none;
}

.support-chat-panel.is-open,
.support-chat-panel.is-opening,
.support-chat-panel.is-closing {
  visibility: visible;
}

.support-chat-panel.is-opening {
  pointer-events: auto;
}

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

.support-chat-panel.is-closing {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
}

.support-chat-panel.is-opening.is-open {
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out;
}

.support-chat-panel.is-closing {
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out;
}

.support-chat-panel-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(9, 12, 21, 0.98);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
}

.support-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.support-chat-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.15rem;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.support-chat-back:hover {
  color: #fff;
  border-color: rgba(255, 0, 237, 0.25);
  background: rgba(255, 0, 237, 0.08);
}

.support-chat-back-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.support-chat-header-copy {
  flex: 1;
  min-width: 0;
}

.support-chat-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.support-chat-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #a1a1aa;
}

.support-chat-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.support-chat-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
  cursor: pointer;
}

.support-chat-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.support-chat-close:focus-visible,
.support-chat-action:focus-visible,
.support-chat-back:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}

.support-chat-close-icon {
  width: 1rem;
  height: 1rem;
}

.support-chat-content {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding: 1.25rem 1.125rem 1.25rem 1.25rem;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

.support-chat-content::-webkit-scrollbar {
  width: 8px;
}

.support-chat-content::-webkit-scrollbar-track {
  background: transparent;
}

.support-chat-content::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  background-clip: padding-box;
}

.support-chat-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
  background-clip: padding-box;
}

.support-chat-view {
  min-height: 100%;
}

.support-chat-view.is-entering {
  animation: support-chat-view-in 0.22s ease;
}

.support-chat-view--chat {
  display: flex;
  flex-direction: column;
}

.support-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-right: 0.125rem;
}

.support-chat-msg {
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
}

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

.support-chat-msg--user .support-chat-msg-bubble {
  background: rgba(255, 0, 237, 0.16);
  border: 1px solid rgba(255, 0, 237, 0.28);
  color: #fff;
  border-radius: 0.85rem 0.85rem 0.2rem 0.85rem;
}

.support-chat-msg--bot {
  align-items: flex-start;
}

.support-chat-msg-bubble {
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem 0.85rem 0.85rem 0.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  font-size: 0.8125rem;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-line;
}

.support-chat-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  max-width: calc(100% - 2rem);
}

.support-chat-msg--user .support-chat-msg-bubble {
  max-width: min(100%, 16.5rem);
}

.support-chat-msg-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: rgba(255, 0, 237, 0.12);
  border: 1px solid rgba(255, 0, 237, 0.2);
  color: #ff66f5;
}

.support-chat-msg-avatar-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.support-chat-msg.is-entering {
  animation: support-chat-msg-in 0.22s ease;
}

.support-chat-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(255, 0, 237, 0.12);
  border: 1px solid rgba(255, 0, 237, 0.28);
  color: #ff66f5;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.support-chat-discord-btn:hover {
  color: #fff;
  background: rgba(255, 0, 237, 0.2);
  border-color: rgba(255, 0, 237, 0.4);
}

.support-chat-discord-icon {
  width: 0.85rem;
  height: 0.85rem;
}

.support-chat-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.support-chat-followup {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.support-chat-followup:hover,
button.support-chat-followup:hover:not(:disabled) {
  color: #fff;
  border-color: rgba(255, 0, 237, 0.4);
  background: rgba(255, 0, 237, 0.12);
}

button.support-chat-followup:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.support-chat-followup-icon {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

.support-chat-typing {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.support-chat-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-chat-typing-bubble span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: #ff66f5;
  opacity: 0.45;
  animation: support-chat-typing-dot 1s ease-in-out infinite;
}

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

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

.support-chat-rate-notice {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 0, 237, 0.08);
  border: 1px solid rgba(255, 0, 237, 0.18);
  color: #ff66f5;
  font-size: 0.75rem;
  font-weight: 600;
}

.support-chat-welcome {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.support-chat-note,
.support-chat-input-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #71717a;
}

.support-chat-note {
  margin-bottom: 0.85rem;
}

.support-chat-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-chat-action {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 0.75rem;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.support-chat-action:hover:not(:disabled) {
  border-color: rgba(255, 0, 237, 0.28);
}

.support-chat-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.support-chat-action-icon {
  width: 1rem;
  height: 1rem;
  color: #ff00ed;
  flex-shrink: 0;
}

.support-chat-action-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.support-chat-action-label {
  font-size: 0.8125rem;
  font-weight: 600;
}

.support-chat-action-desc {
  font-size: 0.6875rem;
  color: #71717a;
}

.support-chat-footer {
  padding: 0.65rem 1rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 767px) {
  .support-chat-panel {
    width: calc(100vw - 24px);
    height: min(620px, calc(100dvh - 120px));
  }

  .support-chat-hint {
    right: 0;
    bottom: calc(100% + 0.75rem);
    max-width: calc(100vw - 24px);
    transform: translateY(6px);
  }

  .support-chat-hint.is-visible {
    transform: translateY(0);
  }

  .support-chat-hint::after {
    right: 1.15rem;
    bottom: -4px;
    transform: rotate(135deg);
  }

  .support-chat-hint-text {
    white-space: normal;
  }
}

@keyframes support-chat-view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes support-chat-typing-dot {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes support-chat-hint-pulse {
  0%, 100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.04);
  }
}

/* Support page cards */
.support-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #090c15;
  box-shadow: none;
  transition: border-color 0.22s ease;
}

.support-card:hover {
  border: 1px solid #ff00ed;
  box-shadow: none;
}

/* Earn Money page */
.earn-money-page {
  background: #05080f;
}

.earn-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  align-items: stretch;
}

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

.earn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  background: rgba(9, 12, 21, 0.72);
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.18s ease;
}

.earn-card:hover {
  border-color: rgba(255, 0, 237, 0.28);
  box-shadow: none;
}

.earn-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem;
}

@media (min-width: 640px) {
  .earn-card-body {
    padding: 1.15rem 1.25rem;
  }
}

.earn-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.earn-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: rgba(255, 0, 237, 0.08);
  border: 1px solid rgba(255, 0, 237, 0.14);
  flex-shrink: 0;
}

.earn-card-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #a1a1aa;
  line-height: 1.3;
  box-shadow: none;
}

.earn-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.earn-card-lead {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e4e4e7;
  line-height: 1.4;
}

.earn-card-copy {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #71717a;
}

.earn-card-copy--tight {
  margin-bottom: 0;
}

.earn-section-block {
  margin-bottom: 0.75rem;
}

.earn-section-block--last {
  margin-bottom: 0;
}

.earn-section-title {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #71717a;
}

.earn-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.earn-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #a1a1aa;
}

.earn-payout-block {
  margin-bottom: 0.65rem;
}

.earn-payout-title {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #71717a;
}

.earn-payout-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  overflow: hidden;
  background: transparent;
}

.earn-payout-table {
  width: 100%;
  border-collapse: collapse;
}

.earn-payout-row + .earn-payout-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.earn-payout-method,
.earn-payout-value {
  padding: 0.45rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: left;
}

.earn-payout-method {
  width: 42%;
  font-weight: 600;
  color: #d4d4d8;
  background: transparent;
}

.earn-payout-table--combined thead th {
  padding: 0.35rem 0.6rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #52525b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.earn-payout-table--combined .earn-payout-method {
  width: auto;
}

.earn-payout-value {
  color: #a1a1aa;
}

@media (max-width: 639px) {
  .earn-payout-table,
  .earn-payout-table tbody,
  .earn-payout-row,
  .earn-payout-method,
  .earn-payout-value {
    display: block;
    width: 100%;
  }

  .earn-payout-row + .earn-payout-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .earn-payout-method {
    padding-bottom: 0.25rem;
    border-bottom: none;
  }

  .earn-payout-value {
    padding-top: 0;
    padding-bottom: 0.75rem;
  }
}

.earn-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  counter-reset: earn-step;
}

.earn-step {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.earn-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  background: rgba(255, 0, 237, 0.08);
  border: 1px solid rgba(255, 0, 237, 0.16);
  color: #ff66f5;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.earn-step-text {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #a1a1aa;
  padding-top: 0;
}

.earn-note {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 0, 237, 0.16);
  background: rgba(255, 0, 237, 0.06);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #d4d4d8;
}

.earn-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.earn-card-actions--split {
  margin-top: auto;
}

.earn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 2.125rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.earn-btn:focus-visible {
  outline: 2px solid #ff00ed;
  outline-offset: 2px;
}

.earn-btn--primary {
  border-color: transparent;
}

.earn-btn--secondary {
  border-color: rgba(255, 255, 255, 0.1);
}

.earn-btn--secondary:hover {
  border-color: rgba(255, 0, 237, 0.25);
}

.earn-btn--ghost {
  border-color: rgba(255, 255, 255, 0.08);
}

.earn-btn--compact {
  width: auto;
  min-height: 2.5rem;
  padding-inline: 1rem;
}

.earn-trust {
  padding: 2rem 0 0;
}

.earn-trust-inner {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.5rem;
}

.earn-trust-title {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.earn-trust-copy {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #71717a;
  max-width: 48rem;
}

.earn-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.earn-redirect-dialog[hidden] {
  display: none !important;
}

.earn-redirect-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.earn-redirect-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.earn-redirect-panel {
  position: relative;
  width: min(100%, 26rem);
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #0d1117;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.earn-redirect-title {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.earn-redirect-body {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.earn-redirect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.earn-redirect-actions .earn-btn {
  width: auto;
  min-width: 7.5rem;
}

body.earn-dialog-open {
  overflow: hidden;
}

@media (max-width: 639px) {
  .earn-trust-actions,
  .earn-redirect-actions {
    flex-direction: column;
  }

  .earn-trust-actions .earn-btn,
  .earn-redirect-actions .earn-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-trigger-wrap.is-hint-active .support-chat-trigger,
  .support-chat-view.is-entering,
  .support-chat-msg.is-entering,
  .support-chat-typing-bubble span {
    animation: none;
  }

  .support-chat-panel.is-opening,
  .support-chat-panel.is-closing {
    transition: none;
  }

  .support-chat-panel.is-open {
    opacity: 1;
    transform: none;
  }

  .support-chat-panel.is-closing {
    opacity: 0;
    transform: none;
  }

  .support-chat-trigger-icon-wrap,
  .support-chat-hint,
  .support-chat-content {
    transition: none;
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Terms of Service page */
html {
  scroll-behavior: smooth;
}

.terms-page {
  background: #05080f;
}

.terms-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terms-hero-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
}

@media (min-width: 640px) {
  .terms-hero-inner {
    padding: 3.5rem 1.5rem 2.25rem;
  }
}

.terms-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background: rgba(255, 0, 237, 0.1);
  border: 1px solid rgba(255, 0, 237, 0.2);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff00ed;
}

.terms-title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.terms-dates {
  display: grid;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.terms-date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.terms-date-row dt {
  margin: 0;
  font-weight: 700;
  color: #a1a1aa;
}

.terms-date-row dd {
  margin: 0;
  color: #d4d4d8;
}

.terms-intro {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid rgba(255, 0, 237, 0.55);
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #d4d4d8;
}

.terms-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

@media (min-width: 640px) {
  .terms-layout {
    padding: 1.75rem 1.5rem 0;
  }
}

@media (min-width: 1024px) {
  .terms-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.terms-toc {
  position: relative;
}

.terms-toc-desktop {
  display: none;
}

.terms-toc-tablet {
  display: none;
}

.terms-toc-mobile {
  display: block;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .terms-toc-tablet {
    display: block;
  }

  .terms-toc-mobile {
    display: none;
  }
}

@media (min-width: 1024px) {
  .terms-toc-desktop {
    display: block;
    position: sticky;
    top: 6.5rem;
    max-height: calc(100vh - 7.5rem);
    overflow: auto;
    padding-bottom: 1rem;
  }

  .terms-toc-tablet,
  .terms-toc-mobile {
    display: none;
  }
}

.terms-toc-label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71717a;
}

.terms-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.terms-toc-link {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #a1a1aa;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.terms-toc-link:hover,
.terms-toc-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.terms-toc-link.is-active {
  color: #fff;
  background: rgba(255, 0, 237, 0.08);
  border-left-color: #ff00ed;
}

.terms-toc-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.terms-toc-chip {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.75rem;
  font-weight: 700;
  color: #a1a1aa;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.terms-toc-chip:hover,
.terms-toc-chip:focus-visible {
  color: #fff;
  border-color: rgba(255, 0, 237, 0.25);
  outline: none;
}

.terms-toc-chip.is-active {
  color: #fff;
  border-color: rgba(255, 0, 237, 0.45);
  background: rgba(255, 0, 237, 0.1);
}

.terms-toc-select-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a1a1aa;
}

.terms-toc-select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #090c15;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.terms-toc-select:focus-visible {
  outline: 2px solid rgba(255, 0, 237, 0.45);
  outline-offset: 2px;
}

.terms-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.terms-section-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: #090c15;
  overflow: hidden;
  scroll-margin-top: 6.5rem;
  box-shadow: none;
  transition: border-color 0.22s ease;
}

.terms-section-card:hover {
  border: 1px solid #ff00ed;
  box-shadow: none;
}

.terms-section-body {
  padding: 1.35rem;
}

@media (min-width: 640px) {
  .terms-section-body {
    padding: 1.65rem;
  }
}

.terms-section-head {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.terms-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 0, 237, 0.1);
  border: 1px solid rgba(255, 0, 237, 0.2);
  flex-shrink: 0;
}

.terms-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.terms-section-summary {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #d4d4d8;
}

.terms-section-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.terms-paragraph {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #a1a1aa;
}

.terms-subheading {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d4d4d8;
}

.terms-block + .terms-block {
  margin-top: 0.15rem;
}

.terms-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.terms-list-item {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.terms-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.terms-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #d4d4d8;
}

.terms-check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 9999px;
  background: rgba(255, 0, 237, 0.12);
  color: #ff00ed;
  flex-shrink: 0;
}

.terms-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.terms-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 0, 237, 0.25);
  background: rgba(255, 0, 237, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ff66f5;
}

.terms-callout {
  display: flex;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 1rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
}

.terms-callout--warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.22);
}

.terms-callout--warning .terms-callout-icon {
  color: #fbbf24;
}

.terms-callout--warning .terms-callout-title {
  color: #fde68a;
}

.terms-callout--danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
}

.terms-callout--danger .terms-callout-icon {
  color: #f87171;
}

.terms-callout--danger .terms-callout-title {
  color: #fecaca;
}

.terms-callout--info {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.22);
}

.terms-callout--info .terms-callout-icon {
  color: #60a5fa;
}

.terms-callout--info .terms-callout-title {
  color: #bfdbfe;
}

.terms-callout-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.terms-callout-title {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.35;
}

.terms-callout-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #d4d4d8;
}

.terms-inline-card {
  padding: 1rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.terms-inline-card--exception {
  border-color: rgba(255, 0, 237, 0.18);
  background: rgba(255, 0, 237, 0.05);
}

.terms-inline-card--notice {
  border-color: rgba(255, 255, 255, 0.1);
}

.terms-inline-card-title {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}

.terms-inline-card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #a1a1aa;
}

.terms-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.terms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.terms-btn:focus-visible {
  outline: 2px solid rgba(255, 0, 237, 0.45);
  outline-offset: 2px;
}

.terms-btn--primary {
  border-color: transparent;
}

.terms-btn--secondary {
  border-color: rgba(255, 255, 255, 0.1);
}

.terms-btn--secondary:hover {
  border-color: rgba(255, 0, 237, 0.25);
}

.terms-back-top-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1.5rem;
}

.terms-back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d8;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.terms-back-top:hover,
.terms-back-top:focus-visible {
  color: #fff;
  border-color: rgba(255, 0, 237, 0.3);
  background: rgba(255, 0, 237, 0.08);
  outline: none;
}

@media (max-width: 639px) {
  .terms-contact-actions {
    flex-direction: column;
  }

  .terms-contact-actions .terms-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terms-section-card,
  .terms-btn,
  .terms-toc-link,
  .terms-toc-chip,
  .terms-back-top {
    transition: none;
  }
}

/* First-visit scratch promo */
body.promo-dialog-open {
  overflow: hidden;
}

body.scratch-card-active {
  touch-action: none;
}

.first-visit-promo {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.first-visit-promo[hidden] {
  display: none !important;
}

.first-visit-promo:not(.is-open):not(.is-closing) {
  visibility: hidden;
  pointer-events: none;
}

.first-visit-promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.first-visit-promo.is-open .first-visit-promo-backdrop,
.first-visit-promo.is-closing .first-visit-promo-backdrop {
  opacity: 1;
}

.first-visit-promo-panel {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(92dvh, calc(100dvh - 5rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: #0d1117;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.first-visit-promo.is-open .first-visit-promo-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.first-visit-promo.is-closing .first-visit-promo-panel {
  opacity: 0;
  transform: translateY(6px) scale(0.97);
}

.first-visit-promo-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff00ed;
  z-index: 2;
}

.first-visit-promo-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16rem;
  height: 7rem;
  transform: translateX(-50%);
  background: rgba(255, 0, 237, 0.1);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.first-visit-promo-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.first-visit-promo-eyebrow {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff00ed;
  line-height: 1.2;
}

.first-visit-promo-heading {
  margin: 0.15rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.first-visit-promo-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #52525b;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.first-visit-promo-close:hover,
.first-visit-promo-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.first-visit-promo-body {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
}

.first-visit-promo-phase {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.first-visit-promo-phase.is-active {
  opacity: 1;
  transform: translateY(0);
}

.first-visit-promo-phase.is-exiting {
  opacity: 0;
  transform: translateY(-8px);
}

.first-visit-promo-phase[hidden] {
  display: none !important;
}

.first-visit-promo-description {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #71717a;
  text-align: center;
}

.scratch-card {
  position: relative;
  width: 100%;
  height: 12.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 237, 0.25);
  background: linear-gradient(135deg, #1a0a1a 0%, #280d26 100%);
  user-select: none;
}

.scratch-card-prize {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, #1a0a1a 0%, #280d26 100%);
}

.scratch-card-prize-label {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 0, 237, 0.5);
}

.scratch-card-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
  transition: opacity 0.25s ease;
}

.scratch-card-reveal-fallback {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 0.75rem;
  color: #a1a1aa;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.scratch-card-reveal-fallback:hover,
.scratch-card-reveal-fallback:focus-visible {
  color: #fff;
  border-color: rgba(255, 0, 237, 0.35);
  outline: none;
}

.scratch-card--reduced-motion .scratch-card-reveal-fallback {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  white-space: normal;
}

.scratch-card.is-revealed .scratch-card-canvas {
  opacity: 0;
  pointer-events: none;
}

.coupon-reveal {
  text-align: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.coupon-reveal.is-visible {
  opacity: 1;
  transform: scale(1);
}

.coupon-reveal[hidden] {
  display: none !important;
}

.coupon-reveal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 0, 237, 0.1);
  color: #ff00ed;
}

.coupon-reveal-lead {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #71717a;
}

.coupon-reveal-label {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff00ed;
}

.coupon-reveal-code {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #fff;
}

.coupon-reveal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.promo-btn:focus-visible {
  outline: 2px solid rgba(255, 0, 237, 0.45);
  outline-offset: 2px;
}

.promo-btn--primary {
  border-color: transparent;
}

.promo-btn--secondary {
  color: #a1a1aa;
}

.promo-btn--secondary:hover,
.promo-btn--secondary.is-copied {
  border-color: rgba(255, 0, 237, 0.35);
  background: rgba(255, 0, 237, 0.1);
  color: #fff;
}

/* ── Cart drawer ── */
body.cart-open {
  overflow: hidden;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.cart-overlay.is-visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 30rem;
  height: auto;
  max-height: none;
  overflow: hidden;
  background: #05080f;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 15, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.cart-drawer-header-main {
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.cart-drawer-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 0, 237, 0.1);
  border: 1px solid rgba(255, 0, 237, 0.22);
  color: #ff00ed;
  flex-shrink: 0;
}

.cart-drawer-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

.cart-drawer-meta {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.45;
}

.cart-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cart-drawer-close:hover,
.cart-drawer-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.cart-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem;
}

.cart-drawer-body--empty {
  display: flex;
  flex-direction: column;
}

#cart-drawer-footer-slot {
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #05080f;
}

.cart-drawer-footer {
  padding: 1rem 1.5rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  border-top: none;
  background: #05080f;
}

.cart-page-footer {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
}

.cart-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
}

.cart-panel-items {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.85rem 0.85rem 0 0;
}

.cart-panel-items .cart-item {
  border: none;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-panel-items .cart-item:last-child {
  border-bottom: none;
}

.cart-panel-bottom {
  padding: 0.75rem 0.85rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
  overflow: visible;
  position: relative;
  z-index: 2;
}

.cart-panel .cart-gift-bar {
  margin: 0;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 0, 237, 0.04);
}

.cart-drawer-footer-slot {
  display: none;
}

.cart-section-title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d1d5db;
}

.cart-recommendations {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-recommendations-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cart-recommendations-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff00ed;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.2s ease;
}

.cart-item:hover {
  border-color: rgba(255, 0, 237, 0.3);
}

.cart-item-main {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.cart-item-image {
  display: block;
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease;
}

.cart-item:hover .cart-item-image {
  border-color: rgba(255, 0, 237, 0.3);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-image img.is-fallback {
  opacity: 0.35;
}

.cart-item--removing {
  opacity: 0;
  transform: scale(0.97);
}

.cart-item-body {
  flex: 1;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.cart-item-name {
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.cart-item-name:hover {
  color: #ff66f5;
}

.cart-item-variant {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.cart-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cart-item-badge,
.cart-item-stock {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-item-badge {
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-stock--in {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.cart-item-stock--warn {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.cart-item-stock--out {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.cart-item-price-col {
  text-align: right;
  flex-shrink: 0;
}

.cart-item-price {
  display: block;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ff00ed;
}

.cart-item-unit-price {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  color: #71717a;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #0a0a14;
}

.cart-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, opacity 0.18s ease;
}

.cart-qty-btn:hover:not(:disabled),
.cart-qty-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.cart-qty-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.cart-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cart-qty-value {
  min-width: 2rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  transition: transform 0.18s ease;
}

.cart-qty-value--bump {
  transform: scale(1.15);
  color: #ff00ed;
}

.cart-item-remove,
.cart-item-save,
.cart-item-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 0.5rem;
  transition: color 0.18s ease, background 0.18s ease;
}

.cart-item-remove:hover,
.cart-item-save:hover,
.cart-item-expand:hover,
.cart-item-expand.is-open {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.cart-item-expand svg {
  transition: transform 0.2s ease;
}

.cart-item-expand.is-open svg {
  transform: rotate(180deg);
}

.cart-item-details {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  animation: cart-details-in 0.22s ease;
}

.cart-item-details-text {
  margin: 0.65rem 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.cart-item-details-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.6875rem;
  color: #71717a;
  line-height: 1.6;
}

.cart-item-details-list strong {
  color: #a1a1aa;
  font-weight: 600;
}

@keyframes cart-details-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  text-align: center;
  padding: 3rem 0;
}

.cart-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, rgba(255, 0, 237, 0.1), transparent);
  color: rgba(255, 0, 237, 0.5);
  animation: cart-empty-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cart-empty-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

@keyframes cart-empty-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.cart-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
}

.cart-empty-text {
  margin: 0 0 2rem;
  max-width: 12.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #9ca3af;
}

.cart-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.cart-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cart-btn--primary {
  border: 0;
}

.cart-empty-popular-label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}

.cart-empty-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.cart-empty-popular-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: #d4d4d8;
  font-size: 0.625rem;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.cart-empty-popular-card:hover {
  border-color: rgba(255, 0, 237, 0.28);
}

.cart-empty-popular-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.45rem;
}

@keyframes cart-empty-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-gift-bar {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 0, 237, 0.18);
  background: rgba(255, 0, 237, 0.06);
}

.cart-gift-bar-copy {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e4e4e7;
}

.cart-gift-bar-track {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cart-gift-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff00ed, #ff66f5);
  transition: width 0.35s ease;
}

.cart-recommendations-list,
.cart-recently-viewed-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-recommendation-card {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.cart-recommendation-media,
.cart-recently-viewed-media {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #090c15;
}

.cart-recommendation-media img,
.cart-recently-viewed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-recommendation-name,
.cart-recently-viewed-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-recommendation-subtitle,
.cart-recently-viewed-subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.6875rem;
  color: #71717a;
}

.cart-recommendation-price,
.cart-recently-viewed-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.cart-recommendation-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 0, 237, 0.25);
  border-radius: 0.55rem;
  background: rgba(255, 0, 237, 0.08);
  color: #ff00ed;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cart-recommendation-add:hover {
  background: rgba(255, 0, 237, 0.16);
}

.cart-recommendation-add--success {
  transform: scale(1.08);
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.cart-recently-viewed-card {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.cart-recently-viewed-card:hover {
  border-color: rgba(255, 0, 237, 0.22);
}

.cart-summary {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.cart-summary--discount-active .cart-total-row:first-child .cart-total-value {
  animation: cart-price-flash 0.45s ease;
}

@keyframes cart-price-flash {
  0%,
  100% {
    color: #fff;
  }
  50% {
    color: #4ade80;
  }
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.cart-total-label {
  font-size: 0.8125rem;
  color: #a1a1aa;
}

.cart-total-value {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.cart-total-value--discount {
  color: #4ade80;
}

.cart-total-value--grand {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ff00ed;
}

.cart-total-value--note {
  max-width: 9.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: normal;
  color: #6b7280;
  text-align: right;
  line-height: 1.35;
}

.cart-total-row--grand {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-total-note {
  font-size: 0.6875rem;
  color: #52525b;
  font-style: italic;
}

.cart-footer-note {
  margin: 0.35rem 0 0;
  font-size: 0.625rem;
  line-height: 1.45;
  color: #52525b;
}

.cart-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0.45rem 0 0;
  position: relative;
  z-index: 3;
}

.cart-trust-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-width: 0;
  min-height: 1.4rem;
  padding: 0.18rem 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d8;
  font-size: 0.5625rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: help;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cart-trust-pill:hover,
.cart-trust-pill:focus-visible {
  border-color: rgba(255, 0, 237, 0.28);
  background: rgba(255, 0, 237, 0.08);
  color: #fff;
  outline: none;
}

.cart-trust-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(255, 0, 237, 0.12);
  color: #ff00ed;
  flex-shrink: 0;
}

.cart-trust-pill-label {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

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

.cart-trust-tooltip--portal,
.cart-trust-tooltip {
  position: fixed;
  z-index: 200;
  width: max-content;
  max-width: min(14rem, calc(100vw - 2rem));
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151a22;
  color: #d4d4d8;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.cart-trust-tooltip--portal[hidden] {
  display: none;
}

.cart-trust-pill.is-tip-open {
  border-color: rgba(255, 0, 237, 0.28);
  background: rgba(255, 0, 237, 0.08);
  color: #fff;
}

.cart-checkout-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cart-checkout-row .cart-checkout {
  grid-column: span 3 / span 3;
  margin-top: 0;
  height: 3rem;
  min-height: 3rem;
}

.cart-checkout--grow {
  flex: 1;
  min-width: 0;
}

.cart-clear-icon-btn {
  grid-column: span 1 / span 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cart-clear-icon-btn:hover,
.cart-clear-icon-btn:focus-visible {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  outline: none;
}

.cart-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 3rem;
  margin-top: 0;
  border: 0;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 0, 237, 0.2);
}

.cart-checkout--loading {
  opacity: 0.85;
  cursor: wait;
}

.cart-checkout-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: cart-spin 0.7s linear infinite;
}

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

.cart-clear-btn {
  width: 100%;
  height: 2.5rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.65rem;
  background: transparent;
  color: #71717a;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cart-clear-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.cart-count--pulse {
  animation: cart-count-pulse 0.42s ease;
}

@keyframes cart-count-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: var(--btn-shadow-base);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 14px var(--brand-primary-glow), var(--btn-shadow-base);
  }
}

#toast-root,
.toast-root {
  position: fixed;
  left: calc(1.25rem + env(safe-area-inset-left, 0));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: min(20rem, calc(100vw - 2.5rem));
  pointer-events: none;
}

.imperium-toast {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  transform: translateY(10px);
  opacity: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

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

.imperium-toast--error {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.imperium-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #a1a1aa;
}

.imperium-toast-text {
  min-width: 0;
}

.imperium-file-protocol-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  background: #0d1117;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.imperium-file-protocol-banner strong {
  color: #fff;
}

.imperium-file-protocol-banner a {
  color: var(--brand-primary, #ff00ed);
  text-decoration: underline;
}

.imperium-file-protocol-banner code {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
}

.coupon-input--inline {
  position: relative;
  margin: 0.75rem 0;
}

.coupon-input--inline .coupon-input-inline-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}

.coupon-input-field--inline {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem 0 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.875rem;
}

.coupon-input-field--inline::placeholder {
  color: #4b5563;
}

.coupon-input-field--inline:focus,
.coupon-input-field--inline:focus-visible {
  outline: none;
  border-color: rgba(255, 0, 237, 0.5);
  box-shadow: none;
}

.coupon-input--inline .coupon-input-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.coupon-input {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.coupon-input-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0;
  border: none;
  background: transparent;
  color: #a1a1aa;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.coupon-input-toggle:hover,
.coupon-input-toggle.is-open {
  color: #fff;
}

.coupon-input-toggle-icon {
  transition: transform 0.2s ease;
}

.coupon-input-toggle.is-open .coupon-input-toggle-icon {
  transform: rotate(180deg);
}

.coupon-input-panel {
  overflow: hidden;
  animation: cart-details-in 0.22s ease;
}

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

.coupon-input-suggested {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px dashed rgba(255, 0, 237, 0.28);
  background: rgba(255, 0, 237, 0.06);
}

.coupon-input-suggested-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff00ed;
}

.coupon-input-suggested-code {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
}

.coupon-input-suggested-apply {
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.coupon-input--success .coupon-input-applied {
  border-color: rgba(34, 197, 94, 0.35);
}

.coupon-input-success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
}

.coupon-input-applied-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coupon-input--just-applied {
  animation: coupon-applied-pop 0.45s ease;
}

@keyframes coupon-applied-pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.coupon-input-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a1a1aa;
}

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

.coupon-input-field {
  flex: 1;
  min-width: 0;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.8125rem;
}

.coupon-input-field:focus-visible {
  outline: 2px solid rgba(255, 0, 237, 0.4);
  outline-offset: 1px;
  border-color: rgba(255, 0, 237, 0.35);
}

.coupon-input-apply,
.coupon-input-remove {
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.coupon-input-remove {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.coupon-input-remove:hover {
  border-color: rgba(255, 0, 237, 0.3);
  background: rgba(255, 0, 237, 0.1);
}

.coupon-input-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
}

.coupon-input-code {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
}

.coupon-input-error {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: #f87171;
}

/* Product purchase CTAs */
.product-purchase-row {
  width: 100%;
}

.product-cta-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.product-add-cart:not(.product-purchase-btn),
.product-buy-now:not(.product-purchase-btn) {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.75rem;
  padding-inline: 0.75rem;
}

.product-cta-label {
  display: block;
  min-width: 0;
  line-height: 1.25;
  overflow: visible;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .product-cta-row {
    flex-direction: column;
  }

  .product-add-cart,
  .product-buy-now {
    width: 100%;
    flex: none;
  }
}

/* My Keys redirect modal */
html.my-keys-open,
body.my-keys-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.my-keys-overlay {
  position: fixed;
  inset: 0;
  z-index: 185;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.my-keys-overlay.is-visible {
  opacity: 1;
}

.my-keys-overlay[hidden] {
  display: none;
}

.my-keys-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.my-keys-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  max-width: calc(100vw - 2rem);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.my-keys-overlay.is-visible .my-keys-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.my-keys-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12161b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.my-keys-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1rem 0.5rem;
}

.my-keys-header-copy {
  min-width: 0;
  flex: 1;
}

.my-keys-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  color: #71717a;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.my-keys-close:hover,
.my-keys-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.my-keys-eyebrow {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.my-keys-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.my-keys-body {
  padding: 0.35rem 1rem 1rem;
  text-align: center;
}

.my-keys-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.my-keys-text {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #d4d4d8;
}

.my-keys-text-muted {
  margin-bottom: 0;
  color: #a1a1aa;
}

.my-keys-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.my-keys-cancel,
.my-keys-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.7rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, transform 0.15s ease;
}

.my-keys-cancel {
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.my-keys-cancel:hover {
  color: #fff;
}

.my-keys-continue {
  border: 0;
}

@media (max-width: 639px) {
  .my-keys-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .my-keys-panel {
    width: 100%;
    max-width: 100%;
    transform: translateY(16px) scale(1);
  }

  .my-keys-overlay.is-visible .my-keys-panel {
    transform: translateY(0) scale(1);
  }

  .my-keys-modal {
    border-radius: 1rem 1rem 0 0;
  }

  .my-keys-footer {
    grid-template-columns: 1fr;
  }
}

/* Affiliate portal redirect modal */
html.affiliate-portal-open,
body.affiliate-portal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.affiliate-portal-overlay {
  position: fixed;
  inset: 0;
  z-index: 185;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.affiliate-portal-overlay.is-visible {
  opacity: 1;
}

.affiliate-portal-overlay[hidden] {
  display: none;
}

.affiliate-portal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.affiliate-portal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  max-width: calc(100vw - 2rem);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.affiliate-portal-overlay.is-visible .affiliate-portal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.affiliate-portal-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12161b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.affiliate-portal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1rem 0.5rem;
}

.affiliate-portal-header-copy {
  min-width: 0;
  flex: 1;
}

.affiliate-portal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  color: #71717a;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.affiliate-portal-close:hover,
.affiliate-portal-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.affiliate-portal-eyebrow {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.affiliate-portal-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.affiliate-portal-body {
  padding: 0.35rem 1rem 1rem;
  text-align: center;
}

.affiliate-portal-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--brand-primary-border);
  background: var(--brand-primary-glow-soft);
  color: var(--brand-primary);
}

.affiliate-portal-text {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #d4d4d8;
}

.affiliate-portal-text-muted {
  margin-bottom: 0;
  color: #a1a1aa;
}

.affiliate-portal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.affiliate-portal-cancel,
.affiliate-portal-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.7rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, transform 0.15s ease;
}

.affiliate-portal-cancel {
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.affiliate-portal-cancel:hover {
  color: #fff;
}

.affiliate-portal-continue {
  border: 0;
}

@media (max-width: 639px) {
  .affiliate-portal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .affiliate-portal-panel {
    width: 100%;
    max-width: 100%;
    transform: translateY(16px) scale(1);
  }

  .affiliate-portal-overlay.is-visible .affiliate-portal-panel {
    transform: translateY(0) scale(1);
  }

  .affiliate-portal-modal {
    border-radius: 1rem 1rem 0 0;
  }

  .affiliate-portal-footer {
    grid-template-columns: 1fr;
  }
}

/* Checkout flow modals */
html.checkout-flow-open,
body.checkout-flow-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.checkout-flow-open .support-chat-root {
  z-index: 90;
  pointer-events: none;
}

body.checkout-flow-open header.sticky,
body.checkout-flow-open #site-header {
  z-index: 90;
}

.checkout-not-implemented-badge {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top, 0));
  right: calc(1rem + env(safe-area-inset-right, 0));
  z-index: 220;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(69, 10, 10, 0.95);
  color: #fecaca;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.checkout-not-implemented-badge.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.checkout-not-implemented-badge-icon {
  display: inline-flex;
  color: #f87171;
  flex-shrink: 0;
}

.email-checkout-overlay,
.redirect-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.redirect-checkout-overlay {
  z-index: 190;
}

.email-checkout-overlay.is-visible,
.redirect-checkout-overlay.is-visible {
  opacity: 1;
}

.email-checkout-overlay[hidden],
.redirect-checkout-overlay[hidden] {
  display: none;
}

.email-checkout-overlay.is-behind {
  z-index: 175;
}

.email-checkout-backdrop,
.redirect-checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.email-checkout-panel,
.redirect-checkout-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 28rem);
  max-width: calc(100vw - 2rem);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.redirect-checkout-panel {
  width: min(100%, 24rem);
}

.email-checkout-overlay.is-visible .email-checkout-panel,
.redirect-checkout-overlay.is-visible .redirect-checkout-panel {
  opacity: 1;
  transform: scale(1);
}

.email-checkout-modal,
.redirect-checkout-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #05080f;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  outline: none;
  box-sizing: border-box;
}

.email-checkout-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 8rem;
  transform: translateX(-50%);
  background: var(--brand-primary-glow-soft);
  filter: blur(50px);
  pointer-events: none;
}

.email-checkout-inner {
  position: relative;
  z-index: 1;
}

.email-checkout-modal *,
.email-checkout-modal *::before,
.email-checkout-modal *::after {
  box-sizing: border-box;
}

.email-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.email-checkout-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.email-checkout-body {
  padding: 1.5rem;
}

.email-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.email-checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-checkout-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-checkout-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.email-checkout-close:hover:not(:disabled),
.email-checkout-close:focus-visible:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.email-checkout-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.email-checkout-processing {
  text-align: center;
  padding: 2rem 0;
}

.email-checkout-processing-visual {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
}

.email-checkout-processing-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 4px solid transparent;
}

.email-checkout-processing-ring--track {
  border-color: var(--brand-primary-border);
}

.email-checkout-processing-ring--spin {
  border-color: var(--brand-primary);
  border-top-color: transparent;
  animation: cart-spin 0.9s linear infinite;
}

.email-checkout-processing-shield {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 2rem;
  height: 2rem;
  color: var(--brand-primary-light);
  animation: email-checkout-pulse 1.6s ease-in-out infinite;
}

@keyframes email-checkout-pulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

.email-checkout-processing-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.email-checkout-processing-text {
  margin: 0 auto 2rem;
  max-width: 15.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #9ca3af;
}

.email-checkout-fallback {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.75rem;
}

.email-checkout-label {
  display: block;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.email-checkout-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.email-checkout-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: #6b7280;
  pointer-events: none;
  transition: color 0.2s ease;
}

.email-checkout-input-wrap:focus-within .email-checkout-input-icon {
  color: var(--brand-primary-light);
}

.email-checkout-input {
  width: 100%;
  min-width: 0;
  height: 3.5rem;
  padding: 0 1rem 0 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  outline-offset: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.email-checkout-modal .email-checkout-input:focus,
.email-checkout-modal .email-checkout-input:focus-visible,
.email-checkout-modal .email-checkout-input:focus-within,
.email-checkout-modal .email-checkout-input:active {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
  border-color: var(--brand-primary-border);
}

.email-checkout-input-wrap:focus-within {
  outline: none;
}

.email-checkout-input-wrap--error .email-checkout-input {
  border-color: rgba(239, 68, 68, 0.75);
}

.email-checkout-input-wrap--error .email-checkout-input-icon,
.email-checkout-input-wrap--error:focus-within .email-checkout-input-icon {
  color: #ef4444;
}

.email-checkout-input-wrap--error:focus-within .email-checkout-input,
.email-checkout-input-wrap--error .email-checkout-input:focus,
.email-checkout-input-wrap--error .email-checkout-input:focus-visible {
  border-color: #ef4444;
  box-shadow: none;
}

.email-checkout-input::placeholder {
  color: #4b5563;
}

.email-checkout-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.email-checkout-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #6b7280;
}

.email-checkout-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.email-checkout-cancel,
.email-checkout-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.email-checkout-cancel {
  flex: 1 1 0;
  border: 1px solid #6b7280;
}

.email-checkout-submit {
  flex: 2 1 0;
  border: 0;
  box-shadow: 0 10px 15px -3px var(--brand-primary-glow);
}

.email-checkout-submit:focus-visible,
.email-checkout-cancel:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.email-checkout-submit:disabled,
.email-checkout-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.email-checkout-submit-spinner,
.redirect-checkout-continue-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  animation: cart-spin 0.7s linear infinite;
}

.redirect-checkout-modal {
  padding: 1.35rem 1.25rem 1.15rem;
  text-align: center;
}

.redirect-checkout-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--brand-primary-border);
  background: var(--brand-primary-glow-soft);
  color: var(--brand-primary);
}

.redirect-checkout-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.redirect-checkout-text {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.redirect-checkout-note {
  margin: 0.55rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #71717a;
}

.redirect-checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.redirect-checkout-back,
.redirect-checkout-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.7rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, transform 0.15s ease;
}

.redirect-checkout-back {
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.redirect-checkout-back:hover {
  color: #fff;
}

.redirect-checkout-continue {
  border: 0;
}

.redirect-checkout-continue:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 639px) {
  .email-checkout-overlay,
  .redirect-checkout-overlay {
    padding: 1rem;
  }

  .email-checkout-panel,
  .redirect-checkout-panel {
    width: min(100%, 28rem);
    max-width: calc(100vw - 2rem);
  }

  .email-checkout-actions {
    flex-direction: column;
  }

  .email-checkout-cancel,
  .email-checkout-submit {
    flex: 1 1 auto;
    width: 100%;
  }

  .redirect-checkout-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .first-visit-promo-panel {
    width: calc(100vw - 24px);
  }

  .first-visit-promo-body {
    padding: 1.25rem;
  }

  .scratch-card-prize-label {
    font-size: 2.75rem;
  }

  .coupon-input-row {
    width: 100%;
    flex-direction: column;
  }

  .coupon-input-apply {
    width: 100%;
  }

  .cart-drawer {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .first-visit-promo-backdrop,
  .first-visit-promo-panel,
  .first-visit-promo-phase,
  .coupon-reveal,
  .scratch-card-canvas,
  .cart-drawer,
  .cart-overlay,
  .cart-item,
  .cart-qty-value,
  .cart-gift-bar-fill,
  .cart-recommendation-add,
  .imperium-toast,
  .email-checkout-overlay,
  .email-checkout-modal,
  .redirect-checkout-overlay,
  .redirect-checkout-modal,
  .my-keys-overlay,
  .my-keys-panel,
  .affiliate-portal-overlay,
  .affiliate-portal-panel,
  .checkout-not-implemented-badge {
    transition: none;
    animation: none;
  }
}
