:root {
  --bg: #121316;
  --panel: #1a1c20;
  --panel2: #16181c;
  --line: #2a2e36;
  --text: #e9edf3;
  --muted: #a7afbb;
  --accent: #fdf097;
  --accent2: #cf992d;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.page {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);

  background-color: var(--bg);
  background-image:
    radial-gradient(900px 450px at 40% -10%, rgba(184, 255, 26, .10), transparent 55%),
    radial-gradient(800px 400px at 80% 10%, rgba(255, 201, 0, .08), transparent 50%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* key */
  background-position: 0 0;
  /* optional */
}


a {
  color: inherit;
  text-decoration: none;
}

.link {
  color: var(--text);
  opacity: .9;
}

.link:hover {
  opacity: 1;
}

/* helpers */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 26px 0;
}

.section--tight {
  padding: 12px 0 10px;
}

.section--panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
}

.center {
  text-align: center;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .26);
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #0b0d10;
  border-color: rgba(0, 0, 0, .25);
}

.btn--ghost {
  background: rgba(255, 255, 255, .03);
}

.btn--lg {
  padding: 12px 18px;
}

.btn--sm {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
}

.kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.headline {
  margin: 10px 0 0;
  font-size: 28px;
  letter-spacing: .2px;
}

/* =========================
   TOPBAR
   ========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 15, 18, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand__img {
  height: 70px;
  width: auto;
  display: block;
}

.brand__name {
  letter-spacing: .2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}

.nav__link {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link.is-active {
  color: #0b0d10;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}

.topbar__right {
  position: relative;
  /* anchor dropdowns */
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
}

.dot--alt {
  background: #3b82f6;
}

/* Logged-in header (wallet + icons) */
.hdrIcons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icoBtn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, .9);
}

.icoBtn:hover {
  border-color: rgba(255, 255, 255, .26);
}

.walletBtn {
  min-width: 150px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  position: relative;
}

.walletBtn__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
  line-height: 1;
}

.walletBtn__amt {
  font-size: 12px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.walletBtn__caret {
  opacity: .85;
}

/* Dropdown menu (wallet + user) */
.ddMenu {
  position: absolute;
  top: 54px;
  right: 0;
  width: 240px;
  border-radius: 12px;
  background: rgba(36, 38, 44, .98);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  overflow: hidden;
  z-index: 40;
  /* below modal */
}

.ddMenu[hidden] {
  display: none;
}

.ddHead {
  display: flex;
  gap: 10px;
  padding: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ddAvatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .10);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.ddName {
  font-weight: 900;
  font-size: 13px;
}

.ddRole {
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  font-weight: 800;
}

.ddSep {
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin: 8px 0;
}

.ddSep--strong {
  background: rgba(255, 255, 255, .22);
  margin: 10px 0;
}

.ddItem {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
}

.ddItem:hover {
  background: rgba(255, 255, 255, .06);
}

.ddItem--sub {
  padding-left: 24px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.ddBtn {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.ddGroup__title {
  font-size: 12px;
  opacity: .7;
  padding: 8px 12px 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* app.css (accordion) */
.ddAcc__item+.ddAcc__item {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.ddAcc__btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .90);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.ddAcc__btn:hover {
  background: rgba(255, 255, 255, .06);
}

.ddAcc__caret {
  opacity: .85;
  transition: transform .18s ease;
}

.ddAcc__btn[aria-expanded="true"] .ddAcc__caret {
  transform: rotate(180deg);
}

.ddAcc__panel {
  padding: 4px 0 8px;
}

/* =========================
   HERO
   ========================= */
.hero {
  padding: 10px 0 0;
}

.hero__slides {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hero__slide {
  display: none;
}

.hero__slide.is-active {
  display: block;
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .30);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}

.hero__nav:hover {
  border-color: rgba(255, 255, 255, .26);
}

.hero__nav--prev {
  left: 12px;
}

.hero__nav--next {
  right: 12px;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dotbtn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .18);
  cursor: pointer;
}

.dotbtn.is-active {
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-color: rgba(0, 0, 0, .25);
}

/* Optional content hero layout (kept for compatibility) */
.hero__inner {
  min-height: 320px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 18px;
  padding: 24px 18px;
}

.hero__copy h1 {
  margin: 0 0 10px;
  font-size: 40px;
  letter-spacing: .2px;
}

.hero__copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__art {
  display: flex;
  justify-content: flex-end;
}

/* Image banners only */
.heroBanner {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .25);
}

.heroBanner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.heroBanner--cover img {
  object-fit: cover;
  object-position: center;
}

.hero__slide--full .wrap {
  max-width: none;
  padding: 0;
}

.hero__slide--full .heroBanner {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.hero__slide--full .heroBanner img {
  height: clamp(220px, 38vw, 460px);
}

.heroImg {
  width: 420px;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: black;
}

.heroImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================
   PLACEHOLDERS
   ========================= */
.ph {
  position: relative;
  border-radius: var(--radius);
  border: none;
  overflow: hidden;
  background: none;
}

.ph::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 220px;
  height: 220px;
  transform: rotate(25deg);

  pointer-events: none;
}

.ph__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-weight: 900;
  letter-spacing: .8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  z-index: 1;
}

.ph__label>* {
  position: relative;
  z-index: 2;
}

.ph__shine {
  position: absolute;
  inset: -50% -20% auto auto;
  width: 240px;
  height: 240px;
  transform: rotate(25deg);
  background: radial-gradient(circle at 40% 40%, rgba(184, 255, 26, .28), transparent 55%);
  filter: blur(2px);
}

.ph--hero {
  width: 420px;
  height: 220px;
}

.ph--promo {
  width: 100%;
  height: 64px;
  border-radius: 12px;
}

.ph--game {
  width: 140px;
  height: 160px;
  border-radius: 16px;
}

.ph--tile {
  width: 100%;
  height: 100%;
  border-radius: 0;
  /* let .tile round corners */
}

.ph--sq {
  width: 100%;
  height: 100%;
  border-radius: 0;
  /* matches gThumb area */
  border: 0;
}

/* Hot game title inside placeholder: prevent overflow */
.ph--game .ph__label {
  padding: 10px;
}

.ph--game .ph__label>span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.15;
  font-size: 13px;
  word-break: break-word;
}

/* Image inside placeholder */
.ph__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.ph__img--cover {
  object-fit: fill;
}

.ph__img--contain {
  object-fit: cover;
  background: black;
  border: none;
  border-color: gold;
  border-width: thin;
  border-radius: 10px;
}

/* If we have image, keep label as subtle overlay (show on hover) */
.ph.has-img .ph__label {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
}

.tile:hover .ph.has-img .ph__label,
.gameCard:hover .ph.has-img .ph__label {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback for browsers without color-mix support */
@supports not (color: color-mix(in srgb, #fff 50%, #000)) {
  .ph {
    background:
      radial-gradient(120px 120px at 20% 30%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 60%),
      radial-gradient(160px 160px at 80% 20%, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 55%),
      linear-gradient(135deg, var(--ph, #3b82f6), rgba(0, 0, 0, .18));
  }
}

/* =========================
   PROMO STRIP
   ========================= */
.promoStrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
  position: relative;
}

.promoCard {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .15s ease, border-color .15s ease;
}

.promoCard:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .14);
}

.promoCard__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promoCard__title {
  font-weight: 800;
  font-size: 13px;
}

.promoCard__sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.promoStrip__more {
  position: absolute;
  right: 0;
  top: -26px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

/* =========================
   WALLET STRIP
   ========================= */
.walletStrip {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.walletStrip__left {
  min-width: 260px;
}

.walletStrip__kicker {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 6px;
}

.walletStrip__total {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.walletStrip__mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wMini {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .20);
  border: 1px solid rgba(255, 255, 255, .08);
  min-width: 140px;
  color: white;
}

.wMini__label {
  font-size: 12px;
  opacity: .75;
  margin-bottom: 2px;
}

.wMini__value {
  font-size: 14px;
  font-weight: 600;
}

.walletStrip__right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* =========================
   HOME WALLET STRIP redesign
   ========================= */
.walletStrip--home {
  flex-direction: column;
  gap: 12px;
}

.walletStrip__headRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.walletStrip__mini--always {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wMini--btn {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .20);
  cursor: pointer;
  text-align: left;
}

.wMini--btn:hover {
  border-color: rgba(255, 255, 255, .16);
}

.wMini__tag {
  position: absolute;
  right: 10px;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(184, 255, 26, .15);
  border: 1px solid rgba(184, 255, 26, .22);
  color: var(--accent);
}

/* Collapsible body */
.walletStrip--home .walletStrip__body {
  overflow: hidden;
  max-height: 999px;
  opacity: 1;
  transition: max-height .25s ease, opacity .2s ease, margin-top .25s ease;
}

.walletStrip--home.is-collapsed .walletStrip__body {
  max-height: 0 !important;
  opacity: 0;
  margin-top: 0;
}

/* Actions: 4 in a row */
.walletStrip__actions4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.walletStrip__actions4 .btn {
  width: 100%;
  justify-content: center;
}

/* Bonus popout */
.bonusPop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(36, 38, 44, .98);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  z-index: 80;
}

.bonusPop__title {
  font-weight: 900;
  font-size: 12px;
}

.bonusPop__ref {
  margin-top: 4px;
  font-size: 11px;
  opacity: .75;
}

.bonusPop__nums {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  opacity: .9;
  flex-wrap: wrap;
}

.bonusPop__slash {
  opacity: .6;
}

.bonusPop__pct {
  margin-left: auto;
  font-weight: 900;
}

.bonusPop__bar {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  overflow: hidden;
}

.bonusPop__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(255, 255, 255, .70);
}

.bonusPop__foot {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  opacity: .9;
}

.bonusPop__k {
  opacity: .75;
}

.bonusPop__v {
  font-weight: 900;
}

/* Mobile tweaks */
@media (max-width: 900px) {
  .walletStrip__headRow {
    flex-direction: column;
    align-items: stretch;
  }

  .walletStrip__mini--always {
    justify-content: flex-start;
  }

  .walletStrip__actions4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .walletStrip__actions4 .btn {
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 900;
    border-radius: 12px;
  }

  .bonusPop {
    left: auto;
    right: 0;
    width: min(280px, 78vw);
  }
}

@media (max-width: 520px) {

  /* still 4 in a row, but tighter */
  .walletStrip__actions4 {
    gap: 6px;
  }

  .walletStrip__actions4 .btn {
    font-size: 11px;
  }
}


/* =========================
   Wallet strip (HOME) — Desktop polish + optional accordion
   ========================= */
@media (min-width: 901px) {

  /* Make the home wallet strip a clean desktop block */
  .walletStrip--home {
    flex-direction: column;
    /* keep as a “card” with head + body */
    gap: 14px;
    padding: 16px;
  }

  /* Head row: total on left, minis on right */
  .walletStrip--home .walletStrip__headRow {
    align-items: center;
  }

  /* Make the head button look like a normal left block */
  .walletStrip--home .walletStrip__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    /* enable toggle on desktop too */
    width: auto;
    color: white;
  }

  /* Hide caret on desktop if you want it always open-looking */
  .walletStrip--home .walletStrip__caret {
    display: none;
  }

  /* Minis align nicely */
  .walletStrip--home .walletStrip__mini--always {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .walletStrip--home .wMini {
    min-width: 160px;
  }

  /* Body (actions) always looks like a proper row */
  .walletStrip--home .walletStrip__body {
    margin-top: 0;
    max-height: none;
    /* no clamp by default */
    opacity: 1;
    overflow: visible;
  }

  /* Make the 4 actions feel “desktop” */
  .walletStrip--home .walletStrip__actions4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .walletStrip--home .walletStrip__actions4 .btn {
    height: 44px;
    border-radius: 12px;
    font-weight: 900;
  }

  /* When collapsed, animate nicely */
  .walletStrip--home.is-collapsed .walletStrip__body {
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden !important;
  }
}


/* =========================
   SECTION HEAD / ROWS
   ========================= */
.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sectionHead h2 {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, .92);
  letter-spacing: .2px;
}

.sectionHead__link {
  color: var(--muted);
  font-size: 12px;
}

.sectionHead__link:hover {
  color: var(--text);
}

.rowScroll {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.rowScroll::-webkit-scrollbar {
  height: 8px;
}

.rowScroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
}

.gameCard {
  min-width: 162px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .15s ease, border-color .15s ease;
}

.gameCard:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .14);
}

.gameCard__name {
  margin-top: 8px;
  font-weight: 800;
  font-size: 12px;
}

.gameCard__sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* =========================
   TABS + GRID
   ========================= */
.tabs {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  justify-content: flex-start;
  overflow: auto;
}

.tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.tab:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .18);
}

.tab.is-active {
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #0b0d10;
  border-color: rgba(0, 0, 0, .25);
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.tile {
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
  aspect-ratio: 4 / 5;
  display: block;
}

.tile:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .14);
}

/* =========================
   STEPS
   ========================= */
.steps {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}

.step__icon {
  font-size: 22px;
}

.step__title {
  margin-top: 10px;
  font-weight: 900;
}

.step__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

/* =========================
   DEVICES
   ========================= */
.devices {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.device {
  width: 220px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}

.device:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .14);
}

.device--active {
  border-color: rgba(184, 255, 26, .35);
  box-shadow: 0 14px 40px rgba(184, 255, 26, .08);
}

.device__icon {
  font-size: 24px;
}

.device__label {
  margin-top: 10px;
  font-weight: 900;
}

.badge {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(184, 255, 26, .15);
  border: 1px solid rgba(184, 255, 26, .22);
  color: var(--accent);
  font-weight: 900;
  font-size: 11px;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  margin-top: 22px;
  background: rgba(0, 0, 0, .28);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 26px 0;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
}

.footer__title {
  font-weight: 900;
  margin-bottom: 10px;
}

.footer__text {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.footer__link {
  display: block;
  color: var(--muted);
  margin: 6px 0;
  font-size: 12px;
}

.footer__link:hover {
  color: var(--text);
}

.footer__chips {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .75);
  font-weight: 900;
  font-size: 11px;
}

.pay {
  display: flex;
  gap: 10px;
}

.pay__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}

.footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.toTop {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.chatFloat {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #0b0d10;
  border: 1px solid rgba(0, 0, 0, .25);
  box-shadow: var(--shadow);
}

/* =========================
   MODAL (always above everything)
   ========================= */
.linkBtn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  opacity: .9;
}

.linkBtn:hover {
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 14px calc(92px + env(safe-area-inset-bottom));
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
  pointer-events: auto;
  z-index: 9999;
}

.modal__panel {
  width: min(460px, 100%);
  margin: 0;
  max-height: calc(100vh - 72px - 92px - env(safe-area-inset-bottom));
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  border-radius: 14px;
  background: #3a3c41;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  padding: 18px;

  position: relative;
  z-index: 10000;
  pointer-events: auto;
}

.modal__close {
  position: sticky;
  top: 8px;
  margin-left: auto;
  display: block;
  z-index: 2;
}

.modal__head {
  padding: 6px 2px 10px;
}

.modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.modal__sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
}

.modalTabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: 0 2px 10px;
  margin-bottom: 12px;
}

.modalTab {
  border: 0;
  background: transparent;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 900;
  color: rgba(255, 255, 255, .60);
  position: relative;
}

.modalTab.is-active {
  color: rgba(255, 255, 255, .95);
}

.modalTab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}

.modalForm {
  display: none;
}

.modalForm.is-active {
  display: block;
}

.fLabel {
  display: block;
  margin: 10px 0 6px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
}

.req {
  color: #ff5c5c;
}

.fInput {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .12);
  color: rgba(255, 255, 255, .92);
  padding: 0 12px;
  outline: none;
}

.fInput::placeholder {
  color: rgba(255, 255, 255, .45);
}

.fRow {
  position: relative;
}

.eyeBtn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.fBetween {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chk {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
}

.smallLink {
  color: var(--accent);
  font-size: 12px;
}

.smallLink:hover {
  text-decoration: underline;
}

.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
  border-radius: 8px;
}

.muted {
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
}

.modalFoot {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.smallLinkBtn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.smallLinkBtn:hover {
  text-decoration: underline;
}

.otpTabs {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.otpTab {
  border: 0;
  background: transparent;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 900;
  color: rgba(255, 255, 255, .60);
  position: relative;
}

.otpTab.is-active {
  color: rgba(255, 255, 255, .95);
}

.otpTab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .85);
}

.otpPane {
  display: none;
  margin-top: 10px;
}

.otpPane.is-active {
  display: block;
}

.phoneRow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.countryBtn {
  height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .12);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
  white-space: nowrap;
}

.otpRow {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.sendBtn {
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.terms {
  margin-top: 10px;
  text-align: center;
}

.alert {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 0, 0, .10);
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  text-align: left;
}

.alert ul {
  margin: 0;
  padding-left: 18px;
}

/* =========================
   MOBILE BOTTOM NAV (FULL WIDTH, NO GAPS)
   ========================= */
.mNav {
  display: none;
}

@media (max-width: 900px) {
  body.page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  body.page.modal-open {
    padding-bottom: 0;
  }

  .mNav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    padding: 0;
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mNav__wrap {
    position: relative;
    width: 100%;
    height: 72px;
    margin: 0;
    max-width: none;
  }

  .mNav__bg {
    position: absolute;
    inset: 0;
    filter: drop-shadow(0 18px 60px rgba(0, 0, 0, .55));
  }

  .mNav__bg svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .mNav__bg path {
    fill: rgba(20, 22, 26, .92);
    stroke: rgba(255, 255, 255, .10);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .mNav__bar {
    position: relative;
    height: 72px;
    display: grid;
    grid-template-columns: 1fr 1fr 92px 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 10px 10px;
    z-index: 2;
  }

  .mNav__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 16px;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mNav__ico svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255, 255, 255, .92);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
  }

  .mNav__lbl {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1px;
    line-height: 1;
    color: rgba(255, 255, 255, .70);
  }

  .mNav__item.is-active {
    color: rgba(255, 255, 255, .95);
  }

  .mNav__item.is-active .mNav__lbl {
    color: var(--accent);
  }

  .mNav__item.is-active .mNav__ico svg {
    stroke: #fff;
  }

  .mNav__home {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    margin-top: -34px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    border: 1px solid rgba(0, 0, 0, .25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    justify-self: center;
  }

  .mNav__homeLogo {
    width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 14px;
  }

  .mNav__home:active {
    transform: translateY(1px);
  }

  .mNav__item:active {
    transform: translateY(1px);
  }
}

/* =========================
   MOBILE HEADER DRAWER (LIKE SCREENSHOT)
   ========================= */
.mBurger {
  display: none;
}

@media (max-width: 900px) {
  .mBurger {
    display: grid;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding: 8px;
    gap: 0px;
  }

  .mBurger__bar {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, .9);
    display: block;
    border-radius: 2px;
  }

  .topbar__right--desktop {
    display: none !important;
  }

  .topbar__inner {
    position: relative;
    justify-content: flex-start;
    gap: 10px;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .brand__name {
    display: none;
  }

  .brand__img {
    height: 60px;
  }
}

/* Drawer overlay */
.mDrawer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  /* above bottom nav, below modal */
}

.mDrawer[hidden] {
  display: none;
}

.mDrawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
}

.mDrawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(330px, 88vw);
  background: rgba(36, 38, 44, .98);
  border-right: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  transform: translateX(-100%);
  transition: transform .22s ease;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.mDrawer.is-open .mDrawer__panel {
  transform: translateX(0);
}

.mDrawer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mDrawer__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .9);
  cursor: pointer;
}

.mDrawer__guestTitle {
  font-weight: 900;
  letter-spacing: .2px;
  padding-top: 10px;
  color: rgba(255, 255, 255, .9);
}

/* Wallet header (logged-in) */
.mWallet {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
}

.mWallet__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.mWallet__amt {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 900;
  color: var(--accent);
}

.mWallet__caret {
  opacity: .85;
}

.mWalletMenu {
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
}

.mWalletMenu__item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .88);
}

.mWalletMenu__item+.mWalletMenu__item {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Menu grid */
.mGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.mGrid--dense {
  margin-top: 30px;
  gap: 10px;
}

.mGrid__item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mGrid__item:active {
  transform: translateY(1px);
}

.mGrid__ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .16);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.mGrid__lbl {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, .78);
}

.mGrid__item.is-active .mGrid__lbl {
  color: var(--accent);
}

.mGrid__item.is-active .mGrid__ico {
  border-color: rgba(184, 255, 26, .35);
}

/* Bottom area */
.mDrawer__bottom {
  margin-top: auto;
  padding-top: 12px;
}

.mDrawer__miniLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.mMiniLink {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, .82);
  text-align: center;
  text-decoration: none;
}

.mDrawer__cta {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .25);
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #0b0d10;
  font-weight: 900;
  cursor: pointer;
}

.mDrawer__cta--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .92);
}

/* lock body scroll when drawer open */
body.drawer-open {
  overflow: hidden;
}

/* =========================
   RESPONSIVE (GENERAL)
   ========================= */
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__art {
    justify-content: flex-start;
  }

  .heroBanner img {
    height: 220px;
  }

  .heroImg {
    width: 100%;
    height: 180px;
  }

  .ph--hero {
    width: 100%;
    height: 180px;
  }

  .promoStrip {
    grid-template-columns: repeat(2, 1fr);
  }

  .walletStrip {
    flex-direction: column;
  }

  .walletStrip__right {
    justify-content: flex-start;
  }

  .wMini {
    min-width: 0;
    flex: auto;
  }

  /* Wallet strip: compact actions */
  .walletStrip {
    padding: 12px;
    border-radius: 14px;
  }

  .walletStrip__total {
    font-size: 22px;
  }

  .walletStrip__mini {
    gap: 8px;
  }

  .wMini {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .walletStrip__right {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: initial;
  }

  .walletStrip__right .btn {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 12px;
  }

  .walletStrip__right .btn--ghost {
    background: rgba(255, 255, 255, .04);
  }

  /* Wallet strip accordion */
  .walletStrip--acc {
    flex-direction: column;
  }

  .walletStrip__head {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;

    color: inherit;
    text-align: left;
  }

  .walletStrip__headLeft {
    min-width: 0;
  }

  .walletStrip__caret {
    margin-top: 2px;
    opacity: .85;
    transition: transform .18s ease;
  }

  .walletStrip__body {
    overflow: hidden;
    margin-top: 12px;
    max-height: 999px;
    opacity: 1;
    transition:
      max-height .25s ease,
      opacity .2s ease,
      margin-top .25s ease;
  }

  .walletStrip.is-collapsed .walletStrip__body {
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
  }

  .walletStrip.is-collapsed .walletStrip__caret {
    transform: rotate(-180deg);
  }

  .walletStrip__head:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .25);
    outline-offset: 4px;
    border-radius: 12px;
  }

  /* Tabs nicer */
  .tabs {
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
    scroll-snap-align: start;
  }

  /* Grid tighter on mobile */
  .grid {
    gap: 2px;
    grid-template-columns: repeat(3, 1fr);
  }

  .tile {
    border-radius: 12px;
    aspect-ratio: 1 / 1.15;
  }

  .ph__label {
    font-size: 12px;
    letter-spacing: .4px;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer mobile redesign */
  .footer {
    padding: 18px 0 90px;
  }

  .footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .footer__grid>div:nth-child(1) {
    grid-column: 1 / -1;
  }

  .footer__grid>div:nth-child(2) {
    grid-column: 1 / 2;
  }

  .footer__grid>div:nth-child(3) {
    grid-column: 2 / 3;
  }

  .footer__grid>div:nth-child(4) {
    grid-column: 1 / -1;
  }

  .footer__grid>div {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
  }

  .footer__text {
    font-size: 12px;
    line-height: 1.5;
    margin: 8px 0 0;
  }

  .footer__title {
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: .2px;
  }

  .footer__link {
    display: inline-flex;
    width: calc(50% - 6px);
    margin: 6px 6px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    line-height: 1;
  }

  .footer__grid>div:nth-child(2) .footer__link,
  .footer__grid>div:nth-child(3) .footer__link {
    width: 100%;
    margin-right: 0;
  }

  .footer__link:hover {
    background: rgba(255, 255, 255, .06);
  }

  .pay {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .pay__icon {
    width: auto;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
  }

  .footer__bottom {
    margin-top: 14px;
    padding-top: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .toTop {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    align-self: flex-end;
  }

  .chatFloat {
    right: 12px;
    bottom: 140px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .heroBanner img {
    height: 180px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

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

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid>div:nth-child(1),
  .footer__grid>div:nth-child(2),
  .footer__grid>div:nth-child(3),
  .footer__grid>div:nth-child(4) {
    grid-column: auto;
  }

  .footer__link {
    width: 100%;
    margin-right: 0;
  }

  .pay {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   Wallet strip: desktop should NOT look like an accordion
   (override the mobile accordion styles + ignore inline max-height)
   ========================= */
@media (min-width: 901px) {

  /* Make it a normal row on desktop */
  .walletStrip--acc {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  /* "Head" should look like a left block, not an accordion toggle */
  .walletStrip--acc .walletStrip__head {
    width: auto;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;

    display: flex;
    align-items: center;
    gap: 14px;

    cursor: default;
  }

  /* Hide caret on desktop */
  .walletStrip--acc .walletStrip__caret {
    display: none !important;
  }

  /* Body should always be visible on desktop (and ignore inline max-height) */
  .walletStrip--acc .walletStrip__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-top: 0;

    max-height: none !important;
    /* overrides style="max-height: 96px" */
    opacity: 1 !important;
    overflow: visible !important;
  }

  /* Keep minis and actions nicely aligned */
  .walletStrip--acc .walletStrip__mini {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
  }

  .walletStrip--acc .wMini {
    min-width: 140px;
  }

  .walletStrip--acc .walletStrip__right {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
  }

  /* Optional: make total + kicker sit in one compact column */
  .walletStrip--acc .walletStrip__headLeft {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


/* =========================
   GUEST CTA (Login/Register strip)
   ========================= */
.guestCta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.guestCta__kicker {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 6px;
}

.guestCta__title {
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.guestCta__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.guestCta__right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .guestCta {
    flex-direction: column;
    align-items: stretch;
  }

  .guestCta__right {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .guestCta__right .btn {
    width: 100%;
  }
}

/* Mobile header language dropdown beside centered logo */
.topbar__right--mobile {
  display: none;
}

@media (max-width: 900px) {
  .topbar__right--mobile {
    display: flex;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
  }

  .langDD--mobile {
    margin-right: 0;
  }

  .langDD--mobile .langDD__btn {
    padding: 6px 8px;
    border-radius: 12px;
    font-size: 12px;
  }

  .langDD--mobile .langDD__menu {
    top: calc(100% + 6px);
    min-width: 110px;
  }
}

/* =========================
   LANGUAGE DROPDOWN (shared)
   ========================= */
.langDD {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.langDD__btn {
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .2px;
}

.langDD__btn:hover {
  border-color: rgba(255, 255, 255, .26);
}

.langDD__caret {
  opacity: .85;
}

.langDD__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  border-radius: 12px;
  background: rgba(36, 38, 44, .98);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  overflow: hidden;
  z-index: 60;
  /* above header items */
}

.langDD__menu[hidden] {
  display: none;
}

.langDD__item {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, .88);
}

.langDD__item:hover {
  background: rgba(255, 255, 255, .06);
}

/* Desktop spacing (optional) */
.langDD--desktop {
  margin-right: 6px;
}


/* =========================
   FIX: Mobile drawer wallet dropdown should NOT push layout
   ========================= */
.mDrawer__top {
  align-items: center;
  /* was flex-start; keeps X stable */
}

.mWalletWrap {
  position: relative;
  /* anchor for absolute dropdown */
  flex: 1 1 auto;
  min-width: 0;
  /* prevent overflow */
}

/* Keep the X from shrinking or being pushed */
.mDrawer__close {
  flex: 0 0 auto;
}

/* Dropdown overlays below wallet button */
#mWalletMenu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  margin-top: 0;
  /* override old margin-top */
  z-index: 5;
  background: black;
}

/* Optional: ensure it can be read if long */
#mWalletMenu {
  max-height: 260px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Withdraw Lock Screen ─────────────────────────────────── */
.wdOtpSentBadge {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #C7FF0E;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.wdLockSection {
  margin-bottom: 14px;
}

.wdLockSectionLabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  margin-bottom: 6px;
}

.wdOtpRow {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wdSelect--sm {
  max-width: 120px;
}

.wdLockFooter {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  opacity: 0.6;
}

.wdLockFooter .wdLink {
  opacity: 1;
  font-weight: 600;
}

.wdOtpRow .wdOtpBtn,
.wdOtpRow .wdSubmit {
  flex: 1;
}