:root {
  --primary:       linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --primary-solid: #4834d4;
  --accent:        #4834d4;
  --primary-light: #686de0;
  --grad-start:    #4facfe;
  --grad-end:      #00f2fe;
  --bg-app:        #eef2fb;
  --header-h:      65px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', 'Hind Siliguri', sans-serif; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bg-app); min-height: 100vh; overflow-x: clip; margin: 0; padding: 0; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }

/* অ্যাপের নিচের প্যাডিং ৭৫ পিক্সেল রাখা হয়েছে বটম মেন্যুর জন্য */
#app { width: 100%; margin: 0 auto; background: var(--bg-app); min-height: 100vh; min-height: 100dvh; position: relative; padding-top: var(--header-h); padding-bottom: 75px; overflow-x: clip; transition: background 0.3s ease; display: flex; flex-direction: column; }
#app > main { flex: 1 0 auto; width: 100%; }

/* v23.18: হেডারের blur তুলে দেওয়া হয়েছে — এটাই স্ক্রল আটকাচ্ছিল */
.header { position: fixed; top: 0; width: 100%; height: var(--header-h); background: rgba(255,255,255,0.92); transform: translateZ(0); display: flex; justify-content: space-between; align-items: center; padding: 0 max(20px, calc((100vw - 1300px) / 2)); z-index: 1002; box-shadow: 0 4px 24px rgba(72,52,212,0.08); border-bottom: 1px solid rgba(0,0,0,0.06); }
.brand-logo { display: flex; align-items: center; cursor: pointer; }
.login-btn { background: var(--primary); color: white; border: none; padding: 9px 25px; border-radius: 30px; font-weight: 600; font-size: 13px; cursor: pointer; }
.profile-pic { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #0d1b2a; padding: 2px; cursor: pointer; display: none; }

.auth-loading #loginBtn { display: none !important; }
.auth-loading #profileIcon { display: none !important; }
.auth-loading #header-wallet { opacity: 0.5; pointer-events: none; }

.header-wallet-btn { display: flex; align-items: center; background: var(--primary); padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 14px; color: #ffffff; cursor: pointer; box-shadow: 0 4px 14px rgba(79,172,254,0.45); transition: transform 0.2s ease; }
.header-wallet-btn:active { transform: scale(0.95); }
.header-wallet-btn i { margin-right: 6px; font-size: 14px; color: #ffffff; }

.static-notice { background: #ffffff; color: #0f172a; margin: 12px auto 6px; width: min(97%, 1400px); border-radius: 12px; padding: 6px 8px; position: relative; box-shadow: 0 8px 24px rgba(15,23,42,0.10); border: 1px solid #eef2f7; display: flex; align-items: center; gap: 8px; }
.sn-badge { display: inline-flex; align-items: center; gap: 6px; background: #123a6d; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .5px; padding: 5px 9px; border-radius: 8px; flex: 0 0 auto; }
.sn-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.sn-scroll { flex: 1; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.sn-track { display: inline-block; white-space: nowrap; will-change: transform; animation: snScroll 18s linear infinite; font-size: 13px; font-weight: 600; color: #1e293b; }
#static-notice-text-dup { display: none; }
@keyframes snScroll { from { transform: translateX(var(--sn-start, 320px)); } to { transform: translateX(-100%); } }
.sn-close { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: none; background: #123a6d; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; transition: transform .15s ease, background .15s ease; }
.sn-close:active { transform: scale(.92); }
.sn-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sn-header h3 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: 0.5px; }
.sn-header button { background: none; border: none; color: #ffffff; font-size: 20px; cursor: pointer; padding: 0; transition: transform 0.2s; }
.sn-header button:active { transform: scale(0.9); }
#static-notice-text { font-size: 13px; line-height: 1.6; color: #1e293b; font-weight: 600; }

#popup-notice { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
#popup-notice.show { opacity: 1; pointer-events: all; }
.pn-box { position: relative; background: #fff; border-radius: 10px; overflow: hidden; width: 100%; max-width: 400px; box-shadow: 0 25px 60px rgba(0,0,0,0.25); transform: scale(0.9) translateY(20px); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.pn-x-btn { position: absolute; top: 8px; right: 8px; z-index: 5; width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(15,23,42,0.55); color: #fff; font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
.pn-x-btn:hover { background: rgba(15,23,42,0.8); }
#popup-notice.show .pn-box { transform: scale(1) translateY(0); }
.pn-banner-img { width: 100%; display: block; max-height: 220px; object-fit: cover; }
.pn-body { padding: 20px; }
.pn-title { font-size: 17px; font-weight: 800; color: #1a1a2e; margin-bottom: 8px; }
.pn-text { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 18px; }
.pn-close-btn { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--accent), var(--primary-light)); color: white; border: none; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; }

.view { display: none; }
.view.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.slider-wrap { width: 95%; margin: 15px auto 20px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); background: #fff; position: relative; }
.swiper, .mySwiper { width: 100%; aspect-ratio: 3 / 1; height: auto; }
/* v23.25: মোবাইলে ব্যানার আরেকটু উঁচু (5:2) — PC-তে 3:1-ই থাকবে */
@media (max-width: 767px) { .swiper, .mySwiper { aspect-ratio: 5 / 2; } }
.swiper-slide { display: flex; align-items: center; justify-content: center; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.5s ease; background: #f0f2f8; }
.swiper-slide img.loaded { opacity: 1; }
#slider-skeleton { position: absolute; inset: 0; z-index: 5; border-radius: 10px; transition: opacity 0.3s ease; }
.banner-skeleton { width: 100%; height: 100%; border-radius: 10px; background: linear-gradient(110deg,#ececec 8%,#f5f5f5 18%,#ececec 33%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }

.sec-header { text-align: center; margin: 40px 0 20px; position: relative; }
.sec-header h2 { font-size: 22px; font-weight: 800; text-transform: uppercase; color: #2d3436; display: inline-block; padding-bottom: 8px; border-bottom: 3px solid var(--grad-end); letter-spacing: .5px; }
#sections-container { min-height: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 15px; max-width: 1400px; margin: 0 auto; }

.card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e8eaf0; text-align: center; box-shadow: 0 6px 20px rgba(72,52,212,0.08); transition: transform 0.2s; cursor: pointer; }
.card.skeleton { aspect-ratio: 1/1.3; height: auto; }
.card:active { transform: scale(0.96); }
.card-img { width: 100%; aspect-ratio: 1/1; padding: 4px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.card-title { padding: 5px; font-size: 13px; margin-top: -6px; font-weight: 800; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.purchases-wrap { margin: 28px 5px 30px; max-width: 1400px; }
.activity-feed { display: block; }
.recent-card { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); padding: 16px 18px 14px; }
.recent-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; margin-bottom: 8px; border-bottom: 1px solid #f3f6fa; }
.recent-head-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.recent-icon { width: 50px; height: 50px; border-radius: 12px; background: color-mix(in srgb, var(--primary-solid) 12%, #fff); color: var(--primary-solid); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.recent-title { font-size: 19px; font-weight: 800; color: #1e293b; line-height: 1.15; letter-spacing: -0.2px; }
.recent-live { display: flex; align-items: center; gap: 6px; color: #10b981; font-weight: 700; font-size: 13px; margin-top: 3px; }
.recent-live .fa-heart-pulse { font-size: 14px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; display: inline-block; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.16); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); } }
.recent-refresh { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #eef2f7; background: #f6fbff; color: var(--primary-solid); font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.recent-refresh:active { transform: scale(0.94); }
.recent-refresh.spinning i { animation: refreshSpin 0.8s linear; }
@keyframes refreshSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ro-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #f3f6fa; }
.ro-row:first-child { border-top: none; padding-top: 6px; }
.ro-avatar-wrap { position: relative; width: 42px; height: 42px; flex-shrink: 0; }
.ro-letter { width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--primary-solid) 14%, #fff); color: var(--primary-solid); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex-shrink: 0; }
.ro-avatar { position: absolute; inset: 0; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #f8fafc; }
.ro-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.ro-name { font-size: 13.5px; font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.ro-item { font-size: 11.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.ro-empty { text-align: center; padding: 32px 20px; color: #94a3b8; }
.ro-empty i { font-size: 30px; margin-bottom: 10px; display: block; }
.ro-badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.ro-badge.Completed { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.ro-badge.Pending   { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.ro-badge.Cancelled { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.soft-loading { display: flex; align-items: center; justify-content: center; gap: 8px; color: #64748b; font-size: 13px; padding: 24px 10px; }
.mini-spinner { width: 14px; height: 14px; border: 2px solid #dbeafe; border-top-color: var(--primary-solid); border-radius: 50%; display: inline-block; animation: miniSpin 0.7s linear infinite; flex-shrink: 0; }
@keyframes miniSpin { to { transform: rotate(360deg); } }
.card-badge { display: inline-block; max-width: calc(100% - 14px); margin: 1px auto 9px; background: #FFC400; color: #1e293b; font-size: 10.5px; font-weight: 700; line-height: 1.3; padding: 1.5px 9px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.pur-p-badge { display: inline-block; margin-top: 6px; background: #FFC400; color: #1e293b; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pkg-badge { display: inline-block; background: #FFC400; color: #1e293b; font-size: 9.5px; font-weight: 700; line-height: 1.3; padding: 1px 7px; border-radius: 999px; margin: 2px 0; }
.pur-choice-row { display: flex; gap: 10px; margin-bottom: 14px; }
.pur-choice-btn { flex: 1; padding: 11px 10px; border-radius: 10px; border: 2px solid #e2e8f0; background: #fff; font-size: 14px; font-weight: 700; color: #334155; cursor: pointer; }
.pur-choice-btn.active { border-color: var(--primary-solid); color: var(--primary-solid); background: color-mix(in srgb, var(--primary-solid) 8%, #fff); }
#pay-status-bar { position: fixed; top: auto; bottom: calc(86px + env(safe-area-inset-bottom)); left: 12px; right: 12px; z-index: 9998; background: var(--primary); color: #fff; padding: 13px 16px; border-radius: 16px; font-size: 13.5px; font-weight: 600; align-items: center; gap: 10px; box-shadow: 0 12px 30px rgba(79,172,254,0.45); animation: payBarUp .25s ease; }
#pay-status-retry { background: rgba(255,255,255,0.22); color: #fff; border: 1px solid rgba(255,255,255,0.65); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
#pay-status-retry:active { transform: scale(0.96); }
@keyframes payBarUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 769px) { #pay-status-bar { bottom: 24px; left: auto; right: 24px; width: 380px; } }
#pay-status-bar #pay-status-text { flex: 1; min-width: 0; }
#pay-status-bar .mini-spinner { border-color: rgba(255,255,255,0.35); border-top-color: #fff; }
#pay-status-bar.error { background: #991b1b; }
#pay-status-retry { background: #fff; color: #991b1b; border: none; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 12px; cursor: pointer; flex-shrink: 0; }
.custom-confirm-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(15, 23, 42, 0.55); align-items: center; justify-content: center; padding: 20px; }
.custom-confirm-box { background: #fff; border-radius: 16px; padding: 22px; width: 100%; max-width: 380px; box-shadow: 0 20px 50px rgba(15,23,42,0.3); }
.custom-confirm-box h3 { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.custom-confirm-box p { font-size: 14px; color: #334155; line-height: 1.65; white-space: pre-line; }
.custom-confirm-btns { display: flex; gap: 10px; margin-top: 18px; }
#custom-confirm .confirm-btn { flex: 1; padding: 12px; border-radius: 10px; border: none; font-size: 14px; font-weight: 700; cursor: pointer; }
#custom-confirm .confirm-no { background: #f1f5f9; color: #334155; }
#custom-confirm .confirm-yes { background: var(--primary-solid); color: #fff; }
.act-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.act-badge.Completed { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.act-badge.Pending   { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.act-badge.Cancelled { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.act-empty { text-align: center; padding: 40px 20px; color: #94a3b8; background: #fff; border-radius: 16px; border: 1px dashed #cbd5e1; }

.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; color: transparent !important; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* v23.18: Dream-স্টাইল ফুটার — গাঢ় নেভি, ৩ কলাম, নিচে লিংক সারি */
.footer {
  background: #0f0f5c;
  margin-top: 50px;
  padding: 40px 20px 90px;
  margin-bottom: -75px;
  text-align: center;
  width: 100%;
}
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; max-width: 1100px; margin: 0 auto 24px; text-align: left; }
.footer-col h3 { font-size: 15px; font-weight: 800; color: #ffffff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .6px; }
.footer-tag { font-size: 13px; color: #c7c9e8; max-width: 280px; margin: 0 0 14px; line-height: 1.6; font-weight: 500; }
.support-box { display: flex; align-items: center; gap: 12px; background: transparent; border: 1px solid rgba(255,255,255,0.35); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: background 0.2s ease; }
.support-box:hover { background: rgba(255,255,255,0.08); }
.support-box > i { font-size: 22px; color: #fff; background: rgba(255,255,255,0.15); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.support-box b { display: block; color: #fff; font-size: 13px; font-weight: 800; }
.support-box span { font-size: 12px; color: #c7c9e8; }
.social-row { display: flex; justify-content: flex-start; gap: 12px; }
.social-btn { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; transition: 0.3s; background: transparent; border: 1px solid rgba(255,255,255,0.35); }
.social-btn:hover { transform: translateY(-3px); background: rgba(255,255,255,0.12); color: #fff; }
.pay-methods { display: flex; gap: 12px; align-items: center; }
.pay-methods img { height: 36px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px 8px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 1100px; margin: 0 auto 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.footer-links a, .footer-links span { font-size: 13px; color: #c7c9e8; font-weight: 600; text-decoration: none; cursor: pointer; }
.footer-links a:hover, .footer-links span:hover { color: #fff; }
.copyright { font-size: 12px; color: #c7c9e8; letter-spacing: 0.5px; position: relative; z-index: 1; margin-bottom: 5px; font-weight: 500; }
@media (max-width: 768px) {
  .footer { padding: 32px 20px 90px; }
  .footer-top { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-col h3 { text-align: center; }
  .footer-tag { margin: 0 auto 14px; text-align: center; }
  .social-row { justify-content: center; }
  .pay-methods { justify-content: center; }
  .support-box { text-align: left; max-width: 340px; margin: 0 auto; }
  /* v23.18: মোবাইলে Orders/Add Money/Code/Account/Transactions-এ ফুটার দেখাবে না (আগের মতো) */
  #app:has(#myorders-view.active) .footer,
  #app:has(#addmoney-view.active) .footer,
  #app:has(#mycodes-view.active) .footer,
  #app:has(#account-view.active) .footer,
  #app:has(#transactions-view.active) .footer { display: none; }
}
@media (min-width: 769px) {
  .footer { padding-bottom: 30px; }
}

.auth-box { padding: 40px 20px; text-align: center; background: transparent; position: relative; max-width: 500px; margin: 0 auto; }
.auth-icon { font-size: 60px; background: var(--primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 15px; }
.input-wrap { position: relative; margin-bottom: 15px; }
.input-wrap i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.auth-input { width: 100%; padding: 15px 15px 15px 45px; border: 1px solid #e2e8f0; border-radius: 14px; outline: none; background: #f8fafc; font-size: 14px; transition: 0.3s; color: #1e293b; font-weight: 500; }
.auth-input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(72,52,212,0.1); }
.google-btn { width: 100%; padding: 14px; border: 1px solid #e2e8f0; background: white; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; cursor: pointer; margin-bottom: 25px; color: #334155; font-size: 14px; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.primary-btn { background: var(--primary); color: white; border: none; width: 100%; padding: 15px; border-radius: 14px; font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 10px; box-shadow: 0 6px 15px rgba(72,52,212,0.25); transition: transform 0.2s; }

.profile-header { background: white; padding: 30px 20px; text-align: center; border-bottom: 1px solid #f1f5f9; }
.profile-img { width: 110px; height: 110px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.1); object-fit: cover; margin: 0 auto; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }
.stat-card { background: #f8fafc; padding: 20px; border-radius: 16px; border: 1px solid #e2e8f0; }
.stat-num { font-size: 24px; font-weight: 800; color: var(--accent); display: block; }
.option-list { background: white; max-width: 800px; margin: 0 auto; border-radius: 16px; }
.option-item { padding: 18px 20px; border-bottom: 1px solid #f1f5f9; cursor: pointer; display: flex; align-items: center; gap: 15px; font-size: 15px; font-weight: 600; color: #334155; transition: background 0.2s; }
.option-item:hover { background: #f8fafc; }
.option-item i { color: var(--accent); width: 20px; font-size: 18px; }
.option-item.danger { color: #ef4444; }
.option-item.danger i { color: #ef4444; }

.trx-item { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 15px; border-radius: 12px; margin-bottom: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 10px rgba(0,0,0,0.03); max-width: 800px; margin-left: auto; margin-right: auto; }
.trx-label { font-size: 14px; color: #1e293b; font-weight: 700; margin-bottom: 4px; }
.trx-date  { font-size: 11px; color: #64748b; }

.addm-container { max-width: 600px; margin: 0 auto; padding: 30px 20px; }
.pay-item { padding: 15px; border-radius: 14px; border: 1px solid #e2e8f0; text-align: center; cursor: pointer; transition: all 0.2s; background: #f8fafc; color: #64748b; }
.pay-item.active { background: #ffffff; border-width: 2px; border-color: var(--accent); box-shadow: 0 8px 20px rgba(72,52,212,0.1); color: #1e293b; }
.pay-item span { font-size: 13px; font-weight: 800; display: block; margin-top: 6px; }

.page-header-box { padding: 15px; background: #fff; border-bottom: 1px solid #e5e7eb; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.page-header-title { font-size: 18px; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.redeem-btn { background: var(--accent); color: white; padding: 8px 15px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.redeem-btn:active { transform: scale(0.95); }
.orders-grid { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 15px; max-width: 860px; margin: 0 auto; }
.order-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 15px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.order-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.oc-serial { font-size: 12px; font-weight: 800; color: var(--accent); background: #f0f0ff; padding: 2px 8px; border-radius: 20px; flex-shrink: 0; }
.oc-time { font-size: 11px; color: #94a3b8; flex: 1; display: flex; align-items: center; gap: 4px; }
.oc-time i { font-size: 10px; }
.oc-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 30px; font-size: 11px; font-weight: 700; flex-shrink: 0; margin-left: auto; }
.oc-item { font-size: 14px; font-weight: 700; color: #0f172a; }
.oc-badge.Completed { background: #10b981; color: #fff; }
.oc-badge.Pending   { background: #f59e0b; color: #fff; }
.oc-badge.Cancelled { background: #ef4444; color: #fff; }
.item-line { font-size: 14px; margin-bottom: 6px; line-height: 1.5; color: #222; display: flex; gap: 10px; align-items: baseline; }
.item-label { font-weight: 700; color: #000; min-width: 85px; }
.item-val   { font-weight: 500; color: #64748b; flex: 1; }
.st-Completed { color: #16a34a; font-weight: 700; }
.st-Pending   { color: #d97706; font-weight: 700; }
.st-Cancelled { color: #dc2626; font-weight: 700; }
.delivery-code { font-family: monospace; background: #f0fdf4; color: #16a34a; padding: 2px 8px; border-radius: 6px; font-weight: 700; border: 1px solid #bbf7d0; letter-spacing: 0.5px; }
.state-box { text-align: center; padding: 50px 20px; display: none; }
.state-box i { font-size: 50px; color: #cbd5e1; margin-bottom: 15px; }
.state-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 15px; }

#toast-box { position: fixed; top: 20px; width: 100%; z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.toast { width: 90%; max-width: 400px; padding: 12px 16px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 10px; animation: toastIn 0.3s ease forwards; opacity: 0; transform: translateY(-20px); }
.toast.success { background: rgba(16,185,129,0.95); }
.toast.error   { background: rgba(239,68,68,0.95); }
.toast.info    { background: rgba(59,130,246,0.95); }
@keyframes toastIn  { to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------
   সিম্পল ও ডিজিটাল বটম নেভিগেশন (Flat & Clean Design)
--------------------------------------------------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #e2e8f0;
    z-index: 1001;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 4px;
    color: #94a3b8;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
}

/* পজিশন: Add money ঠিক মাঝখানে, বাকিরা দুই পাশে */
.nav-item[data-view="home"]     { order: 1; }
.nav-item[data-view="myorders"] { order: 2; }
.nav-item[data-view="addmoney"] { order: 3; }
.nav-item[data-view="mycodes"]  { order: 4; }
.nav-item[data-view="account"]  { order: 5; }

/* অর্ডার আইকন পরিবর্তন করে সুন্দর শপিং ব্যাগ আইকন দেওয়া হলো */
.nav-item[data-view="myorders"] i::before {
    content: '\f290'; /* FontAwesome 6 Shopping Bag Icon */
}

.nav-item i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: var(--accent);
}

/* অ্যাক্টিভ আইকনটি সুন্দর করে হাইলাইট হবে */
.nav-item.active i {
    transform: translateY(-3px) scale(1.1);
    font-size: 22px;
}
.nav-item.active span {
    font-weight: 800;
}

.pc-nav { display: none; align-items: center; gap: 4px; }
.pc-nav-item { display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer; transition: background 0.18s, color 0.18s; white-space: nowrap; }
.pc-nav-item:hover { background: #f1f5f9; color: #1e293b; }
.pc-nav-item.active { color: var(--grad-start); }

#install-banner { position: fixed; bottom: 90px; width: 100%; z-index: 9998; padding: 0 14px; display: none; max-width: 600px; left: 50%; transform: translateX(-50%); }
#install-banner.show { display: block; animation: slideUpBanner 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes slideUpBanner { from{transform:translate(calc(-50%),120px);opacity:0} to{transform:translate(calc(-50%),0);opacity:1} }
#install-inner { background: #2d1f8a; color: white; border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 40px rgba(45,31,138,0.6); }
.banner-app-icon { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex-shrink: 0; }
.banner-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.banner-text { flex: 1; }
.banner-text strong { display: block; font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.banner-text small { font-size: 12px; opacity: 0.75; }
.banner-install-btn { background: var(--primary); border: none; color: white; padding: 10px 18px; border-radius: 30px; font-weight: 800; font-size: 13px; cursor: pointer; flex-shrink: 0; }
.banner-close-btn { background: rgba(255,255,255,0.1); border: none; color: white; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#ios-hint { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(200px); z-index: 9997; display: none; width: calc(100% - 28px); max-width: 400px; }
#ios-hint.show { display: block; animation: slideUpBanner 0.4s ease forwards; }
#ios-hint-inner { background: white; border-radius: 20px; padding: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.ios-step { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; color: #334155; }

.back-btn { font-size: 18px; color: #333; padding: 8px; cursor: pointer; border-radius: 50%; background: #f5f6fa; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; }
.page-title { font-size: 16px; font-weight: 700; color: #333; text-transform: uppercase; }
.header-profile { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); padding: 1px; cursor: pointer; }

.purchase-container { max-width: 600px; margin: 0 auto; padding: 10px 15px 15px; animation: fadeIn 0.4s ease; }

.product-card { background: #fff; border-radius: 16px; padding: 15px; display: flex; align-items: center; gap: 15px; margin-bottom: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #fff; }
.p-img { width: 75px; height: 75px; border-radius: 12px; object-fit: cover; background: #eee; }
.p-info h2 { font-size: 18px; font-weight: 700; color: #2d3436; margin-bottom: 4px; line-height: 1.2; }
.p-info p { font-size: 12px; color: #636e72; background: #f1f2f6; display: inline-block; padding: 2px 8px; border-radius: 4px; }

.section-box { background: #fff; border-radius: 16px; padding: 20px 15px; margin-bottom: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative; }
.purchase-sec-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px dashed #f1f2f6; }
.sec-icon { width: 28px; height: 28px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.sec-title { font-size: 15px; font-weight: 700; color: #2d3436; text-transform: uppercase; }

/* ---------------------------------------------------
   কমপ্যাক্ট এবং সুন্দর প্যাকেজ বক্স ডিজাইন (Premium Box)
--------------------------------------------------- */
.pkg-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
}
.pkg-grid.pkg-img-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
    .pkg-grid.pkg-img-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .pkg-grid.pkg-img-grid { grid-template-columns: repeat(3, 1fr); }
}

.pkg-item {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 12px; /* হাইট কমানো হয়েছে */
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto; /* অটোমেটিক পারফেক্ট সাইজ */
}

.pkg-item:hover {
    border-color: #cbd5e1;
}

.pkg-item:active {
    transform: scale(0.97);
}

.pkg-item.active {
    border-color: var(--accent);
    background: #f8f9ff;
}

/* প্যাকেজ সিলেক্ট করলে টিকমার্ক আইকন */
.pkg-item.active::after {
    content: '\f058'; /* FontAwesome 6 Solid check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 8px; 
    right: 8px;
    color: var(--accent);
    font-size: 18px;
}

.pkg-dia { font-weight: 700; font-size: 13px; color: #0284c7; margin-top: 2px; }

.pkg-img-grid { gap: 8px; }
.pkg-img-grid .pkg-item.stock-out { opacity: 1; }
.pkg-img-grid .pkg-item.stock-out .pkg-img { opacity: .45; }
.pkg-out-overlay { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(239,68,68,.95); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px; padding: 8px 18px; border-radius: 999px; z-index: 3; box-shadow: 0 2px 10px rgba(0,0,0,.35); white-space: nowrap; }
.pkg-img-grid .pkg-item { background: #ffffff; border: 2px solid #e2e8f0; border-radius: 18px; padding: 0; overflow: hidden; text-align: left; align-items: stretch; justify-content: flex-start; }
.pkg-img-grid .pkg-item.active { border-color: var(--primary-solid); box-shadow: 0 0 0 3px rgba(72,52,212,.35); }
.pkg-img-grid .pkg-item.active .pkg-body { background: #eef2ff; }
.pkg-img-grid .pkg-item.active::after { top: 6px; right: auto; left: 6px; background: #fff; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; box-shadow: 0 1px 6px rgba(0,0,0,.3); z-index: 4; }
.pkg-img-wrap { position: relative; background: #f1f5f9; border-bottom: 2px solid #e2e8f0; line-height: 0; }
.pkg-img-grid .pkg-img { border-radius: 0; margin-bottom: 0; }
.pkg-dia-pill { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; line-height: 1.4; z-index: 2; }
.pkg-item > .pkg-gender, .pkg-item > .pkg-gender-both { position: absolute; top: 6px; right: 6px; z-index: 3; }
.pkg-gender { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; z-index: 2; line-height: 1; }
.pkg-gender-both { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,.95); border: 2px solid #fff; border-radius: 999px; padding: 2px 7px; font-size: 13px; font-weight: 700; line-height: 1; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.pkg-gender-both .sym-male { color: #2563eb; }
.pkg-gender-both .sym-female { color: #ec4899; }
.pkg-gender.male { background: #2563eb; }
.pkg-gender.female { background: #ec4899; }
.pkg-body { padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pkg-img-grid .pkg-name { color: #1e293b; font-size: 10px; font-weight: 700; margin-bottom: 0; line-height: 1.3; }

.oc-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 2px; }

.pkg-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}

.pkg-name { 
    font-size: 13px; 
    font-weight: 600; 
    color: #475569; 
    margin-bottom: 4px; 
    line-height: 1.3; 
}

.pkg-price { 
    font-size: 16px; 
    font-weight: 800; 
    color: var(--accent); 
}

/* Out of Stock এর মডার্ন ডিজাইন — OUT ট্যাগ কার্ডের মাঝখানে overlay (Gift Item-এর মতো) */
.stock-out {
    background: #f8fafc;
    border-color: #e2e8f0;
    opacity: 1;
    pointer-events: none;
}
.pkg-item.stock-out .pkg-name, .pkg-item.stock-out .pkg-price, .pkg-item.stock-out .pkg-badge, .pkg-item.stock-out .pkg-dia { opacity: .45; }

.input-group-item { margin-bottom: 15px; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #b2bec3; }
.form-input { width: 100%; padding: 14px 15px 14px 40px; border: 1px solid #cfd0d1; border-radius: 8px; font-size: 15px; outline: none; background: #fff; transition: 0.3s; color: #333; }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(72,52,212,0.1); }
.input-label { font-size: 14px; color: #333; margin-bottom: 8px; display: block; font-weight: 600; }

.check-uid-btn { background: #0d1117; color: #ffffff; border: 1px solid #30363d; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 5px; transition: 0.2s; }
.check-uid-btn.found { background: #198754; border-color: #198754; }

/* ═══ NEW PAYMENT CARD UI ═══ */
.new-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.new-pay-card { background: #fff; border: 1px solid #dcdde1; border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; display: flex; flex-direction: column; transition: all 0.2s; }
.new-pay-card.active { border-color: #d63031; }
.new-pay-body { padding: 20px 10px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.new-pay-footer { background: #e2e8f0; padding: 8px; text-align: left; font-size: 13px; font-weight: 700; color: #64748b; transition: all 0.2s; }
.new-pay-card.active .new-pay-footer { background: #cbd5e1; color: #334155; }
.check-ribbon { position: absolute; top: 0; left: 0; width: 0; height: 0; border-top: 35px solid #d63031; border-right: 35px solid transparent; display: none; z-index: 2; }
.check-ribbon i { position: absolute; top: -28px; left: 4px; color: #fff; font-size: 12px; }
.new-pay-card.active .check-ribbon { display: block; }

.pay-info-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pay-info-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; }
.pay-info-line i { color: #b2bec3; font-size: 16px; }
.refresh-bal-btn { background: #fff; border: 1px solid #dfe6e9; border-radius: 4px; padding: 4px 8px; cursor: pointer; color: #636e72; transition: 0.2s; outline: none; }
.refresh-bal-btn:active { background: #f1f2f6; }
.fa-spin-fast { animation: fa-spin 0.6s infinite linear; }

/* v23.18: মোবাইলে Total + Confirm আবার নিচে sticky (আগের মতো); PC-তে Payment-এর নিচে সাধারণভাবে */
.bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; width: 100%; max-width: 600px; margin: 0 auto; background: white; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 1003; }
.total-area span { font-size: 12px; color: #636e72; font-weight: 500; }
.total-area b { font-size: 22px; font-weight: 800; color: #2d3436; display: block; }
.confirm-btn { background: linear-gradient(135deg, var(--accent), var(--primary-light)); color: white; border: none; padding: 16px 32px; border-radius: 14px; font-size: 15px; font-weight: 800; cursor: pointer; transition: 0.2s; }
.confirm-btn:active { transform: scale(0.97); }
.confirm-btn.success { background: linear-gradient(135deg, #10b981, #059669); }
.confirm-btn:disabled { opacity: 0.7; cursor: not-allowed; }

@media (min-width: 768px) {
  #app { max-width: 100%; }
  .grid { grid-template-columns: repeat(5, 1fr); }
  .bottom-nav { display: none; }
  .pc-nav { display: flex; }
  #app { padding-bottom: 30px; }
  .slider-wrap { max-width: 1400px; }
  .purchases-wrap { max-width: 1400px; margin-left: auto; margin-right: auto; }
  .orders-grid { grid-template-columns: 1fr 1fr; }
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 15px;
  padding: 20px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  max-width: 800px;
  margin: 0 auto;
}
.support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.support-card i {
  font-size: 32px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.support-card span {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.support-card:hover {
  background: #ffffff;
  border-color: var(--ch-color);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.support-card:hover i {
  transform: scale(1.15);
}

#support-fab {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.fab-sub-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.3s, padding-bottom 0.3s;
  pointer-events: none;
}
.fab-sub-btns.open {
  opacity: 1;
  visibility: visible;
  max-height: 200px;
  padding-bottom: 12px;
  pointer-events: auto;
}

#support-fab-main {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(72,52,212,0.4);
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 10;
  transition: transform 0.3s ease;
  outline: none;
  flex-shrink: 0;
}
#support-fab-main:active { transform: scale(0.93); }
#support-fab-main i {
  color: white;
  font-size: 24px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* v23.18: সাপোর্ট বাটনের অনন্ত পালস বন্ধ — স্ক্রল আটকাতো */
.wa-pulse { display: none; }

.fab-sub-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  color: white;
  font-size: 18px;
  transition: transform 0.2s;
  text-decoration: none;
  outline: none;
  flex-shrink: 0;
}
.fab-sub-btn:hover  { transform: scale(1.12); }
.fab-sub-btn:active { transform: scale(0.92); }
.fab-wa  { background: linear-gradient(135deg, #25D366, #128C7E); }
.fab-tg  { background: linear-gradient(135deg, #2AABEE, #1d8ec7); }
.fab-msg { background: linear-gradient(135deg, #0099FF, #a033ff); }

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

/* v23.15: PC-তে Product পেজ Dream TopUp-এর মতো ২ কলাম —
   বামে প্যাকেজ (Step 1), ডানে Account Info (Step 2) + Payment (Step 3)।
   মোবাইলে আগের মতো এক কলামই থাকবে। */
@media (min-width: 901px) {
  #pur-main.purchase-container { max-width: 1400px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
  #pur-main .product-card { grid-column: 1 / -1; background: linear-gradient(90deg, #ffffff 0%, #eef2ff 100%); border: 1px solid #e0e7ff; }
  /* v23.23: Description আবার পুরো চওড়া — ডান কলাম স্ক্রল হয়ে যায় বলে নিচে আর আটকায় না */
  #pur-main #pur-notice-box, #pur-main #pur-cooldown-banner, #pur-main #pur-desc-box { grid-column: 1 / -1; }
  #pur-main #pur-packages-box { grid-column: 1; }
  /* v23.21: ডান কলাম ডিফল্টে static (সাধারণভাবে স্ক্রল হয়); শুধু pur-sticky থাকলে আটকে থাকবে */
  #pur-main #pur-right-col { grid-column: 2; display: flex; flex-direction: column; gap: 12px; min-width: 0; align-self: start; }
  #pur-main.pur-sticky #pur-right-col { position: sticky; top: calc(var(--header-h) + 12px); }
  /* v23.25: প্যাকেজ অনেক কম হলেও Payment নিচে যাবে না — সবসময় ডানে (few মোড তুলে দেওয়া হয়েছে) */
  /* v23.25: Total + Confirm-ও সবসময় ডান কলামের ভেতরে — নিচে পুরো চওড়া নয় (below মোড তুলে দেওয়া হয়েছে) */
  /* v23.18: PC-তে Total + Confirm Payment-এর নিচে সাধারণভাবে (sticky নয়) */
  #pur-main .bottom-bar { position: static; width: 100%; max-width: none; margin: 0; border-radius: 16px; box-shadow: 0 6px 20px rgba(15,23,42,0.08); border: 1px solid #e8eaf0; padding: 14px 18px; }
  #purchase-view { padding-bottom: 0; }
  #pur-main .section-box { margin-bottom: 0; }
  #pur-main .pkg-grid { grid-template-columns: repeat(3, 1fr); }
  #pur-main .pkg-grid.pkg-img-grid { grid-template-columns: repeat(3, 1fr); }
  #pur-loader { max-width: 1400px !important; }
}

#purchase-view { background: #f0f2f5; padding-top: 0; padding-bottom: 88px; }
/* v23.26: প্রোডাক্ট পেজে ফুটারের উপরের ফাঁকা জায়গা পুরোপুরি তুলে দেওয়া */
#app:has(#purchase-view.active) .footer { margin-top: 0; }
/* v23.26: Description-এর নিচের margin-ও 0 (মোবাইলে 12px থাকত) */
#pur-main #pur-desc-box { margin-bottom: 0; }
.pur-skeleton-card { display: flex; align-items: center; gap: 15px; background: #fff; padding: 15px; border-radius: 16px; margin-bottom: 20px; }

#sections-container:empty { display: none; }
#sections-container { padding-bottom: 0; }
.purchases-wrap { margin-top: 28px; }
@media (min-width: 768px) { .purchases-wrap { margin-top: 44px; } }

.act-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #e2e8f0; }


.home-support-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto 25px auto;
}

.h-supp-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
    overflow: hidden;
    position: relative;
}

/* ওয়েবসাইটের থিম অনুযায়ী কালার (Primary Gradient) */
.h-supp-card.wa-card {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.25);
}

/* ওয়েবসাইটের থিম অনুযায়ী কালার (Accent Gradient) */
.h-supp-card.tg-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    box-shadow: 0 8px 20px rgba(72, 52, 212, 0.25);
}

.h-supp-card:active {
    transform: scale(0.96);
}

.h-supp-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.h-supp-text {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.h-supp-text span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.h-supp-text strong {
    font-size: 15px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
}

/* হালকা শ্যাডো ইফেক্ট */
.h-supp-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .home-support-cards { max-width: 900px; }
    .h-supp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(72, 52, 212, 0.3); }
}

/* Level System CSS */
.level-section { margin: 25px 20px 10px; padding: 0 5px; }
.level-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.level-badge { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; padding: 4px 10px; border-radius: 6px; font-weight: 800; font-size: 12px; box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); }
.next-level-text { font-size: 12px; color: #64748b; font-weight: 700; }
.progress-bg { height: 8px; background: #e2e8f0; border-radius: 10px; overflow: hidden; margin-bottom: 6px; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary-light)); border-radius: 10px; transition: width 0.5s ease-out; }
.level-desc { background: linear-gradient(135deg, rgba(72,52,212,0.05), rgba(72,52,212,0.1)); padding: 8px 15px; border-radius: 20px; font-size: 11px; color: #475569; text-align: center; margin-bottom: 20px; font-weight: 600; border: 1px solid rgba(72,52,212,0.1); }

/* Profile Avatar Level Frames */
.profile-img.level-1-frame { border: 4px solid #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.profile-img.level-2-frame { border: 4px solid var(--lvl2-border, #cd7f32); box-shadow: 0 0 15px var(--lvl2-shadow, rgba(205,127,50,0.6)); }
.profile-img.level-3-frame { border: 4px solid var(--lvl3-border, #c0c0c0); box-shadow: 0 0 15px var(--lvl3-shadow, rgba(192,192,192,0.6)); }
.profile-img.level-4-frame { border: 4px solid var(--lvl4-border, #ffd700); box-shadow: 0 0 15px var(--lvl4-shadow, rgba(255,215,0,0.6)); }
.profile-img.level-5-frame { border: 4px solid var(--lvl5-border, #00f2fe); box-shadow: 0 0 20px var(--lvl5-shadow, rgba(0,242,254,0.8)); }
.profile-img.level-6-frame { border: 4px solid var(--lvl6-border, #f59e0b); box-shadow: 0 0 22px var(--lvl6-shadow, rgba(245,158,11,0.85)); }

.rewards-list { display: flex; flex-direction: column; gap: 6px; }
.reward-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 8px; background: #fff; border: 1px solid #eef1f6; border-radius: 10px; box-shadow: 0 2px 6px rgba(15,23,42,0.05); }
.reward-item:last-child { margin-bottom: 0; }
.reward-item.claimable { border-color: #10b981; box-shadow: 0 4px 14px rgba(16,185,129,0.18); }
.reward-gift { width: 30px; height: 30px; flex: 0 0 30px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(72,52,212,0.08); color: var(--primary); font-size: 13px; }
.reward-item.claimable .reward-gift { background: rgba(16,185,129,0.12); color: #10b981; }
.reward-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.reward-title { font-size: 13px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.reward-req { font-size: 11px; color: #64748b; font-weight: 600; }
.reward-btn { padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; border: none; transition: 0.2s; flex: 0 0 auto; }
.reward-btn.locked { background: transparent; color: #94a3b8; cursor: not-allowed; border: 1px solid #e2e8f0; }
.reward-btn.claim { background: linear-gradient(135deg, #10b981, #059669); color: white; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35); animation: rewardPulse 1.6s ease-in-out infinite; }
.reward-btn.claim:hover { transform: translateY(-2px); }
@keyframes rewardPulse { 0%, 100% { box-shadow: 0 4px 12px rgba(16,185,129,0.35); } 50% { box-shadow: 0 4px 20px rgba(16,185,129,0.6); } }
.reward-btn.claimed { background: rgba(16, 185, 129, 0.1); color: #10b981; cursor: not-allowed; font-weight: 800; }