/* ═══════════════════════════════════════════════════════════
   CinQ — Global Styles
   Extracted from index.html for modular structure
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: #1e1e1e; }

body {
  background: #0f0f10;
  font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
}

#splash-screen {
  transition: opacity .35s ease, visibility .35s ease;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: #0f0f10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.splash-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 44px;
  color: #e8192c;
  letter-spacing: -.05em;
  line-height: 1;
}

.splash-label {
  color: #7b7b84;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* ─────────────────────────────────
   BANNER SWIPER
───────────────────────────────── */
.banner-swiper {
  width: 100%;
  height: 215px;
  overflow: hidden;
  background: #080808;
}
.banner-swiper .swiper-slide {
  height: 215px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.banner-swiper .swiper-pagination { bottom: 10px !important; }
.swiper-pagination-bullet {
  background: rgba(255,255,255,.3);
  opacity: 1;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  transition: width .28s, background .28s;
}
.swiper-pagination-bullet-active {
  background: #e8192c;
  width: 22px;
}

/* ── Card press effect ── */
.press { transition: transform .12s ease; cursor: pointer; }
.press:active { transform: scale(.95); }

/* ── Subtle top-left shine on dark cards ── */
.shine { position: relative; overflow: hidden; }
.shine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.055) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* ── Gallery marquee ── */
.gal-marquee-wrap {
  overflow: hidden;
  width: 100%;
  padding: 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.gal-marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: galScroll 22s linear infinite;
}
.gal-marquee-wrap:hover .gal-marquee-track { animation-play-state: paused; }
@keyframes galScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gal-img {
  width: 132px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}
.gal-media {
  width: 132px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
  background: #111113;
}

.home-dashboard-cards {
  margin: 12px 12px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-dashboard-card {
  background: #1a1a1c;
  border: 1px solid #2e2e33;
  border-radius: 14px;
  padding: 16px 12px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  text-align: center;
}

.home-dashboard-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: #0f0f10;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-dashboard-card-icon i {
  color: #fff;
  font-size: 28px;
}

.home-dashboard-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-dashboard-card-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
  position: relative;
}

.home-dashboard-card-subtitle {
  color: #777;
  font-size: 11px;
  z-index: 2;
  position: relative;
}

.home-menu-grid {
  margin: 12px 12px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-menu-item {
  background: #1a1a1c;
  border: 1px solid #2e2e33;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  text-align: left;
  position: relative;
}

.home-menu-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8192c, #ff4458);
  z-index: 2;
  position: relative;
}

.home-menu-item-icon i {
  color: #fff;
  font-size: 22px;
}

.home-menu-item-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-menu-item-title {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
  z-index: 2;
  position: relative;
}

.home-support-section {
  margin: 14px 12px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2e2e33;
  background: #1a1a1c;
}

.home-support-head {
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2e2e33;
}

.home-support-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.home-support-subtitle {
  color: #8f8f97;
  font-size: 10.5px;
  margin-top: 2px;
}

.home-support-open-btn {
  background: #0b3f46;
  border: 1px solid #2f7f8c;
  border-radius: 9px;
  padding: 6px 10px;
  color: #e6fbff;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.home-support-buttons {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Ticker ── */
.ticker-wrap { overflow: hidden; }
.ticker-inner {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: roll 26s linear infinite;
}
@keyframes roll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ── Bottom nav centre FAB ── */
.fab-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -28px;
}
.fab-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(232,25,44,.45);
  animation: fabRingPulse 2s ease-in-out infinite;
  pointer-events: none;
}
.fab-ring2 {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,25,44,.18);
  animation: fabRingPulse 2s ease-in-out infinite .6s;
  pointer-events: none;
}
@keyframes fabRingPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0; transform:scale(1.22); }
}
@keyframes fabIconSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.fab {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff2d45 0%, #c8001d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #0f0f10, 0 6px 24px rgba(232,25,44,.65), 0 0 32px rgba(232,25,44,.25);
  transition: transform .12s, box-shadow .12s;
  position: relative;
  z-index: 2;
}
.fab:active { transform: scale(.91) !important; box-shadow: 0 0 0 3px #0f0f10, 0 3px 12px rgba(232,25,44,.5); }
#nav-spin.active-nav .fab {
  background: linear-gradient(145deg, #ff4d62 0%, #e8192c 100%);
  box-shadow: 0 0 0 3px #0f0f10, 0 6px 28px rgba(232,25,44,.8), 0 0 40px rgba(232,25,44,.35);
}
#nav-spin.active-nav .fab i { animation: fabIconSpin 1.8s linear infinite; }
.fab i { color: #fff !important; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }

/* slide backgrounds */
.s1 { background: linear-gradient(160deg,#0a0608 0%,#12050a 45%,#1a080f 100%); }
.s2 { background: linear-gradient(160deg,#060810 0%,#0a0c1c 55%,#0d0f22 100%); }
.s3 { background: linear-gradient(160deg,#060a06 0%,#0a1208 55%,#0e1b0d 100%); }
.s4 { background: linear-gradient(160deg,#0a0808 0%,#130a0a 55%,#1b0d0d 100%); }

/* scrollbar hide */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

/* ── Screen switching ── */
#home-screen     { display: block; }
#spin-screen     { display: none; }
#recharge-screen { display: none; }
#position-screen  { display: none; }
#team-screen     { display: none; }
#work-screen     { display: none; }
#profile-screen  { display: none; }
#spinModal       { display: none; }

/* ── Position / Rank screen ── */
.rank-card {
  background: #131315;
  border: 1px solid #252528;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 16px 14px;
  position: relative;
  transition: transform .14s ease, box-shadow .14s ease;
  cursor: pointer;
}
.rank-card:active { transform: scale(.985); }
.rank-card.active-rank {
  background: #160408;
  border-color: rgba(232,25,44,.4);
  box-shadow: 0 0 0 1px rgba(232,25,44,.15), 0 12px 36px rgba(232,25,44,.14);
}
.rank-card-accent { width: 4px; flex-shrink: 0; border-radius: 0; }
.rank-stat-chip {
  background: rgba(255,255,255,.04);
  border: 1px solid #252528;
  border-radius: 10px;
  padding: 8px 10px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rank-stat-chip .sc-label { color: #444; font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.rank-stat-chip .sc-val   { font-size: 13px; font-weight: 800; line-height: 1; }
.rank-benefit-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.04); border: 1px solid #252528;
  border-radius: 100px; padding: 4px 10px;
  font-size: 10px; font-weight: 600; color: #666;
}
.rank-locked-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,12,.55);
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px; pointer-events: none;
}

/* ── Profile screen ── */
.prf-hero {
  background: linear-gradient(160deg, #1a0406 0%, #0f0f10 55%);
  padding: 28px 20px 0;
  position: relative; overflow: hidden;
}
.prf-hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,25,44,.18) 0%, transparent 70%);
  pointer-events: none;
}
.prf-avatar-wrap {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg,#e8192c,#ff6b35);
  padding: 3px; display: inline-flex; position: relative;
}
.prf-avatar-inner {
  flex: 1; border-radius: 50%; background: #1a1a1c;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.prf-badge {
  position: absolute; bottom: 2px; right: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #4caf50; border: 2.5px solid #0f0f10;
  display: flex; align-items: center; justify-content: center;
}
.prf-stat-card {
  flex: 1; background: #1a1a1c; border: 1px solid #2e2e33;
  border-radius: 14px; padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
}
.prf-menu-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; cursor: pointer; transition: background .15s;
}
.prf-menu-row:active { background: rgba(255,255,255,.03); }
.prf-menu-icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@keyframes logoutShake {
  0%,100% { transform:translateX(0); }
  25%     { transform:translateX(-5px); }
  75%     { transform:translateX(5px); }
}
#logoutModal {
  position: fixed; inset: 0; background: rgba(0,0,0,.82);
  z-index: 500; display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
#logoutModal.show { display: flex; }

@keyframes copyPop {
  0%   { transform:scale(.6) translateY(4px); opacity:0; }
  35%  { transform:scale(1.08) translateY(0); opacity:1; }
  75%  { transform:scale(1); opacity:1; }
  100% { transform:scale(1) translateY(-4px); opacity:0; }
}
.copy-flash {
  position:absolute; bottom:-22px; left:50%; transform:translateX(-50%);
  background:#e8192c; color:#fff; font-size:9px; font-weight:700;
  padding:2px 8px; border-radius:100px; white-space:nowrap;
  pointer-events:none; animation: copyPop .9s ease forwards;
}

.prf-modal-bg {
  position:fixed; inset:0; background:rgba(0,0,0,.78);
  z-index:500; display:none; align-items:flex-end; justify-content:center;
  backdrop-filter:blur(8px);
}
.prf-modal-bg.show { display:flex; }
.prf-sheet {
  background:#131315; border-radius:24px 24px 0 0;
  padding:20px 20px 36px; width:100%; max-width:430px;
  border-top:1px solid #2e2e33;
}
.prf-sheet-handle { width:40px; height:4px; border-radius:2px; background:#2e2e33; margin:0 auto 18px; }
.prf-info-row { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; }
.lvl-bar-bg   { height:4px; border-radius:2px; background:#222226; margin-top:8px; width:100%; }
.lvl-bar-fill { height:100%; border-radius:2px; background:linear-gradient(90deg,#e8192c,#ff6b35); width:45%; }

.prf-ref-code-btn {
  background: #46215e;
  border: 1px solid #7d4aa1;
  color: #f4e8ff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.security-toggle-btn {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #e8192c;
  position: relative;
  cursor: pointer;
  transition: background .2s;
  border: none;
  padding: 0;
}

.security-toggle-knob {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: right .2s, left .2s;
}

.wd-method-badge {
  background: #0f3c43;
  color: #e6fbff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid #2f7f8c;
}

.wd-method-list {
  display: none;
  margin: -6px 0 10px;
}

.wd-no-method {
  display: none;
  background: #4d241e;
  border: 1px solid #8b4a3e;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  color: #ffe3db;
  font-size: 11px;
  font-family: 'Noto Sans Bengali', sans-serif;
}

.support-links-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.support-modal-close {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: #1a1a1c;
  border: 1px solid #2e2e33;
  border-radius: 13px;
  color: #9d9da7;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

/* ── Recharge screen ── */
.rch-method-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 8px; border-radius: 14px;
  border: 2px solid transparent; background: #222226;
  cursor: pointer; transition: border-color .18s, background .18s, transform .1s;
}
.rch-method-btn.active { background: #1a1a1c; }
.rch-method-btn:active  { transform: scale(.95); }
.rch-amount-btn {
  padding: 13px 0; border-radius: 12px; border: 1.5px solid #2e2e33;
  background: #222226; color: #aaa; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: border-color .18s, color .18s, background .18s, transform .1s;
  text-align: center;
}
.rch-amount-btn.active { border-color: #e8192c; color: #fff; background: rgba(232,25,44,.1); }
.rch-amount-btn:active { transform: scale(.94); }
.rch-input {
  width: 100%; background: #222226; border: 1.5px solid #2e2e33;
  border-radius: 12px; padding: 14px 16px; color: #fff;
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s;
}
.rch-input:focus { border-color: #e8192c; }
.rch-input::placeholder { color: #444; }

@keyframes toastSlide {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cqx-toast,
#rchToast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  background: #1a1a1c; border: 1px solid #2e2e33; border-radius: 14px;
  padding: 14px 22px; display: none; align-items: center; gap: 10px;
  z-index: 400; white-space: nowrap; box-shadow: 0 8px 32px rgba(0,0,0,.5);
  animation: toastSlide .3s ease;
}

.cqx-toast-icon,
#rchToastIcon {
  font-size: 22px;
  line-height: 1;
}

.cqx-toast-title,
#rchToastTitle {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.cqx-toast-msg,
#rchToastMsg {
  color: #555;
  font-size: 11px;
  margin-top: 1px;
}

@keyframes rchShake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}
.rch-field-err {
  color: #e8192c; font-size: 10.5px; margin: 5px 0 0;
  display: none; align-items: center; gap: 4px;
  animation: rchShake .35s ease;
}
.rch-field-err.show { display: flex; }
.rch-input-invalid { border-color: #e8192c !important; }
.rch-card-invalid  { border-color: rgba(232,25,44,.5) !important; }

@keyframes spinRingGlow  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes modalPop      { from { transform: scale(.65); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes shimmerBtn    { 0%,100% { box-shadow: 0 8px 28px rgba(232,25,44,.45); } 50% { box-shadow: 0 8px 44px rgba(232,25,44,.75); } }

.spin-glow-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  background: conic-gradient(#f44336,#ff9800,#ffeb3b,#4caf50,#2196f3,#9c27b0,#e91e63,#00bcd4,#f44336);
  opacity: .18; animation: spinRingGlow 5s linear infinite; pointer-events: none;
}
#spinBtn:not(:disabled) { animation: shimmerBtn 2.4s ease-in-out infinite; }
#spinBtn:active:not(:disabled) { transform: scale(.94) !important; }

/* ── Live wins feed ── */
@keyframes winSlideIn {
  from { opacity:0; transform:translateY(-110%); max-height:0; }
  to   { opacity:1; transform:translateY(0);     max-height:60px; }
}
.live-win-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:9px 14px; border-bottom:1px solid #1e1e20;
  animation: winSlideIn .38s cubic-bezier(.34,1.26,.64,1) forwards; overflow:hidden;
}
.live-win-row:last-child { border-bottom:none; }
@keyframes livePulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.35; transform:scale(.7); } }
.live-dot-badge {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(232,25,44,.15); border:1px solid rgba(232,25,44,.35);
  border-radius:20px; padding:2px 8px 2px 6px;
  font-size:9px; font-weight:800; color:#e8192c; letter-spacing:.06em;
}
.live-dot-badge::before {
  content:''; display:inline-block; width:6px; height:6px; border-radius:50%;
  background:#e8192c; animation: livePulse 1.2s ease-in-out infinite;
}

/* ── Rank Detail Full-Screen Modal ── */
@keyframes slideUpFull { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#rankDetailModal {
  position: fixed; inset: 0; z-index: 600;
  background: #0f0f10; overflow-y: auto; display: none;
  max-width: 430px; margin: 0 auto;
}
#rankDetailModal.show { display: block; animation: slideUpFull .32s cubic-bezier(.4,0,.2,1); }
.rdk-hero { position: relative; overflow: hidden; padding: 0 16px 20px; }
.rdk-stat-box {
  background: #131315; border: 1px solid #252528;
  border-radius: 14px; padding: 13px 12px;
  display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0;
}
.rdk-benefit-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #1e1e21; }
.rdk-benefit-row:last-child { border-bottom: none; }

#rankAgreementModal {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  z-index: 700; display: none; align-items: flex-end;
  justify-content: center; backdrop-filter: blur(12px);
}
#rankAgreementModal.show { display: flex; }
@keyframes signPulse { 0%,100% { border-color: #2e2e33; } 50% { border-color: rgba(232,25,44,.5); } }
.sign-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 2px solid #2e2e33; color: #fff;
  font-size: 22px; font-weight: 700; font-family: 'Noto Sans Bengali', cursive;
  padding: 12px 0; outline: none; text-align: center;
  letter-spacing: .04em; transition: border-color .2s;
}
.sign-input:focus { border-color: #e8192c; animation: none; }
.sign-input.empty { animation: signPulse 2s ease infinite; }
.sign-input::placeholder { color: #2e2e33; font-size: 13px; }

/* ── Work screen ── */
@keyframes wkBar { 0%,100%{height:6px;opacity:.5} 50%{height:28px;opacity:1} }
.wk-bar{height:6px;}
.wk-step{display:flex;align-items:center;gap:11px;padding:11px 14px;background:transparent;border-bottom:1px solid #161618;}
.wk-step:last-child{border-bottom:none;}
.wk-step.done{background:#060c06;}
.wk-step.active{background:#100404;}
.wk-rec-card{display:flex;gap:10px;padding:8px 14px;cursor:pointer;transition:background .15s;}
.wk-rec-card:active{background:#111113;}
.wk-action-pill{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 18px;background:#1e1e22;border:none;border-radius:100px;cursor:pointer;flex-shrink:0;transition:all .2s;}
.wk-action-pill:active{transform:scale(.94);}
.wk-saved-card{display:flex;gap:10px;padding:10px 14px;border-bottom:1px solid #111113;}
.wk-saved-card:last-child{border-bottom:none;}

/* header marquee ticker */
@keyframes hdrMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hdr-ticker-text {
  display: inline-block; color: #888; font-size: 11px; font-weight: 600;
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}
.hdr-marquee:hover { animation-play-state: paused; }

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* notification panel */
@keyframes notifSlideDown { from { transform: translateY(-100%); opacity:0; } to { transform: translateY(0); opacity:1; } }
.notif-item { display:flex; align-items:flex-start; gap:10px; padding:11px 13px; background:#1a1a1c; border:1px solid #1e1e21; border-radius:14px; position:relative; }
.notif-item.unread::before { content:''; position:absolute; top:12px; right:13px; width:7px; height:7px; border-radius:50%; background:#e8192c; }

/* ══════════════════════════════════════════
   AUTH SCREENS
══════════════════════════════════════════ */
#auth-screen {
  position: fixed; inset: 0; z-index: 900;
  background: #0f0f10; max-width: 430px; margin: 0 auto;
  overflow-y: auto; overflow-x: hidden; display: none;
}
#auth-screen.visible { display: block; }
.app-content-hidden { display: none !important; }
.auth-view { display: none; min-height: 100vh; min-height: 100svh; flex-direction: column; }
.auth-view.active { display: flex; }

@keyframes authSlideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes authSlideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
.auth-view.active { animation: authSlideIn .28s cubic-bezier(.4,0,.2,1); }

.auth-hero {
  background: linear-gradient(160deg, #1a0408 0%, #0f0f10 60%);
  padding: 56px 28px 36px; position: relative; overflow: hidden; flex-shrink: 0;
}
.auth-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,25,44,.22) 0%, transparent 70%); pointer-events: none;
}
.auth-hero::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(232,25,44,.09) 0%, transparent 70%); pointer-events: none;
}
.auth-body { flex: 1; padding: 28px 22px 48px; display: flex; flex-direction: column; gap: 0; }
.auth-input-wrap { position: relative; margin-bottom: 6px; }
.auth-label {
  color: #555; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-top: 18px; margin-bottom: 7px; display: block;
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}
.auth-body > .auth-label:first-of-type { margin-top: 0; }
.auth-input {
  width: 100%; background: #1a1a1c; border: 1.5px solid #2a2a2e;
  border-radius: 13px; padding: 14px 16px; color: #fff;
  font-size: 14.5px; font-family: 'Inter', sans-serif; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.auth-input:focus { border-color: #e8192c; box-shadow: 0 0 0 3px rgba(232,25,44,.12); }
.auth-input::placeholder { color: #333; }
.auth-input.has-icon { padding-right: 48px; }
.auth-input.invalid { border-color: #e8192c !important; box-shadow: 0 0 0 3px rgba(232,25,44,.1); }
.auth-input.valid   { border-color: #4caf50; box-shadow: 0 0 0 3px rgba(76,175,80,.08); }

.auth-pw-toggle {
  position: absolute; right: 0; top: 0; width: 48px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: transparent; border: none; color: #444;
}
.auth-pw-toggle:hover { color: #888; }
.auth-pw-toggle i { font-size: 20px; pointer-events: none; }

.auth-icon-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: #333; font-size: 19px;
}
.auth-input.with-prefix { padding-left: 44px; }

.auth-err {
  color: #e8192c; font-size: 10.5px; font-weight: 600;
  margin: 4px 0 2px 2px; display: none; align-items: center; gap: 4px;
  font-family: 'Noto Sans Bengali', sans-serif;
}
.auth-err.show { display: flex; }
@keyframes authErrShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-5px)} 40%{transform:translateX(5px)} 60%{transform:translateX(-3px)} 80%{transform:translateX(3px)} }
.auth-err.show { animation: authErrShake .32s ease; }

.auth-hint { font-size: 10.5px; color: #444; margin: 4px 0 2px 2px; display: flex; align-items: center; gap: 4px; font-family: 'Noto Sans Bengali', sans-serif; }

.auth-btn {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, #e8192c 0%, #ff3d52 100%);
  border: none; border-radius: 14px; color: #fff;
  font-size: 15px; font-weight: 800; font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
  cursor: pointer; letter-spacing: .02em; box-shadow: 0 6px 22px rgba(232,25,44,.38);
  transition: transform .12s, box-shadow .12s, opacity .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-btn:active { transform: scale(.96); box-shadow: 0 3px 12px rgba(232,25,44,.3); }
.auth-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

.auth-btn-sec {
  width: 100%; padding: 14px; background: transparent; border: 1.5px solid #2a2a2e;
  border-radius: 14px; color: #888; font-size: 14px; font-weight: 600;
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
  cursor: pointer; transition: border-color .18s, color .18s;
}
.auth-btn-sec:active { border-color: #e8192c; color: #e8192c; }

.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #1e1e21; }
.auth-divider span { color: #333; font-size: 11px; }

.auth-stepper { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 0 22px; }
.auth-step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #222226; border: 1.5px solid #2e2e33;
  transition: width .28s, background .28s, border-color .28s;
}
.auth-step-dot.active { width: 28px; border-radius: 4px; background: #e8192c; border-color: #e8192c; }
.auth-step-dot.done   { background: #4caf50; border-color: #4caf50; }

.otp-wrap { display: flex; gap: 7px; justify-content: center; margin-bottom: 18px; }
.otp-box {
  flex: 1; min-width: 0; max-width: 52px; height: 56px; border-radius: 12px;
  background: #1a1a1c; border: 1.5px solid #2a2a2e;
  color: #fff; font-size: 20px; font-weight: 800;
  text-align: center; outline: none; font-family: 'Inter', sans-serif;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.otp-box:focus { border-color: #e8192c; box-shadow: 0 0 0 3px rgba(232,25,44,.15); }
.otp-box.filled { border-color: #4caf50; }

.auth-success-badge {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(76,175,80,.2), rgba(76,175,80,.08));
  border: 2px solid rgba(76,175,80,.4);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
@keyframes authSuccessPop { 0% { transform: scale(0); opacity: 0; } 65% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.auth-success-badge { animation: authSuccessPop .45s cubic-bezier(.34,1.56,.64,1); }

.auth-select {
  width: 100%; background: #1a1a1c; border: 1.5px solid #2a2a2e;
  border-radius: 13px; padding: 14px 16px; color: #fff;
  font-size: 14px; font-family: 'Inter', sans-serif; outline: none;
  appearance: none; -webkit-appearance: none; transition: border-color .2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.auth-select:focus { border-color: #e8192c; }
.auth-select option { background: #1a1a1c; color: #fff; }

.pw-strength-wrap { margin: 4px 0 8px; }
.pw-strength-bar-bg    { height: 3px; border-radius: 2px; background: #222226; width: 100%; }
.pw-strength-bar-fill  { height: 100%; border-radius: 2px; transition: width .35s, background .35s; width: 0; }
.pw-strength-label     { font-size: 9.5px; font-weight: 700; margin-top: 4px; }

.auth-phone-wrap { display: flex; gap: 8px; margin-bottom: 4px; }
.auth-phone-prefix {
  width: 74px; flex-shrink: 0; background: #1a1a1c; border: 1.5px solid #2a2a2e;
  border-radius: 13px; display: flex; align-items: center; justify-content: center;
  color: #888; font-size: 12px; font-weight: 700; gap: 2px; padding: 0 4px;
}

@keyframes authChipPop { 0% { transform: translateY(16px) scale(.8); opacity: 0; } 60% { transform: translateY(-3px) scale(1.04); } 100% { transform: translateY(0) scale(1); opacity: 1; } }
.auth-success-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(76,175,80,.12); border: 1px solid rgba(76,175,80,.3);
  border-radius: 100px; padding: 6px 14px;
  animation: authChipPop .4s cubic-bezier(.34,1.56,.64,1);
  font-size: 11px; font-weight: 700; color: #4caf50;
  font-family: 'Noto Sans Bengali', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES — extracted from inline styles in index.html
═══════════════════════════════════════════════════════════ */

/* ── Typography ── */
.text-bn { font-family: 'Noto Sans Bengali', sans-serif; }
.text-inter { font-family: 'Inter', sans-serif; }
.heading-bn { color: #fff; font-weight: 800; font-family: 'Noto Sans Bengali', sans-serif; }
.label-upper { text-transform: uppercase; letter-spacing: .07em; font-weight: 600; font-size: 9.5px; }
.stat-label { font-family: 'Inter', sans-serif; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: #888; margin: 0 0 2px; }
.text-muted-sm { color: #444; font-size: 10.5px; }

/* ── Layout ── */
.u-flex { display: flex; }
.u-flex-center { display: flex; align-items: center; }
.u-flex-between { display: flex; align-items: center; justify-content: space-between; }
.u-flex-col { display: flex; flex-direction: column; }
.u-flex-col-center { display: flex; flex-direction: column; align-items: center; }
.u-flex-wrap { flex-wrap: wrap; }
.u-gap-4 { gap: 4px; }
.u-gap-6 { gap: 6px; }
.u-gap-8 { gap: 8px; }
.u-gap-10 { gap: 10px; }
.u-gap-12 { gap: 12px; }
.u-gap-14 { gap: 14px; }
.u-gap-16 { gap: 16px; }
.u-text-center { text-align: center; }

/* ── Components ── */
.card-dark { background: #1a1a1c; border: 1px solid #2e2e33; border-radius: 13px; }
.card-darker { background: #111113; border: 1.5px solid #252529; border-radius: 11px; }
.icon-box { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box-22 { width: 22px; height: 22px; border-radius: 6px; }
.icon-box-28 { width: 28px; height: 28px; border-radius: 8px; }
.icon-box-30 { width: 30px; height: 30px; border-radius: 8px; }
.icon-box-34 { width: 34px; height: 34px; border-radius: 9px; }
.icon-box-36 { width: 36px; height: 36px; border-radius: 10px; }
.icon-box-38 { width: 38px; height: 38px; border-radius: 10px; }
.icon-box-40 { width: 40px; height: 40px; border-radius: 11px; }
.icon-box-42 { width: 42px; height: 42px; border-radius: 11px; }
.icon-box-44 { width: 44px; height: 44px; border-radius: 12px; }
.icon-box-48 { width: 48px; height: 48px; border-radius: 13px; }
.icon-box-52 { width: 52px; height: 52px; border-radius: 14px; }
.icon-box-58 { width: 58px; height: 58px; border-radius: 50%; }
.icon-box-64 { width: 64px; height: 64px; border-radius: 18px; }
.badge-pill { border-radius: 100px; padding: 3px 9px; font-size: 9.5px; font-weight: 700; white-space: nowrap; }

/* ── Buttons ── */
.btn-dismiss { width: 100%; margin-top: 14px; padding: 13px; background: #1a1a1c; border: 1px solid #2e2e33; border-radius: 13px; color: #666; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; }
.btn-link { background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }

/* ── List / Row items ── */
.list-item-dark { background: #1a1a1c; border: 1px solid #2e2e33; border-radius: 13px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; }
.list-link-dark { background: #1a1a1c; border: 1px solid #2e2e33; border-radius: 13px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.section-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }

/* ── Modals ── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 600; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(14px); }
.modal-card { background: #111113; border: 1px solid #1e1e22; border-radius: 22px; padding: 28px 22px; text-align: center; max-width: 320px; width: 100%; }
.modal-icon-circle { border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }

/* ── Dividers ── */
.u-divider { border-bottom: 1px solid #1e1e21; }
.u-divider-thick { border-top: 6px solid #111113; }

/* ── Withdraw ── */
.amt-chip { background: #111113; border: 1.5px solid #252529; border-radius: 11px; padding: 13px 6px; color: #aaa; font-size: 14px; font-weight: 800; font-family: 'Inter', sans-serif; cursor: pointer; transition: all .18s; }
.rule-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #111d1f; }
.rule-row:last-child { border-bottom: none; }

/* ── Nav ── */
.nav-tab { background: none; border: none; cursor: pointer; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 3px; padding: 0; }

/* ── Spacing helpers ── */
.u-p-0 { padding: 0; }
.u-p-12 { padding: 12px; }
.u-p-14 { padding: 14px; }
.u-p-16 { padding: 16px; }
.u-px-12 { padding-left: 12px; padding-right: 12px; }
.u-px-14 { padding-left: 14px; padding-right: 14px; }
.u-px-16 { padding-left: 16px; padding-right: 16px; }
.u-mt-0 { margin-top: 0; }
.u-mt-8 { margin-top: 8px; }
.u-mt-12 { margin-top: 12px; }
.u-mt-14 { margin-top: 14px; }
.u-mb-0 { margin-bottom: 0; }
.u-mb-4 { margin-bottom: 4px; }
.u-mb-8 { margin-bottom: 8px; }
.u-mb-12 { margin-bottom: 12px; }
.u-w-full { width: 100%; }
.u-flex-1 { flex: 1; }
.u-shrink-0 { flex-shrink: 0; }
.u-min-w-0 { min-width: 0; }
.u-nowrap { white-space: nowrap; }
.u-overflow-hidden { overflow: hidden; }
.u-relative { position: relative; }
.u-cursor-pointer { cursor: pointer; }
.u-no-decoration { text-decoration: none; }
.u-border-none { border: none; }
.u-bg-none { background: none; }
.u-rounded-full { border-radius: 50%; }
.u-rounded-13 { border-radius: 13px; }
.u-rounded-14 { border-radius: 14px; }
.u-lh-1 { line-height: 1; }

/* ── Color helpers ── */
.u-color-white { color: #fff; }
.u-color-muted { color: #888; }
.u-color-dim { color: #444; }
.u-color-accent { color: #e8192c; }
.u-color-green { color: #4caf50; }
.u-bg-accent-10 { background: rgba(232,25,44,.1); }
.u-bg-accent-15 { background: rgba(232,25,44,.15); }
.u-bg-green-12 { background: rgba(76,175,80,.12); }

/* ── Font sizes ── */
.u-fs-9 { font-size: 9px; }
.u-fs-95 { font-size: 9.5px; }
.u-fs-10 { font-size: 10px; }
.u-fs-105 { font-size: 10.5px; }
.u-fs-11 { font-size: 11px; }
.u-fs-12 { font-size: 12px; }
.u-fs-13 { font-size: 13px; }
.u-fs-14 { font-size: 14px; }
.u-fs-15 { font-size: 15px; }
.u-fs-16 { font-size: 16px; }
.u-fs-17 { font-size: 17px; }
.u-fs-18 { font-size: 18px; }
.u-fs-20 { font-size: 20px; }
.u-fs-22 { font-size: 22px; }
.u-fs-24 { font-size: 24px; }
.u-fs-28 { font-size: 28px; }
.u-fs-32 { font-size: 32px; }

/* ── Font weights ── */
.u-fw-400 { font-weight: 400; }
.u-fw-500 { font-weight: 500; }
.u-fw-600 { font-weight: 600; }
.u-fw-700 { font-weight: 700; }
.u-fw-800 { font-weight: 800; }
.u-fw-900 { font-weight: 900; }

/* ── Display / Visibility ── */
.d-none { display: none; }
.d-flex { display: flex; }

/* ── Auth-specific component classes ── */
.auth-step-hidden { display: none; padding-top: 0; }
.auth-step-body { padding-top: 0; }
.auth-optional-tag { color: #333; font-size: 9px; text-transform: none; }
.auth-phone-rel { flex: 1; position: relative; }
.auth-check-icon { color: #4caf50; }
.auth-check-text { color: #4caf50; }
.auth-strength-label-color { color: #444; }
.auth-flex-spacer { flex: 1; }
.auth-nav-row { display: flex; gap: 10px; margin-top: 8px; }
.auth-back-btn-wrap { flex: 0 0 auto; width: 52px; padding: 14px 0; display: flex; align-items: center; justify-content: center; }
.auth-icon-arrow { font-size: 20px; color: #888; }
.auth-flex1 { flex: 1; }
.auth-icon-sm { font-size: 18px; }
.auth-link-text { text-align: center; color: #333; font-size: 11.5px; margin-top: 16px; font-family: 'Noto Sans Bengali', sans-serif; }
.auth-inline-link { background: none; border: none; color: #e8192c; font-weight: 700; cursor: pointer; font-size: 11.5px; font-family: inherit; padding: 0; }
.auth-select-padded { padding-left: 44px; }
.auth-date-dark { color-scheme: dark; }

/* ── Gender button group ── */
.su-gender-group { display: flex; gap: 9px; margin-bottom: 14px; }
.su-gender-btn {
  flex: 1; padding: 12px 8px; border-radius: 12px; background: #1a1a1c;
  border: 1.5px solid #2a2a2e; color: #aaa; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .18s;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.su-gender-emoji { font-size: 22px; }

/* ── Payment method tabs ── */
.su-mth-group { display: flex; gap: 8px; margin-bottom: 12px; }
.su-mth-btn {
  flex: 1; padding: 10px 4px; border-radius: 10px; background: #1a1a1c;
  border: 1.5px solid #2a2a2e; color: #666; font-size: 11.5px; font-weight: 700;
  cursor: pointer; font-family: 'Noto Sans Bengali', sans-serif; transition: all .18s;
}
.su-mth-btn.active { border-color: #e2136e; color: #e2136e; }
.su-ref-upper { text-transform: uppercase; }

/* ── Terms checkbox ── */
.su-terms-wrap {
  background: #131315; border: 1px solid #252528; border-radius: 13px;
  padding: 13px 14px; margin-top: 6px; margin-bottom: 14px;
  display: flex; align-items: flex-start; gap: 12px;
}
.su-terms-chk {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid #2e2e33;
  background: #0f0f11; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; margin-top: 1px; transition: all .18s;
  -webkit-appearance: none; appearance: none; padding: 0;
}
.su-terms-text { color: #555; font-size: 11px; line-height: 1.65; font-family: 'Noto Sans Bengali', sans-serif; }
.su-terms-highlight { color: #e8192c; }

/* ── Forgot password ── */
.fp-top-bar { display: flex; align-items: center; gap: 12px; padding: 54px 20px 0; flex-shrink: 0; }
.fp-back-btn {
  width: 38px; height: 38px; border-radius: 12px; background: #131315;
  border: 1px solid #1e1e21; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.fp-back-icon { color: #aaa; font-size: 19px; }
.fp-phase-body { padding-top: 28px; }
.fp-icon-box {
  width: 62px; height: 62px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.fp-icon-box-red { background: linear-gradient(135deg, rgba(232,25,44,.15), rgba(232,25,44,.07)); border: 1px solid rgba(232,25,44,.25); }
.fp-icon-box-blue { background: linear-gradient(135deg, rgba(33,150,243,.15), rgba(33,150,243,.07)); border: 1px solid rgba(33,150,243,.25); }
.fp-icon-box-purple { background: linear-gradient(135deg, rgba(156,39,176,.15), rgba(156,39,176,.07)); border: 1px solid rgba(156,39,176,.25); }
.fp-icon-red { font-size: 30px; color: #e8192c; }
.fp-icon-blue { font-size: 30px; color: #2196f3; }
.fp-icon-purple { font-size: 30px; color: #9c27b0; }
.fp-heading { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 8px; font-family: 'Noto Sans Bengali', sans-serif; }
.fp-desc { color: #444; font-size: 12.5px; line-height: 1.7; margin-bottom: 24px; font-family: 'Noto Sans Bengali', sans-serif; }
.fp-desc-sm { color: #444; font-size: 12px; line-height: 1.7; margin-bottom: 6px; font-family: 'Noto Sans Bengali', sans-serif; }
.fp-desc-24 { color: #444; font-size: 12px; line-height: 1.7; margin-bottom: 24px; font-family: 'Noto Sans Bengali', sans-serif; }
.fp-otp-info {
  background: rgba(33,150,243,.1); border: 1px solid rgba(33,150,243,.25);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 22px;
  display: flex; align-items: center; gap: 8px;
}
.fp-otp-info-icon { color: #2196f3; font-size: 16px; flex-shrink: 0; }
.fp-otp-info-text { color: #2196f3; font-size: 11px; font-family: 'Noto Sans Bengali', sans-serif; }
.fp-otp-err-center { justify-content: center; margin-bottom: 10px; }
.fp-resend-text { text-align: center; color: #444; font-size: 11px; margin-bottom: 22px; font-family: 'Noto Sans Bengali', sans-serif; }
.fp-resend-timer { color: #e8192c; font-weight: 700; }
.fp-resend-btn { display: none; background: none; border: none; color: #e8192c; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 11px; }
.fp-title-text { color: #fff; font-size: 19px; font-weight: 900; margin: 0; font-family: 'Noto Sans Bengali', sans-serif; }
.fp-subtitle-text { color: #444; font-size: 11px; margin-top: 2px; font-family: 'Noto Sans Bengali', sans-serif; }

/* ── Recharge section (Phase 2B extraction) ── */
.rch-screen { padding-bottom: 96px; }
.rch-topbar { padding: 14px 14px 8px; display: flex; align-items: center; justify-content: space-between; }
.rch-title { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.rch-subtitle { color: #444; font-size: 11px; margin-top: 2px; }
.rch-balance-chip {
  background: #1a1a1c; border: 1px solid #2e2e33; border-radius: 12px;
  padding: 7px 14px; display: flex; align-items: center; gap: 8px;
}
.rch-balance-chip i { font-size: 16px; color: #e8192c; }
.rch-balance-label {
  color: #444; font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; margin: 0 0 1px;
}
.rch-balance-value { color: #fff; font-size: 15px; font-weight: 800; line-height: 1; margin: 0; }
.rch-section { margin: 0 14px 10px; }
.rch-section-label {
  color: #555; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 8px;
}
.rch-method-row { display: flex; gap: 8px; }
.rch-method-btn-inline {
  flex-direction: row; padding: 10px 14px; gap: 10px; justify-content: flex-start;
  border-radius: 12px;
}
.rch-method-brand {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.rch-method-brand.bkash { background: #e2136e; }
.rch-method-brand.nagad { background: linear-gradient(135deg, #f7941d, #ef4123); }
.rch-method-brand.rocket { background: #8c1aff; font-size: 9px; }
.rch-method-name { font-size: 12px; font-weight: 700; font-family: 'Noto Sans Bengali', sans-serif; }
.rch-method-name.bkash { color: #e2136e; }
.rch-method-name.nagad { color: #f7941d; }
.rch-method-name.rocket { color: #a64dff; }
.rch-send-card {
  margin: 0 14px 10px; background: #131315; border: 1px solid #2a2a2f; border-radius: 13px;
  padding: 11px 14px; display: flex; align-items: center; justify-content: space-between;
}
.rch-send-left { display: flex; align-items: center; gap: 10px; }
.rch-merchant-dot { width: 8px; height: 8px; border-radius: 50%; background: #e2136e; flex-shrink: 0; }
.rch-send-label {
  color: #444; font-size: 9.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; margin: 0 0 2px;
}
.rch-send-num { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .05em; margin: 0; }
.rch-copy-btn {
  background: #3a1217; border: 1px solid #8a3a45; border-radius: 8px;
  padding: 6px 11px; color: #ffd7dc; font-size: 11px; font-weight: 600;
  cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 4px;
}
.rch-copy-btn i { font-size: 13px; }
.rch-amount-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin-bottom: 7px; }
.rch-amount-chip { padding: 10px 0; font-size: 13px; }
.rch-custom-wrap { position: relative; }
.rch-currency-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #555; font-size: 14px; font-weight: 700; pointer-events: none;
}
.rch-input-custom { padding: 11px 14px 11px 30px; font-size: 13px; }
.rch-field-card {
  margin: 0 14px 10px; background: #131315; border: 1px solid #2a2a2f;
  border-radius: 13px; overflow: hidden; transition: border-color .2s;
}
.rch-field-row { padding: 11px 14px; }
.rch-field-row.with-divider { border-bottom: 1px solid #222226; }
.rch-field-title {
  color: #555; font-size: 9.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; margin: 0 0 7px;
}
.rch-input-wrap-plain { position: relative; }
.rch-row-icon {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-size: 17px; color: #444;
}
.rch-input-row {
  padding: 9px 12px 9px 26px; font-size: 13px; background: transparent;
  border: none; border-bottom: 1px solid #2e2e33; border-radius: 0;
}
.rch-warning-card {
  margin: 0 14px 14px; background: rgba(232,25,44,.06); border: 1px solid rgba(232,25,44,.18);
  border-radius: 10px; padding: 9px 13px; display: flex; align-items: flex-start; gap: 8px;
}
.rch-warning-icon { font-size: 15px; color: #e8192c; flex-shrink: 0; margin-top: 1px; }
.rch-warning-text { color: #666; font-size: 11px; line-height: 1.65; margin: 0; }
.rch-submit-wrap { margin: 0 14px 16px; }
.rch-submit-btn {
  width: 100%; height: 52px; background: linear-gradient(135deg, #e8192c 0%, #ff3d52 100%);
  border: none; border-radius: 14px; color: #fff; font-size: 15px; font-weight: 800;
  font-family: inherit; cursor: pointer; letter-spacing: .04em;
  transition: opacity .2s, transform .12s; box-shadow: 0 6px 20px rgba(232,25,44,.32);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.rch-submit-btn i { font-size: 18px; }
.rch-history-card { margin: 0 14px; border-radius: 13px; border: 1px solid #2a2a2f; overflow: hidden; }
.rch-history-head { background: #1e1e21; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; }
.rch-history-title-wrap { display: flex; align-items: center; gap: 7px; }
.rch-history-title-wrap i { font-size: 16px; color: #e8192c; }
.rch-history-title { color: #fff; font-size: 12.5px; font-weight: 600; }
.rch-history-sub { color: #333; font-size: 10.5px; font-weight: 500; }
.rch-history-body { background: #131315; }
.rch-history-empty { padding: 20px; text-align: center; color: #2e2e33; font-size: 11.5px; }

/* ── Header ── */
.hdr { background: #0f0f10; border-bottom: 1px solid #1e1e21; position: sticky; top: 0; z-index: 50; }
.hdr-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 9px; }
.hdr-logo { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 28px; color: #e8192c; letter-spacing: -.05em; line-height: 1; text-decoration: none; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr-balance { background: #131315; border: 1px solid #1e1e21; border-radius: 10px; padding: 5px 10px; display: flex; align-items: center; gap: 6px; }
.hdr-balance-icon { font-size: 14px; color: #e8192c; }
.hdr-balance-val { color: #fff; font-size: 13px; font-weight: 800; line-height: 1; }
.hdr-icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 12px;
  background: #131315; border: 1px solid #1e1e21; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hdr-icon-btn i { font-size: 19px; color: #888; }
.hdr-notif-badge {
  position: absolute; top: 5px; right: 5px; min-width: 15px; height: 15px;
  padding: 0 4px; background: #e8192c; border-radius: 50px; font-size: 8.5px;
  font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.hdr-avatar-btn {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(232,25,44,.2), rgba(232,25,44,.07));
  border: 1.5px solid rgba(232,25,44,.3); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hdr-avatar-btn i { font-size: 20px; color: #e8192c; }

/* ── Marquee ticker ── */
.hdr-ticker { background: #131315; border-top: 1px solid #1e1e21; padding: 5px 0; display: flex; align-items: center; overflow: hidden; gap: 0; }
.hdr-ticker-dot-wrap { flex-shrink: 0; display: flex; align-items: center; gap: 5px; padding: 0 10px 0 14px; border-right: 1px solid #1e1e21; }
.hdr-ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: #e8192c; display: inline-block; animation: blink 1.2s ease-in-out infinite; }
.hdr-ticker-label { color: #e8192c; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.hdr-ticker-scroll { flex: 1; overflow: hidden; position: relative; }

/* ── Notification panel ── */
.notif-panel {
  display: none; position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 200; background: #131315;
  border-bottom: 1px solid #1e1e21; box-shadow: 0 8px 32px rgba(0,0,0,.6);
  max-height: 80vh; overflow-y: auto;
}
.notif-hdr { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px; border-bottom: 1px solid #1e1e21; }
.notif-icon-wrap { width: 32px; height: 32px; border-radius: 9px; background: rgba(232,25,44,.12); border: 1px solid rgba(232,25,44,.25); display: flex; align-items: center; justify-content: center; }
.notif-icon { font-size: 16px; color: #e8192c; }
.notif-title-text { color: #fff; font-size: 15px; font-weight: 900; }
.notif-mark-btn {
  background: rgba(255,255,255,.05); border: 1px solid #2a2a2d; border-radius: 8px;
  padding: 5px 10px; color: #888; font-size: 10px; font-weight: 700;
  cursor: pointer; font-family: 'Noto Sans Bengali', sans-serif;
}
.notif-close-btn {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid #2a2a2d;
  background: #1a1a1c; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.notif-close-btn i { font-size: 18px; color: #888; }
.notif-list { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.notif-backdrop { display: none; position: fixed; inset: 0; z-index: 199; background: rgba(0,0,0,.5); }

/* ── Banner slides ── */
.s1-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(232,25,44,.16) 0%, transparent 70%); top: -20px; left: 30%; pointer-events: none; }
.slide-brand-sub { color: rgba(255,255,255,.45); font-size: 9px; font-weight: 600; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 4px; z-index: 2; }
.slide-brand-title { color: #fff; font-size: 68px; font-weight: 900; letter-spacing: -.03em; line-height: 1; text-shadow: 0 0 48px rgba(232,25,44,.35); z-index: 2; }
.slide-brand-sub2 { color: rgba(255,255,255,.38); font-size: 9.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; margin-top: 4px; z-index: 2; }
.slide-brand-tag { margin-top: 10px; padding: 4px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; z-index: 2; }
.slide-brand-tag-text { color: rgba(255,255,255,.5); font-size: 8.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; }
.slide-bottom-line { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #e8192c 50%, transparent); }
.s2-play-circle { width: 66px; height: 66px; border-radius: 50%; background: rgba(232,25,44,.1); border: 1.5px solid rgba(232,25,44,.35); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; z-index: 2; }
.s2-play-icon { font-size: 34px; color: #e8192c; margin-left: 3px; }
.s2-title { color: #fff; font-size: 18px; font-weight: 700; z-index: 2; }
.s2-desc { color: rgba(255,255,255,.4); font-size: 12px; margin-top: 5px; z-index: 2; }

