/* ===================================================================
   LOW TOPUP BANGLADESH - LIGHT THEME DESIGN SYSTEM
   Theme Color: #8B8000 (Golden Olive)
   Font: Plus Jakarta Sans (Google Fonts)
   Clean, Professional, Mobile-First Fintech UI
   =================================================================== */

:root {
  /* Surfaces & Canvas */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;
  --bg-dark: #0f172a;

  /* Solid Crisp Borders */
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-dark: #94a3b8;

  /* Brand Theme Accent: #8B8000 (Golden Olive) */
  --primary: #8B8000;
  --primary-hover: #736a00;
  --primary-subtle: #fefce8;
  --primary-border: #d4cc54;
  --primary-dark: #5c5500;

  /* Payment Gateway Brand Accents */
  --bkash: #e2136e;
  --bkash-hover: #c20c5d;
  --nagad: #ea1d24;
  --nagad-hover: #c91319;

  /* Utility Accents */
  --success: #16a34a;
  --success-subtle: #f0fdf4;
  --danger: #dc2626;
  --danger-subtle: #fef2f2;
  --warning: #8B8000;
  --warning-subtle: #fffbeb;
  --info: #0284c7;
  --info-subtle: #f0f9ff;

  /* High-Contrast Typography */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Subtle Crisp Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 12px 30px -4px rgba(0, 0, 0, 0.18);
  --shadow-sticky: 0 -3px 12px rgba(0, 0, 0, 0.07);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-gaming: 'Rajdhani', -apple-system, sans-serif;

  /* Strict Solid Radii */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: var(--bg-page);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.45;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}

/* ===================================================================
   1. SITE HEADER
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.header-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Brand Platform Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  user-select: none;
}

.brand-img-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.drawer-img-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-img-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.modal-brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #0f172a;
  line-height: 1.05;
}

.brand-tagline {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
  line-height: 1;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  gap: 6px;
  width: 160px;
}

.header-search:focus-within {
  border-color: var(--primary);
  background: #ffffff;
}

.search-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.header-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.78rem;
  width: 100%;
}

/* Fixed BDT Currency Badge (Solid Shape) */
.currency-bd-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
  user-select: none;
}

.flag-svg {
  border-radius: 1px;
  display: block;
}

.currency-text {
  letter-spacing: 0.2px;
}

/* Ghost Track Button */
.btn-ghost-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-ghost-nav:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  color: var(--text-main);
}

.nav-icon {
  width: 14px;
  height: 14px;
}

/* Login Button in Header (Visible when NOT logged in) */
.btn-header-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-header-login:hover {
  background: var(--primary-hover);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(139, 128, 0, 0.25);
}

.login-btn-icon {
  width: 14px;
  height: 14px;
}

/* Google User Avatar in Header */
.header-user-avatar-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.header-user-avatar-wrap:hover {
  transform: scale(1.05);
}

.header-user-avatar-wrap.hidden {
  display: none !important;
}

.header-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* 3-Line Hamburger Menu Button (Strictly hidden before user is logged in) */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hamburger-btn.hidden {
  display: none !important;
}

.hamburger-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}

.hamburger-btn .bar {
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-btn.active .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.active .bar-2 {
  opacity: 0;
}

.hamburger-btn.active .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===================================================================
   2. SIDE DRAWER NAVIGATION (Clean Minimal: Buy Orders, FAQ, Terms)
   =================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 210;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.drawer-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.drawer-brand h3 {
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.drawer-brand p {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.drawer-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* User Info in Side Drawer */
.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.dui-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--primary-border);
  flex-shrink: 0;
}

.dui-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.dui-avatar-img.hidden {
  display: none !important;
}

.dui-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dui-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dui-badge {
  font-size: 0.62rem;
  color: var(--primary);
  font-weight: 700;
}

.drawer-logout-item {
  color: #dc2626 !important;
  margin-top: 14px;
  border-top: 1px solid var(--border-light) !important;
  padding-top: 12px !important;
}

.drawer-logout-item:hover {
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.drawer-nav-item:hover {
  background: var(--primary-subtle);
  border-color: var(--primary-border);
  color: var(--primary-dark);
}

.nav-svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===================================================================
   3. MAIN CONTAINER & GAME HERO
   =================================================================== */
.main-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 10px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Game Hero Card with Real Free Fire Cover Image */
.game-hero-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 14px;
  box-shadow: var(--shadow-xs);
}

.game-hero-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-cover-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
  background: #0f172a;
}

.game-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.max-badge-pill {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-family: var(--font-gaming);
  font-size: 0.58rem;
  font-weight: 800;
  background: var(--primary);
  color: #ffffff;
  padding: 0 4px;
  border-radius: 2px;
  line-height: 1.2;
}

.game-meta-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.game-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
}

/* Solid Badges */
.solid-badges-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.solid-box-badge {
  display: inline-block;
  background: #f8fafc;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.1px;
}

.game-description {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ===================================================================
   4. TOP-UP FLOW CONTAINER & STEP CARDS
   =================================================================== */
.topup-flow-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 14px;
  box-shadow: var(--shadow-xs);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.step-number-circle {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-xs);
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title-wrap {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  margin-left: 10px;
}

.step-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
}

.step-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* FIXED & HIGHLY POLISHED "Where is UID?" BUTTON */
.uid-guide-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  user-select: none;
}

.uid-guide-trigger:hover {
  background: #fef08a;
  border-color: var(--primary);
  color: #000000;
}

.guide-svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===================================================================
   STEP 1: ENTER PLAYER ID (UID)
   =================================================================== */
.uid-input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-with-button {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 2px 4px 2px 10px;
  gap: 8px;
}

.input-with-button:focus-within {
  border-color: var(--primary);
}

.input-icon-box {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.input-with-button input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  height: 36px;
}

.btn-verify {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 0 12px;
  height: 32px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.15s ease;
}

.btn-verify:hover {
  background: var(--primary-hover);
}

.loader-spinner {
  display: none;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-verify.loading .loader-spinner {
  display: inline-block;
}

/* Region: ONLY BD */
.region-row-bd {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.region-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.region-pill-bd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

.pill-flag-svg {
  display: block;
}

/* Clean Player Profile Preview Card (No verified or active badge) */
.player-profile-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.profile-avatar-svg {
  width: 18px;
  height: 18px;
}

.profile-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.profile-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.player-nickname {
  font-family: var(--font-gaming);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.profile-sub-line {
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot-separator {
  color: var(--text-muted);
}

/* ===================================================================
   STEP 2: SELECT PACKAGE (Package Fonts Kept Intact as Requested)
   =================================================================== */
.vouchers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 8px;
  padding-top: 8px;
}

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

@media (min-width: 800px) {
  .vouchers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Voucher Card (Fonts & layout strictly preserved) */
.voucher-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 12px 10px 10px 10px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 98px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.voucher-card:hover {
  border-color: var(--border-strong);
}

.voucher-card.selected {
  border: 2px solid var(--primary);
  background: var(--primary-subtle);
}

.voucher-selected-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-xs);
  background: var(--primary);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  z-index: 2;
}

.voucher-card.selected .voucher-selected-badge {
  display: flex;
}

/* Package Tag Badge (Positioned on top-left edge to NEVER overlap text) */
.voucher-tag-pill {
  position: absolute;
  top: -8px;
  left: 8px;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  z-index: 2;
  line-height: 1.3;
}

.voucher-card.selected .voucher-tag-pill {
  top: -8px;
  left: 8px;
}

.voucher-tag-pill.hot {
  background: var(--bkash);
  color: #ffffff;
}

.voucher-tag-pill.best {
  background: var(--primary);
  color: #ffffff;
}

.voucher-tag-pill.bonus {
  background: var(--success);
  color: #ffffff;
}

.vc-header {
  text-align: left;
  padding-right: 18px;
}

.vc-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 2px;
}

.vc-bonus {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.vc-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 10px;
}

.vc-from-label {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-muted);
}

.vc-price {
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.voucher-card.selected .vc-price {
  color: var(--primary);
}

/* ===================================================================
   STEP 3: SELECT PAYMENT METHOD (Strictly 1 Row, 2 Methods)
   =================================================================== */
.payment-grid-bd {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px;
}

.payment-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  min-height: 54px;
  user-select: none;
  transition: all 0.15s ease;
}

.payment-card:hover {
  border-color: var(--border-strong);
}

.payment-card.active {
  border: 2px solid var(--primary);
  background: var(--primary-subtle);
}

.payment-card-badge {
  position: absolute;
  top: -6px;
  right: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.2px;
}

.payment-card[data-method="bkash"] .payment-card-badge {
  background: var(--bkash);
}

.payment-card[data-method="nagad"] .payment-card-badge {
  background: var(--nagad);
}

.payment-brand-img-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  height: 38px;
  overflow: hidden;
}

.payment-brand-logo-img {
  max-height: 34px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.bkash-img {
  height: 32px;
}

.nagad-img {
  height: 30px;
}

.payment-price-calc {
  font-family: var(--font-gaming);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  flex-shrink: 0;
}

.pay-selected-check {
  display: none;
  width: 15px;
  height: 15px;
  border-radius: var(--radius-xs);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-card.active .pay-selected-check {
  display: flex;
}

/* ===================================================================
   STEP 4: ORDER SUMMARY
   =================================================================== */
.order-recap-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.recap-label {
  color: var(--text-secondary);
}

.recap-val {
  font-weight: 600;
  color: var(--text-main);
}

.highlight-uid {
  color: #0f172a;
  font-weight: 700;
}

.highlight-item {
  color: var(--primary);
  font-weight: 700;
}

.recap-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

.total-row {
  font-size: 0.92rem;
  font-weight: 700;
}

.total-label {
  color: var(--text-main);
}

.total-price {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.recap-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.lock-icon {
  width: 13px;
  height: 13px;
  color: var(--success);
  flex-shrink: 0;
}

/* ===================================================================
   5. FEATURES SECTION
   =================================================================== */
.features-section {
  padding: 10px 0;
}

.section-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-heading span {
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 550px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.f-svg {
  width: 16px;
  height: 16px;
}

.feature-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ===================================================================
   6. CUSTOMER REVIEWS SECTION (No Verified Badges)
   =================================================================== */
.reviews-section {
  padding: 6px 0;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.overall-rating-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.stars-row {
  display: flex;
  gap: 1px;
}

.star-svg {
  width: 12px;
  height: 12px;
  color: #eab308;
}

.rating-num {
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.78rem;
}

.reviews-count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.rev-initials-badge {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0f172a;
}

.rev-author strong {
  font-size: 0.78rem;
  color: var(--text-main);
  display: block;
}

.rev-meta {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
}

.rev-time {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.rev-stars-row {
  display: flex;
  gap: 1px;
}

.rev-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===================================================================
   7. FAQ SECTION
   =================================================================== */
.faq-section {
  padding: 6px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron-svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron-svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 12px 10px 12px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.faq-answer ol {
  padding-left: 16px;
  margin-top: 4px;
}

.faq-answer li {
  margin-bottom: 2px;
}

/* ===================================================================
   8. DEDICATED BOTTOM STICKY ACTION BAR (Flat, Clean, No Shadow / Glow)
   =================================================================== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-light) !important;
  z-index: 250 !important;
  padding: 12px 20px;
  box-shadow: none !important;
}

.sticky-bar-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sticky-pack-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sticky-gem-badge {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none !important;
}

.sticky-svg {
  width: 20px;
  height: 20px;
}

.sticky-summary-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.sticky-sub-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1;
}

.sticky-pack-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-pack-price {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.sticky-action-btn {
  background: var(--primary);
  color: #ffffff;
  border: none !important;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: none !important;
  transition: background-color 0.15s ease;
  flex-shrink: 0;
  user-select: none;
  pointer-events: auto !important;
}

.sticky-action-btn:hover {
  background: var(--primary-hover);
  border: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.sticky-action-btn:active {
  background: var(--primary-dark);
  transform: none !important;
}

.sticky-arrow-svg {
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.sticky-action-btn:hover .sticky-arrow-svg {
  transform: translateX(3px);
}

.uid-inline-error {
  margin-top: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: shake 0.35s ease;
}

.uid-inline-error.hidden {
  display: none !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.input-with-button.error-shake {
  border-color: #dc2626 !important;
  animation: shake 0.35s ease;
}

/* ===================================================================
   8B. DEDICATED SCREEN: BUY ORDERS (Full screen view)
   =================================================================== */
.buy-orders-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #f8fafc;
  z-index: 120;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.buy-orders-screen.hidden {
  display: none !important;
}

.orders-screen-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 14px 60px 14px;
}

.orders-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.btn-orders-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-orders-back:hover {
  background: #e2e8f0;
  border-color: var(--border-strong);
}

.back-svg {
  width: 16px;
  height: 16px;
}

.orders-screen-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.orders-screen-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.2;
}

.orders-screen-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--primary-border);
}

.btn-orders-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-orders-refresh:hover {
  color: var(--primary);
  border-color: var(--primary-border);
}

.refresh-svg {
  width: 14px;
  height: 14px;
}

.refresh-spinning {
  animation: spin 0.8s linear infinite;
}

/* Filter Bar */
.orders-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .orders-filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-tabs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all 0.15s ease;
}

.filter-tab:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
}

.filter-tab.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.tab-count {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-main);
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.tab-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-completed {
  background: #10b981;
}

.dot-processing {
  background: #f59e0b;
}

.dot-refund {
  background: #ef4444;
}

.orders-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  flex: 1;
  max-width: 320px;
}

.orders-search-box:focus-within {
  border-color: var(--primary);
}

.orders-search-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.orders-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.78rem;
  color: var(--text-main);
  width: 100%;
}

/* Orders List Items */
.orders-list-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease;
}

.order-item-card:hover {
  border-color: var(--border-strong);
}

.oic-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.oic-id-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oic-id {
  font-family: var(--font-gaming);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.oic-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.status-pill.status-completed {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-pill.status-processing {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.status-pill.status-refund {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.oic-mid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.oic-pack-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.oic-pack-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
}

.oic-player-uid {
  font-size: 0.76rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.uid-num {
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 1px 6px;
  border-radius: 4px;
}

.oic-price-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.oic-price-bdt {
  font-family: var(--font-gaming);
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
}

.oic-gateway {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.oic-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
}

.oic-tx-ref code {
  font-family: monospace;
  font-weight: 700;
  color: var(--text-main);
}

.oic-instant-tag {
  color: var(--success);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.orders-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.orders-empty-state h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.orders-empty-state p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.btn-empty-topup {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

/* ===================================================================
   9. MODALS & TERMS CONTENT
   =================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

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

.modal-dialog {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
}

.modal-dialog.checkout-dialog {
  max-width: 440px;
}

.modal-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Terms Box */
.terms-content-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-height: 280px;
  overflow-y: auto;
}

.terms-content-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

/* UID Guide Modal */
.uid-steps-visual {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.step-badge {
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.uid-diagram-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 10px;
}

.diagram-fake-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dfp-avatar {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dfp-info {
  display: flex;
  flex-direction: column;
}

.dfp-name {
  font-family: var(--font-gaming);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-main);
}

.dfp-uid {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.copy-hint {
  font-size: 0.62rem;
  color: var(--primary);
  font-weight: 800;
}

.btn-primary-modal {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 10px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  margin-top: 4px;
}

.btn-primary-modal:hover {
  background: var(--primary-hover);
}

/* Order Track Modal */
.track-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.track-input-group {
  display: flex;
  gap: 6px;
}

/* Login Modal Styles */
.auth-dialog {
  max-width: 380px;
}

.auth-brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-sub-tag {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 700;
}

.auth-body-clean {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-clean-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  user-select: none;
}

.btn-google-auth:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.btn-google-auth:active {
  transform: translateY(0);
}

.google-svg-icon {
  flex-shrink: 0;
}

.auth-divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 2px 0;
}

.auth-divider-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border-light);
}

.auth-divider-line span {
  position: relative;
  background: #ffffff;
  padding: 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.btn-instant-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-instant-auth:hover {
  background: var(--primary-hover);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(139, 128, 0, 0.25);
}

.instant-svg-icon {
  flex-shrink: 0;
}

.auth-footer-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* Orders Loading & Dynamic State */
.orders-loading-state, .orders-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 10px;
  text-align: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.orders-empty-state svg {
  color: var(--text-muted);
}

/* Buy Orders Modal Styles */
.recent-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.order-history-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 10px;
}

.oh-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.oh-id {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
}

.oh-status.success {
  background: var(--success-subtle);
  color: var(--success);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-xs);
}

.oh-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oh-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
}

.oh-line span {
  color: var(--text-muted);
}

.oh-line strong {
  color: var(--text-main);
}

/* Terms & Condition Modal Content */
.terms-content-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  background: var(--bg-subtle);
  padding: 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.terms-content-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
  margin-bottom: 2px;
}

.terms-content-box p {
  margin: 0;
}

/* Diamond Calculator Modal */
.calc-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.calc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.calc-diamond-val {
  font-weight: 800;
  color: var(--primary);
}

.calc-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.calc-result-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
}

.cr-line {
  display: flex;
  justify-content: space-between;
}

.cr-price {
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.cr-bonus {
  color: var(--success);
  font-weight: 700;
}

/* Checkout Modal */
.checkout-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.secure-tag {
  font-size: 0.65rem;
  color: var(--success);
  font-weight: 700;
}

.checkout-order-summary {
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
}

.cos-item {
  display: flex;
  justify-content: space-between;
}

.cos-label {
  color: var(--text-secondary);
}

.cos-value {
  font-weight: 600;
  color: var(--text-main);
}

.highlight-gold {
  color: #0f172a;
  font-weight: 800;
}

.highlight-accent {
  color: var(--primary);
  font-weight: 700;
}

.cos-divider {
  height: 1px;
  background: var(--border-light);
  margin: 3px 0;
}

.cos-item.total {
  font-size: 0.9rem;
  font-weight: 700;
}

.cos-total-price {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 800;
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-confirm-pay {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 11px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.15s ease;
}

.btn-confirm-pay:hover {
  background: var(--primary-hover);
}

.btn-cancel-pay {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.76rem;
  cursor: pointer;
  padding: 4px;
}

.btn-cancel-pay:hover {
  color: var(--text-main);
}

.hidden {
  display: none !important;
}

.processing-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  gap: 8px;
}

.clean-spinner-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clean-circle-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.processing-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.processing-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.processing-bar-wrap {
  width: 100%;
  height: 4px;
  background: var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
  margin-top: 4px;
}

.processing-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.success-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--success);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.success-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.receipt-card {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
}

.rc-badge {
  background: var(--success-subtle);
  color: var(--success);
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-xs);
}

.rc-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
}

.rc-line {
  display: flex;
  justify-content: space-between;
}

.rc-line strong {
  color: var(--text-main);
}

.speed-fast {
  color: var(--success);
}

.rc-line code {
  color: var(--info);
  background: var(--info-subtle);
  padding: 1px 4px;
  border-radius: var(--radius-xs);
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.btn-action-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 10px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-action-primary:hover {
  background: var(--primary-hover);
}

/* ===================================================================
   10. SIMPLE & CLEAN MINIMAL FOOTER
   =================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 24px 14px 20px 14px;
  margin-top: 24px;
}

.footer-container-simple {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-title {
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #0f172a;
}

.footer-simple-tagline {
  font-size: 0.76rem;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.4;
}

.footer-payment-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.footer-pay-img-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.footer-pay-logo {
  max-height: 22px;
  object-fit: contain;
  display: block;
}

.footer-bkash-logo {
  height: 22px;
}

.footer-nagad-logo {
  height: 20px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.footer-legal-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.footer-copyright strong {
  color: var(--text-main);
}

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

/* ===================================================================
   11. MOBILE SCREENS OPTIMIZATION (Responsive on all devices)
   =================================================================== */
@media (max-width: 600px) {
  .header-search {
    display: none;
  }
  .nav-btn-text {
    display: none;
  }
  .game-hero-inner {
    gap: 10px;
  }
  .game-cover-wrap {
    width: 50px;
    height: 50px;
  }
  .game-title {
    font-size: 1.08rem;
  }
  .payment-grid-bd {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px;
  }
  .payment-card {
    padding: 8px 6px;
    gap: 6px;
  }
  .payment-brand-img-wrap {
    height: 30px;
  }
  .payment-brand-logo-img {
    max-height: 26px;
  }
  .bkash-img {
    height: 26px;
  }
  .nagad-img {
    height: 24px;
  }
  .btn-header-login {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .payment-price-calc {
    font-size: 0.88rem;
  }
  .sticky-bottom-bar {
    padding: 10px 12px;
  }
  .sticky-pack-summary {
    gap: 8px;
  }
  .sticky-gem-badge {
    width: 32px;
    height: 32px;
  }
  .sticky-svg {
    width: 17px;
    height: 17px;
  }
  .sticky-sub-label {
    display: none;
  }
  .sticky-pack-name {
    font-size: 0.82rem;
  }
  .sticky-pack-price {
    font-size: 1.15rem;
  }
  .sticky-action-btn {
    padding: 11px 16px;
    font-size: 0.88rem;
    gap: 6px;
  }
  .vouchers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .sticky-gem-badge {
    display: none;
  }
}
