/*
 * Whis33 UI polish v2
 * Shared visual corrections for the public site, account center and admin tools.
 * Loaded last so the current backend/API contracts remain untouched.
 */

:root {
  --whis-accent: #34d97b;
  --whis-accent-strong: #25bd67;
  --whis-accent-deep: #16864a;
  --whis-accent-soft: rgba(52, 217, 123, .12);
  --whis-accent-line: rgba(52, 217, 123, .30);
  --whis-text: #f3f7f5;
  --whis-muted: #9aa7b3;
  --whis-muted-strong: #b6c0c9;
  --whis-line: rgba(255, 255, 255, .10);
  --whis-line-strong: rgba(255, 255, 255, .16);
  --whis-surface: rgba(13, 19, 26, .92);
  --whis-surface-raised: rgba(18, 25, 33, .94);
  --whis-radius-sm: 12px;
  --whis-radius: 18px;
  --whis-radius-lg: 24px;
  --green: var(--whis-accent);
  --green-2: var(--whis-accent-strong);
  --vault-green: var(--whis-accent);
  --accent-green: var(--whis-accent);
  --accent-green-dim: var(--whis-accent-strong);
}

html {
  color-scheme: dark;
  text-size-adjust: 100%;
}

body {
  color: var(--whis-text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-title,
.page-title,
.store-v2-hero h1,
.downloads-hero h1,
.team-title,
.compare-title,
.redeem-hero h1 {
  font-family: "Space Grotesk", Inter, "Segoe UI", sans-serif !important;
  text-wrap: balance;
}

p,
li,
.muted,
.subtitle {
  text-wrap: pretty;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(52, 217, 123, .48) !important;
  outline-offset: 3px !important;
}

.th-skip-link,
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 9px;
  background: #f4f8f6;
  color: #08110c !important;
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .16s ease;
}

.th-skip-link:focus,
.skip-link:focus {
  transform: translateY(0);
}

:where(button, .btn, [class*="button"], [class*="btn-"]) {
  -webkit-tap-highlight-color: transparent;
}

:where(
  .btn,
  .btn-buy,
  .redeem-submit,
  .status-refresh,
  .download-button,
  .vault-funds-button,
  .vault-dashboard-link,
  .vault-account-add,
  .team-cta,
  .support-cta
) {
  min-height: 44px;
}

.site-header .brand {
  min-height: 44px;
}

.header-account-profile {
  min-height: 42px !important;
}

.header-account-add {
  width: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

/* Calm the previously fluorescent primary treatment without losing hierarchy. */
:where(
  .btn--primary,
  .btn-buy,
  .redeem-submit,
  .status-refresh,
  .download-button,
  .vault-funds-button,
  .auth-submit,
  .register-submit
) {
  border-color: rgba(52, 217, 123, .55) !important;
  background: linear-gradient(135deg, var(--whis-accent-strong), var(--whis-accent-deep)) !important;
  box-shadow: 0 12px 30px rgba(20, 128, 69, .18) !important;
  color: #f7fff9 !important;
  text-shadow: none !important;
}

:where(
  .btn--primary,
  .btn-buy,
  .redeem-submit,
  .status-refresh,
  .download-button,
  .vault-funds-button,
  .auth-submit,
  .register-submit
):hover {
  border-color: rgba(73, 230, 139, .72) !important;
  background: linear-gradient(135deg, #2acb70, #198d4e) !important;
  box-shadow: 0 15px 34px rgba(20, 128, 69, .24) !important;
  transform: translateY(-1px);
}

:where(.card, [class*="-card"], [class*="__card"]) {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Type scale and spacing shared by the main SPA. */
.display-title {
  font-size: clamp(3.35rem, 6.1vw, 5.35rem) !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}

.page-title,
.status-hero h1,
.support-hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.05em !important;
}

.store-title,
.compare-title,
.downloads-hero h1,
.team-title,
.store-v2-hero h1,
.redeem-hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.65rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
}

.hero-copy,
.hero-description,
.page-lead,
.store-subtitle,
.compare-subtitle,
.downloads-hero p,
.team-subtitle,
.redeem-hero p {
  max-width: 68ch;
  color: var(--whis-muted-strong) !important;
  font-size: clamp(1rem, 1.35vw, 1.13rem) !important;
  line-height: 1.7 !important;
}

/* Never hide essential product information behind unreadably small labels. */
.hero-carousel-footer,
.update-live-label,
.update-live-meta,
.section-flag,
.price-eur,
.gallery-thumb-label,
.gallery-thumb--feature em,
.tier-preview-card p,
.tier-preview-card li,
.auth-field-note,
.optional-label {
  font-size: max(12px, .75rem) !important;
  line-height: 1.45 !important;
  letter-spacing: .02em !important;
}

.hero-carousel-footer,
.update-live-meta,
.gallery-thumb-label,
.gallery-thumb--feature em {
  color: var(--whis-muted-strong) !important;
}

.hero-carousel-stage {
  isolation: isolate;
}

.hero-carousel-slide {
  transition: opacity .42s ease, transform .55s cubic-bezier(.22, 1, .36, 1) !important;
}

.hero-carousel-slide:not(.is-active) {
  pointer-events: none;
}

.hero-carousel-slide:not(.is-active):not(.is-next) {
  opacity: 0 !important;
}

.home-stats-strip,
.status-strip {
  border-color: var(--whis-line) !important;
  background: linear-gradient(135deg, rgba(13, 19, 26, .92), rgba(11, 18, 23, .86)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .20);
}

.live-strip > a {
  border-color: rgba(52, 217, 123, .28) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(52, 217, 123, .10), transparent 48%),
    linear-gradient(135deg, rgba(19, 52, 36, .92), rgba(10, 23, 18, .96)) !important;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .24) !important;
  color: #e9f9ef !important;
  font-size: 13px !important;
}

.live-strip > a:hover {
  border-color: rgba(52, 217, 123, .48) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .30) !important;
}

.hero-carousel-dots button {
  position: relative;
  width: 32px !important;
  min-width: 32px;
  height: 32px !important;
  border-radius: 50% !important;
  background: transparent !important;
}

.hero-carousel-dots button::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  transition: inset .16s ease, background .16s ease;
}

.hero-carousel-dots button[aria-current="true"]::after {
  inset-inline: 7px;
  background: var(--whis-accent);
}

.search-control:focus-within,
.support-search:focus-within,
.command-search:focus-within,
.compare-search:focus-within {
  border-color: rgba(52, 217, 123, .48) !important;
  box-shadow: 0 0 0 3px rgba(52, 217, 123, .11) !important;
}

.home-stat-item,
.status-stat {
  min-height: 92px;
  padding-block: 18px !important;
}

/* Product gallery: more readable labels and a calmer selected state. */
.gallery-thumb {
  min-height: 88px;
  border-color: var(--whis-line) !important;
  background: rgba(12, 18, 24, .88) !important;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--whis-accent-line) !important;
  background: rgba(23, 48, 35, .72) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22) !important;
}

.gallery-thumb-label {
  font-weight: 750 !important;
}

/* Compare page. */
.compare-shell,
.compare-panel,
.tier-preview-card {
  border-color: var(--whis-line) !important;
}

.compare-tabs button,
.compare-tab,
.compare-game-tab {
  min-height: 46px;
  font-size: 13px !important;
}

.tier-preview-card p,
.tier-preview-card li {
  color: var(--whis-muted-strong) !important;
}

/* Downloads, team, support, redeem and checkout. */
.downloads-hero,
.team-hero,
.support-hero,
.redeem-hero,
.store-v2-hero {
  padding-top: clamp(54px, 7vw, 92px) !important;
}

.download-card,
.team-card,
.support-card,
.redeem-panel,
.store-v2-card {
  border-color: var(--whis-line) !important;
  background: linear-gradient(155deg, rgba(17, 24, 32, .94), rgba(10, 15, 21, .96)) !important;
}

.team-role-icon {
  background: rgba(52, 217, 123, .13) !important;
  border: 1px solid rgba(52, 217, 123, .27) !important;
  color: var(--whis-accent) !important;
  box-shadow: none !important;
}

.redeem-row-action {
  min-width: 44px;
  min-height: 42px !important;
  padding: 8px 13px !important;
}

.store-v2-hero .section-flag,
.store-v2-card .section-flag,
.price-eur {
  color: var(--whis-muted-strong) !important;
}

.btn-buy {
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Login, register and reset password. */
.auth-card,
.register-card,
.reset-card {
  border-color: var(--whis-line) !important;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .34) !important;
}

.auth-card label,
.register-card label,
.reset-card label {
  color: var(--whis-muted-strong) !important;
  font-size: 13px !important;
}

.auth-card input,
.register-card input,
.reset-card input {
  min-height: 48px;
  border-color: var(--whis-line) !important;
  background: rgba(7, 12, 17, .82) !important;
}

/* Account center: compact account chip, readable controls and mobile navigation. */
.vault-header-inner {
  width: min(calc(100% - 32px), 1320px) !important;
  gap: 20px !important;
}

.vault-nav {
  gap: 2px !important;
  min-width: 0;
}

.vault-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 10px !important;
  font-size: 12.5px !important;
}

.vault-header-actions {
  flex: 0 0 auto;
}

.vault-account-chip {
  display: inline-flex;
  align-items: stretch;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid rgba(52, 217, 123, .32);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(22, 58, 39, .72), rgba(10, 23, 18, .92));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

.vault-account-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0 13px;
  color: var(--whis-text) !important;
}

.vault-account-profile i {
  color: var(--whis-accent);
}

.vault-account-profile span {
  max-width: 112px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vault-account-profile strong {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  color: #d7e0dc;
  font: 700 13px/1.2 "Space Grotesk", sans-serif;
  white-space: nowrap;
}

.vault-account-add {
  display: grid;
  width: 43px;
  min-width: 43px;
  padding: 0;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(52, 217, 123, .28);
  background: rgba(52, 217, 123, .15);
  color: var(--whis-accent);
  font-size: 18px;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.vault-account-add:hover {
  background: rgba(52, 217, 123, .24);
  color: #effff5;
}

.welcome-header {
  border-color: var(--whis-line) !important;
  background: linear-gradient(135deg, rgba(15, 22, 29, .96), rgba(14, 37, 27, .82)) !important;
}

.welcome-header h1 {
  font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
  letter-spacing: -.035em;
}

.vault-welcome-wallet b,
.stat-action {
  background: rgba(52, 217, 123, .14) !important;
  border: 1px solid rgba(52, 217, 123, .30);
  color: #b9f4d1 !important;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.stat-card {
  min-height: 118px !important;
  border-color: var(--whis-line) !important;
  background: rgba(14, 20, 27, .88) !important;
}

.stat-card:first-child {
  border-color: var(--whis-line) !important;
  background: rgba(14, 20, 27, .88) !important;
}

.stat-card .stat-label {
  font-size: 12.5px !important;
}

.nav-pills-modern {
  gap: 6px !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
}

.nav-pills-modern .nav-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.nav-pills-modern .nav-link {
  min-height: 44px;
  font-size: 12.5px !important;
}

.tab-content-modern {
  border-color: var(--whis-line) !important;
}

#avatarDeleteBtn {
  min-height: 40px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
}

.avatar-widget > button[aria-label="Change avatar"] {
  width: 40px !important;
  height: 40px !important;
  background: var(--whis-accent-strong) !important;
  color: #fff !important;
}

/* Admin: apply the theme immediately, improve density and remove tiny labels. */
body.admin-v3 {
  background:
    radial-gradient(circle at 92% 9%, rgba(52, 217, 123, .07), transparent 30%),
    linear-gradient(180deg, #070b10, #090e14 48%, #070a0e) !important;
}

.admin-site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  border-bottom: 1px solid var(--whis-line);
  background: rgba(7, 11, 16, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.admin-site-header__inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 36px), 1440px);
  min-height: 70px;
  margin: 0 auto;
  gap: 24px;
}

.admin-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--whis-text) !important;
  text-decoration: none !important;
}

.admin-site-brand svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--whis-accent-line);
  border-radius: 12px;
  fill: none;
  stroke: var(--whis-accent);
  stroke-width: 1.6;
}

.admin-site-brand__copy {
  display: grid;
  line-height: 1;
}

.admin-site-brand__copy strong {
  font: 800 18px/1 "Space Grotesk", sans-serif;
  letter-spacing: -.03em;
}

.admin-site-brand__copy strong span {
  color: var(--whis-accent);
}

.admin-site-brand__copy small {
  margin-top: 5px;
  color: var(--whis-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.admin-site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-right: auto;
}

.admin-site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 9px;
  color: var(--whis-muted);
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none !important;
}

.admin-site-nav a:hover,
.admin-site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .055);
  color: var(--whis-text);
}

.admin-site-nav a[aria-current="page"] {
  color: #ffd06f;
}

.admin-site-account {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--whis-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
  color: var(--whis-text) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
}

.admin-site-account i {
  color: var(--whis-accent);
}

.admin-v3 .admin-container {
  width: min(calc(100% - 36px), 1440px) !important;
  padding-top: 34px !important;
}

.admin-v3 .page-header h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.045em !important;
}

.admin-v3 :where(
  .stat-label,
  .admin-v3-workspace-label small,
  .admin-v3-section-kicker,
  .eyebrow,
  label,
  th
) {
  font-size: max(12px, .75rem) !important;
  line-height: 1.4 !important;
}

.admin-v3 :where(button, .btn, input, select) {
  min-height: 42px !important;
}

.admin-v3 :where(input, select, textarea) {
  border-color: var(--whis-line) !important;
  background: rgba(7, 12, 17, .82) !important;
}

.admin-v3 :where(.admin-card, .stat-card, .panel, [class*="workspace"]) {
  border-color: var(--whis-line) !important;
}

/* Responsive rules. */
@media (max-width: 1120px) {
  .site-header .desktop-nav {
    display: none !important;
  }

  .site-header .mobile-menu-toggle,
  .mobile-drawer {
    display: grid !important;
  }

  .mobile-drawer {
    inset: var(--header) 0 auto !important;
    max-height: calc(100dvh - var(--header)) !important;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .vault-header-inner {
    align-items: stretch;
    min-height: auto !important;
    padding-block: 10px;
    flex-wrap: wrap;
  }

  .vault-brand {
    order: 1;
  }

  .vault-header-actions {
    order: 2;
    margin-left: auto;
  }

  .vault-nav {
    order: 3;
    display: flex !important;
    width: 100%;
    overflow-x: auto;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  .vault-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .admin-site-header__inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .admin-site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid var(--whis-line);
    padding-top: 5px;
    scrollbar-width: thin;
  }

  .admin-site-account {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .display-title {
    font-size: clamp(3rem, 14vw, 4.35rem) !important;
  }

  .page-title,
  .store-title,
  .compare-title,
  .downloads-hero h1,
  .team-title,
  .store-v2-hero h1,
  .redeem-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.75rem) !important;
  }

  .hero-carousel-footer,
  .update-live-label,
  .update-live-meta,
  .section-flag,
  .price-eur,
  .gallery-thumb-label,
  .gallery-thumb--feature em,
  .tier-preview-card p,
  .tier-preview-card li {
    font-size: 12px !important;
  }

  .gallery-overview {
    min-height: 420px;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  .vault-header-inner,
  .admin-site-header__inner {
    width: min(calc(100% - 22px), 1320px) !important;
  }

  .vault-brand-copy {
    display: grid !important;
  }

  .vault-account-profile span {
    max-width: 72px;
  }

  .vault-account-profile strong {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .stat-card {
    min-height: 104px !important;
    padding: 16px !important;
  }

  .stat-card .stat-value {
    font-size: 19px !important;
  }

  .stat-card .stat-label {
    font-size: 11px !important;
    letter-spacing: .07em !important;
  }

  .welcome-header .avatar-widget {
    display: block !important;
  }

  .nav-pills-modern {
    top: 112px !important;
    margin-inline: -3px;
    padding: 8px !important;
  }

  .admin-site-brand__copy {
    display: none;
  }

  .admin-v3 .admin-container {
    width: min(calc(100% - 22px), 1440px) !important;
    padding-top: 24px !important;
  }
}

@media (max-width: 520px) {
  .vault-brand-copy {
    display: none !important;
  }

  .vault-account-profile {
    padding-inline: 11px;
  }

  .vault-account-profile span {
    max-width: 82px;
  }

  .welcome-header {
    padding: 19px !important;
  }

  .welcome-header .avatar-widget {
    display: none !important;
  }

  .vault-welcome-wallet {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-card {
    min-height: 92px !important;
  }

  .admin-site-account span {
    display: none;
  }

  .admin-site-account {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
}

/* Store cards: keep the game identity visible while users scan the artwork. */
.product-media-cta {
  min-height: 64px;
  padding: 9px 11px 9px 14px;
  gap: 12px;
  background: linear-gradient(110deg, rgba(5, 10, 13, .94), rgba(8, 21, 17, .9));
  text-transform: none;
}

.product-media-identity {
  display: grid;
  min-width: 0;
  gap: 3px;
  line-height: 1.05;
}

.product-media-kicker {
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  opacity: .66;
  text-transform: uppercase;
}

.product-media-identity strong {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-media-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: stretch;
  gap: 7px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-media:hover .product-media-action,
.product-media:focus-visible .product-media-action {
  border-left-color: rgba(5, 17, 8, .22);
}

.product-art-label {
  top: 54px;
  bottom: auto;
}

@media (max-width: 520px) {
  .product-media-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 60px;
    padding-left: 12px;
  }

  .product-media-identity strong {
    font-size: 15px;
  }

  .product-media-action {
    padding-left: 10px;
  }

  .product-media-action > span {
    display: none;
  }
}

/* Store cards: premium motion and a clearer click affordance. */
.product-card::before {
  position: absolute;
  top: 0;
  right: 16%;
  left: 16%;
  z-index: 6;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--green)), transparent);
  box-shadow: 0 0 18px rgba(var(--card-rgb, 69, 248, 130), .48);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scaleX(.45);
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.product-card:hover::before,
.product-card:focus-within::before {
  opacity: .85;
  transform: scaleX(1);
}

.product-card:focus-within {
  border-color: rgba(var(--card-rgb, 69, 248, 130), .72);
  box-shadow:
    0 0 0 2px rgba(var(--card-rgb, 69, 248, 130), .28),
    0 24px 64px rgba(0, 0, 0, .32);
}

.product-media::before {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -42%;
  z-index: 1;
  width: 23%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-14deg);
  transition: transform 620ms var(--ease);
}

.product-card:hover .product-media::before,
.product-card:focus-within .product-media::before {
  transform: translateX(650%) skewX(-14deg);
}

.product-media-cta::before {
  width: 3px;
  flex: 0 0 3px;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), rgba(69, 248, 130, .25));
  box-shadow: 0 0 14px rgba(69, 248, 130, .32);
  content: "";
}

.product-media:hover .product-media-cta,
.product-media:focus-visible .product-media-cta {
  border-color: rgba(69, 248, 130, .72);
  background: linear-gradient(110deg, rgba(7, 18, 14, .97), rgba(12, 35, 25, .95));
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(69, 248, 130, .08),
    0 0 30px rgba(69, 248, 130, .12);
  color: #f5fff8;
}

.product-media-action .icon {
  transition: transform 180ms ease, color 180ms ease;
}

.product-media:hover .product-media-action,
.product-media:focus-visible .product-media-action {
  border-left-color: rgba(69, 248, 130, .28);
  color: var(--green);
}

.product-media:hover .product-media-action .icon,
.product-media:focus-visible .product-media-action .icon {
  transform: translateX(3px);
}

.product-media:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -3px;
}

@media (hover: none) {
  .product-media::before {
    display: none;
  }

  .product-card::before {
    opacity: .55;
    transform: scaleX(.82);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
