/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* bg/base, bg/subtle, surface/default, surface/raised — WMT brand-guideline tokens */
  --bg:            #000000;
  --bg-subtle:     #0C0C0C;
  --surface:       #141413;
  --surface-raised:#2B2B2B;

  /* action/primary — yellow/400 base, yellow/300 hover (lighter), yellow/500 pressed (darker) */
  --yellow:         #FACC15;
  --yellow-hover:   #FFE57A;
  --yellow-pressed: #E6B800;

  /* border/default (translucent white), text/secondary */
  --border:  rgba(255,255,255,.12);
  --muted:   #E5E5E5;

  /* radius scale */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 9999px;

  /* elevation */
  --shadow-sm:   0 2px 6px rgba(0,0,0,.10);
  --shadow-md:   0 4px 16px rgba(0,0,0,.20);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.16);
  --shadow-glow: 0 0 24px rgba(250,204,21,.35);
  --focus-ring:  0 0 0 3px rgba(250,204,21,.6);

  /* motion */
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --ease-standard:    cubic-bezier(.2,0,0,1);
  --ease-decelerate:  cubic-bezier(0,0,0,1);
  --ease-accelerate:  cubic-bezier(.3,0,1,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: #fff;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== FOCUS RING (a11y) ===== */
/* focus/ring — 3px brand-yellow outline on every interactive element when keyboard-focused. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ===== UTILITIES ===== */
.yellow { color: var(--yellow); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== SECTION BADGE ===== */
.badge-wrap {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 1px;
  background: linear-gradient(90deg, rgba(250,204,21,.7) 0%, rgba(255,255,200,.3) 50%, rgba(250,204,21,.7) 100%);
  box-shadow: var(--shadow-glow);
  margin-bottom: 1.25rem;
}
.badge-wrap span {
  display: block;
  padding: .375rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(28,26,8,.85);
  backdrop-filter: blur(12px);
  color: var(--yellow);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* ===== NAVBAR ===== */
/* ===== NAVBAR =====
   Port từ header của /tournament/: brand lockup WMT + vạch ngăn + logo VFC,
   header trong suốt trên hero rồi đặc dần khi cuộn (thay vì luôn đặc như bản
   cũ) — khớp với site chính. */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--duration-slow) var(--ease-standard),
              border-color var(--duration-slow) var(--ease-standard),
              backdrop-filter var(--duration-slow) var(--ease-standard);
}
.navbar.is-scrolled {
  background: rgba(12,12,12,.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.navbar-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .navbar-inner { padding-inline: 2.5rem; } }

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.brand__logo,
.brand__partner { height: 40px; width: auto; }
.brand__divider {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.35);
}
@media (min-width: 1024px) {
  .brand__logo,
  .brand__partner { height: 52px; }
}
/* Màn rất hẹp: bỏ logo đối tác để brand không đè lên cụm nút bên phải. */
@media (max-width: 400px) {
  .brand__divider,
  .brand__partner { display: none; }
}

.nav-login-btn {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #0c0c0c;
  background: var(--yellow);
  padding: .45rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: opacity var(--duration-fast) var(--ease-standard);
}
.nav-login-btn:hover { opacity: .85; }
.navbar-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-trigger {
  min-width: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  padding: .42rem .65rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
}
.lang-caret {
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform var(--duration-fast) ease;
}
.lang-menu {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  width: 100%;
  min-width: 78px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(20,20,20,.98);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--duration-fast) ease, visibility var(--duration-fast) ease, transform var(--duration-fast) ease;
  z-index: 60;
}
.lang-menu::before {
  content: '';
  position: absolute;
  top: -.5rem;
  left: 0;
  right: 0;
  height: .5rem;
}
.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher:hover .lang-caret,
.lang-switcher:focus-within .lang-caret {
  transform: rotate(180deg);
}
.lang-btn {
  width: 100%;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .28rem .6rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.lang-btn.active {
  background: var(--yellow);
  color: #0c0c0c;
}
.lang-btn:not(.active):hover { color: #fff; }

/* Mỗi mục ngôn ngữ = mã ISO + tên đầy đủ viết bằng chính ngôn ngữ đó, để người
   dùng không cần biết mã vẫn nhận ra tiếng của mình. Mã giữ vai trò nhãn chính,
   tên là dòng phụ nên nhạt hơn. */
.lang-menu { min-width: 11.5rem; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-align: start;
}
.lang-btn__code {
  flex: 0 0 1.65rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.lang-btn__name {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  /* Poppins không có glyph Thai/Khmer/Ả Rập -> liệt kê font hệ thống của từng
     chữ viết để máy người dùng chọn đúng font thay vì rơi vào font dự phòng
     bất kỳ (font dự phòng thường không ghép được dấu phụ tiếng Khmer). */
  font-family: 'Poppins', 'Noto Sans Thai', 'Leelawadee UI', 'Noto Sans Khmer',
               'Khmer Sangam MN', 'Noto Sans Arabic', 'Geeza Pro',
               'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Noto Sans JP',
               system-ui, sans-serif;
  /* Thai/Khmer có dấu chồng trên dưới -> cần nhiều khoảng dọc hơn Latin */
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  /* tên tiếng Ả Rập/Ba Tư là RTL: cô lập để không đảo thứ tự phần còn lại */
  unicode-bidi: isolate;
  transition: color var(--duration-fast) ease;
}
.lang-btn.active .lang-btn__name           { color: rgba(12,12,12,.72); }
.lang-btn:not(.active):hover .lang-btn__name { color: rgba(255,255,255,.82); }


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  padding: 8rem 1rem 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .6;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(12,12,12,.9) 40%, rgba(12,12,12,.4) 100%);
}
.hero-glow {
  position: absolute;
  top: 50%; left: 8%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(250,204,21,.1);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  max-width: 90rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.hero-text { flex: 1 1 380px; max-width: 700px; }
.hero-eyebrow { font-size: 1.1rem; color: #fff; font-weight: 500; margin-bottom: .75rem; }
.hero-discount {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: .85;
  text-transform: uppercase;
  letter-spacing: -.05em;
  margin-bottom: .5rem;
}
.hero-audience {
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #ffeaa7;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1.5rem;
}
.hero-body { font-size: 1.125rem; font-weight: 500; margin-bottom: 2rem; line-height: 1.6; }
.hero-body strong { color: var(--yellow); }

/* Coupon box */
.coupon-box {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.coupon-box:hover { border-color: rgba(250,204,21,.5); }
.coupon-label { font-size: .95rem; font-weight: 500; }
.coupon-code { font-family: monospace; font-size: 1.1rem; font-weight: 700; color: var(--yellow); letter-spacing: .1em; }
.coupon-btn {
  background: rgba(250,204,21,.1);
  color: var(--yellow);
  border: none;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
  margin-left: .5rem;
}
.coupon-btn:hover { background: var(--yellow); color: #0C0C0C; }

/* CTA buttons */
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-primary {
  padding: 1rem 2rem;
  background: var(--yellow);
  color: #0C0C0C;
  font-weight: 900;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all var(--duration-fast) var(--ease-standard);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-primary:hover { background: var(--yellow-hover); box-shadow: var(--shadow-glow); }
.btn-primary:active { background: var(--yellow-pressed); }
.btn-outline {
  padding: 1rem 2rem;
  background: transparent;
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

/* Stats */
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-stat { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.hero-stat .stat-icon { color: var(--yellow); flex-shrink: 0; }
.hero-stat .stat-val { color: #fff; font-weight: 600; }

/* HeroTrader */
.hero-trader { flex: 1 1 280px; max-width: 380px; position: relative; margin-left: auto; }
.hero-banner-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320%;
  pointer-events: none;
  opacity: .85;
  mix-blend-mode: screen;
  z-index: 0;
}
.hero-banner-bg img { width: 100%; height: auto; object-fit: contain; }
.trader-card { position: relative; width: 100%; z-index: 1; }
.trader-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 120%; height: 120%;
  border-radius: 50%;
  background: rgba(250,204,21,.1);
  filter: blur(80px);
  pointer-events: none;
}
.trader-top-banner {
  border-radius: var(--radius-lg);
  border: 1px solid #c19933;
  background: linear-gradient(to bottom, rgba(150,119,49,.8), rgba(113,85,30,.8));
  backdrop-filter: blur(12px);
  padding: 1rem;
  text-align: center;
  margin-bottom: 0;
  box-shadow: var(--shadow-md);
}
.trader-top-banner .payout-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #f1ecc7;
  margin-bottom: .25rem;
  line-height: 1.4;
}
.trader-payout-amount {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #ffeb73, #e6b800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trader-line { width: 1px; height: 40px; background: linear-gradient(to bottom, #c19933, #a38031); margin: 0 auto; }
.trader-image-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(235,208,86,.3);
  background: linear-gradient(to bottom, rgba(179,143,0,.4), rgba(138,106,18,.1));
  backdrop-filter: blur(12px);
  padding: 6px;
  padding-top: 5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.trader-image-inner {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top: 1px solid rgba(235,208,86,.2);
  border-left: 1px solid rgba(235,208,86,.2);
  border-right: 1px solid rgba(235,208,86,.2);
  background: linear-gradient(to top, #2a220e, rgba(42,34,14,.6));
  height: 300px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.trader-image-inner img {
  position: absolute;
  bottom: 0;
  height: 145%;
  width: auto;
  object-fit: cover;
  object-position: bottom;
  z-index: 1;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.8));
}
.trader-name-bar {
  background: #e6e4d5;
  color: #0C0C0C;
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.trader-flag { width: 32px; height: 22px; overflow: hidden; border: 1px solid rgba(0,0,0,.2); border-radius: var(--radius-sm); }
.trader-flag img { width: 100%; height: 100%; object-fit: cover; }
.trader-name { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

/* ===== SECTION COMMON ===== */
.section { padding: 6rem 1rem; }
.section-center { text-align: center; }
.section-container { max-width: 90rem; margin: 0 auto; }
.section-container-7xl { max-width: 90rem; margin: 0 auto; }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
}
.section-sub { color: var(--muted); font-size: 1.125rem; max-width: 42rem; }
.section-sub.center { margin: 0 auto; }

/* ===== CERTIFICATION ===== */
.cert-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}
.cert-left {
  flex: 0 0 auto;
  width: 380px;
  padding-right: 3rem;
  border-right: 1px solid var(--border);
}
.cert-right {
  flex: 1 1 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 900px) {
  .cert-right { grid-template-columns: repeat(4, 1fr); }
}
.cert-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
  position: relative;
  cursor: default;
}
.cert-badge-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--duration-slow) ease, filter var(--duration-slow) ease;
  filter: drop-shadow(0 0 15px rgba(250,204,21,.15));
  position: relative;
  z-index: 1;
}
.cert-badge-item:hover img {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 0 20px rgba(250,204,21,.3));
}
.cert-title { font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 1.25rem; line-height: 1.1; }
.btn-yellow-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.5rem;
  background: var(--yellow);
  color: #0C0C0C;
  font-weight: 900;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--ease-standard);
  box-shadow: var(--shadow-glow);
}
.btn-yellow-pill:hover { background: var(--yellow-hover); }
.btn-yellow-pill:active { background: var(--yellow-pressed); }

/* ===== SUCCESSFUL TRADERS (MARQUEE) ===== */
.marquee-wrapper { position: relative; overflow: hidden; }
.marquee-fade-left {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 6rem;
  background: linear-gradient(to right, var(--surface), transparent);
  z-index: 2; pointer-events: none;
}
.marquee-fade-right {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 6rem;
  background: linear-gradient(to left, var(--surface), transparent);
  z-index: 2; pointer-events: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 1.5rem;
  animation: marquee 40s linear infinite;
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
.trader-card-item {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-standard);
}
.trader-card-item:hover { transform: translateY(-4px); border-color: rgba(250,204,21,.5); }
.trader-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.trader-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity var(--duration-fast) var(--ease-standard); }
.trader-card-item:hover .trader-thumb img { opacity: 1; }
.trader-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,12,12,.4);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-standard);
}
.trader-card-item:hover .trader-thumb-overlay { opacity: 1; }
.play-btn {
  width: 4rem; height: 4rem;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0C0C0C;
}
.play-btn svg { margin-left: 3px; }
.trader-card-meta { display: flex; gap: .75rem; align-items: flex-start; }
.wmt-badge {
  width: 2rem; height: 2rem;
  background: #0C0C0C;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
  padding: 5px;
}
.wmt-badge img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.trader-card-title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== PRODUCT SELECTOR ===== */
.tab-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  overflow: visible;
  padding-bottom: .5rem;
}
.tab-inner {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  max-width: calc(100vw - 2rem);
  flex-wrap: wrap;
  justify-content: center;
}
.tab-group {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  padding: .4rem .4rem .4rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  gap: .85rem;
  /* viền sáng mảnh ở mép trên: khối trông nổi lên thay vì phẳng lì */
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.06);
}
.tab-group-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  transition: color var(--duration-base) ease;
  line-height: 1;
}
.tab-icon {
  display: inline-flex;
  align-items: center;
  color: var(--yellow);
  flex-shrink: 0;
}
/* icon bám theo cỡ chữ của nút thay vì kích thước cứng ghi trong thẻ SVG,
   để sau này đổi font-size là icon tự co giãn theo */
.tab-icon svg { width: 1.25em; height: 1.25em; }
.tab-challenge-btn.active .tab-icon { color: #0C0C0C; }
.tab-group.instant-active .tab-group-label { color: #fff; }
.tab-group-inner {
  display: inline-flex;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-pill);
  padding: .25rem;
  gap: 0;
  position: relative;
  /* lõm nhẹ vào trong để nút vàng nổi hẳn lên trên */
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}
.tab-sub-btn {
  padding: .68rem 1.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  transition: color var(--duration-fast) ease;
  position: relative;
  z-index: 1;
  line-height: 1;
}
.tab-sub-btn:hover { color: var(--yellow); }
.tab-sub-btn.active { color: #0C0C0C; }
.tab-sub-slider {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--yellow-hover), var(--yellow));
  box-shadow: 0 2px 10px rgba(250,204,21,.40);
  pointer-events: none;
  z-index: 0;
}
.tab-challenge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 2.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  line-height: 1;
  transition: color var(--duration-base) ease, background var(--duration-base) ease,
              border-color var(--duration-base) ease, transform var(--duration-base) ease,
              box-shadow var(--duration-base) ease;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.06);
}
.tab-challenge-btn:hover {
  color: var(--yellow);
  transform: translateY(-1px);
}
.tab-challenge-btn.active {
  background: linear-gradient(180deg, var(--yellow-hover), var(--yellow));
  color: #0C0C0C;
  border-color: var(--yellow);
  box-shadow: var(--shadow-glow);
}
.tab-sub-btn:focus-visible,
.tab-challenge-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
@media (prefers-reduced-motion: reduce) {
  .tab-challenge-btn:hover { transform: none; }
}
@media (max-width: 640px) {
  .tab-bar { margin-bottom: 2.25rem; padding: 0 .5rem .5rem; }
  .tab-inner { width: 100%; justify-content: center; gap: .7rem; }
  .tab-group { padding: .3rem .3rem .3rem 1rem; gap: .5rem; }
  .tab-group-label { font-size: .75rem; letter-spacing: .1em; }
  .tab-sub-btn { padding: .55rem 1rem; font-size: .72rem; }
  .tab-challenge-btn { padding: .72rem 1.4rem; font-size: .75rem; letter-spacing: .1em; }
}

/* Poppins không có glyph chữ Nhật. Font chọn theo từng ký tự, nên liệt kê
   font Nhật SAU Poppins: chữ Latin vẫn là Poppins, chỉ ký tự kana/kanji mới
   rơi xuống font Nhật. Giới hạn trong html[lang="ja"] (applyLang tự set
   thuộc tính này) để không đụng tới các ngôn ngữ khác. */
html[lang="ja"] body,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] textarea {
  font-family: 'Poppins', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
               'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Noto Sans JP',
               'Helvetica Neue', Arial, sans-serif;
}

/* ===== PACKAGE SECTION DECORATIONS ===== */
.pkg-deco {
  position: absolute;
  top: 0;
  width: 55%;
  max-width: 750px;
  pointer-events: none;
  user-select: none;
  opacity: 0.7;
  mix-blend-mode: screen;
}
.pkg-deco-left  { left: -8%; }
.pkg-deco-right { right: -8%; }

/* ===== PRODUCT CARDS (horizontal scroll) ===== */
.cards-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1.5rem 0.5rem 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) rgba(255,255,255,.08);
  overscroll-behavior-x: contain;
}
.cards-scroll::-webkit-scrollbar {
  height: 9px;
}
.cards-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,.07);
  border-radius: 9999px;
  margin-inline: .5rem;
}
.cards-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #b39700, var(--yellow), #ffe66d);
  border-radius: 9999px;
  border: 2px solid #171717;
  box-shadow: var(--shadow-glow);
}
.cards-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--yellow), #fff0a6, var(--yellow));
}
.cards-scroll.cards-center {
  scrollbar-width: none;
}
.cards-scroll.cards-center::-webkit-scrollbar {
  display: none;
}
.cards-scroll.cards-center { justify-content: safe center; }
@media (max-width: 640px) {
  .cards-scroll {
    gap: 1rem;
    padding: 1.5rem 1rem 1.15rem;
    margin-inline: -1rem;
  }
  .cards-scroll::-webkit-scrollbar {
    height: 7px;
  }
}
.product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--duration-base) var(--ease-standard);
}
.product-card.featured {
  border-color: var(--yellow);
  background: linear-gradient(160deg, #FFE57A 0%, var(--yellow) 55%, var(--yellow-pressed) 100%);
  box-shadow: var(--shadow-glow);
}
.product-card.featured .card-size,
.product-card.featured .card-disc { color: #0C0C0C; }
.product-card.featured .card-size-label,
.product-card.featured .card-orig,
.product-card.featured .card-price-label,
.product-card.featured .card-feat-label { color: rgba(12,12,12,.65); font-weight: 600; }
.product-card.featured .card-feat-val { color: #0C0C0C; }
.product-card.featured .card-divider,
.product-card.featured .card-feat-row { border-color: rgba(12,12,12,.15); }
.product-card.featured .card-cta { background: #0C0C0C; color: var(--yellow); }
.product-card.featured .card-cta:hover { filter: brightness(1.3); }
.best-value-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #0C0C0C;
  color: var(--yellow);
  font-size: .85rem;
  font-weight: 900;
  padding: .5rem 1.4rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.card-size {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: .25rem;
  margin-top: .75rem;
}
.card-size-label {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  background: var(--yellow);
  color: #0C0C0C;
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-standard);
  margin-bottom: 1rem;
  white-space: nowrap;
}
.card-cta:hover { filter: brightness(1.1); transform: scale(1.02); }
.card-price-area {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: .2rem;
  flex-wrap: nowrap; /* giá 4 chữ số có dấu phẩy ($1,580) làm nhãn NEWUSER30 rớt dòng, lệch chiều cao thẻ */
}
.card-orig {
  font-size: .9rem;
  color: var(--muted);
  text-decoration: line-through;
}
.card-disc {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -.03em;
}
.card-coupon-badge {
  background: #DC2626;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: .22rem .4rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  align-self: center;
}
.card-price-label {
  font-size: .7rem;
  color: var(--muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.card-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 1rem;
}
.card-features {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-feat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(42,42,42,.5);
  font-size: .82rem;
  gap: .5rem;
}
.card-feat-row:last-child { border-bottom: none; }
.card-feat-label {
  color: var(--muted);
  flex-shrink: 0;
}
.card-feat-val {
  font-weight: 700;
  color: #fff;
  text-align: right;
}
.card-feat-val.tag-fixed {
  background: rgba(99,179,237,.15);
  color: #63b3ed;
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
  font-size: .75rem;
}
.card-feat-val.tag-none {
  color: var(--muted);
  font-weight: 500;
}
.product-card.featured .card-feat-val.tag-none,
.product-card.featured .card-feat-sub { color: rgba(12,12,12,.6); }
.card-feat-val-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
}
.card-feat-sub {
  font-size: .7rem;
  font-weight: 400;
  color: var(--muted);
}

/* ===== HOW IT WORKS ===== */
.hiw-top-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hiw-top-row .badge-wrap { margin-bottom: 0; }
.hiw-tabs { display: flex; gap: .75rem; }
.hiw-tab-btn {
  padding: .6rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: rgba(255,255,255,.65);
  transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.hiw-tab-btn:hover { color: var(--yellow); }
.hiw-tab-btn.active { background: var(--yellow); color: #0C0C0C; border-color: var(--yellow); }
.hiw-sub-list { list-style: disc; list-style-position: inside; margin-top: .6rem; padding-left: .25rem; display: flex; flex-direction: column; gap: .4rem; }
.hiw-sub-list li { color: var(--muted); font-size: .88rem; }
.hiw-header { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.hiw-heading { font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 800; line-height: 1.2; margin-top: .75rem; }
.hiw-desc-text { font-size: 1.125rem; color: var(--muted); line-height: 1.7; max-width: 30rem; }
.hiw-watch {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.75rem;
  color: var(--yellow);
  font-weight: 700;
  font-size: .95rem;
}
.hiw-play {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  transition: background var(--duration-fast) var(--ease-standard);
}
.hiw-watch:hover .hiw-play { background: var(--surface-raised); }

.hiw-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.hiw-steps-grid::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.hiw-step-col { position: relative; padding-top: 2.5rem; }
.hiw-dot {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: auto;
  pointer-events: none;
}
.hiw-badge {
  display: inline-block;
  padding: .4rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hiw-step-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.1rem; }
.hiw-step-list { display: flex; flex-direction: column; gap: .9rem; }
.hiw-step-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.6; list-style: none; }
.hiw-step-list svg { flex-shrink: 0; margin-top: .2rem; color: var(--yellow); }

/* ===== TRADING PLATFORMS ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .platforms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .platforms-grid { grid-template-columns: repeat(3, 1fr); } }

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-standard);
}
.platform-card:hover { transform: translateY(-4px); border-color: rgba(250,204,21,.5); }
.platform-watermark {
  position: absolute;
  right: -1rem; bottom: -1.5rem;
  font-size: 8rem;
  font-weight: 900;
  color: var(--border);
  opacity: .4;
  line-height: 1;
  letter-spacing: -.05em;
  pointer-events: none;
  user-select: none;
  transition: color var(--duration-base) var(--ease-standard);
}
.platform-card:hover .platform-watermark { color: rgba(250,204,21,.05); }
.platform-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  min-height: 50px;
}
.platform-logo-box {
  background: rgba(12,12,12,.5);
  padding: .5rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-logo-box img { height: 3rem; width: auto; object-fit: contain; }
.platform-subtitle { font-size: .65rem; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: var(--yellow); margin-bottom: .25rem; }
.platform-name { font-size: 1.5rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.platform-desc { font-size: 1rem; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; }

/* ===== PAYOUT ===== */
.payout-header { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.payout-left {}
.payout-right { display: flex; flex-direction: column; padding-top: 3.5rem; }
.payout-body { font-size: 1.125rem; font-weight: 700; margin-bottom: 2.5rem; max-width: 30rem; line-height: 1.6; }
.payout-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; border-left: 2px solid rgba(250,204,21,.3); padding-left: 2.5rem; }
.payout-stat-val { font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; color: var(--yellow); margin-bottom: .5rem; letter-spacing: -.04em; }
.payout-stat-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; line-height: 1.3; }
.payout-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .payout-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .payout-cards { grid-template-columns: repeat(4, 1fr); } }
.payout-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-standard);
}
.payout-card:hover { transform: translateY(-4px); }
.payout-card-title { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 1rem; line-height: 1.3; flex: 0 0 auto; max-width: 70%; }
.payout-card-desc { font-size: 1rem; color: var(--muted); line-height: 1.65; margin-bottom: 5rem; position: relative; z-index: 1; }
.payout-soon-badge {
  flex-shrink: 0;
  padding: .25rem .625rem;
  background: rgba(250,204,21,.1);
  border: 1px solid rgba(250,204,21,.3);
  color: var(--yellow);
  font-size: .6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--radius-pill);
  position: absolute;
  top: 1.5rem; right: 1.5rem;
}
.payout-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.payout-card-img {
  position: absolute;
  bottom: 1.25rem; right: 1.25rem;
  width: 6rem; height: 6rem;
  transition: transform var(--duration-slow) var(--ease-standard);
}
.payout-card:hover .payout-card-img { transform: scale(1.05); }
.payout-card-img img { width: 100%; height: 100%; object-fit: contain; }
.payout-card-img-wide { width: 11rem; height: 3.7rem; bottom: 1.5rem; }
.payout-card-img-wide img { object-fit: contain; object-position: right center; }
.payout-glow {
  position: absolute;
  bottom: 0; right: 0;
  width: 10rem; height: 10rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .3;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-standard);
}
.payout-card:hover .payout-glow { opacity: .5; }

/* ===== WHY US ===== */
#why-us { position: relative; overflow: hidden; }
#why-us .section-container { position: relative; z-index: 1; }
.whyus-bg-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .85;
}
.whyus-bg-glow-left { top: -2rem; left: -4%; width: 34%; max-width: 26rem; }
.whyus-bg-glow-right { top: 4%; right: -14%; width: 58%; max-width: 46rem; }

.whyus-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.whyus-grid::before {
  content: '';
  position: absolute;
  top: 34%;
  left: 58%;
  transform: translate(-50%,-50%);
  width: 46rem; height: 46rem;
  background: radial-gradient(circle, rgba(250,204,21,.55), transparent 70%);
  filter: blur(55px);
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
}
.whyus-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2rem; }
.whyus-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: background var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard);
}
.whyus-item.featured {
  background: linear-gradient(120deg, rgba(250,204,21,.10), var(--surface-raised) 65%);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.whyus-icon {
  flex-shrink: 0;
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.whyus-icon img { width: 3rem; height: 3rem; object-fit: contain; }
.whyus-title { font-size: 1.5rem; font-weight: 700; color: var(--yellow); margin-bottom: .5rem; }
.whyus-desc { font-size: 1rem; color: var(--muted); line-height: 1.65; }
.whyus-media {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  overflow: visible;
  margin-left: -6.5rem;
}
.whyus-img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 64rem;
  margin-right: -6rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-header { margin-bottom: 4rem; }
.trustpilot-row { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-bottom: 4rem; }
.tp-excellent { display: flex; align-items: center; gap: .75rem; }
.tp-word { font-size: 1.5rem; font-weight: 700; }
.tp-stars { display: flex; gap: .25rem; }
.tp-star { width: 2rem; height: 2rem; background: #1cd45b; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.tp-meta { color: var(--muted); font-size: .85rem; }
.tp-meta a { color: #fff; }
.tp-meta a:hover { color: var(--yellow); }
.reviews-label { text-align: left; font-size: .9rem; font-weight: 700; margin-bottom: 1.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4,1fr); } }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.review-card:hover { border-color: rgba(250,204,21,.3); }
.review-stars-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.review-stars { display: flex; gap: 2px; }
.r-star { width: 1.25rem; height: 1.25rem; background: #1cd45b; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.r-star.empty { background: #dcdce6; }
.verified-badge { display: flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 700; color: var(--muted); }
.review-meta { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--muted); margin-bottom: .5rem; }
.review-meta .name { color: #fff; font-weight: 700; }
.review-title { font-size: .95rem; font-weight: 900; margin-bottom: .5rem; line-height: 1.35; }
.review-text { font-size: .85rem; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== BOTTOM CTA ===== */
.cta-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface), #16161a);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-card { padding: 4rem; } }
.cta-glow {
  position: absolute;
  top: 50%; right: 20%;
  transform: translateY(-50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(250,204,21,.1);
  filter: blur(100px);
  pointer-events: none;
}
.cta-text { flex: 1 1 300px; position: relative; z-index: 1; }
.cta-eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--yellow); margin-bottom: 1rem; }
.cta-heading { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 1.5rem; }
.cta-body { font-size: 1.125rem; color: var(--muted); margin-bottom: 2rem; max-width: 26rem; line-height: 1.7; }
.cta-countdown { margin-top: -1rem; margin-bottom: 2rem; }
.cta-countdown-label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.cta-countdown-timer { display: flex; align-items: flex-start; gap: .85rem; flex-wrap: wrap; }
.cta-countdown-unit { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.cta-countdown-box {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 4rem;
  padding: .75rem .5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.cta-countdown-box span {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cta-countdown-unit-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2rem;
  background: var(--yellow);
  color: #0C0C0C;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .875rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  transition: all var(--duration-fast) var(--ease-standard);
}
.cta-btn:hover { background: var(--yellow-hover); transform: scale(1.02); }
.cta-btn:active { background: var(--yellow-pressed); transform: scale(.99); }
.cta-img { flex: 1 1 240px; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.cta-img img { width: 100%; max-width: 600px; object-fit: contain; filter: drop-shadow(0 0 40px rgba(250,204,21,.15)); }

/* ===== SUPPORT ===== */
.support-header { text-align: center; margin-bottom: 5rem; display: flex; flex-direction: column; align-items: center; }
.support-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 1.25rem; }
.support-sub { font-size: 1.25rem; font-weight: 700; }
.support-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .support-cards { grid-template-columns: repeat(2,1fr); } }
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-base) var(--ease-standard);
}
.support-card:hover { border-color: rgba(250,204,21,.3); transform: translateY(-4px); }
.support-card-icon { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: 2rem; }
.support-card-heading { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.support-card-body { font-size: 1rem; color: var(--muted); line-height: 1.65; margin-bottom: 2rem; flex: 1; }
.social-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; margin-top: auto; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .875rem;
  color: #fff;
  transition: filter var(--duration-fast) var(--ease-standard);
  text-decoration: none;
}
.social-btn:hover { filter: brightness(1.1); }
.social-btn.discord { background: #5865F2; }
.social-btn.facebook { background: #1877F2; }
.social-btn.whatsapp { background: #25D366; }
.social-btn.telegram { background: #2AABEE; }
.social-btn.line { background: #06C755; }
.support-action-row { display: flex; gap: .75rem; margin-top: auto; }
.btn-white {
  flex: 1;
  text-align: center;
  padding: .75rem 1rem;
  background: #fff;
  color: #0C0C0C;
  font-weight: 700;
  font-size: .875rem;
  border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--ease-standard);
  text-decoration: none;
}
.btn-white:hover { background: #e5e7eb; }
.btn-ghost-border {
  flex: 1;
  text-align: center;
  padding: .75rem 1rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: border-color var(--duration-fast) var(--ease-standard);
  text-decoration: none;
}
.btn-ghost-border:hover { border-color: #fff; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  padding: 4rem 1.5rem 2.5rem;
}
.footer-inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .footer-inner { grid-template-columns: repeat(2,1fr); gap: 4rem; } }
.footer-col { display: flex; flex-direction: column; gap: 2rem; }
.footer-logo-wrap { margin-bottom: 0; }
.footer-logo { height: 4rem; width: auto; object-fit: contain; }
.footer-intro { font-size: .95rem; color: var(--muted); line-height: 1.65; }
.footer-disc-heading { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; }
/* Mỗi mục pháp lý là một khối riêng: .footer-col lo khoảng cách GIỮA các mục
   (gap 2rem), còn bên trong mục thì các đoạn cách nhau vừa phải. */
.footer-section { display: flex; flex-direction: column; }
.footer-section > * + * { margin-top: .7rem; }
.footer-disc-list {
  margin: 0;
  /* padding-inline-start thay cho padding-left để tự lật khi trang ở chế độ RTL */
  padding-inline-start: 1.15rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}
.footer-disc-list li::marker { color: var(--yellow); }
.footer-entity { color: #fff; }
.footer-contact a { color: var(--yellow); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-disc-text { font-size: .9rem; color: var(--muted); line-height: 1.7; margin: 0; }
.footer-disc-text a { color: var(--yellow); text-decoration: none; }
.footer-disc-text a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: 90rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 1rem;
}
/* 4 link (Home / About us / Terms / Privacy): cho phép xuống dòng và thu hẹp
   khoảng cách ở màn hình nhỏ để không tràn khỏi mép. */
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .footer-bottom-links { gap: 1rem; }
}
.footer-bottom-links a { color: var(--muted); transition: color var(--duration-fast) var(--ease-standard); }
.footer-bottom-links a:hover { color: #fff; }

/* ===== DISCOUNT POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-decelerate);
}
.popup-overlay.visible { opacity: 1; }
.popup-card {
  position: relative;
  width: 100%;
  max-width: 28rem;
  background: var(--surface-raised);
  border: 1px solid rgba(250,204,21,.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  transition: transform var(--duration-slow) var(--ease-decelerate);
  box-shadow: var(--shadow-lg);
}
.popup-overlay.visible .popup-card { transform: scale(1) translateY(0); }
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 20;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--duration-fast) var(--ease-standard);
}
.popup-close:hover { color: #fff; }
.popup-banner { width: 100%; display: block; }
.popup-content { padding: 1.5rem 2rem 2rem; text-align: center; }
.popup-content h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: .25rem; }
.popup-content p { color: var(--muted); font-size: .875rem; margin-bottom: 1.5rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
  width: 100%;
  background: linear-gradient(to right, #FACC15, #d4af37);
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  transition: filter var(--duration-fast) var(--ease-standard), transform .1s var(--ease-standard);
  text-decoration: none;
}
.popup-cta:hover { filter: brightness(1.1); }
.popup-cta:active { transform: scale(.98); }

/* ===== PRODUCT SELECTOR CTA ===== */
.products-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 3rem; }
.products-links { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.text-link { font-size: .875rem; color: var(--muted); transition: color var(--duration-fast) var(--ease-standard); }
.text-link:hover { color: #fff; }
.dot-sep { width: .25rem; height: .25rem; border-radius: 50%; background: var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .cert-left { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 2rem; }
  .payout-header { grid-template-columns: 1fr; }
  .payout-right { padding-top: 0; }
  .payout-stats { padding-left: 1.5rem; }
  .hero-trader { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
  .cta-img { display: none; }
  .whyus-grid { grid-template-columns: 1fr; }
  .whyus-media { order: -1; }
  .hiw-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .hiw-steps-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hiw-steps-grid::before { display: none; }

}
@media (max-width: 480px) {
  .navbar { padding: 0 1.25rem; }
  .cert-right { grid-template-columns: repeat(2,1fr); }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   RTL OVERRIDES — Arabic locale only.
   Purely additive: every rule here is scoped under [dir="rtl"], which the
   page only sets when the Arabic language is active (see i18n.js applyLang).
   EN/TH/KM keep [dir="ltr"] and are completely unaffected by this block.
   ===================================================================== */

/* Base direction + an Arabic-safe font fallback (Poppins has no Arabic
   glyphs; browsers already substitute automatically, this just makes the
   fallback stack explicit per the RTL font requirement). */
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: Tahoma, 'Segoe UI', Arial, system-ui, sans-serif;
}

html[lang="ur"] body {
  font-family: "Noto Nastaliq Urdu", "Urdu Typesetting", Tahoma, "Segoe UI", Arial, system-ui, sans-serif;
}

/* "خصم 30%" is visually wider than "30% OFF" at the same font-size (Arabic
   connected script), so it wraps to 2 lines and looks oversized next to the
   other languages. Scale it down for Arabic only so it matches their
   proportions — base LTR rule / EN/TH/KM are untouched. */
[dir="rtl"] .hero-discount {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 1.15;
}

/* Arabic has no letter case and no Latin-style tracking convention — drop
   both so headings/badges/buttons don't look artificially stretched. */
[dir="rtl"] * {
  text-transform: none;
  letter-spacing: normal;
}

/* Keep every multi-column section in its current LEFT-TO-RIGHT visual order
   (flex/grid main-axis placement is direction-relative, so without this the
   browser would silently mirror column order under dir=rtl). Locking these
   containers back to ltr preserves "do not change section/layout order";
   the text-bearing children immediately below restore correct Arabic
   alignment and flow inside each column. */
[dir="rtl"] .navbar,
[dir="rtl"] .navbar-right,
[dir="rtl"] .hero-inner,
[dir="rtl"] .cert-inner,
[dir="rtl"] .cert-right,
[dir="rtl"] .hiw-header,
[dir="rtl"] .hiw-steps-grid,
[dir="rtl"] .hiw-tabs,
[dir="rtl"] .platforms-grid,
[dir="rtl"] .payout-header,
[dir="rtl"] .payout-cards,
[dir="rtl"] .whyus-grid,
[dir="rtl"] .cta-card,
[dir="rtl"] .support-cards,
[dir="rtl"] .footer-inner,
[dir="rtl"] .footer-bottom,
[dir="rtl"] .footer-bottom-links,
[dir="rtl"] .cta-row,
[dir="rtl"] .hero-stats,
[dir="rtl"] .products-cta,
[dir="rtl"] .products-links,
[dir="rtl"] .tab-bar,
[dir="rtl"] #tab-bar-inner,
[dir="rtl"] .reviews-grid,
[dir="rtl"] .marquee-wrapper,
[dir="rtl"] #marquee-track {
  direction: ltr;
}

/* HERO FIX: .hero-text is an inline-flex host for the coupon pill — if it
   inherits text-align:right the pill jumps to the opposite edge of the
   column (measured: en left=240px vs ar left=634px, a ~394px shift). Keep
   the column itself LTR/left so every discrete element (coupon pill, CTA
   row, trust stats) stays anchored at the SAME physical position/width as
   English. Only the actual heading/paragraph text (below) gets rtl +
   right-align, applied directly on those elements so it doesn't cascade. */
[dir="rtl"] .hero-text {
  direction: ltr;
  text-align: left;
}
[dir="rtl"] .hero-eyebrow,
[dir="rtl"] .hero-discount,
[dir="rtl"] .hero-audience,
[dir="rtl"] .hero-body {
  direction: rtl;
  text-align: left;
}
/* The coupon pill's own label/code/button order still reads correctly RTL
   (direction on a flex container only reorders ITS OWN children — it does
   not reposition the pill itself among its siblings, so this is safe). */
[dir="rtl"] .coupon-box {
  direction: rtl;
}

/* Restore Arabic reading direction + right alignment for the actual text
   content living inside the locked containers above. */
[dir="rtl"] .cert-left,
[dir="rtl"] .hiw-right,
[dir="rtl"] .hiw-desc-text,
[dir="rtl"] .hiw-step-list,
[dir="rtl"] .hiw-step-list li,
[dir="rtl"] .hiw-sub-list,
[dir="rtl"] .platform-card,
[dir="rtl"] .platform-desc,
[dir="rtl"] .payout-right,
[dir="rtl"] .payout-body,
[dir="rtl"] .whyus-text,
[dir="rtl"] .whyus-title,
[dir="rtl"] .whyus-desc,
[dir="rtl"] .cta-text,
[dir="rtl"] .support-header,
[dir="rtl"] .support-card-body,
[dir="rtl"] .footer-col,
[dir="rtl"] .footer-intro,
[dir="rtl"] .footer-disc-text,
[dir="rtl"] .reviews-label,
[dir="rtl"] .review-card {
  direction: rtl;
  text-align: right;
}

/* Small directional flips: caret/label text-align, product-card feature
   values — cosmetic only, no size/position/spacing changes to the elements
   themselves. Hero trust-stat items intentionally do NOT use row-reverse:
   .hero-stat inherits direction:ltr from its locked parent .hero-stats, so
   icon-then-label stays in the same physical order as English. */
/* PAYOUT FIX: same cascade issue as .hero-text — .payout-left's badge-wrap
   pill is inline-block, so text-align:right shifted the badge and heading
   off the shared left edge used by .payout-cards below. Keep it flush left
   (direction stays rtl so Arabic glyphs in the heading still shape/order
   correctly line-by-line). */
[dir="rtl"] .payout-left {
  direction: rtl;
  text-align: left;
}

/* HIW FIX: same cascade issue — .hiw-left's h2 heading was right-aligning
   within its own column, drifting away from the flush-left edge shared
   with .hiw-steps-grid below it. */
[dir="rtl"] .hiw-left {
  direction: rtl;
  text-align: left;
}

/* HIW STEP FIX: .hiw-badge is an inline-block pill, so its physical position
   is set by its PARENT's text-align, not its own — .hiw-step-col was
   inheriting body's text-align:right, pushing "Step 1/2/3" (and the step
   heading text) to the right edge of the column instead of sitting flush
   left under the (direction-agnostic, always-centered) .hiw-dot marker.
   Fixing the parent fixes both the badge's position and the heading's
   text flow in one place — same class of bug as .hero-text/.payout-left/
   .hiw-left above. .hiw-step-list keeps its own explicit rtl/right-align
   below and is unaffected (direct rules win over inherited ones). */
[dir="rtl"] .hiw-step-col {
  direction: rtl;
  text-align: left;
}

[dir="rtl"] .lang-btn { text-align: right; }
[dir="rtl"] .card-feat-val { text-align: left; }
[dir="rtl"] .hiw-step-list li {
  flex-direction: row-reverse;
}

/* NEWUSER30, prices, percentages and other technical identifiers must stay
   LTR even inside RTL text (also handled per-string via <bdi dir="ltr"> in
   i18n.js, this is a generic safety net for any other inline instance). */
[dir="rtl"] .coupon-code,
[dir="rtl"] bdi {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ===== URDU TYPOGRAPHY =====
   Nastaliq needs room for stacked marks and descending strokes, including
   at block boundaries. Keep this after the shared RTL/responsive rules. */
html[lang="ur"] body {
  line-height: 2.2;
}

html[lang="ur"] :is(button, input, textarea, select) {
  font-family: inherit;
}

html[lang="ur"] :is(h1, h2, h3, h4, p, li, button, a, [data-i18n], [data-i18n-html]) {
  letter-spacing: normal;
  text-transform: none;
  word-break: normal;
}

html[lang="ur"] :is(.section-title, .cert-title, .hiw-heading, .cta-heading, .support-title) {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 2;
  margin-block: .5rem 1.75rem;
  padding-block: .15em .25em;
  text-wrap: balance;
}

html[lang="ur"] .hero-eyebrow {
  font-size: 1rem;
  line-height: 2.2;
  margin-block-end: 1.5rem;
}

html[lang="ur"] .hero-discount {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.9;
  padding-block: .1em .2em;
  margin-block-end: 1.25rem;
}

html[lang="ur"] .hero-audience {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 2.1;
  margin-block-end: 1.75rem;
}

html[lang="ur"] :is(.hero-body, .section-sub, .hiw-desc-text, .payout-body, .cta-body, .support-sub) {
  font-size: 1.0625rem;
  line-height: 2.3;
}

html[lang="ur"] :is(.hiw-step-title, .whyus-title, .payout-card-title, .support-card-heading, .popup-content h2) {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2.1;
  padding-block: .1em .2em;
  margin-block-end: 1.25rem;
}

html[lang="ur"] :is(.platform-desc, .payout-card-desc, .whyus-desc, .support-card-body,
  .hiw-step-list li, .hiw-sub-list li, .footer-intro, .footer-disc-text, .footer-disc-list,
  .review-text, .popup-content p) {
  font-size: 1rem;
  line-height: 2.3;
}

html[lang="ur"] .footer-disc-heading {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 2.1;
  padding-block-end: .2em;
}

html[lang="ur"] .footer-section > * + * { margin-block-start: 1.25rem; }
html[lang="ur"] .footer-disc-list li + li { margin-block-start: .75rem; }
html[lang="ur"] .hiw-step-list { gap: 1.25rem; }
html[lang="ur"] .hiw-sub-list { gap: .75rem; margin-block-start: 1rem; }
html[lang="ur"] .cta-countdown { margin-block-start: 0; }

html[lang="ur"] :is(.badge-wrap span, .hiw-badge, .payout-stat-label,
  .card-size-label, .card-price-label, .card-feat-sub, .cta-eyebrow,
  .cta-countdown-label, .cta-countdown-unit-label, .payout-soon-badge, .best-value-badge) {
  font-size: .875rem;
  line-height: 2.2;
  font-weight: 600;
}

html[lang="ur"] .badge-wrap { max-width: 100%; margin-block-end: 1.75rem; }
html[lang="ur"] .badge-wrap span { white-space: normal; padding-block: .5rem .75rem; }
html[lang="ur"] .hiw-top-row .badge-wrap { margin-block-end: 0; }
html[lang="ur"] .trader-top-banner .payout-label {
  font-size: .875rem;
  line-height: 2.2;
  margin-block-end: 1rem;
}

html[lang="ur"] :is(.nav-login-btn, .coupon-btn, .btn-primary, .btn-outline,
  .btn-yellow-pill, .card-cta, .hiw-tab-btn, .cta-btn, .btn-white,
  .btn-ghost-border, .popup-cta, .tab-group-label, .tab-sub-btn, .tab-challenge-btn) {
  font-size: .875rem;
  font-weight: 700;
  line-height: 2.2;
  white-space: normal;
  text-align: center;
}

html[lang="ur"] :is(.coupon-label, .hero-stat, .card-feat-row, .reviews-label, .text-link, .footer-bottom) {
  font-size: .9375rem;
  line-height: 2.2;
}

/* Do not line-clamp Nastaliq: the final descending strokes can be clipped. */
html[lang="ur"] :is(.trader-card-title, .review-title) {
  font-size: 1rem;
  font-weight: 700;
  line-height: 2.2;
  margin-block-end: .75rem;
}
html[lang="ur"] :is(.trader-card-title, .review-text) {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

html[lang="ur"] :is(.hero-text, .cta-text, .whyus-text, .hiw-left, .hiw-right,
  .hiw-step-col, .platform-logo-wrap > div, .card-feat-val-stack) { min-width: 0; }
html[lang="ur"] .coupon-box { max-width: 100%; flex-wrap: wrap; row-gap: 1rem; }
html[lang="ur"] .card-feat-row { align-items: flex-start; padding-block: .75rem; }
html[lang="ur"] .card-feat-label { flex: 1 1 55%; min-width: 0; }
html[lang="ur"] .card-feat-val { min-width: 0; }
html[lang="ur"] .card-feat-val-stack { gap: .5rem; }
html[lang="ur"] .cards-scroll { padding-block-start: 2.75rem; }
html[lang="ur"] .best-value-badge { top: 0; transform: translate(-50%, -50%); }
html[lang="ur"] .product-card.featured .card-size { margin-block-start: 1.5rem; }

/* Keep translated status badges in flow rather than over a multi-line title. */
html[lang="ur"] .payout-card-head { flex-direction: column; gap: .75rem; margin-block-end: 1rem; }
html[lang="ur"] .payout-card-title { max-width: 100%; margin-block-end: 0; }
html[lang="ur"] .payout-soon-badge { position: static; white-space: normal; }
html[lang="ur"] .popup-card { max-height: calc(100dvh - 2rem); overflow-y: auto; }

@media (max-width: 767px) {
  html[lang="ur"] .hero { padding-block-start: 9rem; }
  html[lang="ur"] .hero-inner { row-gap: 3rem; }
  html[lang="ur"] .hiw-header { gap: 2rem; }
  html[lang="ur"] .whyus-item { gap: 1rem; padding-inline: 1rem; }
  html[lang="ur"] .whyus-icon { width: 3.5rem; height: 3.5rem; }
  html[lang="ur"] .tab-group { flex-wrap: wrap; justify-content: center; max-width: 100%; }
  html[lang="ur"] .hiw-tabs { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  html[lang="ur"] .navbar { padding-inline: 0; }
  html[lang="ur"] .navbar-inner { gap: .5rem; padding-inline: .75rem; }
  html[lang="ur"] .nav-login-btn { padding-inline: .875rem; }
  html[lang="ur"] .cta-text { flex-basis: 100%; }
  html[lang="ur"] .support-action-row { flex-direction: column; }
  html[lang="ur"] .payout-stats { gap: .75rem; padding-inline-start: 1rem; }
}
