:root {
  color-scheme: dark;
  --bg: #171717;
  --panel: #262626;
  --panel-2: #303030;
  --line: #3a3a3a;
  --muted: #a9a9a9;
  --yellow: #ffd400;
  --yellow-2: #bd9300;
  --radius: 14px;
  font-family:
    "Poppins",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: #fff;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.shell {
  min-height: 100vh;
  padding: 82px 0 116px;
}
.container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-inline: 16px;
}
.header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  background: rgb(23 23 23 / 94%);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease;
}
.header.hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}
.logo {
  flex: 0 0 auto !important;
  font-size: 23px !important;
  font-weight: 950 !important;
  letter-spacing: -1.7px !important;
}
.logo strong {
  color: var(--yellow);
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #bbb;
  font-size: 13px;
  font-weight: 750;
}
.desktop-nav img {
  width: 18px;
  height: 18px;
  max-width: max-content;
}
.desktop-nav a.active {
  background: rgb(255 212 0 / 10%);
  color: var(--yellow);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.balance {
  padding: 8px 12px;
  border: 1px dashed var(--yellow);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}
.balance span {
  color: var(--yellow);
}
.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #222;
  font-size: 12px;
  font-weight: 900;
}
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: var(--yellow);
  color: #1b1b1b;
  font-weight: 850;
}
.btn.secondary {
  background: #343434;
  color: #fff;
}
.btn.ghost {
  border: 1px dashed #555;
  background: transparent;
  color: #fff;
}
.btn.block {
  width: 100%;
}
.icon-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--panel-2);
  color: #fff;
  font-size: 24px;
}

.bottom-nav {
  position: fixed;
  z-index: 50;
  right: 6px;
  bottom: 16px;
  left: 6px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 70px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 40px;
  background:
    linear-gradient(#2b2b2b, #2b2b2b) padding-box,
    linear-gradient(90deg, #b89512, #5b5028, #45433b) border-box;
  transition: transform 0.25s ease;
}
.bottom-nav.hidden {
  transform: translateY(calc(100% + 22px));
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 30px;
  color: #aaa;
  font-size: 10px;
  font-weight: 750;
}
.bottom-nav a.active {
  background: rgb(255 212 0 / 11%);
  color: var(--yellow);
}
.bottom-nav img {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 2.65 / 1;
  background: var(--panel);
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}
.hero-slide {
  min-width: 100%;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}
.dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #666;
  transition: width 0.2s;
}
.dot.active {
  width: 20px;
  background: var(--yellow);
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.quick-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #68591c;
  border-radius: 11px;
  background: var(--panel);
  color: #fff;
  font-weight: 800;
}
.quick-action img {
  width: 32px;
  height: 32px;
}

.section {
  margin-top: 28px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.section-title h2,
.section-title h3 {
  margin: 0;
  font-size: 19px;
  color: #fff;
}
.section-title a {
  color: var(--yellow);
  font-size: 24px;
}
.card-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 1px 7px;
}
.game-card {
  position: relative;
  flex: 0 0 140px;
  height: 120px;
  overflow: hidden;
  border: 1px solid #6f5f1a;
  border-radius: 13px;
  background: radial-gradient(
    circle at left bottom,
    #6d5900,
    #252525 72%,
    #090909
  );
  box-shadow: 0 5px 18px rgb(0 0 0 / 24%);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.game-card span {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgb(0 0 0 / 48%);
  font-size: 10px;
  font-weight: 800;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.provider {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 10px;
  border: 1px solid #343434;
  border-radius: 11px;
  background: #252525;
}
.provider img {
  max-width: 76px;
  max-height: 32px;
}
.promo-grid {
  display: grid;
  gap: 14px;
}
.promo-card {
  overflow: hidden;
  border-radius: 14px;
  background: var(--panel);
}
.promo-card img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}
.promo-card div {
  padding: 13px;
  font-size: 14px;
  font-weight: 800;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 22px;
}
.page-heading h1 {
  margin: 0;
  font-size: 25px;
}
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -16px 18px;
  padding: 0 16px 4px;
}
.tab {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 0;
  border-radius: 22px;
  background: #292929;
  color: #bbb;
  font-weight: 750;
}
.tab.active {
  background: var(--yellow);
  color: #191919;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}
.games-grid .game-card {
  width: 100%;
  height: auto;
  aspect-ratio: 1.18 / 1;
}

.support-grid,
.profile-list {
  display: grid;
  gap: 11px;
}
.action-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 13px;
  border: 1px solid #333;
  border-radius: 13px;
  background: var(--panel);
}
.action-card .action-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #353535;
}
.action-card img {
  width: 26px;
  height: 26px;
}
.action-card strong,
.action-card small {
  display: block;
}
.action-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.action-card .arrow {
  margin-left: auto;
  color: #888;
  font-size: 24px;
}
.download-card {
  position: relative;
  min-height: 155px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #65571d;
  border-radius: 16px;
  background: #262626;
}
.download-card h2 {
  width: 60%;
  margin: 0 0 8px;
  font-size: 21px;
}
.download-card h2 span {
  color: var(--yellow);
}
.download-card p {
  width: 60%;
  margin: 0 0 15px;
  color: #bbb;
  font-size: 11px;
}
.download-card img {
  position: absolute;
  right: -10px;
  bottom: -25px;
  width: 42%;
  filter: drop-shadow(0 0 28px rgb(255 212 0 / 35%));
}
.language-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.language {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #3b3b3b;
  border-radius: 12px;
  background: var(--panel);
}
.language.active {
  border-color: var(--yellow);
}
.language img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border-radius: 14px;
  background: var(--panel);
}
.profile-hero h1 {
  margin: 3px 0 0;
  font-size: 19px;
}
.profile-hero small {
  color: var(--muted);
}
.profile-hero .arrow {
  margin-left: auto;
}
.balance-card {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid #665719;
  border-radius: 16px;
  background: radial-gradient(circle at top right, #4f430f, #262626 60%);
}
.balance-card small {
  color: #bbb;
}
.balance-card h2 {
  margin: 8px 0 18px;
  font-size: 30px;
  color: var(--yellow);
}
.balance-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.balance-actions .btn {
  min-height: 38px;
  padding: 0 8px;
  font-size: 12px;
}

.auth {
  display: grid;
  min-height: 100vh;
  align-content: start;
  width: min(100%, 560px);
  margin: auto;
  padding: 28px 16px;
}
.auth-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 36px;
}
.auth-header .logo {
  justify-self: center;
}
.welcome {
  margin-bottom: 26px;
  text-align: center;
}
.welcome h1 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 25px;
}
.welcome p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field > span {
  font-size: 14px;
  font-weight: 750;
}
.input {
  width: 100%;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  outline: 0;
  background: var(--panel-2);
  color: #fff;
}
.input:focus {
  border-color: var(--yellow);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #bbb;
  font-size: 12px;
  line-height: 1.5;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  background: var(--panel);
}
.method-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.method-card.active {
  border-color: var(--yellow);
}
.amount-box {
  padding: 20px;
  border-radius: 14px;
  background: var(--panel);
}
.amount-box input {
  width: calc(100% - 25px);
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}
.amount-box small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 14px;
  background: rgb(0 0 0 / 65%);
}
.modal {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #444;
  border-radius: 20px;
  background: #242424;
  box-shadow: 0 20px 70px #000;
}
.modal h2 {
  margin: 0 0 8px;
}
.modal p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 100px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--yellow);
  color: #191919;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.empty {
  padding: 50px 20px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 720px) {
  .shell {
    padding-top: 96px;
  }
  .container {
    padding-inline: 28px;
  }
  .hero {
    aspect-ratio: 3.4 / 1;
  }
  .quick-actions {
    display: none;
  }
  .game-card {
    flex-basis: 182px;
    height: 156px;
  }
  .provider-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .support-grid,
  .profile-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-backdrop {
    align-items: center;
  }
}


@media (min-width: 960px) {
  .footer-payments, .footer .legal{
    width: 100%;
  }
  .shell {
    padding-bottom: 50px;
  }
  .desktop-nav {
    display: flex;
  }
  .bottom-nav {
    display: none;
  }
  .hero {
    aspect-ratio: 4.1 / 1;
  }
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .game-card {
    flex: 1 1 0;
  }
  .card-row {
    overflow: visible;
  }
}

/* Original NextBet presentation, ported from the Vue components. */
.shell {
  padding: 0;
}
.page-body {
  width: 100%;
  max-width: 1180px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 14px 0 0;
}
.page-body > .page-heading {
  margin: 70px 16px 22px;
}
.app-header {
  min-height: 64px;
  background: #171717;
}
.app-header .container {
  padding-inline: 14px;
}
.header-inner {
  justify-content: space-between;
}
.header-actions {
  margin-left: 0;
}
.wallet-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #ffcd00;
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 900;
}
.user-wallet-actions .wallet-pill {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border: 1px dashed #ffd400;
  border-radius: 8px;
  background: #0003;
  font-size: 16px;
  font-weight: bold;
}
.user-wallet-actions .wallet-pill span {
  color: #ffd400;
}
.desktop-nav a.active {
  color: #ffd400;
  background: rgb(255 212 0 / 10%);
}
.desktop-nav small {
  font-size: 14px;
}

.home-page {
  margin-top: 70px;
}
.home-page .banner-wrapper,
.home-page .home-section {
  position: relative;
  margin-inline: 16px;
}
.home-page .hero,
.home-page .promo {
  display: block;
  overflow: hidden;
  border: 1px solid rgb(255 212 0 / 62%);
  border-radius: 15px;
  box-shadow: 0 0 18px rgb(255 212 0 / 10%);
}
.home-page .hero {
  height: calc((207 / 370) * (100vw - 32px));
  max-height: 320px;
  aspect-ratio: auto;
}
.home-page .hero img,
.home-page .promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.home-page .dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 4px 6px;
  border-radius: 10px;
  background: #bfbfbf70;
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}
.home-page .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / 30%);
}
.home-page .dot.active {
  width: 8px;
  background: #000;
}
.quick-actions {
  margin: 16px;
}
.home-action-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.small-gradient-border {
  display: block;
  padding: 1px;
  border-radius: 9px;
  background: radial-gradient(
    circle at left bottom,
    #ffcc00a0,
    #252525 85%,
    #222119
  );
  box-shadow: 0 0 10px -6px #ffcd00;
}
.quick-action {
  min-height: 58px;
  border: 0;
  background: #242424;
}

.game-section {
  width: 100%;
  min-width: 0;
  margin-top: 24px;
}
.game-section h2 {
  margin: 0 16px 10px;
  color: #f5f5f5;
  font-size: 15px;
  font-weight: 850;
}
.game-section .card-row {
  width: 100%;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 3px;
}
.gradient-border {
  flex: 0 0 140px;
  width: 140px;
  height: 120px;
  padding: 1px;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(
    circle at left bottom,
    #ffcd00,
    #252525 85%,
    #222119
  );
  box-shadow: 0 0 10px -6px #ffcd00;
}
.gradient-border .game-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: radial-gradient(
    circle at left bottom,
    #ffcd00,
    #252525 70%,
    #000
  );
  box-shadow: inset 0 0 40px 40px #3b392a90;
}
.gradient-border .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.gradient-border .card-title {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgb(0 0 0 / 40%);
  font-size: 10px;
  font-weight: 800;
}
.home-page .home-section {
  margin-top: 25px;
}
.home-page .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-page h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 850;
}
.home-page .provider-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-page .provider {
  min-height: 58px;
  padding: 4px 12px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(to left, #2d2d2d, #434343);
}
.home-page .provider img {
  max-width: 100%;
  max-height: 42px;
}
.home-page .promo-wrapper {
  position: relative;
  max-height: 160px;
}
.home-page .promo {
  height: 160px;
}
.home-page .promo-dots {
  bottom: 10px;
}
.home-page .swiper-pagination {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 10;
  display: flex;
  width: auto;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 10px;
  background: #bfbfbf70;
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}
.home-page .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgb(255 255 255 / 55%);
  opacity: 1;
}
.home-page .swiper-pagination-bullet-active {
  background: #000;
}
.home-page .promo-pagination {
  bottom: 10px;
}
.mdi {
  line-height: 1;
}
.icon-btn .mdi {
  font-size: 28px;
}
.calendar-button .mdi,
.history-button .mdi {
  font-size: 22px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 6px;
}
.category-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 850;
}
.category-tab.active {
  border: 1px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(#524922, #524922) padding-box,
    linear-gradient(90deg, #cccccc91, #524922) border-box;
}
.games-grid .gradient-border {
  width: 100%;
  height: 100%;
}

.promotion-page {
  color: #f6f6f6;
}
.promotion-page .invite-panel {
  position: relative;
  display: grid;
  height: 90vh;
  min-height: 660px;
  justify-items: center;
  overflow: hidden;
}
.promotion-page .invite-copy {
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding-top: 70px;
  text-align: center;
}
.promotion-page .invite-copy h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 950;
  line-height: 1.18;
}
.promotion-page .invite-copy h1 span {
  color: #ffd400;
}
.promotion-page .invite-copy p {
  max-width: 330px;
  margin: 0;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.35;
}
.promotion-page .invite-copy a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.promotion-page .reward-visual {
  position: absolute;
  inset: auto 0 190px;
  display: grid;
  height: 260px;
  place-items: center;
}
.promotion-page .reward-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 90%;
  left: 50%;
  width: 200px;
  height: 200px;
  border-radius: 20%;
  background: #ffd400;
  filter: blur(50px);
  transform: translate(-50%, -50%);
}
.promotion-page .reward-money {
  position: relative;
  z-index: 1;
  width: 550px;
  height: 550px;
  object-fit: contain;
}
.promotion-page .referral-card {
  z-index: 1;
  align-self: end;
  display: grid;
  width: min(100%, 530px);
  gap: 9px;
  padding: 60px 18px 28px;
  border-radius: 100% 100% 0 0;
  background: #171717;
  text-align: center;
}
.promotion-page .referral-card > span {
  color: #dedede;
  font-size: 13px;
}
.promotion-page .referral-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto;
  padding: 10px 35px;
}
.promotion-page .cuppon {
  display: flex;
  width: 200px;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 16px;
  border-radius: 8px;
  background: #303030;
  font-size: 14px;
}
.promotion-page .cuppon button {
  border: 0;
  background: transparent;
  color: #fff;
}
.promotion-page .share-btn {
  width: 40px;
  min-height: 40px;
  padding: 0;
}
.promotion-page .promotion-list {
  margin: 28px 16px 0;
}
.promotion-page .promotion-list h2 {
  font-size: 22px;
}
.promotion-page .promo-cards {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.promotion-page .promo-card {
  display: block;
  height: 170px;
  padding: 0;
  border: 1px solid #222;
  border-radius: 12px;
  background: #222;
}
.promotion-page .promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promotion-page .promo-card div {
  display: none;
}

.support-grid {
  gap: 16px;
}
.menu-action {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: #323232;
  color: #fff;
  text-align: left;
}
.menu-action .action-icon,
.lang-action .action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #2d2d2d;
}
.menu-action .action-icon img {
  width: 24px;
  height: 24px;
}
.action-copy {
  display: grid;
  gap: 8px;
}
.action-copy strong {
  font-size: 16px;
  font-weight: 950;
}
.action-copy small {
  color: #d6d6d6;
  font-size: 11px;
}
.lang-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.lang-action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: #323232;
  color: #fff;
}
.lang-action .action-icon img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.radio-indicator {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #4c4c4c;
  border-radius: 50%;
}
.lang-action.active .radio-indicator {
  border-color: #ffd400;
}
.lang-action.active .radio-indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd400;
}

.profile-page {
  display: grid;
  gap: 18px;
  margin-top: 80px;
  padding: 0 16px 92px;
}
.profile-page .profile-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  padding: 18px 2px 8px;
  background: transparent;
}
.profile-page .avatar {
  width: 62px;
  height: 62px;
  font-size: 25px;
}
.profile-page .profile-hero span {
  font-size: 13px;
  font-weight: 850;
}
.profile-page .profile-hero h1 {
  margin: 4px 0 0;
  color: #ffd000;
  font-size: 24px;
  font-weight: 950;
}
.profile-page .balance-card {
  position: relative;
  aspect-ratio: 1.55;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 30px 30px 40px 40px;
  background: #121212;
  box-shadow: 0 0 16px rgb(255 205 0 / 20%);
}
.balance-yellow {
  position: absolute;
  top: 9%;
  right: 4%;
  left: 4%;
  height: 90%;
  padding: 11% 6% 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #ffd000, #8d7206);
}
.brand {
  display: block;
  color: #111;
  font-size: clamp(22px, 6vw, 34px);
  font-weight: 950;
  text-align: right;
}
.profile-page .brand span {
  color: #fff;
}
.balance-front {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 60%;
  align-content: end;
  padding: 0 7% 9%;
}
.balance-front-shape {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}
.balance-front p,
.total-balance {
  position: relative;
  z-index: 1;
}
.balance-front p {
  margin: 0;
  color: #ffd000;
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 950;
}
.total-balance {
  margin-bottom: 12px;
  font-size: clamp(15px, 4vw, 22px);
}
.profile-page .quick-grid {
  margin: 0;
}
.quick-card img {
  width: 25px;
  height: 25px;
}
.profile-page .profile-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.profile-page .profile-action {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: #303030;
  color: #fff;
  text-align: left;
}
.profile-page .action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #292929;
}
.profile-page .action-icon img {
  width: 25px;
  height: 25px;
}

.footer {
  width: 100%;
  margin-top: 28px;
  padding: 18px 0 calc(104px + env(safe-area-inset-bottom));
  background: #2b2b2b;
  color: #d3d3d3;
}
.footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}
.footer h2 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 15px;
}
.footer h3 {
  margin: 16px 0 8px;
  font-size: 11px;
  font-weight: 600;
}
.footer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
}
.footer .socials,
.footer .payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.footer .round {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.footer-payments,
.footer .legal {
  margin: 40px auto;
  max-width: 100%;
  width: 400px;
}
.footer .payment-sections {
  display: flex;
  gap: 32px;
}
.footer .legal p + p {
  margin-top: 10px;
}

.fab-overlay {
  display: none;
  position: fixed;
  z-index: 45;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 52%);
  backdrop-filter: blur(5px);
}
.floating-actions-root.open .fab-overlay {
  display: block;
}
.fab-stack {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
}
.fab-options {
  display: none;
  gap: 13px;
}
.floating-actions-root.open .fab-options {
  display: grid;
}
.fab-row {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}
.mini,
.main-fab {
  display: grid;
  place-items: center;
  border: 1px solid rgb(190 187 172 / 36%);
  box-shadow: 0 5px 12px rgb(0 0 0 / 35%);
}
.mini {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #363636;
}
.mini img {
  width: 26px;
  height: 26px;
}
.main-fab {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 16px;
  background: #ffd400;
}
.main-fab img {
  width: 27px;
  height: 27px;
}

@media (min-width: 720px) {
  

  .page-body {
    padding: 22px 28px 0;
  }
  .home-page .banner-wrapper,
  .home-page .home-section {
    margin-inline: 0;
  }
  .game-section h2 {
    margin-inline: 0;
    font-size: 18px;
  }
  .game-section .card-row {
    padding-inline: 0;
    gap: 16px;
  }
  .gradient-border {
    flex-basis: 182px;
    width: 182px;
    height: 156px;
  }
  .profile-page {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (min-width: 960px) {
  .page-body {
    padding: 30px 32px 0;
  }
  .home-page .hero {
    height: 320px;
  }
  .home-page .promo-wrapper,
  .home-page .promo {
    height: 266px;
    max-height: 266px;
  }
  .home-page .provider-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  .footer {
    padding: 30px 0;
    text-align: center;
  }
  .footer .socials,
  .footer .payments {
    justify-content: center;
  }
  .profile-page {
    max-width: 1120px;
    grid-template-columns: 390px 1fr;
  }
  .profile-page .profile-actions {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
  .profile-page .profile-action {
    grid-column: auto;
    min-height: 118px;
  }
  .fab-stack {
    right: max(28px, calc((100vw - 1180px) / 2 + 28px));
    bottom: 10px;
  }
}

/* Carefully ported secondary pages */
.sub-page {
  width: min(100%, 760px);
  min-height: 70vh;
  margin: 0 auto;
  padding: 70px 16px 40px;
}
.sub-page .page-heading {
  margin: 0 0 28px;
}
.sub-page .page-heading h1 {
  flex: 1;
  margin-left: 14px;
  font-size: 26px;
}
.muted {
  color: #aaa;
}
.narrow-form {
  max-width: 500px;
  margin: 28px auto 0;
}
.danger {
  background: #7b2222;
  color: #fff;
}

.tutorial-page .category-tabs {
  margin-bottom: 22px;
}
.sub-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 170px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: #323232;
}
.sub-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-weight: 750;
}
.sub-tabs button.active {
  background: #ffd000;
  color: #111;
}
.tutorial-placeholder {
  display: grid;
  min-height: 400px;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 2px dashed #ffd000;
  border-radius: 14px;
  background: #2d2d2d;
  color: #ffd000;
  text-align: center;
}
.tutorial-placeholder span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  background: #ffd000;
  color: #222;
  font-size: 28px;
}
.tutorial-placeholder small {
  max-width: 260px;
  color: #bbb;
}

.bank-section + .bank-section {
  margin-top: 34px;
}
.bank-section h2 {
  margin: 0 0 12px;
  font-size: 19px;
}
.bank-table {
  overflow: hidden;
  border-radius: 14px;
  background: #303030;
}
.bank-row {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  min-height: 62px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
}
.bank-row:nth-child(odd) {
  background: #353535;
}
.bank-head {
  min-height: 48px;
  background: #242424 !important;
  color: #aaa;
  font-weight: 800;
}
.bank-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}
.bank-name img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.bank-info {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #303030;
}
.bank-info span {
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 13px;
}
.bank-info b {
  color: #22dc42;
}

.contact-head {
  text-align: center;
}
.contact-head h1 {
  color: #ffd000;
  font-size: 30px;
  line-height: 1.2;
}
.contact-head p {
  color: #bbb;
}
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.contact-socials button {
  display: flex;
  width: 105px;
  height: 105px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: #323232;
  color: #fff;
}
.contact-socials img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.contact-list {
  margin-top: 30px;
}
.contact-list a,
.contact-list button {
  display: flex;
  width: 100%;
  min-height: 70px;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #323232;
  color: #fff;
  text-align: left;
}
.contact-list img {
  width: 42px;
  height: 42px;
  padding: 7px;
  border-radius: 10px;
  background: #292929;
  object-fit: contain;
}
.contact-list span {
  display: grid;
  gap: 4px;
}
.contact-list small {
  color: #aaa;
}

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  overflow: hidden;
  border-radius: 12px;
  background: #303030;
}
.faq-list summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.faq-list details[open] summary {
  color: #ffd000;
}
.faq-list details p {
  margin: 0;
  padding: 0 16px 18px;
  color: #bbb;
  font-size: 13px;
  line-height: 1.6;
}

.chat-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 760px);
  height: 100vh;
  margin: auto;
  background: #171717;
}
.chat-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid #292929;
}
.chat-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-agent span:last-child {
  display: grid;
  gap: 3px;
}
.chat-agent small {
  color: #aaa;
}
.chat-agent i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24da3c;
}
.chat-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #ffd000;
  color: #111;
  font-size: 12px;
  font-weight: 950;
}
.chat-avatar.small {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}
.chat-body {
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  gap: 15px;
  padding: 20px 16px;
}
.chat-message {
  display: flex;
  align-items: end;
  gap: 8px;
}
.chat-message.user {
  justify-content: end;
}
.chat-message p {
  display: grid;
  max-width: 75%;
  gap: 7px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #303030;
  font-size: 13px;
  line-height: 1.45;
}
.chat-message.user p {
  border-radius: 16px 16px 4px 16px;
  background: #695608;
}
.chat-message small {
  color: #aaa;
  font-size: 9px;
  text-align: right;
}
.chat-compose {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #292929;
}
.chat-compose input {
  min-width: 0;
  border: 0;
  border-radius: 22px;
  outline: 0;
  background: #303030;
  color: #fff;
  padding: 0 16px;
}
.chat-compose button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #303030;
  color: #fff;
}
.chat-compose .send {
  background: #ffd000;
  color: #111;
}

.detail-hero {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-bottom: 22px;
}
.detail-hero .avatar {
  width: 76px;
  height: 76px;
  font-size: 25px;
}
.detail-hero h1 {
  margin: 5px 0 0;
  color: #ffd000;
}
.detail-hero small {
  color: #aaa;
}
.info-card {
  overflow: hidden;
  border-radius: 14px;
  background: #303030;
}
.info-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 17px;
  border-bottom: 1px solid #3a3a3a;
}
.info-card div:last-child {
  border: 0;
}
.info-card span {
  color: #aaa;
}
.info-card strong {
  text-align: right;
}

/* Profile detail page — override generic .info-card div grid layout */
.profile-detail-page {
  padding-bottom: 40px;
}
.profile-detail-page .detail-hero {
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 16px;
  align-items: center;
  justify-items: start;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}
.profile-detail-page .detail-hero .avatar {
  grid-row: 1 / span 2;
  width: 62px;
  height: 62px;
  font-size: 25px;
}
.profile-detail-page .detail-hero span {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  color: #c2c2c2;
  font-size: 14px;
}
.profile-detail-page .detail-hero h1 {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  margin: 0;
  color: #ffd000;
  font-size: 20px;
  font-weight: 800;
}
.profile-detail-page .info-card {
  padding: 16px;
  border-radius: 16px;
  background: #1b1b1b;
  overflow: visible;
}
.profile-detail-page .info-card > .profile-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 14px 0;
  border-bottom: 0;
}
.profile-detail-page .profile-info .title {
  flex-shrink: 0;
  color: #c2c2c2;
  font-size: 13px;
  white-space: nowrap;
}
.profile-detail-page .profile-info .value {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}
.profile-detail-page .info-card > .profile-info:not(:last-child) {
  border-bottom: 1px solid #3a3a3a;
}
.profile-detail-page .profile-info--copy .value {
  flex: 1;
  min-width: 0;
  white-space: normal;
}
.profile-detail-page .profile-info--copy .ref-link-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.profile-detail-page .ref-link {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-detail-page .copy-btn {
  position: static;
  display: inline-grid;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: none;
}
.profile-detail-page .copy-btn i {
  font-size: 15px;
}
.profile-detail-page .logout-wrapper {
  position: static !important;
  inset: auto !important;
  z-index: auto;
  margin-top: 24px;
  margin-bottom: calc(110px + env(safe-area-inset-bottom));
  padding: 0;
  width: auto;
}
.profile-detail-page .copy-btn {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}
.profile-detail-page .logout-btn {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #323232;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
body:has(.profile-detail-page) .floating-actions-root {
  display: none;
}
.profile-detail-shell .focus-app-bar-title {
  opacity: 0;
  visibility: hidden;
}

.account-buttons {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.account-cards {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.account-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #303030;
}
.account-card.selected {
  border-color: #8d7412;
}
.account-card header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.account-card header img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.account-card header button {
  border: 0;
  background: transparent;
  color: #ffd000;
  font-size: 20px;
}
.account-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #aaa;
  font-size: 13px;
}
.account-card b {
  color: #fff;
}
.method-card b {
  margin-left: auto;
}

.report-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
}
.report-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(100%, 305px);
  margin: 0 auto 20px;
  padding: 5px;
  border-radius: 10px;
  background: #303030;
  height: 50px;
}
.report-switch button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-weight: 800;
}
.report-switch button.active {
  background: #ffd000;
  color: #111;
}
.bonus-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.bonus-summary article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px 9px;
  padding: 13px;
  border-radius: 12px;
  background: #303030;
}
.bonus-summary article .quick-icon {
  grid-row: span 2;
}
.bonus-summary small {
  color: #aaa;
}
.bonus-summary strong {
  font-size: 15px;
}
.provider-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 18px;
}
.provider-chips button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 20px;
  background: #303030;
  color: #bbb;
  font-weight: 750;
}
.provider-chips button.active {
  background: #584b0b;
  color: #ffd000;
}
.provider-select,
.account-select {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #303030;
  color: #fff;
  font-weight: 750;
  text-align: left;
}
.calendar-button {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #303030;
  color: #ffd000;
}
.report-list {
  display: grid;
  gap: 12px;
}
.report-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  background: #303030;
  color: #fff;
  text-align: left;
}
.report-card > span {
  display: grid;
  gap: 6px;
}
.report-card small,
.report-card em {
  color: #aaa;
  font-size: 11px;
  font-style: normal;
}
.report-value {
  justify-items: end;
}
.report-value b {
  color: #ffd000;
  font-size: 17px;
}
.report-value i {
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-style: normal;
}
.report-value .won {
  background: #16792d55;
  color: #28e84d;
}
.report-value .pending {
  background: #79651655;
  color: #ffd000;
}
.report-value .lost {
  background: #79161655;
  color: #ff4b4b;
}
.report-total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 18px;
  border-radius: 14px;
  background: #3a351e;
}
.report-total strong {
  color: #ffd000;
}

.transfer-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 250px;
  margin-bottom: 20px;
  padding: 4px;
  border-radius: 10px;
  background: #303030;
}
.transfer-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-weight: 800;
}
.transfer-tabs button.active {
  background: #ffd000;
  color: #111;
}
.transfer-balance {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: radial-gradient(circle at top right, #56460c, #303030 65%);
}
.transfer-balance small {
  color: #aaa;
}
.transfer-balance strong {
  color: #ffd000;
  font-size: 28px;
}

.success-panel {
  display: grid;
  justify-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 60px auto;
  text-align: center;
}
.success-panel > span {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border-radius: 50%;
  background: #ffd000;
  color: #111;
  font-size: 48px;
  font-weight: 950;
}
.success-panel h1 {
  margin: 8px 0 0;
}
.success-panel p {
  color: #aaa;
  line-height: 1.6;
}

.money-page {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 16px 34px;
}
.money-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.money-flow {
  display: grid;
  gap: 24px;
}
.money-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.money-title h1 {
  margin: 0;
  font-size: 28px;
}
.history-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #303030;
  color: #fff;
  font-size: 22px;
}
.method-select {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid #3d3d3d;
  border-radius: 12px;
  background: #303030;
  color: #fff;
}
.method-select span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.method-select img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.method-select strong {
  color: #aaa;
  font-size: 25px;
}
.amount-card {
  padding: 20px;
  border-radius: 14px;
  background: #303030;
}
.amount-card label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.amount-card input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
}
.amount-card small {
  display: block;
  margin-top: 8px;
  color: #aaa;
}
.qr-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px dashed #736016;
  border-radius: 14px;
  background: #292929;
}
.qr-preview img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}
.qr-preview span {
  display: grid;
  gap: 5px;
}
.qr-preview small {
  color: #aaa;
}
.withdraw-profile {
  overflow: hidden;
  border-radius: 14px;
  background: #303030;
}
.withdraw-profile div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px dashed #464646;
}
.withdraw-profile div:last-child {
  border: 0;
}
.withdraw-profile span {
  color: #aaa;
}
.money-submit {
  margin-top: 10px;
}

@media (min-width: 720px) {
  .bank-row {
    padding-inline: 20px;
    font-size: 14px;
  }
  .account-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-socials button {
    width: 120px;
    height: 120px;
  }
}


@media (max-width: 1024px) {
  .footer-payments, .footer .legal{
    width: 100%;
  }
}

/* Default */
.mobile-only {
    display: none !important;
}

.pc-only {
    display: block !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .pc-only {
        display: none !important;
    }
}
.btn-login,.btn-signup{
  padding: 5px;
  border: 1px solid;
  border-radius: 5px;
  background: #ffcd00;
  font-size: 15px;
  color: #1f1f1f;
  font-weight: 900;
}
/* Login and Registe */
   /* Buttons */
   .btn_{
   padding: 6px 12px;
   border: none;
   border-radius: 19px;
   background: #ffcd00;
   color: #000;
   font-size: 15px;
   font-weight: 600;
   cursor: pointer;
   margin: 0px;
   transition: .3s;
   }
   .btn_:hover{
   transform:translateY(-2px);
   box-shadow:0 10px 20px rgba(0,0,0,.2);
   }
   /* Overlay */
   /*  */
.err_div{
  color: red;
}
  /* Overlay */
    .overlay{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100%;
        background:rgba(0,0,0,.6);
        display:flex;
        justify-content:center;
        align-items:center;
        z-index:9999;
        display: none;
    }

    /* Popup */
    .popup{
        position:relative;
        width:90%;
        max-width:400px;
        background:#fff;
        border-radius:20px;
        padding:35px 30px;
        box-shadow:0 15px 40px rgba(0,0,0,.25);
        animation:showPopup .3s ease;
    }

    /* Close Button */
    .close-btn{
        position:absolute;
        top:12px;
        right:12px;
        width:35px;
        height:35px;
        border:none;
        border-radius:50%;
        background:#f2f2f2;
        cursor:pointer;
        font-size:18px;
        transition:.3s;
    }

    .close-btn:hover{
        background:#e4e4e4;
    }

    /* Heading */
    .popup h2{
        text-align:center;
        color:#333;
        margin-bottom:8px;
    }

    .popup p{
        text-align:center;
        color:#777;
        margin-bottom:25px;
    }

    /* Input */
    .input-box{
        margin-bottom:15px;
    }

    .input-box input{
        width:100%;
        height:50px;
        border:1px solid #ddd;
        border-radius:12px;
        padding:0 15px;
        font-size:15px;
        outline:none;
        transition:.3s;
    }

    .input-box input:focus{
        border-color:#ffcd00;
        box-shadow:0 0 10px rgba(79,70,229,.15);
    }

    /* Login Button */
    .submit-btn{
        width:100%;
        height:50px;
        border:none;
        border-radius:12px;
        background:linear-gradient(135deg,#ffcd00,#ffcd00);
        color:#000;
        font-size:16px;
        font-weight:600;
        cursor:pointer;
        transition:.3s;
    }

    .submit-btn:hover{
        transform:translateY(-2px);
    }

    /* Register Link */
    .switch{
        text-align:center;
        margin-top:20px;
        color:#666;
    }

    .switch a{
        color:#4f46e5;
        font-weight:600;
        text-decoration:none;
    }

    .switch a:hover{
        text-decoration:underline;
    }

    @keyframes showPopup{
        from{
            opacity:0;
            transform:scale(.9);
        }
        to{
            opacity:1;
            transform:scale(1);
        }
    }