:root {
  --store-bg: #040b2d;
  --store-surface: #1c1f27;
  --store-line: #323641;
  --store-muted: #b4b9c5;
  --store-accent: #70e1bf;
}
body { color: #f4f5f7; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--store-accent);
  outline-offset: 3px;
}
button:disabled { cursor: not-allowed; }
.navbar {
  background: #17191f;
  border-bottom: 1px solid var(--store-line);
  box-shadow: 0 4px 18px #00000025;
}
.navbar::after { display: none; }
.navbar, .navbar > div { background: #000; }
.store-sidebar {
  background: #17191f;
  border-right: 1px solid var(--store-line);
}
.store-sidebar a[data-discover] { border-radius: 8px; transition: background-color 160ms, color 160ms; }
.store-sidebar a[data-discover]:not([aria-current]):hover { background: #252932; }
.store-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 6px;
  padding: 16px 12px;
  border-top: 1px solid var(--store-line);
  color: var(--store-muted);
  font: 400 12px/1.6 "DM Sans", system-ui, sans-serif;
  text-align: center;
  flex-shrink: 0;
}
.store-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 2px;
  color: var(--store-accent);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
}
.store-credit a:hover { color: #a8f3dc; text-decoration: underline; }
.store-sidebar .store-credit { margin-top: auto; background: #14161c; }
.store-home { padding-bottom: 40px; }
.store-banner { border-bottom: 1px solid var(--store-line); }
.store-banner img { border-radius: 8px; }
.store-section-title {
  font: 700 20px/1.4 "DM Sans", system-ui, sans-serif;
  color: #f5f6f8;
  filter: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.store-section-title::before { content: ""; width: 3px; height: 20px; background: var(--store-accent); border-radius: 2px; }
.store-offer-card, .store-game-card {
  border: 1px solid var(--store-line);
  border-radius: 8px;
  transition: border-color 180ms, box-shadow 180ms;
}
.store-offer-card:hover, .store-game-card:hover { border-color: #70e1bf80; box-shadow: 0 6px 20px #00000030; }
.store-offer-card .glow { display: none; }
.store-offer-card > div:last-child > p { color: var(--store-accent); font-size: 14px; }
.store-game-card > div > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
  background: #2b304c;
  box-shadow: none !important;
}
.store-game-card > div > div { padding: 12px 10px; }
.store-game-card > div > div > p:first-child { font-size: 14px; line-height: 20px; }
.store-game-card > div > div > p:nth-child(2) { margin-top: 2px; color: var(--store-muted); line-height: 16px; }
.store-game-card > p {
  border-left: 1px solid #ffffff20;
  border-bottom: 1px solid #ffffff20;
  border-radius: 0 0 0 8px;
  box-shadow: none !important;
}
.store-products { gap: 16px; }
footer { border-top: 1px solid var(--store-line); padding: 28px 0 12px !important; }
footer a { transition: color 160ms; }
footer a:hover { color: var(--store-accent); }
footer a[data-discover] { display: inline-flex; align-items: center; min-height: 30px; color: var(--store-muted); }
footer > div > p { margin-top: 24px; color: var(--store-muted); }
footer .store-credit { margin-top: 16px; padding: 12px 0 0; }
.whatsapp-btn { width: 46px; height: 46px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); border: 1px solid #ffffff35; box-shadow: 0 4px 16px #00000040; }
.whatsapp-btn::before { display: none; }
.topup-button { border-radius: 8px; }
input:not([type=radio]):not([type=checkbox]), textarea { caret-color: var(--store-accent); }
@media (max-width: 639px) {
  .store-home > div:last-child { padding: 0 4px; }
  .store-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .store-section-title { font-size: 18px; }
  .store-game-card > div > div { padding: 10px; }
  .store-sidebar { width: min(78vw, 280px); }
  footer > div { padding-left: 16px; padding-right: 16px; }
  footer > div > div > div:first-child { gap: 16px; }
  footer > div > div > div:first-child > div > p { font-size: 13px; }
  .store-credit { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rfm-marquee { animation-play-state: paused !important; }
  .store-offer-card, .store-game-card, .store-sidebar a { transition: none; }
}
.store-sidebar-v2 {
  width: 280px;
  max-width: calc(100vw - 40px);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #0a0a0c;
  border-right: 1px solid #28282d;
  overflow: hidden;
  box-shadow: 12px 0 40px #00000045;
}
.store-sidebar-brand {
  height: 64px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #000;
  border-bottom: 1px solid #28282d;
}
.store-sidebar-brand:not(.hidden) { display: flex; }
.store-sidebar-brand > a { height: 52px; }
.store-sidebar-brand img { height: 100%; width: auto; object-fit: contain; }
.store-sidebar-close, .store-header-menu {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  color: #d9dce3;
  background: #151518;
  border: 1px solid #303036;
  border-radius: 8px;
  box-shadow: none !important;
}
.store-header-menu img { filter: grayscale(1) brightness(2); }
.store-sidebar-close:hover, .store-header-menu:hover { background: #242429; color: #fff; }
.store-sidebar-nav { padding: 12px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: #35353b transparent; }
.store-nav-group + .store-nav-group { margin-top: 16px; }
.store-nav-heading { padding: 0 12px 6px; color: #8e929e; font-size: 11px; font-weight: 600; line-height: 18px; text-transform: uppercase; }
.store-sidebar .store-nav-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 2px 0;
  color: #d5d8e1;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}
.store-nav-link span { min-width: 0; overflow-wrap: anywhere; }
.store-nav-icon { flex-shrink: 0; width: 19px; height: 19px; object-fit: contain; }
.store-sidebar .store-nav-link.is-active { background: #70e1bf12; border-color: #70e1bf35; color: #9af0d6; font-weight: 600; box-shadow: inset 3px 0 0 #70e1bf; }
.store-sidebar .store-nav-link:not(.is-active):hover { background: #1c1c21; color: #fff; }
.store-nav-auth { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; margin-top: 16px; padding: 10px 12px; border: 1px solid #323238; border-radius: 8px; background: #17171b; color: #f3f4f7; font-size: 13px; font-weight: 600; }
.store-nav-auth:hover { border-color: #676773; }
.store-nav-auth:disabled { opacity: .6; }
.store-sidebar-account { display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding-top: 12px; border-top: 1px solid #28282d; }
.store-sidebar-account > a img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.store-sidebar-account > div { min-width: 0; }
.store-account-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #f3f4f7; }
.store-account-wallet { display: block; margin-top: 2px; font-size: 12px; color: var(--store-accent); }
.store-sidebar-v2 .store-credit { background: #000; margin-top: 0; padding: 12px 8px; }
@media (min-width: 1280px) {
  .store-sidebar-overlay { width: 280px; }
  main.ml-auto { width: calc(100% - 280px); }
  .store-sidebar-v2 { height: calc(100dvh - 64px); max-width: none; }
  .store-sidebar-brand.xl\:hidden { display: none; }
  .store-sidebar-nav { padding-top: 20px; }
}
@media (max-width: 639px) {
  .store-sidebar-v2 { width: min(78vw, 280px); }
}
