/* ===================================================
   FF Diamond Top-Up - Light Theme
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --purple-main: #581c87;
  /* Footer & primary accents */
  --purple-gradient: linear-gradient(135deg, #6b21a8, #c084fc);
  --purple-light: #6b21a8;
  --red-main: #ef4444;
  /* Buttons */
  --red-hover: #dc2626;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;

  --font-main: 'Outfit', sans-serif;
  --radius-md: 4px;
  --radius-lg: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header */
.top-header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  margin-top: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
}

.logo-area img {
  max-height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.logo-area span {
  color: #38bdf8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--purple-main);
}

.btn-nav-outline {
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-dark);
  font-size: 12.5px;
}

.btn-nav-solid {
  background: var(--purple-gradient);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 12.5px;
}

.btn-nav-solid:hover {
  background: var(--purple-light);
}

/* User Profile Badge in Header (Compact & Crisp) */
.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.user-badge:hover {
  background: #e2e8f0;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-bal {
  font-weight: 700;
  font-size: 12px;
  color: var(--purple-main);
  line-height: 1.2;
}

/* Main Content Area */
.main-wrapper {
  flex: 1;
  padding-top: 15px;
  padding-bottom: 40px;
}

/* View Toggles */
.view-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Esports / Gaming Section Title: Left-Aligned with Gradient Accent Pillar & Sleek Fade Line */
.section-title-wrap {
  text-align: left;
  margin: 28px auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  position: relative;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  padding: 0 4px;
}

.section-title-wrap .title-accent-pillar {
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, #9333ea, #6b21a8);
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.45);
}

.section-title {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #1e1b4b;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  background: transparent !important;
}

.section-title-wrap .title-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.6) 0%, rgba(147, 51, 234, 0.15) 60%, transparent 100%);
  border-radius: 2px;
  position: relative;
  margin-left: 6px;
}

.section-title-wrap .title-divider-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #9333ea;
  border-radius: 50%;
  box-shadow: 0 0 8px #9333ea;
}

@media (max-width: 480px) {
  .section-title {
    font-size: 15px;
    letter-spacing: 0.4px;
  }
  .section-title-wrap {
    margin: 20px auto 10px auto;
    gap: 8px;
    padding: 0 2px;
  }
  .section-title-wrap .title-accent-pillar {
    height: 18px;
    width: 3.5px;
  }
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .packages-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
  }
}

.package-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--purple-main);
}

.package-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.package-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cover the square area */
}

.package-info {
  padding: 4px 4px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 28px;
}

.pkg-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  text-transform: uppercase;
}

.pkg-price {
  display: none;
  /* Hidden on card per user design, shown in modal */
}

.pkg-badge {
  position: absolute;
  top: 0;
  left: 0;
  /* Placed top-left usually */
  background: var(--red-main);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-bottom-right-radius: 6px;
  z-index: 2;
}

.pkg-timer-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fbbf24;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 4px;
  text-align: center;
  letter-spacing: 0.2px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Banner Slider */
.home-banner-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 30px;
  position: relative;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: 4px;
  /* Less rounded corners for 'choturbhuj' style */
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.slider-dot {
  width: 14px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 0;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dot.active {
  background: #000;
}

/* Category Quick Switcher Tabs Under Banner */
.topup-cat-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1000px;
  margin: -10px auto 25px auto;
}

.topup-nav-btn {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 4px; /* Lower border-radius */
  padding: 6px 10px; /* Compact top & bottom padding */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Icon strictly on the left side */
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.topup-nav-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 33, 168, 0.3);
  box-shadow: 0 4px 12px rgba(88, 28, 135, 0.08);
}

.topup-nav-btn.active {
  background: linear-gradient(135deg, #6b21a8, #581c87);
  border-color: #581c87;
  box-shadow: 0 4px 14px rgba(88, 28, 135, 0.25);
}

.topup-nav-btn .topup-nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.topup-nav-btn.active .topup-nav-icon {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.topup-nav-btn .topup-nav-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.topup-nav-btn .topup-nav-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
  flex: 1;
}

.topup-nav-btn .sub-label {
  font-size: 10.5px; /* Larger sub-label */
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.topup-nav-btn.active .sub-label {
  color: rgba(255, 255, 255, 0.85);
}

.topup-nav-btn .main-label {
  font-size: 14.5px; /* Larger main-label */
  font-weight: 900;
  color: var(--text-dark);
}

.topup-nav-btn.active .main-label {
  color: #ffffff;
}

@media (max-width: 480px) {
  .topup-cat-nav-grid {
    gap: 6px;
    margin: -12px auto 20px auto;
  }
  .topup-nav-btn {
    padding: 5px 6px; /* Compact vertically */
    gap: 6px;
    border-radius: 4px;
    justify-content: flex-start;
  }
  .topup-nav-btn .topup-nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
  }
  .topup-nav-btn .sub-label {
    font-size: 8.5px;
  }
  .topup-nav-btn .main-label {
    font-size: 12px;
  }
}

/* Auth Pages (Login/Register) */
.auth-container {
  max-width: 400px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: left;
}

.btn-google {
  width: 100%;
  padding: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.2s;
}

.btn-google:hover {
  background: #f8fafc;
}

.auth-divider {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 20px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-light);
}

.auth-divider span {
  padding: 0 10px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  font-family: var(--font-main);
}

.form-control:focus {
  border-color: var(--purple-main);
}

.btn-submit-red {
  width: 100%;
  padding: 14px;
  background: var(--red-main);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 10px;
}

.btn-submit-red:hover {
  background: var(--red-hover);
}

.auth-bottom-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-bottom-link a {
  color: var(--purple-main);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--purple-gradient);
  color: #fff;
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 10px;
  text-align: center;
}

.footer-grid>div:nth-child(3) {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer-grid>div:nth-child(3) {
    grid-column: auto;
  }
}

.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.2s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-apk {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.support-box {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}

.support-box i {
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 20px;
  font-size: 11px;
  opacity: 0.7;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 25px;
  transform: translateY(20px);
  transition: 0.3s;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}

/* Payment Methods */
.pm-grid {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.pm-item {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.pm-item.active {
  border-color: var(--purple-main);
  background: #f3e8ff;
  color: var(--purple-main);
}

.pm-item img {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
  object-fit: contain;
}

/* Dashboard / Profile */
.profile-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.order-list-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 15px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Neo Order Card Styles for My Orders */
.neo-order-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.neo-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-light);
}

.neo-order-id-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.neo-order-icon {
  width: 32px;
  height: 32px;
  background: #fdf2f8;
  /* light pink */
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #db2777;
}

.neo-order-icon svg {
  width: 18px;
  height: 18px;
}

.neo-order-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.badge-completed {
  background: #dcfce7;
  color: #16a34a;
}

.badge-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.badge-pending {
  background: #fef3c7;
  color: #d97706;
}

.neo-order-dates {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px dashed var(--border-light);
}

.neo-date-half {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.neo-date-right {
  padding-left: 20px;
  border-left: 1px solid var(--border-light);
}

.neo-date-icon {
  display: flex;
  color: #8b5cf6;
  /* purple */
}

.neo-date-icon svg {
  width: 20px;
  height: 20px;
}

.neo-date-text {
  display: flex;
  flex-direction: column;
}

.neo-date-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.neo-date-value {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1px;
}

.neo-date-time {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.neo-order-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.neo-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.neo-detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.neo-detail-label svg {
  width: 14px;
  height: 14px;
}

.neo-detail-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
}

.neo-detail-value.package-name {
  text-transform: uppercase;
  font-size: 12px;
}


/* Toast Alerts - স্ক্রিনের একবারে মাঝখানে, সাদা ব্যাকগ্রাউন্ড ও সাইটের কালারের বর্ডার (চতুর্ভুজ সিস্টেম) */
.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 90%;
  max-width: 350px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  color: #0f172a;
  padding: 16px 20px;
  border-radius: 4px;
  border: 1.5px solid var(--purple-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 10px 30px rgba(88, 28, 135, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: toastPopCenter 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastPopCenter {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.toast.error,
.toast.success,
.toast.warning {
  background: #ffffff;
  border: 1.5px solid var(--purple-main);
  color: #0f172a;
}

/* Floating Chat Icon Menu */
.floating-chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.floating-cs-item {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  background: transparent;
}

.floating-cs-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.floating-chat-container.active .floating-cs-item {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-chat-container .floating-cs-item:nth-last-child(2) {
  transition-delay: 0.15s;
}

.floating-chat-container .floating-cs-item:nth-last-child(3) {
  transition-delay: 0.1s;
}

.floating-chat-container .floating-cs-item:nth-last-child(4) {
  transition-delay: 0.05s;
}

.floating-chat {
  position: relative;
  width: 57px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}

.chat-icon.glossy-bg {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 32% 24%, hsla(0, 0%, 100%, .4), transparent 20%),
    linear-gradient(135deg, #a855f7, #6b21a8);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.6), 0 5px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
  position: relative;
  transition: transform 0.2s;
}

.floating-chat:active .chat-icon.glossy-bg {
  transform: scale(0.95);
}

/* Ripple Animation (Subtle Water Wave / Pulse) */
.ripple-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(168, 85, 247, 0.6);
  z-index: 1;
  animation: ripple 2.8s infinite cubic-bezier(0.1, 0.5, 0.3, 1);
}

.ripple-ring.ripple-2 {
  animation-delay: 0.9s;
}

.ripple-ring.ripple-3 {
  animation-delay: 1.8s;
}

@keyframes ripple {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    border-width: 2px;
  }

  100% {
    width: 138%;
    height: 138%;
    opacity: 0;
    border-width: 0.5px;
  }
}

/* Mobile Install Popup */
.mobile-install-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: auto;
  max-width: 400px;
  background: var(--bg-white);
  border-radius: 4px;
  /* Choturbhuj (square-ish) */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  padding: 8px 12px;
  /* Thinner */
  gap: 15px;
  z-index: 100;
}

.btn-install {
  background: var(--purple-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 15px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.btn-close-popup {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* simple mobile nav */
  }

  .header-inner {
    justify-content: space-between;
    height: 55px;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 90;
    justify-content: space-around;
    align-items: flex-end;
    padding: 6px 0 5px 0;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05);
    height: 64px;
  }

  .mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    flex: 1;
    margin-bottom: 4px;
    position: relative;
    gap: 3px;
  }

  .mob-nav-item.active {
    color: var(--purple-main);
  }

  .mob-nav-item svg {
    width: 21px;
    height: 21px;
    margin-bottom: 0;
  }

  .nav-center-item {
    position: relative;
  }

  .nav-center-btn {
    width: 54px;
    height: 54px;
    background: var(--purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(107, 33, 168, 0.38);
    border: 3px solid #fff;
  }

  .nav-center-btn svg {
    margin: 0;
    width: 25px;
    height: 25px;
  }

  .nav-center-item span {
    margin-top: 18px !important;
  }

  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 76px;
  }

  /* Mobile Install Popup next to Chat Icon */
  .mobile-install-popup {
    bottom: 74px;
    left: 10px;
    /* Pushed a bit more left */
    width: calc(100% - 95px);
    /* Space for bigger chat icon */
    padding: 8px 10px;
    gap: 10px;
  }

  /* Adjust floating chat for mobile */
  .floating-chat-container {
    bottom: 74px;
    right: 10px;
  }

  /* Header Button Sizing for Mobile */
  .btn-nav-outline,
  .btn-nav-solid {
    padding: 5px 10px;
    font-size: 11.5px;
  }

  .header-right {
    gap: 8px;
  }

  .logo-area {
    font-size: 17px;
    gap: 7px;
  }

  .logo-area img {
    max-height: 40px !important;
    width: auto !important;
  }

  .logo-area svg {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

/* Authentication State UI Toggles */
body.guest-mode .user-only {
  display: none !important;
}

body:not(.guest-mode) .guest-only {
  display: none !important;
}

body.guest-mode .floating-chat-container {
  display: none !important;
}

@media (max-width: 768px) {
  body.guest-mode .mobile-install-popup {
    width: calc(100% - 20px) !important;
  }
}

body.no-header-nav .top-header,
body.no-header-nav .mobile-bottom-nav,
body.no-header-nav .main-footer,
body.no-header-nav .mobile-install-popup {
  display: none !important;
}

body.no-header-nav {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.no-header-nav .site-footer {
  display: none !important;
}

body.no-header-nav .main-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

body.no-header-nav .floating-chat-container {
  display: none !important;
}

/* Pro Account Styles (Modern Hero Header, Curved Bottom, Floating Rank Journey & Clean Independent Stats) */
.pro-account-hero {
  position: relative;
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #8b5cf6 100%);
  padding: 24px 18px 55px 18px;
  border-radius: 0 0 24px 24px;
  margin: -15px -15px 0 -15px;
  box-shadow: 0 8px 25px rgba(109, 40, 217, 0.25);
  overflow: hidden;
}

.pro-account-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
}

.pro-account-hero-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.pro-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pro-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.pro-info {
  flex: 1;
}

.pro-name {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  margin: 0 0 4px 0;
  position: relative;
  z-index: 1;
}

.pro-id {
  font-size: 12.5px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.pro-rank-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pro-logout {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
}

.pro-logout:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

/* Floating Rank Journey Box (উপরের ব্যাকগ্রাউন্ডের উপর ওভারল্যাপ করা) */
.rank-journey-floating {
  position: relative;
  z-index: 5;
  margin-top: -38px;
  background: #ffffff;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.rank-journey-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rank-progress-wrap {
  position: relative;
  height: 38px;
  margin-bottom: 14px;
}

.rank-progress-wrap::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
}

.rank-progress-bar {
  position: absolute;
  top: 17px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, var(--purple-main));
  border-radius: 2px;
  transition: width 1s ease;
  z-index: 1;
}

.rank-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  padding: 0 10px;
}

.rank-node {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}

.rank-node[data-rank="Bronze"], .rank-node[data-rank="Silver"], .rank-node[data-rank="Gold"], .rank-node[data-rank="Platinum"] {
  margin-top: -2px;
}

.rank-node img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s;
}

.rank-node.reached img {
  filter: none;
  opacity: 1;
}

.rank-node.active img {
  filter: drop-shadow(0 0 6px rgba(139,92,246,0.8));
  opacity: 1;
  z-index: 3;
  position: relative;
}

.rank-node:hover::after {
  content: attr(data-rank);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  pointer-events: none;
  z-index: 10;
}

.rank-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.user-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.info-item {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 2px !important;
  border: 1px solid #cbd5e1 !important;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
}

.info-item:hover {
  border-color: #94a3b8 !important;
}

.info-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 5px;
}

.info-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.rank-list-container { background: #ffffff; border-radius: 2px; border: 1px solid #cbd5e1; padding: 18px; margin-bottom: 15px; }
.rank-list-title { font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.rank-item { display: flex; align-items: center; gap: 15px; position: relative; padding-bottom: 22px; }
.rank-item:last-child { padding-bottom: 0; }
.rank-item::before { content: ''; position: absolute; left: 24px; top: 55px; bottom: -15px; width: 3px; background: #e2e8f0; z-index: 1; border-radius: 1px; }
.rank-item:last-child::before { display: none; }
.rank-icon-wrapper { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; z-index: 2; position: relative; flex-shrink: 0; }
.rank-icon-wrapper img { width: 100%; height: 100%; object-fit: contain; transition: all 0.2s ease; }
.rank-icon-wrapper.unlocked img { filter: none; opacity: 1; }
.rank-icon-wrapper.current img { filter: drop-shadow(0 0 6px rgba(59,130,246,0.5)); opacity: 1; }
.rank-icon-wrapper.locked img { filter: grayscale(100%); opacity: 0.4; }
.rank-item-info { flex: 1; }
.rank-item-name { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.rank-item-req { font-size: 12px; color: #64748b; font-weight: 500; }
.rank-badge { padding: 3px 8px; border-radius: 2px; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.rank-badge.unlocked { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.rank-badge.current { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.rank-badge.locked { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }

/* ===================================================
   DEPOSIT SYSTEM - RECTANGULAR BOX SYSTEM (সাইট থিম অনুযায়ী)
   =================================================== */
.deposit-box-wrapper {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 4px;
}

/* 1. Wallet Balance Header Box (ওয়েবসাইটের ফুটার/মেইন বেগুনি গ্রেডিয়েন্ট কালার) */
.dep-balance-card {
  background: var(--purple-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 22px 20px;
  color: #ffffff;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(107, 33, 168, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dep-balance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
  opacity: 0.6;
}

.dep-balance-info {
  position: relative;
  z-index: 1;
}

.dep-balance-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dep-balance-value {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dep-balance-badge {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 11px;
  color: #f5f3ff;
  font-weight: 700;
}

.dep-history-btn {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dep-history-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* 2. Main Box Card */
.dep-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 24px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.dep-section-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dep-section-title span.badge-num {
  width: 20px;
  height: 20px;
  background: var(--purple-main);
  color: #ffffff;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* Payment Gateway Grid - ৪ কলাম (৩টি ওয়ালেট + ১টি খালি স্লট যাতে ডানে ফাঁকা থাকে) */
.dep-gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.dep-gateway-card {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.dep-gateway-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  background: #f8fafc;
}

.dep-gateway-card.active {
  background: #faf5ff;
  border: 1.5px solid var(--purple-main);
  box-shadow: 0 2px 8px rgba(107, 33, 168, 0.12);
}

.dep-gateway-logo-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: transparent;
  border: none;
  padding: 2px;
}

.dep-gateway-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));
}

.dep-gateway-name {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.dep-gateway-card.active .dep-gateway-name {
  color: var(--purple-main);
}

/* Active Check Indicator */
.dep-check-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  width: 15px;
  height: 15px;
  background: var(--purple-main);
  color: #ffffff;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dep-gateway-card.active .dep-check-badge {
  display: flex;
}

/* Quick Amount Selection Grid (চিকন ১ পিক্সেল বর্ডার) */
.dep-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.dep-amount-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 11px 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.dep-amount-chip:hover {
  background: #faf5ff;
  border-color: var(--purple-main);
  color: var(--purple-main);
  transform: translateY(-1px);
}

.dep-amount-chip:active, .dep-amount-chip.selected {
  background: var(--purple-main);
  border-color: var(--purple-main);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(88, 28, 135, 0.25);
}

/* Amount Input Box (চিকন ১ পিক্সেল বর্ডার) */
.dep-amount-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  transition: all 0.2s ease;
  overflow: hidden;
  margin-bottom: 20px;
}

.dep-amount-input-wrap:focus-within {
  border-color: var(--purple-main);
  box-shadow: 0 0 0 2px rgba(107, 33, 168, 0.1);
}

.dep-currency-box {
  width: 48px;
  height: 48px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #475569;
  flex-shrink: 0;
}

.dep-amount-field {
  width: 100%;
  height: 48px;
  border: none;
  padding: 0 16px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  background: transparent;
  font-family: inherit;
}

.dep-amount-field::placeholder {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}

/* Main Action Button (সাইটের মেইন বেগুনি গ্রেডিয়েন্ট) */
.dep-submit-btn {
  width: 100%;
  background: var(--purple-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 16px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(107, 33, 168, 0.3);
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.dep-submit-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(107, 33, 168, 0.4);
}

.dep-submit-btn:active {
  transform: translateY(0);
}

/* Video Box Card */
.dep-video-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.dep-video-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
}

/* ===================================================
   RECHARGE INSTRUCTIONS - সুন্দর সাইটের থিম কালার
   =================================================== */
.recharge-inst-section {
  margin-top: 15px;
  margin-bottom: 30px;
}

.recharge-inst-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.recharge-inst-title svg.book-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--purple-main);
  stroke-width: 2;
  flex-shrink: 0;
}

.recharge-inst-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.recharge-inst-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recharge-inst-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  font-weight: 500;
}

.recharge-inst-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--purple-main);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* ===================================================
   CONFIRM DEPOSIT VIEW - CRISP SQUARE / RECTANGULAR BOX SYSTEM
   =================================================== */
.dep-confirm-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 14px 40px;
  box-sizing: border-box;
}

/* Square Nav Bar (সাদা ব্যাকগ্রাউন্ড, চতুর্ভুজ ফ্রেম ও পরিচ্ছন্ন হেডার) */
.dep-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dep-nav-back-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.dep-nav-back-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dep-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
}

/* Crisp Rectangular Box (চতুর্ভুজ সিস্টেম) */
.dep-rect-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dep-rect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.dep-rect-method {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dep-rect-logo {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
}

.dep-rect-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.dep-rect-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-main);
  background: rgba(107, 33, 168, 0.08);
  padding: 1px 6px;
  border-radius: 2px;
  display: inline-block;
  margin-top: 3px;
}

.dep-rect-badge {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dep-rect-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf5ff;
  border: 1px solid rgba(107, 33, 168, 0.15);
  border-radius: 4px;
  padding: 12px 14px;
}

.dep-rect-amount-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--purple-main);
}

.dep-rect-amount-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--purple-main);
  letter-spacing: -0.5px;
}

/* Step Label & Description */
.dep-box-step-label {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dep-box-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 10px;
  font-weight: 500;
}

/* Professional Square Number Copy Box (নিখুঁত চতুর্ভুজ ও এক সমান উচ্চতা) */
.dep-copy-rect {
  display: flex;
  align-items: stretch;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  height: 52px;
  box-sizing: border-box;
}

.dep-copy-rect-meta {
  flex: 1;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.dep-copy-rect-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 3px;
}

.dep-copy-rect-num {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  font-family: inherit;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dep-copy-rect-btn {
  background: var(--purple-main);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  user-select: none;
  height: 100%;
  flex-shrink: 0;
}

.dep-copy-rect-btn:hover {
  background: #4a1570;
}

.dep-copy-rect-btn:active {
  background: #3b0764;
}

/* Divider Line */
.dep-rect-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 16px 0;
}

/* Professional Square Input Box */
.dep-input-rect {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  transition: all 0.15s ease;
}

.dep-input-rect:focus-within {
  border-color: var(--purple-main);
  box-shadow: 0 0 0 2px rgba(107, 33, 168, 0.1);
}

.dep-input-rect-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.dep-input-rect-field {
  width: 100%;
  height: 44px;
  border: none;
  padding: 0 14px 0 42px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  text-transform: uppercase;
  background: transparent;
  font-family: inherit;
}

.dep-input-rect-field::placeholder {
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  text-transform: none;
}

.dep-input-rect-hint {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
  font-weight: 500;
}

/* Square Notice Box */
.dep-rect-notice {
  background: #faf5ff;
  border: 1px solid rgba(107, 33, 168, 0.2);
}

.dep-notice-head {
  color: var(--purple-main);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dep-notice-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  font-weight: 500;
}

/* Square Submit Button */
.dep-rect-submit-btn {
  width: 100%;
  background: #94a3b8;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 18px;
  border: none;
  border-radius: 4px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.dep-rect-submit-btn:not(:disabled) {
  background: var(--purple-gradient);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(107, 33, 168, 0.25);
}

.dep-rect-submit-btn:not(:disabled):hover {
  opacity: 0.96;
}

.dep-rect-cancel-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.dep-rect-cancel-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* ==========================================================================
   FFWS RING ROYALE / FREE OFFER WHEEL MODAL STYLES
   ========================================================================== */
/* ==========================================================================
   CIRCULAR LUCKY SPIN WHEEL MODAL STYLES
   ========================================================================== */
.ffws-modal-overlay {
  z-index: 99999;
  background: rgba(10, 15, 29, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  box-sizing: border-box;
}
.ffws-modal-overlay.active {
  display: flex !important;
}

.circular-spin-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 24px;
  padding: 18px 8px;
  color: #fff;
  text-align: center;
  overflow: visible;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Close button (crisp cross button) */
.ffws-close-btn {
  position: absolute;
  top: -8px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 1);
  color: #1e293b;
  width: 40px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.ffws-close-btn:hover {
  background: #ffffff;
  color: #ef4444;
  transform: scale(1.08);
}

/* Lucky Wheel Container (Large & spacious on laptops/desktop, scaled on mobile) */
.lucky-wheel-container {
  position: relative;
  width: 440px;
  height: 440px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vw - 20px);
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* 1. Static Inner Wheel (Text and slices stay completely static and upright) */
.wheel-static-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.wheel-static-inner canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

/* 2. Fixed Outer Border Ring with Bulbs (STAYS 100% FIXED) */
.wheel-fixed-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 15;
  pointer-events: none;
}

.wheel-fixed-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 3D Glass/Crystal Shimmer on the Wheel */
.wheel-static-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 38%, transparent 50%, rgba(255, 255, 255, 0.08) 85%, rgba(255, 255, 255, 0.20) 100%);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.22);
}

/* Glowing Multi-Color 3D Lights on Rim */
.bulb-glow-circle {
  animation: bulbSparkle 1.8s ease-in-out infinite alternate;
}
.bulb-glow-circle:nth-child(2n) {
  animation-delay: 0.3s;
}
.bulb-glow-circle:nth-child(3n) {
  animation-delay: 0.6s;
}
.bulb-glow-circle:nth-child(4n) {
  animation-delay: 0.9s;
}

@keyframes bulbSparkle {
  0% {
    filter: drop-shadow(0 0 2px #fef08a) brightness(1.0);
  }
  50% {
    filter: drop-shadow(0 0 7px #38bdf8) brightness(1.35);
  }
  100% {
    filter: drop-shadow(0 0 8px #f43f5e) brightness(1.4);
  }
}

/* 3. Independent Rotating 3D Needle Pointer (Only this rotates) */
.wheel-rotating-pointer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 30;
  pointer-events: none;
  transform-origin: 50% 50%;
  transition: transform 4.5s cubic-bezier(0.12, 0.95, 0.32, 1.0);
}

.wheel-rotating-pointer svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Center Hub Button with Dark Navy background, white ring, and bold white SPIN text (STAYS STATIC, NOT SPINNING - COMPACT SIZE) */
.wheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  background: radial-gradient(circle at 40% 35%, #2a1f47 0%, #150f28 75%, #0d071a 100%);
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 
    0 3px 10px rgba(0, 0, 0, 0.45),
    0 0 0 1.5px rgba(245, 158, 11, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 45;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.wheel-center-hub:hover {
  filter: brightness(1.15);
  transform: translate(-50%, -50%) scale(1.04);
}

.wheel-center-hub:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.hub-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-spin-text {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Circular Spin Action Button (Gradient Purple to Orange pill) */
.circular-spin-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  margin: 6px auto 8px auto;
}

.circular-btn-spin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  background: linear-gradient(90deg, #9333ea 0%, #db2777 40%, #ea580c 80%, #f97316 100%);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4), 0 2px 8px rgba(147, 51, 234, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.circular-btn-spin:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.55), 0 4px 12px rgba(147, 51, 234, 0.45);
  filter: brightness(1.08);
}

.circular-btn-spin:active {
  transform: translateY(1px);
}

.circular-btn-spin .btn-spin-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
}

.circular-btn-spin .btn-spin-text {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Status note underneath button */
.spin-status-note {
  font-size: 13.5px;
  font-weight: 600;
  color: #fde047;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.spin-status-note i {
  font-size: 13px;
  color: #facc15;
}

@media (max-width: 480px) {
  .lucky-wheel-container {
    width: 360px;
    height: 360px;
  }
  .wheel-center-hub {
    width: 60px;
    height: 60px;
  }
  .hub-spin-text {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .lucky-wheel-container {
    width: 320px;
    height: 320px;
  }
  .wheel-center-hub {
    width: 54px;
    height: 54px;
  }
  .hub-spin-text {
    font-size: 13px;
  }
}

@media (max-width: 350px) {
  .lucky-wheel-container {
    width: 285px;
    height: 285px;
  }
  .wheel-center-hub {
    width: 48px;
    height: 48px;
  }
  .hub-spin-text {
    font-size: 12px;
  }
  .circular-btn-spin {
    padding: 10px 18px;
  }
  .circular-btn-spin .btn-spin-text {
    font-size: 14px;
  }
}
.ffws-spin-btn.btn-cyan .btn-cost-lbl {
  color: #0c4a6e;
}

/* Gold / Yellow Multi Spin Button */
.ffws-spin-btn.btn-gold {
  background: linear-gradient(180deg, #fef08a 0%, #eab308 55%, #ca8a04 100%);
  color: #422006;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.5);
}
.ffws-spin-btn.btn-gold .btn-top-lbl {
  color: #451a03;
}
.ffws-spin-btn.btn-gold .btn-cost-lbl {
  color: #713f12;
}

.ffws-skip-note {
  text-align: center;
  font-size: 11px;
  color: #fbbf24;
  margin-top: 6px;
  font-weight: 600;
  opacity: 0.8;
  cursor: pointer;
}

/* Responsive adjust for smaller screens */
@media (max-width: 480px) {
  .ffws-ring-modal {
    padding: 12px 8px 14px;
  }
  .ffws-main-title {
    font-size: 18px;
  }
  .ffws-stage-container {
    min-height: 290px;
    gap: 4px;
  }
  .ffws-ring-arena {
    height: 290px;
  }
  .ffws-fiery-ring {
    width: 230px;
    height: 230px;
  }
  .ffws-hex-grid {
    width: 250px;
    height: 250px;
  }
  .ffws-hex-slot {
    width: 48px;
    height: 55px;
  }
  .ffws-hex-slot.grand-center {
    width: 58px;
    height: 66px;
  }
  .ffws-bundle-sidebar {
    width: 105px;
  }
  .ffws-bundle-slot {
    height: 42px;
  }
  .ffws-spin-btn {
    min-width: 115px;
    padding: 6px 12px;
  }
}

/* Disabled / Dimmed Offer Styles for day availability restrictions */
.offer-card.offer-disabled {
  opacity: 0.45 !important;
  filter: grayscale(60%) blur(0.2px) !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  user-select: none !important;
}

.offer-card.offer-disabled .offer-radio {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
}



