:root {
  --bg: #101010;
  --header: #1b1b1b;
  --panel: #121212;
  --panel-soft: #181818;
  --gold: #efad00;
  --gold-bright: #ffbf0a;
  --line: #4c4c4c;
  --text: #f4f4f4;
  --muted: #d0d0d0;
  --content: 1320px;
  --card-gold: #e6aa14;
  --card-gold-light: #ffd461;
  --card-gold-deep: #65420a;
  --card-surface: #111111;
  --card-caption: #080808;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--locale-font, "Noto Sans Lao", Tahoma, Arial, sans-serif);
  line-height: var(--locale-line-height, 1.65);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
svg { display: block; fill: currentColor; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- Header ---------- */
.site-header {
  height: 98px;
  background: #1d1d1d;
}
.header-row {
  height: 100%;
  padding: 0 31px;
  display: flex;
  align-items: center;
  gap: 54px;
}
.brand {
  width: 196px;
  flex: 0 0 196px;
}
.brand img { width: 100%; height: auto; }
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 53px;
  height: 100%;
  flex: 1 1 auto;
}
.desktop-menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 19px;
  font-weight: 500;
  color: #f1f1f1;
}
.desktop-menu svg {
  width: 23px;
  height: 23px;
  color: var(--gold);
}
.member-menu {
  display: flex;
  align-items: center;
  gap: 29px;
  white-space: nowrap;
}
.language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
}
.language img { width: 33px; height: 33px; }
.language svg { width: 18px; height: 18px; color: #f5f5f5; }
.desktop-login,
.header-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.desktop-login {
  background: transparent;
  font-size: 20px;
  font-weight: 500;
  padding: 0;
}
.header-register {
  height: 58px;
  padding: 0 31px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffc019 0%, #f0a000 100%);
  color: #161616;
  font-size: 21px;
  font-weight: 700;
}
.desktop-login:focus-visible,
.header-register:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
@media (hover: hover) {
  .desktop-login:hover { color: var(--gold-bright); }
  .header-register:hover {
    filter: brightness(1.06);
  }
}

/* ---------- Main desktop ---------- */
.page {
  width: calc(100% - 40px);
  max-width: 1320px;
  margin: 25px auto 0;
}
/* ---------- Promotion banner slider ---------- */
.banner-grid {
  --banner-gap: 20px;
  --banner-visible: 3;
  --banner-transition: 680ms;
  position: relative;
  width: 100%;
}
.banner-viewport {
  width: 100%;
  overflow: hidden;
}
.banner-track {
  display: flex;
  align-items: stretch;
  gap: var(--banner-gap);
  transform: translate3d(0, 0, 0);
  transition: transform var(--banner-transition) cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.banner-track.is-jump {
  transition: none;
}
.banner {
  position: relative;
  flex: 0 0 calc((100% - (var(--banner-gap) * (var(--banner-visible) - 1))) / var(--banner-visible));
  display: block;
  aspect-ratio: 620 / 326;
  height: auto;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 22px;
  background: #070707;
  box-shadow: inset 0 0 0 1px rgba(255, 216, 90, .08);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 8%, rgba(255, 213, 88, .12) 48%, transparent 62%);
  opacity: 0;
  transform: translateX(-58%);
  transition: opacity .28s ease, transform .65s ease;
}
.banner:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .banner:hover {
    border-color: var(--gold-bright);
    box-shadow: 0 0 18px rgba(235, 171, 4, .32), inset 0 0 0 1px rgba(255, 224, 117, .25);
    transform: translateY(-1px);
  }
  .banner:hover img {
    transform: scale(1.035);
    filter: brightness(1.05);
  }
  .banner:hover::after {
    opacity: 1;
    transform: translateX(58%);
  }
}
.mobile-auth { display: none; }
.catalog-shell { margin-top: 29px; }

/* ---------- Exact artwork desktop tabs + semantic click targets ---------- */
.category-menu {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  aspect-ratio: 1981 / 130;
  isolation: isolate;
}
.category-desktop-skin {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.category {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  appearance: none;
  background: transparent;
}
.category-face { display: none; }
.category:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: -3px;
  border-radius: 20px;
}

/* ---------- Providers: premium framed cards ---------- */
.provider-panel { min-width: 0; }
.provider-panel:focus { outline: none; }
.provider-grid {
  margin-top: 27px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 8px;
  row-gap: 18px;
  perspective: 1000px;
}
.provider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 1px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 7px;
  background: linear-gradient(128deg, #5b400e 0%, var(--card-gold) 22%, #ffe08a 43%, #8f6208 59%, #32240e 76%, var(--card-gold) 100%);
  box-shadow:
    0 1px 0 rgba(255, 217, 115, .34),
    0 5px 13px rgba(0, 0, 0, .42),
    inset 0 0 0 1px rgba(255, 217, 116, .12);
  transform: translateZ(0);
  transition: transform .26s ease, box-shadow .26s ease, filter .26s ease;
}
.provider::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 1px 1px 40px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(108deg, transparent 16%, rgba(255, 228, 140, 0) 36%, rgba(255, 233, 153, .42) 49%, rgba(255, 233, 153, 0) 62%, transparent 82%);
  transform: translateX(-142%);
  pointer-events: none;
  transition: transform .62s cubic-bezier(.23, .8, .31, 1);
}
.provider::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 1px 1px 40px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(255, 212, 85, .09), transparent 28%, transparent 72%, rgba(0,0,0,.14));
  pointer-events: none;
}
.provider picture,
.provider > img {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}
.provider img {
  width: 100%;
  height: auto;
  aspect-ratio: 318 / 244;
  object-fit: cover;
  transition: transform .38s ease, filter .32s ease;
}
.provider span {
  position: relative;
  z-index: 4;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(231, 171, 20, .44);
  border-radius: 0 0 6px 6px;
  background:
    radial-gradient(120% 110% at 50% -30%, rgba(224, 161, 14, .15), transparent 55%),
    linear-gradient(180deg, #171717 0%, var(--card-caption) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .15px;
  color: #f5f5f5;
  transition: color .25s ease, text-shadow .25s ease, background .25s ease;
}
.provider:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  transform: translateY(-4px) scale(1.008);
  filter: saturate(1.07);
  box-shadow:
    0 0 0 1px rgba(255, 199, 55, .44),
    0 0 19px rgba(239, 173, 0, .30),
    0 15px 25px rgba(0, 0, 0, .56),
    inset 0 0 0 1px rgba(255, 230, 146, .44);
}
.provider:focus-visible::before { transform: translateX(142%); }
.provider:focus-visible img {
  transform: scale(1.045);
  filter: brightness(1.08) contrast(1.035);
}
.provider:focus-visible span {
  color: var(--card-gold-light);
  text-shadow: 0 0 10px rgba(237, 173, 0, .36);
  background:
    radial-gradient(120% 110% at 50% -30%, rgba(224, 161, 14, .25), transparent 57%),
    linear-gradient(180deg, #1a160c 0%, #080808 100%);
}
@media (hover: hover) and (pointer: fine) {
  .provider:hover {
    transform: translateY(-4px) scale(1.008);
    filter: saturate(1.07);
    box-shadow:
      0 0 0 1px rgba(255, 199, 55, .44),
      0 0 19px rgba(239, 173, 0, .30),
      0 15px 25px rgba(0, 0, 0, .56),
      inset 0 0 0 1px rgba(255, 230, 146, .44);
  }
  .provider:hover::before { transform: translateX(142%); }
  .provider:hover img {
    transform: scale(1.045);
    filter: brightness(1.08) contrast(1.035);
  }
  .provider:hover span {
    color: var(--card-gold-light);
    text-shadow: 0 0 10px rgba(237, 173, 0, .36);
    background:
      radial-gradient(120% 110% at 50% -30%, rgba(224, 161, 14, .25), transparent 57%),
      linear-gradient(180deg, #1a160c 0%, #080808 100%);
  }
}
.provider.is-revealing {
  animation: providerReveal .39s cubic-bezier(.22, .72, .26, 1) both;
  animation-delay: calc(var(--reveal-index, 0) * 28ms);
}
@keyframes providerReveal {
  from { opacity: 0; transform: translateY(11px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.mobile-name { display: none !important; }
.provider-empty {
  min-height: 168px;
  margin: 27px 0 0;
  border: 1px solid rgba(230, 170, 20, .42);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(230,170,20,.05), transparent 46%), #111;
  display: grid;
  place-items: center;
  color: #d0d0d0;
  font-size: 18px;
}
@media (prefers-reduced-motion: reduce) {
  .provider, .provider img, .provider::before, .provider span { transition: none; }
  .provider.is-revealing { animation: none; }
}
.trust-footer {
  margin-top: 20px;
  border-top: 1px solid #454545;
  padding-top: 14px;
  padding-bottom: 10px;
}
.desktop-trust {
  min-height: 122px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, auto);
  align-items: start;
  /* Keep both trust groups visually pinned to the left and right edges. */
  column-gap: clamp(32px, 6vw, 90px);
}
.trust-payment-group,
.trust-license-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.trust-payment-group {
  align-items: flex-start;
  justify-self: start;
}
.trust-license-group {
  align-items: flex-end;
  justify-self: end;
  text-align: right;
}
.trust-title {
  display: block;
  height: auto;
  object-fit: contain;
}
.trust-title-text {
  height: auto;
  width: fit-content;
  max-width: 100%;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: .2px;
  color: #f5f5f5;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 0 12px rgba(230, 170, 20, .12);
  white-space: nowrap;
}
.trust-payment-title {
  width: 209px;
  margin-bottom: 8px;
}
.trust-license-title {
  width: 412px;
  margin-bottom: 2px;
}
.trust-license-title-text {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
}
.trust-license-title-note {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .1px;
  color: rgba(245, 245, 245, .92);
  text-shadow: inherit;
}
.trust-brand-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  border-radius: 7px;
  transition: filter .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.trust-brand-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 5px;
}
.trust-payment-grid {
  width: min(100%, 566px);
  display: grid;
  grid-template-columns: repeat(12, 38px);
  justify-content: start;
  gap: 10px;
}
.trust-payment-brand {
  width: 38px;
  height: 38px;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.trust-payment-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.trust-license-brands {
  width: 514px;
  max-width: 100%;
  height: 65px;
  object-fit: contain;
  object-position: right center;
}
.trust-copyright {
  margin: 0;
  max-width: 719px;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  color: rgba(245, 245, 245, .95);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .55);
  letter-spacing: .1px;
  white-space: nowrap;
}

@media (max-width: 1280px) and (min-width: 1121px) {
  .desktop-trust {
    grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
    column-gap: clamp(24px, 4vw, 48px);
  }
  .trust-copyright {
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 1120px) {
  .desktop-trust {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }
  .trust-payment-grid {
    width: min(100%, 278px);
    grid-template-columns: repeat(6, 38px);
  }
  .trust-payment-group,
  .trust-license-group {
    width: 100%;
  }
  .trust-copyright {
    white-space: normal;
  }
}
@media (hover: hover) and (pointer: fine) {
  .trust-brand-link:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
  }
  .trust-payment-brand:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 207, 115, 0.58);
    background: rgba(255, 255, 255, 0.84);
  }
}
.mobile-trust-image, .mobile-trust-content, .mobile-bottom-nav { display: none; }

/* ---------- Fluid desktop ---------- */
@media (max-width: 1700px) and (min-width: 1121px) {
  .page { margin-left: auto; margin-right: auto; }
  .desktop-menu { gap: clamp(18px, 2.7vw, 53px); }
  .desktop-menu a { font-size: clamp(15px, 1.08vw, 19px); }
}

/* ---------- Tablet vector fallback ---------- */
@media (max-width: 1120px) and (min-width: 701px) {
  .header-row { gap: 18px; padding-inline: 20px; }
  .brand { width: 170px; flex-basis: 170px; }
  .member-menu { gap: 12px; }
  .header-register { padding-inline: 18px; height: 48px; font-size: 17px; }
  .page { width: auto; margin: 22px 20px 0; }
  .banner { height: auto; }
  .category-menu {
    aspect-ratio: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .category-desktop-skin { display: none; }
  .category {
    height: 103px;
    border: 2px solid #545454;
    border-radius: 20px;
    background:
      linear-gradient(165deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.05) 35%, transparent 35.2%),
      linear-gradient(180deg, #212121 0%, #070707 100%);
  }
  .category-face {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .category-icon {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--gold);
    background: linear-gradient(180deg, #080808 0%, #111 100%);
    border: 1px solid rgba(255,255,255,.06);
  }
  .category-icon svg { width: 46px; height: 46px; }
  .category-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    font-size: clamp(27px, 3.2vw, 34px);
    font-weight: 700;
    letter-spacing: -.6px;
  }
  .category-copy small {
    margin-top: 5px;
    color: #f2f2f2;
    font: 700 13px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .35px;
  }
  .category[aria-selected="true"] {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(239, 173, 0, .2);
  }
  .provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Mobile reference layout ---------- */
@media (max-width: 700px) {
  :root { --mobile-edge: 8px; }
  .trust-payment-grid {
    width: min(100%, 182px);
    grid-template-columns: repeat(4, 38px);
  }
  body { background: #101010; }
  .site-header {
    height: 80px;
    background: #1d1d1d;
  }
  .header-row {
    padding: 0 var(--mobile-edge);
    gap: 0;
    justify-content: space-between;
  }
  .brand {
    width: 145px;
    flex: 0 0 145px;
  }
  .desktop-menu, .desktop-login { display: none; }
  .member-menu { gap: 9px; }
  .language { gap: 4px; }
  .language img { width: 26px; height: 26px; }
  .language svg { width: 14px; height: 14px; }
  .header-register {
    height: 38px;
    padding: 0 12px;
    border-radius: 19px;
    font-size: 13px;
    letter-spacing: 0;
  }
  .page {
    width: auto;
    max-width: none;
    margin: 9px var(--mobile-edge) 0;
  }
  .banner-grid {
    --banner-visible: 1;
    --banner-gap: 0px;
  }
  .banner {
    width: 100%;
    aspect-ratio: auto;
    height: 208px;
    border-width: 2px;
    border-radius: 18px;
  }
  .mobile-auth {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
.mobile-auth .auth-login,
.mobile-auth .auth-register {
  height: 61px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
} 
  .auth-login {
    border: 2px solid #5b5b5b;
    background:
      linear-gradient(157deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.06) 33%, transparent 33.4%),
      linear-gradient(#1f1f1f, #080808);
  }
  .auth-register {
    color: #101010;
    background: linear-gradient(180deg, #ffd023 0%, #ffaf05 100%);
  }
 .mobile-auth a:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
  }
  .auth-icon {
    width: 47px;
    height: 47px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #f5af05;
    background: #080808;
  }
  .auth-icon svg { width: 28px; height: 28px; }
  .mobile-auth a > span:last-child {
    font-size: 18px;
    line-height: 1.05;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mobile-auth small {
    margin-top: 3px;
    font: 700 10px/1 Arial, Helvetica, sans-serif;
  }
  .catalog-shell {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
  }
  .category-menu {
    width: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .category-desktop-skin { display: none; }
  .category {
    height: 116px;
    border: 2px solid #515151;
    border-radius: 17px;
    padding: 0;
    background:
      linear-gradient(157deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.06) 33%, transparent 33.4%),
      linear-gradient(#202020, #080808);
  }
  .category-face {
    height: 100%;
    padding: 8px 2px 9px;
    display: flex;
    gap: 4px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .category-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #090909 0%, #111 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
    color: var(--gold);
  }
  .category-icon svg { width: 38px; height: 38px; }
  .category-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.45px;
  }
  .category-copy small {
    margin-top: 4px;
    color: #f2f2f2;
    font: 700 9px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .2px;
  }
  .category[aria-selected="true"] {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(239,173,0,.18);
  }
  .provider-panel {
    grid-column: 2;
    min-width: 0;
  }
  .provider-grid {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .provider {
    border-radius: 6px;
    box-shadow:
      0 1px 0 rgba(255, 217, 115, .25),
      0 4px 10px rgba(0, 0, 0, .36),
      inset 0 0 0 1px rgba(255, 217, 116, .1);
  }
  .provider:focus-visible { transform: translateY(-2px); }
  @media (hover: hover) and (pointer: fine) {
    .provider:hover { transform: translateY(-2px); }
  }
  .provider::before,
  .provider::after { bottom: 34px; }
  body[data-active-category="slot"] .provider:not(.mobile-show) { display: none; }
  .provider img {
    width: 100%;
    height: auto;
    aspect-ratio: 226 / 171;
    object-fit: cover;
  }
  .provider span {
    height: 33px;
    font-size: 17px;
    line-height: 1;
  }
  .desktop-name { display: none !important; }
  .mobile-name { display: flex !important; }
  .provider-empty {
    margin-top: 0;
    height: 175px;
    min-height: 175px;
    text-align: center;
    font-size: 14px;
  }
  .trust-footer {
    margin-top: 10px;
    border-top: 1px solid #494949;
    padding-top: 7px;
    padding-bottom: 21px;
  }
  .desktop-trust { display: none; }
  .mobile-trust-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .mobile-trust-content .trust-payment-grid {
    justify-content: center;
  }
  .mobile-trust-image {
    display: block;
    width: 100%;
    height: auto;
  }
  .mobile-bottom-nav {
    width: calc(100% + var(--mobile-edge) * 2);
    margin-left: calc(var(--mobile-edge) * -1);
    margin-top: 0;
    height: 74px;
    border-radius: 17px 17px 0 0;
    border-top: 1px solid #5b5b5b;
    background: linear-gradient(180deg, #292929 0%, #080808 67%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
  }
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--gold-bright);
  }
  .mobile-bottom-nav svg { width: 32px; height: 32px; }
  .mobile-bottom-nav span {
    color: #f1f1f1;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-track,
  .banner,
  .banner img,
  .banner::after {
    transition-duration: 1ms !important;
    animation: none !important;
  }
}

@media (max-width: 350px) {
  .trust-payment-grid {
    width: min(100%, 174px);
    grid-template-columns: repeat(4, 36px);
  }
  .trust-payment-brand {
    width: 36px;
    height: 36px;
  }
  .brand { width: 137px; flex-basis: 137px; }
  .header-register { padding-inline: 9px; font-size: 12px; }
  .catalog-shell { grid-template-columns: 80px minmax(0, 1fr); gap: 8px; }
  .category { height: 115px; }
}

/* ---------- Category menu: premium hover without duplicate borders ---------- */
.category {
  --category-radius: 20px;
  border-radius: var(--category-radius);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color .24s ease,
    box-shadow .3s ease,
    transform .3s cubic-bezier(.2, .78, .25, 1),
    filter .25s ease;
}

/* Lighting-only overlays: no pseudo-element border and no outline ring on hover. */
.category::before,
.category::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}
.category::before {
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(82% 125% at 50% 100%, rgba(244, 170, 0, .21), transparent 60%),
    linear-gradient(180deg, rgba(255, 226, 127, .13), transparent 37%, rgba(255, 166, 0, .06));
  transition: opacity .23s ease;
}
.category::after {
  z-index: 5;
  top: 3px;
  bottom: 3px;
  left: -52%;
  width: 38%;
  border-radius: calc(var(--category-radius) - 3px);
  background: linear-gradient(
    108deg,
    transparent 0%,
    rgba(255, 229, 132, .03) 25%,
    rgba(255, 234, 151, .31) 49%,
    rgba(255, 222, 93, .04) 71%,
    transparent 100%
  );
  transform: skewX(-19deg);
}
.category:focus-visible::before {
  opacity: 1;
}
/* Active state follows aria-selected; tabs.js updates it whenever a category is chosen. */
@keyframes categoryLightSweep {
  from { left: -52%; opacity: 0; }
  14% { opacity: 1; }
  to { left: 119%; opacity: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .category:hover::before {
    opacity: 1;
    background:
      radial-gradient(88% 145% at 50% 100%, rgba(244, 170, 0, .25), transparent 60%),
      linear-gradient(180deg, rgba(255, 226, 127, .16), transparent 37%, rgba(255, 166, 0, .08));
  }
  .category:hover::after {
    animation: categoryLightSweep .78s cubic-bezier(.24, .66, .22, 1) forwards;
  }
}

/* Desktop: the artwork supplies the only border; active state uses light, glow and an inner indicator. */
@media (min-width: 1121px) {
  .category-desktop-skin { display: none; }
  .category {
    --category-radius: 21px;
    height: 103px;
    border: 2px solid #545454;
    background:
      linear-gradient(165deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.05) 35%, transparent 35.2%),
      linear-gradient(180deg, #212121 0%, #070707 100%);
  }
  .category-menu {
    aspect-ratio: auto;
    gap: 10px;
    padding-block: 3px;
    margin-block: -3px;
  }
  .category-face {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .category-icon {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--gold);
    background: linear-gradient(180deg, #080808 0%, #111 100%);
    border: 1px solid rgba(255,255,255,.06);
  }
  .category-icon svg { width: 46px; height: 46px; }
  .category-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
  }
  .category-copy small {
    color: #f2f2f2;
    font: 700 13px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .35px;
  }

  .category[aria-selected="true"] {
    box-shadow:
      inset 0 0 20px rgba(255, 193, 24, .18),
      0 0 20px rgba(239, 173, 0, .20);
  }

  .category[aria-selected="true"]::before {
    opacity: 1;
    background:
      linear-gradient(
        90deg,
        transparent 8%,
        rgba(255, 188, 18, .42) 30%,
        rgba(255, 216, 89, .95) 50%,
        rgba(255, 188, 18, .42) 70%,
        transparent 92%
      ) center bottom 4px / 76% 2px no-repeat,
      radial-gradient(88% 135% at 50% 100%, rgba(244, 170, 0, .25), transparent 61%),
      linear-gradient(180deg, rgba(255, 226, 127, .15), transparent 38%, rgba(255, 166, 0, .07));
  }

  @media (hover: hover) and (pointer: fine) {
    .category:hover {
      box-shadow:
        0 0 22px rgba(239, 173, 0, .25),
        0 10px 18px rgba(0, 0, 0, .16);
    }

    .category[aria-selected="true"]:hover {
      box-shadow:
        inset 0 0 22px rgba(255, 193, 24, .21),
        0 0 27px rgba(239, 173, 0, .30),
        0 10px 18px rgba(0, 0, 0, .16);
    }
  }
}

/* Tablet and mobile already have one real border; hover only recolors that same border. */
@media (max-width: 1120px) {
  .category[aria-selected="true"]::before {
    opacity: .78;
    background:
      radial-gradient(82% 125% at 50% 100%, rgba(244, 170, 0, .17), transparent 60%),
      linear-gradient(180deg, rgba(255, 226, 127, .09), transparent 38%, rgba(255, 166, 0, .045));
  }
  .category-face {
    position: relative;
    z-index: 2;
  }
  .category-icon,
  .category-copy {
    transition:
      transform .28s cubic-bezier(.2, .78, .25, 1),
      color .24s ease,
      text-shadow .24s ease,
      box-shadow .25s ease;
  }
  .category[aria-selected="true"] {
    border-color: rgba(247, 181, 8, .9);
    background:
      linear-gradient(157deg, rgba(255,225,128,.13) 0%, rgba(255,225,128,.07) 34%, transparent 34.4%),
      linear-gradient(180deg, #241c0e 0%, #080808 100%);
    box-shadow:
      0 0 15px rgba(239, 173, 0, .16),
      inset 0 1px 0 rgba(255, 226, 125, .1);
  }
  @media (hover: hover) and (pointer: fine) {
    .category:hover {
      border-color: rgba(255, 191, 12, .95);
      transform: translateY(-3px);
      filter: saturate(1.06);
      box-shadow:
        0 0 20px rgba(239, 173, 0, .25),
        0 13px 20px rgba(0, 0, 0, .43),
        inset 0 1px 0 rgba(255, 230, 140, .12);
    }
    .category:hover .category-icon {
      color: var(--gold-bright);
      transform: translateY(-1px) scale(1.055);
      box-shadow: 0 0 14px rgba(239, 173, 0, .16);
    }
    .category:hover .category-copy {
      text-shadow: 0 0 12px rgba(255, 205, 42, .13);
    }
  }
  .category:active {
    transform: translateY(0) scale(.982);
  }
}
@media (max-width: 700px) {
  .category { --category-radius: 17px; }
  @media (hover: hover) and (pointer: fine) {
    .category:hover {
      transform: translateX(2px) scale(1.01);
    }
  }
  .category[aria-selected="true"] {
    box-shadow:
      0 0 12px rgba(239, 173, 0, .14),
      inset 0 1px 0 rgba(255, 226, 125, .1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .category,
  .category-icon,
  .category-copy,
  .category::before { transition: none !important; }
  .category:hover::after {
    animation: none !important;
    left: 35%;
    opacity: .14;
  }
}

