:root {
  --green: #006519;
  --green-2: #006719;
  --green-3: #008f23;
  --green-dark: #003e0f;
  --gold: #fed304;
  --gold-2: #f8e64f;
  --gold-3: #cfea29;
  --gray: #7b7b7b;
  --text: #383838;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
  font-family: Roboto, "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

body {
  padding-top: var(--header-offset, 140px);
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

/* Header top */
.header-top {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 88px;
  background: #006519;
}

.header-top-inner {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 10px 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.logo img {
  height: 69px;
  width: auto;
}

.logo-text {
  display: none;
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  color: #ffe600;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  line-height: 1;
}

.ht-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

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

.ht-lang {
  position: relative;
  z-index: 70;
}

.ht-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 2px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.ht-lang-btn img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.ht-lang-dots {
  display: block;
  width: 4px;
  height: 4px;
  margin: 0 1px 14px 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}

.ht-lang-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 70;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 112px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.ht-lang-list[hidden] {
  display: none !important;
}

.ht-lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0d5c1f;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.ht-lang-opt img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}

.ht-lang-opt.is-on,
.ht-lang-opt:hover {
  background: #e8f7ec;
}

.ht-lang-btn:focus-visible,
.ht-lang-opt:focus-visible {
  outline: 2px solid #ffe84a;
  outline-offset: 2px;
}

.btn-sports {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1aa23a, #0d7a28);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-sports:hover {
  opacity: 0.92;
}

.btn-sports-icon {
  font-size: 14px;
}

.btn-sports-arrow {
  font-size: 18px;
  line-height: 1;
  margin-left: 2px;
}

.btn-login,
.btn-register {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.btn-login {
  background: #fff;
  color: #0b3d16;
}

.btn-register {
  background: linear-gradient(180deg, #ffe84a, #f5d000);
  color: #0b3d16;
}

.btn-login:hover,
.btn-register:hover {
  opacity: 0.9;
}

.badge {
  position: absolute;
  top: -8px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e31b23;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.badge-register {
  right: -12px;
}
.index-wrapper {
  background: url("../assets/img/index/bg.webp") no-repeat center top / 100% auto;
}

.index-wrapper .home-content {
  background: transparent;
}
.ht-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.ht-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.ht-link:hover,
.ht-link[aria-current="page"] {
  color: #ffe84a;
}

.ht-link-icon {
  font-size: 14px;
  line-height: 1;
}

svg.ht-link-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.badge-agent,
.badge-invite {
  position: static;
  margin-left: 2px;
  height: 16px;
  min-width: 28px;
  font-size: 9px;
}

.time-wrap {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* Logged-in account bar */
.ht-logged {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.header-top:has(.ht-logged),
.header-top:has(.ht-lang.is-open) {
  z-index: 60;
}

.acct-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.acct-balance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffe14a;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.acct-wallet {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.acct-deposit,
.acct-withdraw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #0b4d16;
  white-space: nowrap;
}

.acct-deposit {
  background: #f6f1df;
}

.acct-withdraw {
  background: #d6f04a;
}

.acct-deposit:hover,
.acct-withdraw:hover {
  filter: brightness(0.97);
}

.acct-user-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.acct-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 168px;
  color: #ffe14a;
  font-size: 14px;
  font-weight: 700;
}

.acct-avatar {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3d2b0;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.acct-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.acct-avatar-lg {
  width: 42px;
  height: 42px;
  border-color: #e5eee7;
}

.acct-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acct-caret {
  width: 10px;
  height: 8px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.acct-user[aria-expanded="true"] .acct-caret {
  transform: rotate(180deg);
}

.acct-time {
  color: #ffe14a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.acct-inbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: #16351c;
  flex-shrink: 0;
}

.acct-inbox svg {
  width: 18px;
  height: 18px;
}

.acct-inbox:hover {
  background: #f4faf5;
}

.acct-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  width: 280px;
  padding: 14px 12px 10px;
  border-radius: 16px;
  background-color: #fff;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(180, 190, 180, 0.18) 0 7px, transparent 8px),
    radial-gradient(circle at 70% 60%, rgba(180, 190, 180, 0.14) 0 9px, transparent 10px);
  box-shadow: 0 10px 28px rgba(0, 30, 10, 0.18);
}

.acct-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 6px 12px;
  border-bottom: 1px solid #e6ece7;
  margin-bottom: 6px;
}

.acct-menu-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.acct-menu-id strong {
  color: var(--green-2);
  font-size: 16px;
  line-height: 1.1;
}

.acct-vip {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: #8ed63a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.acct-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--green-2);
  font-size: 14px;
  font-weight: 800;
}

.acct-menu-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.acct-menu-item:hover {
  background: rgba(0, 101, 25, 0.08);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 111px;
  height: 40px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  background: linear-gradient(180deg, #f8e64f, #cfea29);
  border-radius: 8px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s;
}

.btn-gold:hover {
  opacity: 0.88;
}

/* Header bottom */
.header-bottom {
  position: relative;
  z-index: 50;
  height: 52px;
  background: #fff;
  /* border-top: 2px solid #b7e0c0; */
  /* border-bottom: 2px solid #b7e0c0; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.header-nav {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 4px;
}

.nav-list {
  display: flex;
  flex: 1;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  color: #006519;
}

.nav-list > li {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
  position: relative;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  color: #006519;
}

.nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.nav-ico img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-item.active,
.nav-item:hover,
.nav-item.is-open {
  background: #ffe600;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

/* Nav dropdown + provider slider from right */
.nav-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  background:
    radial-gradient(ellipse at center, rgba(180, 235, 195, 0.55) 0%, rgba(232, 248, 236, 0.95) 55%, #f4fbf6 100%);
  border-bottom: 1px solid rgba(0, 101, 25, 0.12);
  box-shadow: 0 14px 28px rgba(0, 60, 20, 0.14);
}

.nav-dropdown[hidden] {
  display: none !important;
}

.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-inner {
  position: relative;
  margin: 0;
  padding: 28px 48px 32px;
  overflow: hidden;
  max-width: var(--max);
  margin: 0pc auto;
}

.provider-slider {
  width: 100%;
  overflow: hidden;
}

.provider-panel[hidden] {
  display: none !important;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 22px;
  width: 100%;
  transform: translateX(48%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.provider-grid.is-in,
.nav-dropdown.is-open .provider-panel:not([hidden]) .provider-grid.is-in {
  transform: translateX(0);
  opacity: 1;
}

.provider-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid #e5efe8;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 80, 30, 0.14);
}

.provider-card img {
  display: block;
  width: auto;
  max-width: 86%;
  height: 35px;
  object-fit: contain;
}

.provider-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
}

.provider-logo .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
}

.provider-logo .name {
  font-size: 18px;
}

.provider-card.sexy .name { color: #e91e8c; font-style: italic; }
.provider-card.sexy .mark { background: #e91e8c; }
.provider-card.dg .name { color: #c9a227; }
.provider-card.dg .mark { background: linear-gradient(135deg, #f5d76e, #b8860b); color: #3a2a00; }
.provider-card.mt .name { color: #0aa3a0; }
.provider-card.mt .mark { background: #0aa3a0; }
.provider-card.wm .name { color: #1a237e; }
.provider-card.wm .mark { background: #1a237e; }
.provider-card.evo .name { color: #111; letter-spacing: 1px; }
.provider-card.evo .mark { background: #111; }
.provider-card.choice .name { color: #1b9e4b; }
.provider-card.choice .mark { background: #1b9e4b; }
.provider-card.sa .name { color: #c9a227; }
.provider-card.sa .mark { background: #d4af37; color: #2b2200; }
.provider-card.bg .name { color: #1565c0; }
.provider-card.bg .mark { background: linear-gradient(90deg, #1565c0, #c62828); }
.provider-card.venus .name { color: #ad1457; }
.provider-card.venus .mark { background: #ad1457; }
.provider-card.play .name { color: #ef6c00; }
.provider-card.play .mark { background: #ef6c00; }
.provider-card.pragmatic .name { color: #000; }
.provider-card.pragmatic .mark { background: #000; }
.provider-card.pg .name { color: #000; }
.provider-card.pg .mark { background: #222; }
.provider-card.jili .name { color: #c62828; }
.provider-card.jili .mark { background: #c62828; }
.provider-card.spribe .name { color: #283593; }
.provider-card.spribe .mark { background: #283593; }
.provider-card.habanero .name { color: #ef6c00; }
.provider-card.habanero .mark { background: #ef6c00; }
.provider-card.sbo .name { color: #0d47a1; }
.provider-card.sbo .mark { background: #0d47a1; }
.provider-card.cmd .name { color: #00695c; }
.provider-card.cmd .mark { background: #00695c; }
.provider-card.im .name { color: #4527a0; }
.provider-card.im .mark { background: #4527a0; }
.provider-card.updating {
  color: #7a8a7f;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.provider-card.updating .spin {
  width: 28px;
  height: 28px;
  border: 3px solid #cfdad3;
  border-top-color: #006519;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Main banner slider */
.main-banner {
  position: relative;
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  overflow: hidden;
  background: radial-gradient(ellipse at center, #dff5e6 0%, #f4fbf6 55%, #eef8f1 100%);
}

.banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(8%);
  transition: opacity 0.55s ease, transform 0.55s ease;
  z-index: 0;
}

.banner-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #006519;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
  transition: background 0.2s, transform 0.2s;
}

.banner-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}

.banner-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.banner-prev {
  left: 10%;
}

.banner-next {
  right: 10%;
}

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

.banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 101, 25, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.banner-dot.is-active {
  width: 12px;
  height: 12px;
  background: #ffe600;
  border-color: #006519;
}

@media (max-width: 900px) {
  .main-banner {
    height: clamp(160px, 42vw, 260px);
  }

  .banner-arrow {
    width: 34px;
    height: 34px;
  }

  .banner-prev {
    left: 8px;
  }

  .banner-next {
    right: 8px;
  }
}

/* Notice */
.notice-bar {
  width: 100%;
  /* margin: 12px 0 0; */
  padding: 8px 0;
  background: url("../assets/img/notice-bg.6db504b.png") no-repeat 50% / cover;
  overflow: hidden;
}

.notice-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.notice-bar img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 22s linear infinite;
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Home */
.home-content {
  background: #fff url("../assets/img/home-content-bg.1303d86.png") no-repeat top / 100% auto;
  padding: 8px 0 40px;
}

.home-entry {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 12px;
}

.home-nav-contain {
  margin: 32px 0 8px;
}

.home-nav-title {
  position: relative;
  display: flex;
  gap: -28px;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 700;
  color: var(--green-2);
  text-transform: uppercase;
}

.home-nav-title::before,
.home-nav-title::after {
  flex: 0 0 254px;
  max-width: 22vw;
  height: 30px;
  content: "";
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAP8AAAAfCAMAAAAfkut6AAAAM1BMVEX///9GoVx0uYTR59bo8+tdrXGi0K70+fVps3pdrXBRp2fc7eG73cOXyqOu1riLxJl/vo8WV4tHAAAA3UlEQVRYw+XXSw6DMAxFUZsaktD0s//VFodQq6KDTnAt3pswROdKWIKwJs9EwJPCGTjAwmfgAMqfcQMof5IRNUDjE6EG6PwEGqDza5F/BOAIUz7zLwFO6V/5GgDuE5Cy8SEDGB8ygPEhAxj/S4AYp+ngGX8fAMU/8cdGoZTb44ilG/NDKMauswVw4evqyKVSjFkAJ75OBn1pjFkANz6115VLjN3tBrjx259mpGkAH76dwSHM+idg/Cjn2WV2A0D57wAJlL8FgOX3ALj8NUDB5bcAyHwNAM1fAmRo/n4vNNQNS/KgczoAAAAASUVORK5CYII=") no-repeat 50% / contain;
}

.home-nav-title::after {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAP8AAAAfCAMAAAAfkut6AAAAM1BMVEUAAABHolxIo1xGoV1In2BGoFxQn2BGoVxGoV1Fn2BIoVtGolxGoVxHolxHoltHn1tGoVyappKTAAAAEHRSTlMAv0DfIIAQz+8wX5BQr3BwkPYsAAAAANRJREFUWMPl1FESgjAMhOGFQloFNfc/rVLA1MHXdDKze4Pvnzb4nTwmEE+yJuIAH74SB9j4hTeA5M0+swbY+QBpgJNPGuDgT+lOGeDLV60BIgzd1vLjBEC3Gb+O7Qs0fMYADZ8xQMNnDPCHH+kIeq/Cs1z8M4vfAlz55YYYk0F1EbjMAoTlj0nLCptXgJh8WVQHz0tsAVq+PscQW5PqC66zACFPX3J/iBbg5JchzGaB+yxArL/faRZASPlHAF7+GYCWvwcovPwagJm/BaDmA1Om5vPtDZS0Ses+i6ChAAAAAElFTkSuQmCC");
}

.home-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 11px;
}

.home-item {
  position: relative;
  width: calc((100% - 33px) / 4);
  aspect-ratio: 273 / 253;
  height: auto;
  overflow: hidden;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
  transition: transform 0.2s ease;
}

.home-item:hover {
  transform: translateY(-4px);
}

.home-item.LIVE,
.home-item.RNG {
  width: calc((100% - 11px) / 2);
  aspect-ratio: 580 / 252;
  margin-right: 0;
}

.home-item.LIVE {
  background-image: url("../assets/img/index/category/fp-casino.webp");
}

.home-item.RNG {
  background-image: url("../assets/img/index/category/fp-slots.webp");
}

.home-item.PVP {
  background-image: url("../assets/img/pvp-banner.4789d05.png");
}

.home-item.COCKFIGHT {
  background-image: url("../assets/img/cockfight-banner.8ccaa79.png");
}

.home-item.SPORTS {
  background-image: url("../assets/img/index/category/fp-sports.webp");
}

.home-item.FISH {
  background-image: url("../assets/img/index/category/fp-fishing.webp");
}

.home-item.POKER {
  background-image: url("../assets/img/index/category/fp-poker.webp");
}

.home-item.ELOTT {
  background-image: url("../assets/img/index/category/fp-lotto.webp");
}

.home-name {
  position: absolute;
  top: 22px;
  left: 16px;
  z-index: 1;
  font-size: 26px;
  font-weight: 700;
  color: #7b7b7b;
  text-transform: uppercase;
}

.home-name.LIVE {
  top: 26px;
  left: 28px;
  font-size: 32px;
}

/* Jackpot section */
.jackpot-section {
  width: 100%;
  margin: 20px 0 8px;
}

.jack-bg {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1202 / 426;
  container-type: inline-size;
  background: url("../assets/img/index/jackpot.webp") no-repeat 50% / 100% 100%;
  border-radius: 18px;
  overflow: hidden;
}

.jackpot-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  padding: 0 16px 2.2%;
}

.jackpot-num-wrap {
  position: absolute;
  left: 50%;
  top: 22.2%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26%;
  height: 14%;
}

.jackpot-odometer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  height: 1.1em;
  color: #ffffff;
  font-size: clamp(16px, 3vw, 36px);
  font-size: 3.05cqw;
  font-weight: 800;
  line-height: 1;
  text-shadow: -2px 1px black;
}

.odo-digit {
  position: relative;
  width: 0.58em;
  height: 1.1em;
  overflow: hidden;
  font-size: 1em;
  line-height: 1.1;
  text-align: center;
}

.odo-digit.is-sep {
  width: 0.36em;
  overflow: visible;
}

.odo-reel {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.odo-reel span {
  display: block;
  height: 1.1em;
  line-height: 1.1;
}

.jackpot-products {
  width: 100%;
  max-width: 680px;
  padding: 4px 0 2px;
}

.jackpot-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.jackpot-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: jackpot-loop 8s linear infinite;
}

.jackpot-marquee:hover .jackpot-marquee-track {
  animation-play-state: paused;
}

@keyframes jackpot-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.jackpot-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 118px;
  width: 118px;
  cursor: pointer;
  text-align: center;
  background: none;
  border: 0;
  padding: 0;
}

.jackpot-card-img {
  position: relative;
  width: 118px;
  height: 148px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  background: #fff;
}

.jackpot-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jackpot-card-prize {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 3px 4px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #ff8a1e, #ef3b12);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(180, 40, 0, 0.35);
}

.jackpot-card-name {
  display: block;
  margin-top: 6px;
  padding: 4px 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #5a3d00;
  background: #ffe66a;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .jackpot-odometer {
    font-size: 3.2cqw;
  }

  .jackpot-card {
    flex-basis: 96px;
    width: 96px;
  }

  .jackpot-card-img {
    width: 96px;
    height: 120px;
  }
}

/* Hot games with tabs */
.hot-game {
  margin: 28px 0 40px;
  padding: 8px 0 12px;
}

.hot-tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  margin: 8px 0 28px;
  border-bottom: 1px solid #cfcfcf;
  overflow: hidden;
}

.hot-tab {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 110px;
  padding: 8px 10px 14px;
  color: #7b7b7b;
  cursor: pointer;
  border: 0;
  background: transparent;
  transition: color 0.2s;
}

.hot-tab:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 8px;
  content: "";
  background:
    radial-gradient(circle at center, #bdbdbd 0 2px, transparent 2.5px) center / 8px 8px no-repeat,
    linear-gradient(#cfcfcf, #cfcfcf) center / 100% 1px no-repeat;
  transform: translate(50%, -70%);
  pointer-events: none;
}

.hot-tab-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 36px;
  background: none;
  opacity: 1;
}

.hot-tab-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

.hot-tab.on .hot-tab-logo,
.hot-tab.on .hot-tab-logo img {
  opacity: 1;
  filter: none;
  background: none;
}

.hot-tab-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.hot-tab.on {
  color: #006719;
}

.hot-tab.on::before {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
  content: "";
  background: #006719;
  border-radius: 3px 3px 0 0;
}

.hot-panel {
  position: relative;
}

.hot-item-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px 16px;
  min-height: 360px;
}

.hot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

.hot-item[hidden] {
  display: none !important;
}

.img-wrap {
  position: relative;
  width: 146px;
  height: 146px;
  border-radius: 22px;
  overflow: hidden;
}

.img-wrap .thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.game-text {
  width: 180px;
  max-width: 100%;
  padding: 9px 10px;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background: #008f23;
  border-radius: 50px;
  box-shadow: inset 0 2px 1.9px 0 #07c234;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hot-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
}

.hot-dot.on {
  width: 14px;
  height: 14px;
  background: #008f23;
}

.hot-dots:empty {
  display: none;
}

@media (max-width: 1100px) {
  .hot-item-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .img-wrap {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 700px) {
  .hot-item-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
    min-height: 0;
  }

  .img-wrap {
    width: 96px;
    height: 96px;
  }

  .game-text {
    width: 100%;
    font-size: 12px;
    padding: 7px 6px;
  }

  .hot-tab-name {
    font-size: 11px;
  }

  .hot-tab-logo {
    width: 42px;
    height: 28px;
  }
}

/* Daily Check-In */
.checkin-wrapper {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 16px 0 28px;
  overflow: visible;
}

.checkin-wrapper[hidden] {
  display: none !important;
}

.checkin-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(180px, 220px);
  align-items: center;
  gap: 16px 20px;
  min-height: 128px;
  padding: 14px 18px;
  overflow: visible;
  border: 3px solid #0d6b2c;
  border-radius: 16px;
  background: linear-gradient(180deg, #e8f8ec 0%, #d4f0dc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 12px rgba(0, 80, 30, 0.08);
}

.checkin-art {
  position: relative;
  z-index: 3;
  align-self: stretch;
  min-width: 0;
  pointer-events: none;
}

.checkin-art img {
  position: absolute;
  left: -30px;
  top: 50%;
  width: min(245px, 32vw);
  max-width: none;
  height: auto;
  display: block;
  transform: translateY(-56%);
  filter: drop-shadow(0 8px 14px rgba(0, 60, 20, 0.28));
}

.checkin-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 14px;
  background: #0d6b2c;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.18);
}

.checkin-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 4px 0px;
  border-radius: 10px;
  background: linear-gradient(180deg, #c4dbaf 0%, #ffffeb 100%);
  color: #006519;
  text-align: center;
}

.checkin-day-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.2;
  white-space: nowrap;
}

.checkin-day-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
}

.checkin-day-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkin-day-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 70, 24, 0.55);
}

.checkin-day-check::after {
  content: "";
  width: 18px;
  height: 10px;
  border-left: 3px solid #7dff9a;
  border-bottom: 3px solid #7dff9a;
  transform: rotate(-45deg) translate(1px, -2px);
}

.checkin-day-value {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #006519;
}

.checkin-day.is-claimed {
  /* opacity: 0.72; */
  background: linear-gradient(180deg, #88ab7f 0%, #b1c1a3 100%);
}

.checkin-day.is-claimed .checkin-day-value {
  color: #006519;
  font-weight: 700;
}

.checkin-day.is-today {
  background: linear-gradient(
0deg, #fffdf0 0%, #ffe84a 55%, #f0c800 100%);
  color: #0d5c1f;
  /* box-shadow: 0 0 0 2px #fff8b0, 0 4px 10px rgba(0, 0, 0, 0.2); */
  transform: translateY(-2px);
}

.checkin-day.is-today .checkin-day-ico {
  width: 58px;
  height: 58px;
}

.checkin-day.is-today .checkin-day-value {
  color: #0d5c1f;
  font-size: 14px;
}

.checkin-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.checkin-points {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.checkin-points-label {
  color: #0d5c1f;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.checkin-points-val {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #0d6b2c;
  color: #ffe84a;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.checkin-note {
  margin: 0;
  color: #1a5c2a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
}

.checkin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe84a 0%, #f0c800 100%);
  color: #0d5c1f;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #c9a400, inset 0 1px 0 rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.checkin-btn:hover {
  filter: brightness(1.03);
}

.checkin-btn:disabled,
.checkin-btn[disabled] {
  background: linear-gradient(180deg, #d4d4d4 0%, #a9a9a9 100%);
  color: #6b6b6b;
  box-shadow: 0 3px 0 #8a8a8a, inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: none;
  cursor: not-allowed;
  pointer-events: auto;
}

.checkin-btn:focus-visible {
  outline: 2px solid #0d6b2c;
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .checkin-wrapper {
    padding-top: 32px;
    padding-left: 20px;
  }

  .checkin-panel {
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr) minmax(150px, 190px);
    gap: 12px;
    padding: 12px;
  }

  .checkin-art img {
    left: -28px;
    width: min(220px, 30vw);
  }

  .checkin-day-ico {
    width: 44px;
    height: 44px;
  }

  .checkin-day.is-today .checkin-day-ico {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 900px) {
  .checkin-wrapper {
    padding: 56px 12px 0;
  }

  .checkin-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: 48px;
  }

  .checkin-art {
    width: 100%;
    height: 0;
  }

  .checkin-art img {
    left: 50%;
    top: 0;
    width: min(200px, 55vw);
    transform: translate(-50%, -45%);
  }

  .checkin-days {
    width: 100%;
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(72px, 1fr));
  }

  .checkin-side {
    width: 100%;
    max-width: 320px;
  }

  .checkin-points,
  .checkin-note {
    justify-content: center;
    text-align: center;
  }
}

/* Ambassador: left image + right video */
.ambassador-wrapper {
  width: 100%;
  padding: 24px 0 36px;
  background: url("../assets/img/video-bg.4fc6cbc.jpg") no-repeat center top / cover;
  /* background-color: #eef8f1; */
}

.ambassador-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.ambassador-left {
  flex: 0 1 48%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

.ambassador-left img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  display: block;
}

.ambassador-right {
  flex: 0 1 52%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ambassador-video {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 10px 28px rgba(0, 80, 30, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.35);
  background: #003e0f;
}

.ambassador-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #00280a;
}

@media (max-width: 900px) {
  .ambassador-inner {
    flex-direction: column;
    gap: 16px;
  }

  .ambassador-left,
  .ambassador-right {
    flex: none;
    width: 100%;
  }

  .ambassador-video {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* Legacy video block (kept for reuse) */
.video-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 420px;
  margin: 10px 0 30px;
  background: url("../assets/img/video-bg.4fc6cbc.jpg") no-repeat top / 100% auto;
}

.video-container {
  display: flex;
  gap: 30px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px 16px;
}

.video-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.video-left img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
}

.video-right {
  flex: 1;
  color: var(--green);
}

.video-right h2 {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.video-right .sub {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.video-right p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

/* Footer */
.br-footer {
  background: #e8f5e9 url("../assets/img/footer-bg.93ffb74.png") no-repeat 100% / cover;
  color: var(--green-2);
  padding-top: 28px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 28px 36px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 12px 8px;
  align-items: start;
}

.footer-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.footer-logo-text {
  font-size: 42px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: var(--green-2);
  letter-spacing: 0.5px;
}

.footer-slogan {
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  color: var(--green-2);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.about-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--green-2);
}

.group-title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.group-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  font-size: 14px;
  color: var(--green-2);
  /* border-bottom: 1px solid rgba(0, 103, 25, 0.28); */
  cursor: pointer;
  text-transform: none;
  background: linear-gradient(272deg, #e8f5e9, #d2f1d5);
  margin-bottom: 5px;
}

.group-item::before {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.group-item:last-child {
  border-bottom: 0;
}

.group-item:hover {
  opacity: 0.75;
}

.footer-group.links .group-item,
.footer-group.synthetic .group-item {
  text-transform: none;
}

.footer-group.synthetic .group-item {
  text-transform: none;
  font-size: 14px;
  letter-spacing: 0;
}

.footer-group.sign {
  align-items: flex-start;
}

.ambassador-years {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--green-2);
}

.sign-img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-top: 4px;
  mix-blend-mode: lighten;
}

.footer-bottom {
  padding: 8px 12px 18px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto 10px;
  flex-wrap: wrap;
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: var(--green-2);
}

.footer-certs img {
  display: block;
  height: 34px;
  width: auto;
}

.footer-media {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.media {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
}

.media img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.media:hover {
  opacity: 0.85;
}

.copyright {
  margin: 0;
  padding: 4px 0 0;
  font-size: 13px;
  color: var(--green-2);
  text-align: center;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 16px;
}

.modal.open {
  display: flex;
}

.modal-box {
  position: relative;
  display: flex;
  width: min(980px, 100%);
  height: min(680px, calc(100vh - 32px));
  background: #f4f6f1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.modal-art {
  flex: 1 1 46%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 16px 16px;
  border-radius: 18px;
  /* background: #07140c; */
  overflow: hidden;
}

.modal-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.modal-form {
  flex: 0 1 430px;
  margin: 16px;
  padding: 22px 26px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #2bb84a 0%, #149433 100%);
  color: #fff;
  overflow: auto;
}

.modal-form.is-login .reg-only,
.modal-form.is-register .login-only {
  display: none;
}

.modal-form.is-login {
  display: flex;
  flex-direction: column;
}

.modal-form.is-login .auth-extra {
  margin-top: auto;
}

.modal-logo {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: #ffe14a;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.modal-slogan {
  margin: 4px 0 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffe14a;
  display: none;
}

.modal-ambassador {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.25;
}

.modal-ambassador strong {
  display: block;
  font-size: 15px;
}

.modal-sign {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  transform: rotate(-8deg);
  white-space: nowrap;
}

.field {
  position: relative;
  margin-bottom: 8px;
  /* margin-top: 20px; */
}

.field input {
  width: 100%;
  height: 44px;
  padding: 0 42px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #243024;
  font-size: 14px;
  outline: none;
}

.field input::placeholder {
  color: #9aa89a;
}

.field-ico,
.field-eye {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #1a9a3a;
  transform: translateY(-50%);
}

.field-ico {
  left: 14px;
  pointer-events: none;
}

.field-eye {
  right: 12px;
  padding: 0;
  background: none;
  cursor: pointer;
}

.field-ico svg,
.field-eye svg {
  width: 20px;
  height: 20px;
  display: block;
}

.field-note {
  margin: 0 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  color: #fff;
}

.save-login {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 2px 12px;
  font-size: 14px;
  cursor: pointer;
}

.save-login input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
}

.save-login input:checked {
  background: radial-gradient(circle, #fff 0 4px, transparent 5px);
}

.modal-submit {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff15a, #f0d52a);
  color: #163216;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: none;
}

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.auth-split button {
  color: #ffe14a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-login-link {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
}

.auth-login-link button {
  color: #ffe14a;
  font-weight: 700;
  text-decoration: underline;
}

.auth-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  text-align: center;
}

.auth-extra-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.auth-extra-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.auth-extra-icons button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 11px;
  background: none;
  cursor: pointer;
}

.auth-extra-icons svg {
  width: 26px;
  height: 26px;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #1a9a3a;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.forgot-modal {
  z-index: 3200;
}

.forgot-box {
  width: min(440px, 100%);
  background: #f6f6f3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.forgot-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  background: #0d7a28;
  color: #fff;
}

.forgot-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.forgot-close {
  position: absolute;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.forgot-body {
  padding: 18px 18px 22px;
  background:
    linear-gradient(90deg, rgba(255, 244, 170, 0.45), rgba(255, 255, 255, 0) 42%),
    repeating-linear-gradient(0deg, rgba(180, 190, 160, 0.08) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(180, 190, 160, 0.08) 0 1px, transparent 1px 22px),
    #f7f7f4;
}

.forgot-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.forgot-method {
  position: relative;
  min-height: 118px;
  padding: 16px 10px 12px;
  border: 2px solid #178a34;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #178a34;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.forgot-method.is-on {
  border-color: transparent;
  background: linear-gradient(180deg, #3cbe58, #128c32);
  color: #fff;
}

.forgot-method svg {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
}

.forgot-dot {
  position: absolute;
  top: 52px;
  right: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
}

.forgot-label {
  display: block;
  margin: 14px 0 6px;
  text-align: center;
  color: #147a32;
  font-size: 15px;
  font-weight: 700;
}

.forgot-body input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #e3e8ee;
  border-radius: 22px;
  background: #f4f7fb;
  color: #243024;
  font-size: 15px;
  outline: none;
}

.forgot-body input::placeholder {
  color: #b0b8c0;
}

.forgot-error {
  margin: 6px 0 0;
  text-align: center;
  color: #e53935;
  font-size: 13px;
}

.forgot-code,
.forgot-pass {
  position: relative;
}

.forgot-code input {
  padding-right: 108px;
}

.forgot-receive {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 34px;
  padding: 0 16px;
  border-radius: 17px;
  background: linear-gradient(180deg, #e7ef55, #c6d428);
  color: #163216;
  font-size: 14px;
  font-weight: 700;
}

.forgot-pass input {
  padding-right: 44px;
}

.forgot-eye {
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #6b7280;
  background: none;
  transform: translateY(-50%);
}

.forgot-eye svg {
  width: 20px;
  height: 20px;
}

.forgot-submit {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff15a, #d6e22a);
  color: #163216;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: none;
}

/* Floating social bar (right side) */
.float-social {
  position: fixed;
  right: 8px;
  top: 150px;
  z-index: 1100;
  width: 86px;
}

.float-social-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 86px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #7cbc7c;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 40, 15, 0.14);
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    width 0.35s ease;
}

.float-social.is-collapsed .float-social-inner {
  /* width: 36px; */
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.float-social-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 520px;
  margin-bottom: 6px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.35s ease,
    margin 0.35s ease;
}

.float-social.is-collapsed .float-social-list {
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

.fs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 64px;
  padding: 6px 4px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #7cbc7c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fs-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 80, 30, 0.12);
}

.fs-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.fs-ico img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.fs-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-2);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.fs-text strong {
  font-size: 8px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0;
  text-transform: none;
}

.fs-item.hotline {
  min-height: 70px;
}

.fs-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #7cbc7c;
  color: var(--green-2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  flex-shrink: 0;
}

.fs-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.fs-toggle .fs-chev-left {
  display: none;
}

.float-social.is-collapsed .fs-toggle .fs-chev-right {
  display: none;
}

.float-social.is-collapsed .fs-toggle .fs-chev-left {
  display: block;
}

@media (max-width: 700px) {
  .float-social {
    right: 4px;
    bottom: 170px;
  }

  .float-social-inner {
    width: 76px;
  }

  .float-social.is-collapsed .float-social-inner {
    width: 36px;
  }
}

/* Floating dock (bottom-right) */
.float-dock {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  user-select: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.float-dock.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.92);
}

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

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.float-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.float-close {
  background: #6b6b6b;
}

.float-close:hover {
  background: #555;
}

.float-toggle {
  background: radial-gradient(circle at 35% 25%, #ffd36a 0%, #ff9800 42%, #f05700 100%);
}

.float-toggle:hover {
  filter: brightness(1.06);
}

.float-toggle .chev-down {
  display: none;
}

.float-dock.is-expanded .float-toggle .chev-up {
  display: none;
}

.float-dock.is-expanded .float-toggle .chev-down {
  display: block;
}

.float-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  background: rgba(40, 40, 40, 0.72);
  border-radius: 999px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.float-viewport {
  width: 86px;
  overflow: hidden;
}

.float-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.float-dock.is-collapsed .float-track {
  flex-direction: row;
  width: 200%;
}

.float-dock.is-collapsed .float-viewport {
  height: 86px;
}

.float-dock.is-collapsed .float-item {
  width: 50%;
  flex: 0 0 50%;
}

.float-dock.is-expanded .float-viewport {
  width: 86px;
  height: auto;
  overflow: visible;
}

.float-dock.is-expanded .float-track {
  flex-direction: column;
  width: 100%;
  transform: none !important;
  gap: 12px;
}

.float-dock.is-expanded .float-item {
  width: 86px;
  flex: none;
}

.float-item {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 3px solid #f0c14b;
  background:
    radial-gradient(circle at 50% 35%, #3a3a3a 0%, #1a1a1a 70%, #0d0d0d 100%);
  box-shadow:
    0 0 0 1px #8a6a1a,
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 0 12px rgba(255, 215, 80, 0.15);
  cursor: pointer;
  overflow: hidden;
}

.float-item:hover {
  transform: translateY(-2px);
}

.float-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.55);
  z-index: 2;
}

.float-art {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(circle at 30% 30%, #ffd54f 0 8%, transparent 9%),
    radial-gradient(circle at 70% 40%, #ffb300 0 10%, transparent 11%),
    radial-gradient(circle at 50% 70%, #ff8f00 0 14%, transparent 15%);
}

.float-item.featured .float-art {
  background:
    radial-gradient(circle at 28% 28%, #ffd54f 0 10%, transparent 11%),
    linear-gradient(160deg, transparent 40%, rgba(255, 193, 7, 0.35) 100%);
}

.float-item.event .float-art {
  background:
    radial-gradient(circle at 35% 40%, #ffecb3 0 8%, transparent 9%),
    radial-gradient(circle at 65% 55%, #ffc107 0 12%, transparent 13%),
    radial-gradient(circle at 50% 75%, #ff8f00 0 16%, transparent 17%);
}

.float-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.float-label em {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #2f6bff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.float-label strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #ffe14a;
  text-shadow:
    0 1px 0 #c48a00,
    0 0 8px rgba(255, 220, 60, 0.45);
}

.float-item.event .float-label strong {
  font-size: 15px;
}

.float-dots {
  display: none;
  gap: 5px;
  margin-top: 8px;
}

.float-dock.is-collapsed .float-dots {
  display: flex;
}

.float-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.float-dot.on {
  background: #ff9800;
}

@media (max-width: 700px) {
  .float-dock {
    right: 10px;
    bottom: 16px;
    transform: scale(0.92);
    transform-origin: bottom right;
  }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 5000;
  padding: 12px 22px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile */
@media (max-width: 1240px) {
  .home-item,
  .home-item.LIVE,
  .home-item.RNG {
    width: calc(50% - 8px);
    height: auto;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .nav-item {
    font-size: 11px;
    gap: 3px;
    padding: 0 2px;
  }

  .nav-ico {
    font-size: 13px;
  }

  .ht-links {
    gap: 10px;
  }

  .ht-link {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .header-top {
    min-height: auto;
  }

  .header-top-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 12px;
  }

  .logo img {
    height: 42px;
  }

  .ht-right {
    width: 100%;
    align-items: stretch;
  }

  .ht-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .btn-login,
  .btn-register {
    min-width: 96px;
    height: 36px;
    font-size: 13px;
    padding: 0 12px;
  }

  .btn-sports {
    height: 34px;
    font-size: 12px;
  }

  .ht-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .ht-logged {
    width: 100%;
    align-items: stretch;
  }

  .acct-bar {
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
  }

  .acct-balance {
    font-size: 13px;
    gap: 4px;
  }

  .acct-wallet {
    width: 18px;
    height: 18px;
  }

  .acct-deposit,
  .acct-withdraw {
    height: 30px;
    padding: 0 8px;
    font-size: 10px;
    border-radius: 7px;
  }

  .acct-user {
    max-width: 118px;
    font-size: 12px;
    gap: 4px;
  }

  .acct-avatar {
    width: 24px;
    height: 24px;
  }

  .acct-inbox {
    width: 30px;
    height: 30px;
    margin-left: auto;
  }

  .acct-time {
    align-self: flex-end;
    font-size: 11px;
  }

  .acct-menu {
    width: min(280px, calc(100vw - 24px));
  }

  .menu-toggle {
    display: flex;
  }

  .header-bottom {
    height: auto;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background: #fff;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-item {
    height: 44px;
    justify-content: flex-start;
    padding: 0 16px;
    border-bottom: 1px solid #eef5ee;
    font-size: 13px;
  }

  .nav-dropdown-inner {
    padding: 16px 16px 20px;
  }

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

  .provider-card {
    min-height: 64px;
  }

  .provider-card img {
    height: 36px;
  }

  .provider-logo .name {
    font-size: 14px;
  }

  .home-nav-title {
    font-size: 22px;
    padding: 0 12px;
    gap: 10px;
  }

  .home-nav-title::before,
  .home-nav-title::after {
    flex-basis: 80px;
    height: 20px;
  }

  .home-item,
  .home-item.LIVE,
  .home-item.RNG {
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  .home-name,
  .home-name.LIVE {
    font-size: 20px;
    top: 16px;
    left: 14px;
  }

  .video-container,
  .modal-box {
    flex-direction: column;
  }

  .foot-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-group.sign {
    grid-column: auto;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-certs {
    justify-content: center;
  }

  .footer-media {
    margin-left: 0;
  }

  .modal-art {
    display: none;
  }

  .modal-box {
    height: auto;
    max-height: calc(100vh - 32px);
  }

  .modal-form {
    flex: 1 1 auto;
    margin: 12px;
    max-height: calc(100vh - 56px);
  }

  .hot-item-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .img-wrap {
    width: 96px;
    height: 96px;
  }

  .game-text {
    width: 100%;
    font-size: 12px;
  }

  .footer-group.sign .sign-img {
    width: 180px;
  }
}

/* Casino page hero */
.casino-hero {
  width: 100%;
  padding: 28px 0 40px;
  background: #ffffff url(../assets/img/product/casino/bg.png) center center / cover no-repeat;
}

.casino-hero.sport-hero {
  background-image: url(../assets/img/product/sport/bg.png);
}

.casino-hero.lotto-hero {
  background-image: url(../assets/img/product/lotto/bg.png);
}

.casino-hero.poker-hero {
  background-image: url(../assets/img/product/poker/bg.png);
}

.casino-hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 20px 15px;
  align-items: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  /* padding: 0 16px; */
}

.casino-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
}

.casino-visual img {
  width: 100%;
  max-width: 580px;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(80, 20, 40, 0.18));
  transition: opacity 0.2s ease, transform 0.35s ease;
}

.casino-visual img.is-switching {
  opacity: 0.35;
  transform: scale(0.98);
}

.casino-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 0px 22px 20px;
  border-radius: 16px;
  text-align: center;
}

.casino-brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.casino-brand-mark {
  display: block;
  height: 100px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.casino-desc {
  max-width: 460px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #6b6b6b;
}

.casino-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  height: 42px;
  padding: 0 18px 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
  background: linear-gradient(180deg, #2fbe4a, #149332);
  box-shadow: 0 6px 14px rgba(20, 147, 50, 0.28);
}

.casino-play:hover {
  filter: brightness(1.05);
}

.casino-play-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffe600;
  color: #149332;
  font-size: 11px;
}

.casino-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  border-top: 1px solid #0b6525;
  padding-top: 25px;
}

.casino-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #e3f4e1);
  border: 2px solid #004c0d;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.casino-logo:hover:not(.updating):not(.on) {
  border-color: #5ec87a;
}

.casino-logo.on {
  background: linear-gradient(180deg, #ffef51, #d2e82f);
  border-color: #004c0d;
  box-shadow: none;
}

.casino-logo.on .cl-mark {
  filter: none;
}

.casino-logo.updating {
  gap: 6px;
  color: #888;
  font-size: 11px;
  font-weight: 600;
  cursor: default;
  opacity: 0.85;
}

.casino-logo.updating .spin {
  width: 18px;
  height: 18px;
  border: 2px solid #cfdad3;
  border-top-color: #006519;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.cl-mark {
  display: block;
  width: 100%;
  height: 50px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .casino-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .casino-visual {
    min-height: 280px;
  }

  .casino-panel {
    align-items: center;
    text-align: center;
  }

  .casino-desc {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .casino-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .casino-brand-mark {
    font-size: 22px;
  }
}

/* Slot lobby */
.slot-lobby {
  width: 100%;
  padding: 4px 0 48px;
  background: #fff6ec url("../assets/img/product/slot/bg.png") center top / 100% auto no-repeat;
  background-attachment: fixed;
}

.slot-lobby.fish-lobby {
  background: #e7f6f8 url("../assets/img/product/fish/bg.png") center top / 100% auto no-repeat;
  background-attachment: fixed;
}

.slot-jackpot {
  position: relative;
  width: min(620px, 92vw);
  margin: 0 auto -8px;
}

.slot-jackpot-art {
  width: 100%;
  height: auto;
}

.slot-jackpot-num {
  position: absolute;
  left: 50%;
  top: 70%;
  width: 52%;
  transform: translate(-50%, -50%);
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 0 rgba(255, 248, 214, 0.85), 0 2px 2px rgba(120, 50, 0, 0.28);
  text-shadow: -2px 1px black;
}

.slot-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 12px;
}

.slot-providers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 200px;
  min-height: 640px;
  height: 640px;
  padding: 10px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(0, 40, 15, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.slot-prov-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d7e6db;
  color: var(--green-2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.slot-prov-nav:hover:not(:disabled) {
  background: #f3faf4;
}

.slot-prov-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.slot-prov-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.slot-prov-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  will-change: transform;
  transition: transform 0.28s ease;
}

.slot-prov-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5ebe6;
  color: #444;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.slot-prov-item:hover {
  border-color: #9fd0a8;
}

.slot-prov-item.on {
  background: linear-gradient(180deg, #1faa3d, #006719);
  border-color: #006719;
  color: #fff;
}

.slot-prov-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.slot-prov-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slot-prov-item.on .slot-prov-logo {
  background: #fff;
}

.slot-prov-name {
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-games-panel {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e6eee8;
  box-shadow: 0 8px 24px rgba(0, 40, 15, 0.08);
  padding: 16px 18px 18px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}

.slot-games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.slot-games-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #163528;
}

.slot-cat-ico {
  display: flex;
  width: 30px;
  height: 30px;
  color: #0b8f32;
}

.slot-cat-ico svg,
.slot-cat-ico img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.slot-brand-logo {
  height: auto;
  width: auto;
  object-fit: contain;
}

.slot-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

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

.slot-filter {
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: #dff6e6;
  border: 0;
  color: #1c6b38;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.slot-filter.on {
  background: #0a8a2c;
  color: #fff;
}

.slot-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 180px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #e7f7ec;
  border: 0;
  color: #1f8f3a;
}

.slot-search-ico {
  display: flex;
  flex-shrink: 0;
}

.slot-search-ico svg {
  width: 18px;
  height: 18px;
}

.slot-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: #333;
  min-width: 0;
}

.slot-search input::placeholder {
  color: #8aa894;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 12px;
  flex: 1;
  align-content: start;
}

.slot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
}

.slot-thumb {
  position: relative;
  width: 100%;
  /* aspect-ratio: 1; */
  overflow: hidden;
  border-radius: 12px;
  background: #eef5f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.slot-card:hover .slot-thumb img {
  transform: scale(1.05);
}

.slot-heart {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #e53935;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 0;
  cursor: pointer;
}

.slot-heart.on {
  background: #e53935;
  color: #fff;
}

.slot-badge {
  position: absolute;
  top: 10px;
  right: -28px;
  z-index: 2;
  width: 96px;
  padding: 4px 0;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #e53935;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.2px;
}

.slot-play-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 103, 25, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slot-card:hover .slot-play-mask {
  opacity: 1;
}

.slot-play-btn {
  min-width: 72px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-2);
  font-size: 14px;
  font-weight: 800;
  border: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-card-name {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.slot-page-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d7e6db;
  color: var(--green-2);
  font-size: 18px;
  line-height: 1;
}

.slot-page-btn:hover {
  background: #f3faf4;
}

.slot-page-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slot-page-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
}

.slot-page-dot.on {
  width: 12px;
  height: 12px;
  background: #008f23;
}

@media (max-width: 1100px) {
  .slot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .slot-body {
    grid-template-columns: 1fr;
  }

  .slot-providers {
    width: 100%;
    min-height: 280px;
    height: 280px;
  }

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

@media (max-width: 600px) {
  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-games-panel {
    padding: 12px;
    min-height: 0;
  }
}

/* My Center modal */
.center-modal {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 20, 8, 0.62);
}

.center-modal.open {
  display: flex;
}

.center-box {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  width: min(1290px, 100%);
  height: min(620px, calc(100vh - 32px));
  background: #f4f7f5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.center-side {
  background: #1c1c1c;
  color: #fff;
  padding: 22px 0 16px;
  overflow: auto;
}

.center-title {
  padding: 0 18px 18px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.center-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.center-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.center-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
}

.center-nav-item.on,
.center-nav-item:hover {
  background: #008f23;
}

.center-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e31b23;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.center-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  overflow: hidden;
}

.center-close {
  position: absolute;
  top: 5px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #008f23;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.center-close:hover {
  background: #006719;
}

.center-tab {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.center-tab.on {
  display: flex;
  flex-direction: column;
}

.center-placeholder {
  padding: 48px 32px;
}

.center-placeholder h3 {
  color: var(--green-2);
  font-size: 24px;
  margin-bottom: 8px;
}

.center-placeholder p {
  color: #666;
}

.dep-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
  padding: 18px 18px 18px 14px;
}

.dep-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 4px 2px 8px;
}

.dep-method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e3e8e4;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.dep-method.on {
  border-color: #e31b23;
  box-shadow: 0 0 0 1px #e31b23;
}

.dep-method-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef6ef;
  font-size: 18px;
  flex-shrink: 0;
}

.dep-method-ico.crypto {
  background: #26a17b;
  color: #fff;
  font-weight: 800;
}

.dep-method-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dep-method-text strong {
  font-size: 13px;
  color: #222;
}

.dep-method-text em {
  font-style: normal;
  font-size: 11px;
  color: #888;
}

.dep-method-text .dep-extra {
  color: #e31b23;
  font-weight: 700;
}

.dep-thumb {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 12px;
}

.dep-check {
  display: none;
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e31b23;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dep-method.on .dep-check,
.dep-bank.on .dep-check,
.dep-gate.on .dep-check {
  display: inline-flex;
}

.dep-detail {
  min-width: 0;
  overflow: auto;
  padding: 4px 8px 8px 4px;
}

.dep-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 40px;
}

.dep-detail-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #222;
}

.dep-bar {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: #008f23;
}

.dep-history {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #eaf4ff;
  color: #1a6fc4;
  font-size: 13px;
  font-weight: 700;
}

.dep-history svg {
  width: 16px;
  height: 16px;
}

.dep-pane {
  display: none;
}

.dep-pane.on {
  display: block;
}

.dep-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #555;
  text-transform: uppercase;
}

.dep-sec-head i {
  color: #e31b23;
  font-style: normal;
}

.dep-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #008f23;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.dep-status svg {
  width: 14px;
  height: 14px;
}

.dep-bank-grid,
.dep-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dep-gateway-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dep-gateway-grid-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dep-bank,
.dep-gate {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dde5df;
  text-align: left;
}

.dep-bank.on,
.dep-gate.on {
  border-color: #008f23;
  box-shadow: 0 0 0 1px #008f23;
}

.dep-bank-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.dep-bank-mark.m { background: #ffc107; color: #111; }
.dep-bank-mark.c { background: #c62828; }
.dep-bank-mark.s { background: #ee4d2d; }

.dep-bank-meta,
.dep-gate-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dep-bank-meta strong,
.dep-gate-meta strong {
  font-size: 13px;
  color: #222;
}

.dep-bank-meta em,
.dep-gate-meta em {
  font-style: normal;
  font-size: 11px;
  color: #008f23;
}

.dep-gate:not(.on) .dep-gate-meta em {
  color: #888;
}

.dep-gate-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef6ef;
  color: #006719;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.dep-info-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #1f2a24;
  color: #fff;
}

.dep-info-bar > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dep-info-bar span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #aab4ad;
  text-transform: uppercase;
}

.dep-info-bar strong {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dep-info-bar strong.hl {
  color: #7dff9a;
}

.dep-info-bar strong i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #7dff9a;
}

.dep-amount-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 16px;
  border-radius: 10px;
  background: #f3f6f4;
  border: 1px solid #dce5df;
}

.dep-currency {
  font-size: 24px;
  font-weight: 800;
  color: #008f23;
}

.dep-amount-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 24px;
  font-weight: 800;
  color: #222;
  min-width: 0;
}

.dep-quick {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.dep-quick button {
  height: 36px;
  border-radius: 8px;
  border: 1px solid #cfe0d4;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.dep-quick button:hover,
.dep-quick button.on {
  border-color: #008f23;
  color: #006719;
  background: #f2faf4;
}

.dep-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #2b2b2b;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
}

.dep-tip .warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e31b23;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.dep-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 14px;
  margin-top: 16px;
  align-items: end;
}

.dep-bottom-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dep-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #555;
}

.dep-field select {
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #d5dfd8;
  background: #fff;
  font: inherit;
  color: #222;
}

.dep-file {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px dashed #9fd0a8;
  background: #f7fbf8;
  position: relative;
}

.dep-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dep-file em {
  font-style: normal;
  padding: 4px 10px;
  border-radius: 6px;
  background: #008f23;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.dep-file small {
  color: #777;
  font-size: 12px;
}

.dep-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dep-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

.dep-summary strong {
  color: #008f23;
  font-size: 14px;
}

.dep-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  margin-top: 6px;
  padding: 0 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1faa3d, #006719);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(0, 103, 25, 0.28);
}

.dep-submit:hover {
  filter: brightness(1.05);
}

.dep-submit-wide {
  width: 100%;
  max-width: 280px;
  margin-top: 18px;
  background: linear-gradient(180deg, #ef5350, #c62828);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.25);
}

@media (max-width: 980px) {
  .center-box {
    grid-template-columns: 1fr;
    height: min(860px, calc(100vh - 24px));
  }

  .center-side {
    max-height: 160px;
  }

  .center-nav {
    flex-direction: row;
    overflow: auto;
    padding: 0 8px 8px;
  }

  .center-nav-item {
    flex: 0 0 auto;
    min-width: 140px;
    border-radius: 8px;
  }

  .center-title {
    font-size: 22px;
    padding-bottom: 10px;
  }

  .dep-layout {
    grid-template-columns: 1fr;
  }

  .dep-methods {
    flex-direction: row;
    overflow: auto;
  }

  .dep-method {
    min-width: 180px;
  }

  .dep-bank-grid,
  .dep-gateway-grid,
  .dep-gateway-grid-3,
  .dep-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dep-info-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dep-bottom,
  .dep-bottom-fields {
    grid-template-columns: 1fr;
  }
}

/* Withdraw tab */
#centerWithdraw {
  position: relative;
  overflow: hidden;
}

.wd-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  background: #fff;
}

.wd-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 52px 0 18px;
  border-bottom: 1px solid #e6ece8;
  background: #fff;
}

.wd-body-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.wd-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: auto;
  padding: 16px 18px 18px;
}

.wd-tab {
  position: relative;
  height: 40px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: #888;
}

.wd-tab.on {
  color: #222;
}

.wd-tab.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #e31b23;
}

.wd-view {
  display: none;
}

.wd-view.on {
  display: block;
}

.wd-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.wd-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #dde5df;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.wd-method.on {
  border-color: #e31b23;
  box-shadow: 0 0 0 1px #e31b23;
}

.wd-method-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.wd-method-ico.bank { background: #e3f2fd; color: #1565c0; }
.wd-method-ico.virtual { background: #fff8e1; color: #f9a825; }
.wd-method-ico.momo { background: #fce4ec; color: #ad1457; text-transform: lowercase; }

.wd-edit {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #008f23;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 143, 35, 0.3);
}

.wd-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.wd-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 12px 18px;
}

.wd-empty-art {
  width: 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-card-ghost {
  width: 130px;
  height: 78px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, #d9e0dc 0%, #f0f3f1 45%, #cfd8d2 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  position: relative;
}

.wd-card-ghost::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
}

.wd-empty-text {
  color: #9aa39c;
  font-size: 14px;
  font-weight: 600;
}

.wd-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #e31b23;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.28);
}

.wd-add-btn:hover {
  filter: brightness(1.05);
}

.wd-balances {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

.wd-balances strong {
  color: #1a6fc4;
  font-weight: 800;
}

.wd-amount-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #444;
}

.wd-amount-row input {
  width: 180px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #d5dfd8;
  background: #fff;
  font: inherit;
  font-weight: 600;
}

.wd-return {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a6fc4;
  font-size: 13px;
  font-weight: 700;
}

.wd-confirm {
  width: 100%;
  max-width: 420px;
  height: 44px;
  margin-top: 16px;
  border-radius: 999px;
  background: #d7d7d7;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.wd-confirm:not(:disabled) {
  background: linear-gradient(180deg, #ef5350, #c62828);
}

.wd-limit {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

.wd-limit strong {
  color: #e31b23;
}

.wd-notice {
  padding: 14px 14px 16px;
  border-radius: 10px;
  background: #fff4ea;
  border: 1px solid #f5c9a0;
  color: #c62828;
  font-size: 13px;
  line-height: 1.55;
}

.wd-notice h4 {
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 700;
}

.wd-notice p + p {
  margin-top: 8px;
}

.wd-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px;
  background: #f3f5f4;
  border-left: 1px solid #e5ebe7;
  overflow: auto;
}

.wd-history h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.wd-history .dep-bar {
  background: #1a6fc4;
}

.wd-history-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 180px;
  border-radius: 10px;
  background: #ecefec;
  color: #9aa39c;
  text-align: center;
  padding: 16px;
  font-size: 13px;
}

.wd-cloud {
  font-size: 36px;
  opacity: 0.55;
}

.wd-more {
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d7e0da;
  color: #555;
  font-weight: 700;
}

/* Withdraw add drawer */
.wd-drawer {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  background: rgba(40, 45, 42, 0);
  visibility: hidden;
  pointer-events: none;
  transition: background 0.32s ease, visibility 0.32s;
}

.wd-drawer.open {
  visibility: visible;
  pointer-events: auto;
  background: rgba(55, 60, 58, 0.42);
}

.wd-drawer-panel {
  position: relative;
  width: min(760px, calc(100% - 48px));
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 32px rgba(0, 0, 0, 0.22);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
  will-change: transform;
}

.wd-drawer.open .wd-drawer-panel {
  transform: translateX(0);
}

.wd-drawer-rail {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wd-rail-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.22),
    0 0 0 3px #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wd-rail-ico {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.wd-rail-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wd-rail-btn[data-wd-add="bank"] {
  background: linear-gradient(160deg, #5eb4ff, #1e88e5 55%, #1565c0);
}

.wd-rail-btn[data-wd-add="crypto"] {
  background: linear-gradient(160deg, #ffe082, #ffca28 50%, #f9a825);
}

.wd-rail-btn[data-wd-add="ewallet"] {
  background: linear-gradient(160deg, #ff80ab, #ec407a 50%, #d81b60);
}

.wd-rail-btn.on,
.wd-rail-btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.28),
    0 0 0 3px #fff,
    0 0 18px rgba(255, 255, 255, 0.35);
}

.wd-rail-btn em {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 8px;
  background: #3a3348;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wd-rail-btn em::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #3a3348;
}

.wd-rail-btn:hover em,
.wd-rail-btn.on em {
  opacity: 1;
}

.wd-drawer-close {
  position: absolute;
  top: 0;
  left: -40px;
  z-index: 6;
  width: 48px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wd-drawer-close-tab {
  position: absolute;
  inset: 0;
  background: #fff;
  /* flat top/left, diagonal notch at bottom back into drawer edge */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%, 0 26px);
  filter: drop-shadow(-2px 2px 4px rgba(0, 0, 0, 0.14));
}

.wd-drawer-close-x {
  position: absolute;
  top: 7px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

.wd-drawer-close:hover .wd-drawer-close-x {
  background: #d32f2f;
}

.wd-drawer-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  height: 100%;
  min-height: 100%;
  overflow: auto;
  background: #fff;
}

.wd-drawer-forms {
  padding: 42px 22px 24px 36px;
  border-right: 1px solid #eef2ef;
}

.wd-drawer-list {
  padding: 42px 18px 24px;
  background: #fafbfa;
}

.wd-add-pane {
  display: none;
}

.wd-add-pane.on {
  display: block;
}

.wd-add-pane h3,
.wd-drawer-list h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #222;
}

.dep-bar.green { background: #008f23; }
.dep-bar.red { background: #e31b23; }

.wd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

.wd-field input,
.wd-field select {
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #d5dfd8;
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: #222;
}

.wd-field input[readonly] {
  background: #f5f7f6;
  color: #666;
}

.wd-warn {
  margin: 4px 0 10px;
  color: #e31b23;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.wd-pass,
.wd-code {
  position: relative;
  display: flex;
  align-items: center;
}

.wd-pass input,
.wd-code input {
  width: 100%;
  padding-right: 40px;
}

.wd-eye {
  position: absolute;
  right: 8px;
  font-size: 14px;
  opacity: 0.7;
}

.wd-send {
  position: absolute;
  right: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: #ecefec;
  color: #555;
  font-size: 12px;
  font-weight: 800;
}

.wd-forgot {
  display: block;
  margin: -4px 0 12px;
  color: #1a6fc4;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.wd-drawer-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  height: 44px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #e31b23;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.25);
}

.wd-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  color: #9aa39c;
  text-align: center;
}

.wd-list-art {
  width: 140px;
  height: 100px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, #fff 0 18px, transparent 19px),
    linear-gradient(180deg, #e8ece9 0%, #d5ddd7 100%);
  position: relative;
}

.wd-list-art::before {
  content: "CARD";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.45;
  color: #7a857e;
}

.wd-list-art.crypto::before { content: "CRYPTO"; }
.wd-list-art.ewallet::before { content: "WALLET"; }

@media (max-width: 980px) {
  .wd-body-row {
    grid-template-columns: 1fr;
  }

  .wd-history {
    border-left: 0;
    border-top: 1px solid #e5ebe7;
    min-height: 180px;
  }

  .wd-body {
    grid-template-columns: 1fr;
  }

  .wd-drawer-rail {
    top: auto;
    bottom: 18px;
    left: 50%;
    transform: translate(-50%, 0);
    flex-direction: row;
  }

  .wd-rail-btn em {
    display: none;
  }

  .wd-drawer-panel {
    width: calc(100% - 40px);
  }

  .wd-drawer-close {
    left: -36px;
  }

  .wd-drawer-split {
    grid-template-columns: 1fr;
  }
}

/* Transfer panel */
.tf-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 28px 32px 32px;
  background: #fff;
}

.tf-head {
  margin-bottom: 22px;
  padding-right: 40px;
}

.tf-head h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-2);
  line-height: 1.15;
}

.tf-head p {
  margin-top: 4px;
  font-size: 14px;
  color: #888;
}

.tf-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.tf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #666;
}

.tf-field select {
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d5dfd8;
  background: #f7faf8;
  color: #222;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.tf-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #555;
}

.tf-sec-head i {
  color: #e31b23;
  font-style: normal;
}

.tf-limit {
  color: #008f23;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tf-limit strong {
  font-weight: 800;
}

.tf-amount-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 12px 8px 16px;
  border-radius: 12px;
  background: #f3f6f4;
  border: 1px solid #dce5df;
}

.tf-currency {
  font-size: 28px;
  font-weight: 800;
  color: #008f23;
}

.tf-amount-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 28px;
  font-weight: 800;
  color: #222;
}

.tf-amount-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.tf-amount-actions button {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1faa3d, #006719);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 103, 25, 0.2);
}

.tf-amount-actions button:hover {
  filter: brightness(1.06);
}

.tf-quick {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.tf-quick button {
  height: 38px;
  border-radius: 8px;
  border: 1px solid #cfe0d4;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.tf-quick button:hover,
.tf-quick button.on {
  border-color: #008f23;
  color: #006719;
  background: #f2faf4;
}

.tf-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr);
  gap: 16px;
  align-items: end;
  margin-top: 22px;
}

.tf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1faa3d, #006719);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 103, 25, 0.28);
}

.tf-submit:hover {
  filter: brightness(1.05);
}

@media (max-width: 900px) {
  .tf-wrap {
    padding: 20px 16px 24px;
  }

  .tf-pair,
  .tf-footer,
  .tf-quick {
    grid-template-columns: 1fr 1fr;
  }

  .tf-amount-box {
    flex-wrap: wrap;
  }

  .tf-amount-actions {
    width: 100%;
  }

  .tf-amount-actions button {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .tf-pair,
  .tf-footer,
  .tf-quick {
    grid-template-columns: 1fr;
  }
}

/* Transaction history */
.tx-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 14px 18px 16px;
  background: #f5f6f5;
}

.tx-tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 14px;
  padding-right: 40px;
  border-bottom: 1px solid #e2e8e4;
}

.tx-tab {
  position: relative;
  height: 40px;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #888;
}

.tx-tab.on {
  color: #e31b23;
}

.tx-tab.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #e31b23;
}

.tx-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 12px;
}

.tx-days {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tx-day {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
}

.tx-day input {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid #c5cfc8;
  border-radius: 50%;
  position: relative;
  margin: 0;
}

.tx-day input:checked {
  border-color: #e31b23;
}

.tx-day input:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #e31b23;
}

.tx-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #d5dfd8;
  background: #fff;
}

.tx-cal {
  font-size: 13px;
  opacity: 0.8;
}

.tx-date input {
  width: 110px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.tx-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.tx-type select {
  height: 34px;
  min-width: 100px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #d5dfd8;
  background: #fff;
  font: inherit;
  color: #333;
}

.tx-find {
  height: 34px;
  min-width: 72px;
  padding: 0 16px;
  border-radius: 8px;
  background: #e31b23;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(227, 27, 35, 0.25);
}

.tx-find:hover {
  filter: brightness(1.05);
}

.tx-table-wrap {
  flex: 1;
  min-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e3ebe6;
  border-radius: 8px;
}

.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tx-table th,
.tx-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #eef2ef;
}

.tx-table thead th {
  background: #ecefec;
  color: #666;
  font-weight: 700;
  white-space: nowrap;
}

.tx-table tbody td {
  color: #555;
}

.tx-empty-row td {
  padding: 72px 16px;
  color: #9aa39c;
  font-size: 14px;
  border-bottom: 0;
}

.tx-table tfoot td {
  background: #ecefec;
  font-weight: 700;
  color: #555;
  border-bottom: 0;
}

.tx-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.tx-decimal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
}

.tx-decimal input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tx-switch {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #d5ddd7;
  position: relative;
  transition: background 0.2s;
}

.tx-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.tx-decimal input:checked + .tx-switch {
  background: #008f23;
}

.tx-decimal input:checked + .tx-switch::after {
  transform: translateX(18px);
}

@media (max-width: 900px) {
  .tx-filters {
    gap: 10px;
  }

  .tx-tabs {
    gap: 14px;
    overflow: auto;
  }

  .tx-table {
    min-width: 720px;
  }
}

/* Pending status */
.pd-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 24px 28px 28px;
  background: #fff;
}

.pd-head {
  margin-bottom: 16px;
  padding-right: 40px;
}

.pd-head h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-2);
  line-height: 1.15;
}

.pd-head p {
  margin-top: 4px;
  font-size: 13px;
  color: #888;
}

.pd-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-card {
  border-radius: 12px;
  border: 1px solid #dfe8e2;
  background: #f7faf8;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pd-card.open {
  border-color: #008f23;
  box-shadow: 0 0 0 1px #008f23, 0 6px 18px rgba(0, 103, 25, 0.08);
  background: #fff;
}

.pd-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  color: #333;
}

.pd-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #666;
}

.pd-meta strong {
  color: #222;
  font-weight: 800;
}

.pd-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.pd-status svg {
  width: 14px;
  height: 14px;
}

.pd-status.processing {
  background: linear-gradient(180deg, #42a5f5, #1565c0);
}

.pd-status.failed {
  background: linear-gradient(180deg, #ef5350, #c62828);
}

.pd-status.done {
  background: linear-gradient(180deg, #1faa3d, #006719);
}

.pd-detail {
  display: none;
  border-top: 1px solid #e6eee8;
}

.pd-card.open .pd-detail {
  display: block;
}

.pd-detail-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: linear-gradient(90deg, #1faa3d, #008f23 50%, #006719);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.pd-rows {
  display: flex;
  flex-direction: column;
}

.pd-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  font-size: 13px;
  border-bottom: 1px solid #eef3ef;
}

.pd-rows > div:nth-child(odd) {
  background: #f3f8f4;
}

.pd-rows > div:nth-child(even) {
  background: #fff;
}

.pd-rows span {
  color: #777;
  font-weight: 600;
}

.pd-rows strong {
  color: #222;
  font-weight: 800;
  text-align: right;
}

.pd-note {
  padding: 12px 16px 14px;
  font-size: 12px;
  font-style: italic;
  color: #008f23;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .pd-wrap {
    padding: 18px 14px 20px;
  }

  .pd-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Voucher */
.vc-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 24px 32px;
  background: #f5f7f5;
  overflow: auto;
}

.vc-card {
  width: min(720px, 100%);
  padding: 28px 28px 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dfe8e2;
  box-shadow: 0 8px 24px rgba(0, 40, 15, 0.06);
}

.vc-head {
  margin-bottom: 22px;
  padding-right: 28px;
}

.vc-head h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-2);
  line-height: 1.15;
}

.vc-head p {
  margin-top: 6px;
  font-size: 14px;
  color: #888;
}

.vc-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #666;
}

.vc-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.7fr);
  gap: 12px;
  align-items: stretch;
}

.vc-row input {
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d5dfd8;
  background: #f7faf8;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.vc-row input:focus {
  outline: 0;
  border-color: #008f23;
  box-shadow: 0 0 0 3px rgba(0, 143, 35, 0.12);
}

.vc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1faa3d, #006719);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(0, 103, 25, 0.28);
}

.vc-submit:hover {
  filter: brightness(1.05);
}

@media (max-width: 640px) {
  .vc-wrap {
    padding: 18px 14px 22px;
  }

  .vc-card {
    padding: 22px 16px;
  }

  .vc-row {
    grid-template-columns: 1fr;
  }
}

/* Referral Rewards */
.rf-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 12px 16px 18px;
  background: #f5f6f5;
  overflow: auto;
}

.rf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-bottom: 14px;
  padding-right: 40px;
  border-bottom: 1px solid #e2e8e4;
}

.rf-tab {
  position: relative;
  height: 38px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
}

.rf-tab.on {
  color: #e31b23;
}

.rf-tab.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #e31b23;
}

.rf-pane {
  display: none;
}

.rf-pane.on {
  display: block;
}

.rf-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.9fr);
  gap: 12px;
  margin-bottom: 14px;
}

.rf-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 110px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(120deg, #1faa3d, #006719 55%, #0a4d18);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 103, 25, 0.22);
}

.rf-banner h3 {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
}

.rf-banner p {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.92;
}

.rf-trophy {
  font-size: 42px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.rf-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rf-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px;
  border-radius: 12px;
  color: #fff;
  min-height: 64px;
}

.rf-stat span {
  font-size: 12px;
  opacity: 0.92;
}

.rf-stat strong {
  font-size: 16px;
  font-weight: 800;
}

.rf-stat.s1 { background: linear-gradient(135deg, #42a5f5, #1565c0); }
.rf-stat.s2 { background: linear-gradient(135deg, #66bb6a, #2e7d32); }
.rf-stat.s3 { background: linear-gradient(135deg, #81c784, #43a047); }
.rf-stat.s4 { background: linear-gradient(135deg, #26a69a, #00897b); }

.rf-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  gap: 12px;
  margin-bottom: 14px;
}

.rf-col h4,
.rf-levels h4,
.rf-share h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #333;
}

.rf-leaders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.rf-leader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3ebe6;
  text-align: center;
}

.rf-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe082, #f9a825);
  color: #5d4037;
  font-size: 11px;
  font-weight: 800;
}

.rf-leader:nth-child(2) .rf-av {
  background: linear-gradient(180deg, #e0e0e0, #9e9e9e);
  color: #333;
}

.rf-leader:nth-child(3) .rf-av {
  background: linear-gradient(180deg, #ffcc80, #ef6c00);
  color: #fff;
}

.rf-leader em {
  font-style: normal;
  font-size: 12px;
  color: #666;
}

.rf-leader strong {
  font-size: 13px;
  color: #006719;
}

.rf-recv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rf-recv {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #fff, #eef8f0);
  border: 1px solid #e3ebe6;
  font-size: 13px;
}

.rf-recv span { color: #444; font-weight: 700; }
.rf-recv em { font-style: normal; color: #888; text-align: center; }
.rf-recv strong { color: #006719; text-align: right; }

.rf-promo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #006719;
  font-size: 12px;
  font-weight: 800;
}

.rf-share {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3ebe6;
}

.rf-share-body {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.rf-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #777;
}

.rf-qr-box {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background:
    linear-gradient(#111 0 0) 0 0 / 30% 30%,
    linear-gradient(#111 0 0) 100% 0 / 30% 30%,
    linear-gradient(#111 0 0) 0 100% / 30% 30%,
    linear-gradient(#fff 0 0);
  background-repeat: no-repeat;
  border: 1px solid #ddd;
  box-shadow: inset 0 0 0 10px #fff;
}

.rf-link-row {
  display: flex;
  gap: 8px;
}

.rf-link-row input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #d5dfd8;
  background: #f7faf8;
  font-size: 12px;
  color: #444;
}

.rf-copy {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #008f23;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.rf-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #1faa3d, #006719);
}

.rf-socials button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #006719;
  font-size: 12px;
  font-weight: 800;
}

.rf-level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rf-level {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3ebe6;
}

.rf-level-ico {
  font-size: 28px;
}

.rf-level em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #444;
}

.rf-level strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  color: #006719;
}

.rf-level span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #888;
}

.rf-award-note {
  text-align: right;
  margin-bottom: 10px;
  font-size: 12px;
  color: #888;
  padding-right: 4px;
}

.rf-award-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rf-award {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3ebe6;
  min-height: 92px;
}

.rf-award-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e8f5e9, #c8e6c9);
  font-size: 20px;
}

.rf-award-main {
  min-width: 0;
}

.rf-award-main p {
  font-size: 11px;
  color: #666;
  line-height: 1.35;
}

.rf-award-main strong {
  display: block;
  margin-top: 4px;
  color: #006719;
  font-size: 14px;
}

.rf-award-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.rf-award-side em {
  font-style: normal;
  font-size: 11px;
  color: #888;
}

.rf-award-side button {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #66bb6a, #008f23);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.rf-income-box {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #eef8f1;
  border: 1px solid #d7eadc;
}

.rf-income-box h4 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #1b5e20;
}

.rf-income-box h4 strong {
  color: #006719;
}

.rf-income-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}

.rf-income-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.rf-income-grid span { color: #666; }
.rf-income-grid strong { color: #006719; }

.rf-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 12px;
}

.rf-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.rf-type select {
  height: 34px;
  min-width: 160px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #d5dfd8;
  background: #fff;
  font: inherit;
}

@media (max-width: 980px) {
  .rf-top,
  .rf-mid,
  .rf-level-grid,
  .rf-award-grid,
  .rf-income-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .rf-top,
  .rf-mid,
  .rf-level-grid,
  .rf-award-grid,
  .rf-leaders,
  .rf-income-grid,
  .rf-share-body {
    grid-template-columns: 1fr;
  }

  .rf-award {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .rf-award-side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}

/* Inbox */
.ib-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
  flex: 1;
  min-height: 0;
  height: 100%;
  background: #f5f6f5;
  overflow: hidden;
}

.ib-main,
.ib-detail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.ib-main {
  padding: 12px 16px 14px;
  overflow: hidden;
}

.ib-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  padding-right: 40px;
  border-bottom: 1px solid #e2e8e4;
}

.ib-tab {
  position: relative;
  height: 38px;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #888;
}

.ib-tab.on {
  color: #e31b23;
}

.ib-tab.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #e31b23;
  border-radius: 3px 3px 0 0;
}

.ib-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.ib-check-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
}

.ib-tool {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d7e0da;
  font-size: 14px;
}

.ib-tool:hover {
  background: #f2faf4;
}

.ib-sort {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.ib-sort select {
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #d5dfd8;
  background: #fff;
  font: inherit;
}

.ib-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #fff;
  border: 1px solid #e3ebe6;
  border-radius: 10px;
}

.ib-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #eef2ef;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.ib-item-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ib-item:last-child {
  border-bottom: 0;
}

.ib-item:hover,
.ib-item.on {
  background: #f3faf5;
}

.ib-item.unread .ib-subject {
  color: #222;
  font-weight: 800;
}

.ib-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.ib-from {
  font-size: 12px;
  color: #999;
  font-weight: 600;
}

.ib-time {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

.ib-subject {
  font-size: 13px;
  color: #666;
  font-weight: 600;
  line-height: 1.4;
}

.ib-item-del {
  opacity: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
}

.ib-item:hover .ib-item-del,
.ib-item.on .ib-item-del {
  opacity: 1;
}

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

.ib-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

.ib-pages button {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 50%;
  color: #666;
  font-size: 13px;
  font-weight: 700;
}

.ib-pages button.on {
  background: #dfe6e1;
  color: #333;
}

.ib-detail {
  position: relative;
  padding: 14px 18px 18px;
  background: #fff;
  border-left: 1px solid #e3ebe6;
  overflow: auto;
}

.ib-detail-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
  color: #b0b8b2;
  font-size: 14px;
  font-weight: 600;
}

.ib-detail.is-open .ib-detail-empty {
  display: none;
}

.ib-detail-content[hidden] {
  display: none !important;
}

.ib-detail-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 36px;
  font-size: 13px;
  color: #666;
}

.ib-detail-bar strong {
  color: #222;
}

.ib-detail-bar #ibDetailTime {
  margin-left: auto;
  color: #999;
}

.ib-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #008f23;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.ib-detail h3 {
  margin-bottom: 14px;
  font-size: 18px;
  color: #222;
  line-height: 1.35;
}

.ib-detail-body {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 900px) {
  .ib-wrap {
    grid-template-columns: 1fr;
  }

  .ib-detail {
    border-left: 0;
    border-top: 1px solid #e3ebe6;
    min-height: 200px;
    max-height: 45%;
  }

  .ib-detail:not(.is-open) {
    display: none;
  }
}

/* Profile */
.pf-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 12px 18px 24px;
  background: #fff;
  overflow: auto;
}

.pf-tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 20px;
  padding-right: 40px;
  border-bottom: 1px solid #e6ece8;
}

.pf-tab {
  position: relative;
  height: 40px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: #888;
}

.pf-tab.on {
  color: #222;
}

.pf-tab.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #e31b23;
}

.pf-pane {
  display: none;
}

.pf-pane.on {
  display: flex;
  justify-content: center;
}

.pf-card {
  width: min(480px, 100%);
}

.pf-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 800;
  color: var(--green-2);
}

.pf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

.pf-field input,
.pf-field select {
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d5dfd8;
  background: #f7faf8;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.pf-field input:focus,
.pf-field select:focus {
  outline: 0;
  border-color: #008f23;
  box-shadow: 0 0 0 3px rgba(0, 143, 35, 0.12);
}

.pf-pass {
  position: relative;
  display: flex;
  align-items: center;
}

.pf-pass input {
  width: 100%;
  padding-right: 42px;
}

.pf-eye {
  position: absolute;
  right: 10px;
  font-size: 14px;
  opacity: 0.7;
}

.pf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1faa3d, #006719);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(0, 103, 25, 0.28);
}

.pf-submit:hover {
  filter: brightness(1.05);
}

/* My account */
#centerAccount {
  position: relative;
  overflow: hidden;
}

.ac-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  height: 100%;
  background: #f5f6f5;
  overflow: hidden;
}

.ac-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(200px, 0.75fr) minmax(0, 1.1fr);
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 35px 25px 16px;
  overflow: auto;
}

.ac-profile {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3ebe6;
  overflow: hidden;
}

.ac-profile-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: linear-gradient(120deg, #f8e7b0, #f2d48a 55%, #e8c56a);
}

.ac-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  flex-shrink: 0;
  background: #f3d2b0;
}

.ac-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ac-profile-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ac-profile-id strong {
  color: #333;
  font-size: 16px;
}

.ac-ok {
  color: #008f23;
  font-size: 12px;
}

.ac-profile-id em {
  font-style: normal;
  font-size: 11px;
  color: #7a6a3a;
}

.ac-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 8px;
}

.ac-balance strong {
  font-size: 28px;
  color: #222;
  margin-right: auto;
}

.ac-ico-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f3f6f4;
  color: #666;
  font-size: 13px;
}

.ac-status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 14px 16px;
}

.ac-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
}

.ac-status-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.ac-status-ico.dep { background: #e3f2fd; }
.ac-status-ico.wd { background: #fff3e0; }
.ac-status-ico.ip { background: #e8f5e9; }

.ac-status strong {
  display: block;
  color: #444;
  font-weight: 700;
}

.ac-status em {
  display: block;
  font-style: normal;
  color: #999;
  margin-top: 2px;
}

.ac-safety-card {
  height: 100%;
  min-height: 420px;
  padding: 18px 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ef5350, #c62828 55%, #b71c1c);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 22px rgba(198, 40, 40, 0.28);
}

.ac-score-ring {
  width: 150px;
  height: 150px;
  margin: 18px 0 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff 0 58%, rgba(255,255,255,0.35) 59% 72%, transparent 73%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.45);
}

.ac-score-ring strong {
  color: #e31b23;
  font-size: 34px;
  line-height: 1;
}

.ac-score-ring span {
  color: #c62828;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.ac-safety-card > p {
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.95;
  max-width: 220px;
}

.ac-recommend {
  margin-top: auto;
  width: 100%;
  padding-top: 14px;
}

.ac-recommend h4 {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}

.ac-rec-list {
  display: flex;
  justify-content: space-around;
  gap: 6px;
}

.ac-rec-list button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  max-width: 72px;
}

.ac-rec-list span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.ac-rec-list .y { background: #ffca28; color: #5d4037; }
.ac-rec-list .b { background: #42a5f5; color: #fff; }
.ac-rec-list .p { background: #ec407a; color: #fff; }

.ac-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

.ac-check-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3ebe6;
  text-align: left;
}

.ac-check-item:hover {
  border-color: #9fd0a8;
}

.ac-check-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.ac-check-ico.y { background: linear-gradient(180deg, #ffd54f, #f9a825); }
.ac-check-ico.g { background: linear-gradient(180deg, #66bb6a, #2e7d32); }
.ac-check-ico.b { background: linear-gradient(180deg, #64b5f6, #1e88e5); }
.ac-check-ico.p { background: linear-gradient(180deg, #f06292, #c2185b); }
.ac-check-ico.o { background: linear-gradient(180deg, #ffb74d, #ef6c00); }
.ac-check-ico.t { background: linear-gradient(180deg, #a1887f, #6d4c41); }

.ac-check-text strong {
  display: block;
  font-size: 14px;
  color: #333;
}

.ac-check-text em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #888;
  line-height: 1.35;
}

.ac-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.ac-flag.warn { background: #e31b23; }
.ac-flag.ok { background: #008f23; }

/* Account drawer */
.ac-drawer {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  background: rgba(40, 45, 42, 0);
  visibility: hidden;
  pointer-events: none;
  transition: background 0.32s ease, visibility 0.32s;
}

.ac-drawer.open {
  visibility: visible;
  pointer-events: auto;
  background: rgba(55, 60, 58, 0.42);
}

.ac-drawer-panel {
  position: relative;
  width: min(760px, calc(100% - 48px));
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 32px rgba(0, 0, 0, 0.22);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
}

.ac-drawer.open .ac-drawer-panel {
  transform: translateX(0);
}

.ac-drawer-rail {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ac-rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c, #008f23);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22), 0 0 0 3px #fff;
}

.ac-rail-btn.on {
  transform: scale(1.08);
}

.ac-drawer-close {
  left: -40px;
}

.ac-drawer-body {
  height: 100%;
  overflow: auto;
  padding: 42px 22px 24px 36px;
}

.ac-pane {
  display: none;
  max-width: 720px;
}

.ac-pane.on {
  display: block;
}

.ac-pane h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #222;
}

.ac-photo {
  width: 88px;
  height: 88px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #eef2ef;
  border: 1px dashed #c5d0c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0.6;
}

.ac-pane-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.85fr);
  gap: 16px;
}

.ac-pane-side {
  padding: 8px 8px 0 12px;
  border-left: 1px solid #eef2ef;
}

.ac-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  height: 44px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #e31b23;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.25);
}

@media (max-width: 980px) {
  .ac-overview {
    grid-template-columns: 1fr;
  }

  .ac-safety-card {
    min-height: 0;
  }

  .ac-pane-split {
    grid-template-columns: 1fr;
  }

  .ac-pane-side {
    border-left: 0;
    border-top: 1px solid #eef2ef;
  }

  .ac-drawer-rail {
    top: auto;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%, 0);
    flex-direction: row;
  }
}

/* Info center pages */
.info-center {
  width: 100%;
  max-width: var(--max);
  margin: 24px auto 40px;
  padding: 0 12px;
}

.info-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.info-side {
  background: #f3f5f4;
  border: 2px solid #006519;
  border-radius: 14px;
  overflow: hidden;
}

.info-nav {
  display: flex;
  flex-direction: column;
}

.info-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  border-bottom: 1px solid #dde5df;
  color: #006519;
  font-size: 14px;
  font-weight: 700;
}

.info-nav a:last-child {
  border-bottom: 0;
}

.info-nav a:hover {
  background: rgba(0, 101, 25, 0.06);
}

.info-nav a.on {
  background: linear-gradient(90deg, #ffe84a, #f5a623);
  color: #006519;
}

.info-nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #008f23;
}

.info-nav a.on .info-nav-ico {
  color: #006519;
}

.info-nav-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}

.info-panel {
  background: #fff;
  border: 2px solid #006519;
  border-radius: 14px;
  padding: 28px 28px 32px;
  min-height: 520px;
}

.info-panel h1 {
  margin-bottom: 22px;
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #006519;
}

.info-panel h2 {
  margin: 22px 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: #006519;
}

.info-panel h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #006519;
}

.info-panel p,
.info-panel li {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.info-panel p + p {
  margin-top: 10px;
}

.info-panel ol,
.info-panel ul {
  margin: 8px 0 12px 1.2em;
}

.info-panel li + li {
  margin-top: 6px;
}

.info-panel .info-lead {
  margin-bottom: 8px;
  color: #666;
}

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

.info-card {
  padding: 14px;
  border-radius: 10px;
  background: #f7faf8;
  border: 1px solid #dde8e1;
}

.info-card strong {
  display: block;
  margin-bottom: 4px;
  color: #006519;
  font-size: 14px;
}

.info-card span {
  font-size: 13px;
  color: #555;
}

.info-banks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.info-bank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dde8e1;
  text-align: center;
}

.info-bank .mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #006519;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.info-bank strong {
  font-size: 13px;
  color: #222;
}

.info-bank em {
  font-style: normal;
  font-size: 11px;
  color: #888;
}

.info-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.info-contact a,
.info-contact .info-card {
  text-decoration: none;
}

@media (max-width: 900px) {
  .info-layout {
    grid-template-columns: 1fr;
  }

  .info-nav {
    flex-direction: row;
    overflow: auto;
  }

  .info-nav a {
    flex: 0 0 auto;
    min-width: 150px;
    border-bottom: 0;
    border-right: 1px solid #dde5df;
  }

  .info-panel {
    padding: 20px 16px;
    min-height: 0;
  }

  .info-grid,
  .info-contact,
  .info-banks {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .info-grid,
  .info-contact,
  .info-banks {
    grid-template-columns: 1fr;
  }
}

/* Promotions page */
.promo-bg {
  background: url("../assets/img/promo/bg.png") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}
.promo-page {
  width: 100%;
  max-width: var(--max);
  margin: 0px auto 0px;
  padding: 20px 0px;
  padding-bottom: 20px;
}

.promo-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.promo-cat {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ecefe8;
  color: #006519;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
}

.promo-cat:hover {
  background: #dfe6db;
}

.promo-cat.on {
  background: #006519;
  color: #fff;
}

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

.promo-card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  /* background: #fff; */
  line-height: 0;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 101, 25, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.promo-card[hidden],
.promo-card.is-hide,
.promo-list[hidden],
.promo-detail[hidden] {
  display: none !important;
}

.promo-empty {
  display: none;
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

.promo-empty.is-show {
  display: block;
}

.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 101, 25, 0.14);
}

.promo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.promo-detail {
  max-width: 920px;
  margin: 0 auto;
}

.promo-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
  border: 0;
  background: transparent;
  color: #006519;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.promo-back svg {
  width: 20px;
  height: 20px;
}

.promo-detail-hero {
  overflow: hidden;
  border-radius: 14px;
  border: 2px solid #7ec27a;
  background: #fff;
  line-height: 0;
}

.promo-detail-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.promo-detail-body {
  padding: 22px 4px 10px;
}

.promo-detail-body h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #006519;
}

.promo-detail-period {
  margin: 0 0 16px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

.promo-join {
  min-width: 160px;
  margin-bottom: 22px;
}

.promo-detail-content h2 {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #006519;
}

.promo-detail-content p,
.promo-detail-content li {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.promo-detail-content ol,
.promo-detail-content ul {
  margin: 8px 0 12px 1.2em;
}

.promo-detail-content li + li {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
}

.vip-page {
  width: 100%;
  max-width: var(--max);
  margin: 24px auto 40px;
  padding: 0 12px;
}

.vip-top {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.vip-level-card,
.vip-steps,
.vip-progress {
  border-radius: 18px;
  background: linear-gradient(160deg, #149433 0%, #0b5c24 55%, #084a1c 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 50, 15, 0.16);
}

.vip-level-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 22px 18px 26px;
  text-align: center;
  background: linear-gradient(145deg, #3cbe58 0%, #128c32 42%, #0b5c24 100%);
}

.vip-level-label {
  align-self: flex-start;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #ffe84a;
}

.vip-level-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.vip-level-card h1 {
  margin: 8px 0 12px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.vip-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.vip-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vip-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 16px 18px;
  list-style: none;
}

.vip-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.vip-steps li + li::before {
  content: "";
  width: 42px;
  height: 2px;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.vip-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}

.vip-progress {
  flex: 1;
  padding: 18px 22px 16px;
}

.vip-progress-ends {
  display: flex;
  justify-content: space-between;
}

.vip-progress-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
  font-size: 14px;
  font-weight: 700;
}

.vip-progress-end:last-child {
  align-items: flex-end;
}

.vip-progress-end img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.vip-bar {
  height: 8px;
  margin: 14px 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.vip-bar span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff15a, #ffe84a);
}

.vip-progress-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.vip-progress-foot p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.vip-progress-foot strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  color: #ffe84a;
}

.vip-terms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #ffe84a;
  color: #0b5c24;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.vip-terms-btn:hover {
  background: #fff15a;
}

.vip-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid #d7eadc;
  border-radius: 12px;
}

.vip-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}

.vip-table th,
.vip-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid #e6f0e8;
  color: #333;
  font-weight: 600;
}

.vip-table thead th {
  background: #006519;
  color: #fff;
  font-weight: 800;
}

.vip-table thead th img {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 4px;
  object-fit: contain;
}

.vip-table tbody th {
  text-align: left;
  color: #163216;
  background: #f7fbf8;
}

.vip-table .vip-group th {
  background: #e8f6ec;
  color: #006519;
  text-align: left;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12px;
}

.vip-terms {
  margin-top: 8px;
}

.vip-terms-modal {
  z-index: 3200;
}

.vip-terms-box {
  width: min(640px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  background: #f6f6f3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.vip-terms-body {
  padding: 18px 22px 24px;
  overflow: auto;
}

.vip-terms-body ul {
  margin: 0;
  padding-left: 1.2em;
}

.vip-terms-body li {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}

.vip-terms-body li + li {
  margin-top: 10px;
}

.vip-terms-body strong {
  color: #006519;
}

.agent-page {
  width: 100%;
  max-width: var(--max);
  margin: 24px auto 40px;
  padding: 0 12px;
}

.agent-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.agent-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.agent-open-calc,
.agent-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #006519;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.agent-open-calc:hover,
.agent-register:hover {
  background: #128c32;
}

.agent-register {
  background: #ffe600;
  color: #006519;
}

.agent-register:hover {
  background: #fff15a;
}

.agent-perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 18px;
  padding: 36px 0 0;
  list-style: none;
}

.agent-perks li {
  position: relative;
  padding: 52px 16px 22px;
  border-radius: 20px 20px 64px 20px;
  background: #f4f8d4;
  text-align: center;
}

.agent-perks img {
  position: absolute;
  top: -36px;
  left: 50%;
  width: 76px;
  height: 76px;
  transform: translateX(-50%);
  object-fit: contain;
}

.agent-perks h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #128c32;
}

.agent-perks p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #245024;
}

.agent-quote {
  margin: 14px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: #e8f6ec;
  color: #163216;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.agent-quote strong {
  color: #006519;
}

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

.agent-heading img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.agent-lead {
  margin: 22px 0 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #006519;
}

.agent-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.agent-earn-title,
.agent-home-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 42px;
  margin: 16px 0;
}

.agent-earn-title::after,
.agent-home-wrap::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #149433;
}

.agent-earn-title::before,
.agent-home-wrap::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 46px;
  margin-right: -22px;
  background: #ffe600;
  clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
}

.agent-earn-title span,
.agent-home {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 26px 0 28px;
  background: #149433;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.agent-home:hover {
  background: #128c32;
  color: #fff;
}

.agent-earn-lead {
  margin: 20px 0 26px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.agent-steps {
  text-align: center;
}

.agent-steps li {
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.agent-step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #149433;
  color: #fff;
}

.agent-step-ico svg {
  width: 36px;
  height: 36px;
}

.agent-steps h3 {
  margin: 12px 0 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #128c32;
}

.agent-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.agent-panel h2 {
  margin-top: 22px;
}

.agent-unit {
  font-weight: 700;
  color: #006519;
}

.agent-table {
  min-width: 520px;
}

.agent-table td[rowspan] {
  background: #f7fbf8;
  font-weight: 800;
  vertical-align: middle;
}

.agent-notes {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.agent-notes li {
  line-height: 1.6;
}

.agent-notes li + li {
  margin-top: 8px;
}

.agent-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 16px;
  margin-top: 8px;
}

.agent-calc[hidden] {
  display: none;
}

.agent-fields,
.agent-result {
  padding: 16px;
  border: 1px solid #d7eadc;
  border-radius: 14px;
  background: #f7fbf8;
}

.agent-fields label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #163216;
}

.agent-fields label span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #5d6b5d;
}

.agent-fields input {
  width: 100%;
  height: 40px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid #0a662f;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.agent-result p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 14px;
}

.agent-panel .agent-status {
  display: block;
  margin-top: 4px;
  color: #006519;
  font-weight: 700;
}

.agent-panel .agent-total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #d7eadc;
  font-size: 16px;
  font-weight: 800;
  color: #006519;
}

.agent-details-btn {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #006519;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.agent-details {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.agent-details p + p {
  margin-top: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.reward-page {
  width: 100%;
  max-width: var(--max);
  margin: 24px auto 40px;
  padding: 0 12px;
}

.reward-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.reward-tab {
  min-width: 124px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #dde5ee;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7f9fc 0%, #e6ebf2 100%);
  box-shadow: 0 4px 10px rgba(20, 60, 30, 0.12);
  color: #4c5a68;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.reward-tab:hover {
  color: #006519;
}

.reward-tab.is-on {
  border-color: #0b7a2a;
  background: linear-gradient(180deg, #1aa440 0%, #0b7a2a 100%);
  color: #fff;
}

.reward-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
}

.reward-chip {
  height: 34px;
  padding: 0 16px;
  border: 1px solid #0b7a2a;
  border-radius: 999px;
  background: #fff;
  color: #0b7a2a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.reward-chip.is-on {
  background: #0b7a2a;
  color: #fff;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reward-card[hidden] {
  display: none;
}

.reward-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid #149433;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #eef8ea 50%, #ffffff 100%);
}

.reward-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px 18px 34px;
}

.reward-badge {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 0 6px 6px 0;
  background: #149433;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.reward-badge.is-out {
  background: #b3141b;
}

.reward-name {
  position: absolute;
  left: 50%;
  bottom: 0;
  min-width: 76%;
  margin: 0;
  padding: 7px 16px;
  transform: translateX(-50%);
  background: #149433;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

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

.reward-points {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #cfe7d4;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 60, 20, 0.12);
  color: #163216;
  font-size: 14px;
  font-weight: 800;
}

.reward-points svg {
  width: 18px;
  height: 18px;
  color: #23b6d8;
}

.reward-redeem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #0b7a2a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.reward-redeem svg {
  width: 18px;
  height: 18px;
}

.reward-redeem:hover {
  background: #129438;
}

.reward-redeem:disabled {
  background: #666;
  cursor: not-allowed;
}

.reward-empty {
  padding: 40px 0;
  text-align: center;
  color: #5d6b5d;
  font-weight: 700;
}

.reward-box {
  padding: 24px 26px;
  border: 2px solid #149433;
  border-radius: 14px;
  background: #fff;
}

.reward-box h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #006519;
}

.reward-box p,
.reward-box li {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.reward-box ol {
  margin: 8px 0 0;
  padding-left: 1.3em;
}

.reward-tickets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reward-ticket {
  --ticket-art: 112px;
  --ticket-line: #8fd19e;
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 112px;
  border: 1px solid var(--ticket-line);
  border-radius: 6px;
  background: linear-gradient(135deg, #f4fbf1 0%, #e8f8e3 100%);
}

.reward-ticket::before,
.reward-ticket::after {
  content: "";
  position: absolute;
  left: calc(var(--ticket-art) - 12px);
  width: 22px;
  height: 22px;
  border: 1px solid var(--ticket-line);
  border-radius: 50%;
  background: #fff;
}

.reward-ticket::before {
  top: -12px;
  clip-path: inset(50% 0 0 0);
}

.reward-ticket::after {
  bottom: -12px;
  clip-path: inset(0 0 50% 0);
}

.reward-ticket__art {
  position: relative;
  flex: 0 0 var(--ticket-art);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px dashed #7fcf8f;
}

.reward-ticket__box {
  width: 84px;
  height: 84px;
}

.reward-ticket__amount {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 34px;
  padding: 1px 5px;
  transform: translate(-50%, -2px);
  border: 2px solid #ffd54f;
  border-radius: 6px;
  background: #e53935;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 0 #8e1b1b;
}

.reward-ticket__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 10px;
}

.reward-ticket__title {
  margin: 0;
  color: #0b6b24;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.reward-ticket .reward-actions {
  margin-top: 0;
}

.reward-points--silver {
  border: 0;
  background: linear-gradient(180deg, #f4f6f8 0%, #d9dee4 100%);
  box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(0, 0, 0, 0.15);
  color: #2b3440;
  font-weight: 700;
}

.reward-redeem--pill {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #0b5a1c;
  box-shadow: 0 4px 10px rgba(11, 90, 28, 0.3);
  font-size: 12px;
  text-transform: none;
}

.reward-redeem--pill:hover {
  background: #0b7a2a;
}

a.reward-redeem,
a.reward-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.reward-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 5px 16px 5px 6px;
  border-radius: 999px;
  background: #0b5a1c;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.reward-ticker__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffd54f;
  color: #0b5a1c;
}

.reward-ticker__ico svg {
  width: 13px;
  height: 13px;
}

.reward-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.reward-detail__stage {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #cfe9d4;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef8ea 60%, #dff2d8 100%);
  box-shadow: 0 6px 18px rgba(0, 80, 20, 0.12);
}

.reward-detail__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-detail__thumb {
  display: block;
  width: 64px;
  height: 64px;
  margin: 14px auto 0;
  padding: 4px;
  border: 2px solid #149433;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.reward-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reward-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reward-detail__title {
  margin: 0;
  color: #0b6b24;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.reward-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 32px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: #0b5a1c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.reward-detail__back:hover {
  background: #0b7a2a;
  color: #fff;
}

.reward-detail__back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reward-detail__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
  color: #555;
  font-size: 12px;
}

.reward-detail__share {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.reward-detail__share-link {
  display: inline-flex;
  border-radius: 50%;
}

.reward-detail__share-link svg {
  width: 20px;
  height: 20px;
}

.reward-detail__share-link:hover {
  transform: translateY(-1px);
}

.reward-detail__quote {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 4px solid #149433;
  border-radius: 0 8px 8px 0;
  background: #f5fbf3;
  box-shadow: 0 2px 8px rgba(0, 60, 20, 0.08);
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  text-transform: uppercase;
}

.reward-detail__panel {
  padding: 16px;
  border: 1px solid #e0efe3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 80, 20, 0.1);
}

.reward-detail__perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.reward-detail__perks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid #149433;
  border-radius: 8px;
  color: #333;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.reward-detail__perks svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #149433;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reward-detail__form {
  display: grid;
  gap: 12px;
}

.reward-detail__row {
  display: grid;
  gap: 12px;
}

.reward-detail__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reward-detail__row--addr {
  grid-template-columns: 2fr 1fr 1fr;
}

.reward-detail__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #333;
  font-size: 12px;
  font-weight: 600;
}

.reward-detail__field input,
.reward-detail__field select,
.reward-detail__field textarea {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #e9ecef;
  color: #222;
  font: inherit;
  font-weight: 400;
  font-size: 13px;
}

.reward-detail__field textarea {
  height: auto;
  padding: 8px 12px;
  resize: vertical;
}

.reward-detail__field :disabled {
  color: #888;
  cursor: not-allowed;
}

.reward-detail__field :focus-visible {
  border-color: #149433;
  outline: 2px solid rgba(20, 148, 51, 0.25);
  background: #fff;
}

.reward-detail__submit {
  justify-self: center;
  height: 38px;
  padding: 0 30px;
  border: 0;
  border-radius: 6px;
  background: #0b5a1c;
  box-shadow: 0 4px 10px rgba(11, 90, 28, 0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.reward-detail__submit:hover {
  background: #0b7a2a;
}

.reward-detail__hint {
  margin: 0;
  color: #666;
  font-size: 11px;
  text-align: center;
}

.reward-detail__hint strong {
  color: #0b6b24;
}

.reward-detail__box {
  position: relative;
  margin-top: 48px;
  padding: 38px 26px 22px;
  border: 1px solid #cfe9d4;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f1faee 100%);
  box-shadow: 0 6px 18px rgba(0, 80, 20, 0.1);
  color: #222;
  font-size: 14px;
  line-height: 1.6;
}

.reward-detail__box p {
  margin: 0;
}

.reward-detail__badge {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  padding: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #f7dc85 0%, #c9962c 100%);
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}

.reward-detail__badge span {
  display: block;
  padding: 7px 48px;
  background: linear-gradient(180deg, #f7fdec 0%, #d6f0c0 100%);
  color: #149433;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}

.reward-detail__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reward-reviews__title {
  margin: 36px 0 16px;
  color: #149433;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.reward-reviews__track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
}

.reward-reviews__track::-webkit-scrollbar {
  display: none;
}

.reward-review {
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid #8fd19e;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fbf1 0%, #e3f6dc 100%);
}

.reward-review__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #149433;
}

.reward-review__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  height: 54px;
  border-radius: 50%;
  background: #0b6b24;
}

.reward-review__avatar img {
  width: 42px;
}

.reward-review__name {
  margin: 0;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 800;
}

.reward-review__user {
  margin: 0;
  color: #666;
  font-size: 11px;
}

.reward-review__stars {
  margin: 2px 0 0;
  color: #f5a623;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}

.reward-review__text {
  margin: 0;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
}

.reward-review__text strong {
  color: #0b6b24;
}

.reward-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.reward-reviews__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfd6d2;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.reward-reviews__dot.is-on {
  width: 20px;
  background: #0b6b24;
}

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

  .reward-reviews__track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .reward-tickets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .reward-detail__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .reward-tickets {
    grid-template-columns: 1fr;
  }

  .reward-detail__perks,
  .reward-detail__row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reward-detail__row--addr {
    grid-template-columns: 1fr 1fr;
  }

  .reward-detail__row--addr > :first-child {
    grid-column: 1 / -1;
  }

  .reward-reviews__track {
    grid-auto-columns: 88%;
  }
}

@media (max-width: 900px) {
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .reward-tab {
    min-width: 0;
    flex: 1 1 40%;
  }
}

@media (max-width: 900px) {
  .vip-top {
    grid-template-columns: 1fr;
  }

  .agent-perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .vip-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vip-steps li + li::before {
    display: none;
  }

  .vip-progress-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

