/* ============================================================
   PROMOTIONS & REAL-TIME LOBBY MODULES DESIGN SYSTEM (v3.5)
   Full mobile responsive styling for:
   1. Ranking Leaderboard
   2. Settings Modal
   3. In-App Mailbox & Notifications
   4. Refer & Earn Win ₹10,000
   5. Free Cash ₹100 Direct to Bank
   6. Award 7-Day Login Streak
   7. Weekly CashBack Loss Shield
   8. Tasks & Daily Game Bonus
   ============================================================ */

/* Generic Promos Modal Window Enhancements */
.ranking-modal-window,
.settings-modal-window,
.inbox-modal-window,
.refer-modal-window,
.freecash-modal-window,
.award-modal-window,
.cashback-modal-window {
  max-width: 520px;
  width: 94%;
  max-height: 88vh;
  overflow-y: auto;
  box-sizing: border-box;
  background: linear-gradient(180deg, #1f0b3d 0%, #110524 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.15);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 215, 0, 0.3) transparent;
}

/* ============================================================
   1. RANKING LEADERBOARD
   ============================================================ */
.ranking-tabs-row {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.ranking-tab-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.ranking-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ranking-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  border-color: #ffd700;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.ranking-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
}

.ranking-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  padding: 8px 12px;
  transition: transform 0.15s ease;
}

.ranking-player-row:hover {
  transform: translateX(3px);
  border-color: rgba(255, 215, 0, 0.4);
}

.ranking-rank-badge {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-heading, sans-serif);
}

.ranking-avatar-wrap img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #ffd700;
  object-fit: cover;
  display: block;
}

.ranking-player-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ranking-player-name {
  font-weight: 800;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-player-game {
  font-size: 11px;
  color: #94a3b8;
}

.ranking-win-box {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.ranking-win-label {
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.ranking-win-val {
  font-family: var(--font-heading, sans-serif);
  font-size: 14px;
  font-weight: 900;
  color: #ffd700;
}

.my-rank-status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1.5px solid #ffd700;
  border-radius: 14px;
  padding: 10px 14px;
  margin-top: 14px;
}

.my-rank-avatar-wrap img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffd700;
  display: block;
}

.my-rank-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.my-rank-label {
  font-size: 10px;
  color: #cbd5e1;
  font-weight: 800;
}

.my-rank-val {
  font-size: 13.5px;
  color: #fff;
  font-weight: 800;
}

.my-rank-winnings {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.my-rank-win-label {
  font-size: 9.5px;
  color: #cbd5e1;
  font-weight: 700;
}

.my-rank-win-val {
  font-family: var(--font-heading, sans-serif);
  font-size: 16px;
  font-weight: 900;
  color: #34d399;
}

/* ============================================================
   2. GAME SETTINGS MODAL
   ============================================================ */
.settings-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.settings-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
}

.setting-text-wrap {
  display: flex;
  flex-direction: column;
}

.setting-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
}

.setting-desc {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.settings-toggle-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  border: 1.5px solid #10b981;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-toggle-btn:hover {
  background: rgba(16, 185, 129, 0.35);
}

.setting-val-badge {
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  font-size: 11.5px;
  font-weight: 800;
}

.setting-val-badge.version {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.settings-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.settings-admin-link {
  display: block;
  text-align: center;
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px dashed #f59e0b;
  color: #fbbf24;
  padding: 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.settings-admin-link:hover {
  background: rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.settings-logout-btn {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-logout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* ============================================================
   3. IN-APP MAILBOX & NOTIFICATIONS
   ============================================================ */
.inbox-messages-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.inbox-msg-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inbox-msg-card.unread {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.08);
}

.inbox-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inbox-msg-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffd700;
}

.inbox-msg-date {
  font-size: 10.5px;
  color: #94a3b8;
}

.inbox-msg-body {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.45;
  margin: 0;
}

.inbox-msg-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

/* ============================================================
   4. REFER & EARN WIN ₹10,000
   ============================================================ */
.refer-hero-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0;
}

.refer-hero-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.refer-hero-info h3 {
  margin: 0 0 4px 0;
  font-size: 13.5px;
  color: #ffd700;
  font-weight: 800;
}

.refer-hero-info p {
  margin: 0;
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.refer-link-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.refer-code-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 215, 0, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #94a3b8;
}

.refer-code-badge b {
  color: #ffd700;
  font-size: 14px;
  letter-spacing: 1px;
}

.refer-input-group {
  display: flex;
  gap: 8px;
}

.refer-input {
  flex: 1;
  background: #170b2c;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  outline: none;
}

.refer-copy-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.refer-social-share-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0;
}

.refer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.refer-social-btn.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.refer-social-btn.telegram {
  background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%);
}

.refer-commission-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10b981;
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a7f3d0;
  font-weight: 700;
}

.rc-amount {
  font-family: var(--font-heading, sans-serif);
  font-size: 18px;
  color: #34d399;
  font-weight: 900;
}

/* ============================================================
   5. FREE CASH ₹100 TO BANK
   ============================================================ */
.freecash-banner {
  text-align: center;
  padding: 8px 4px 12px;
}

.freecash-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

.freecash-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.freecash-desc {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
  max-width: 420px;
  margin: 0 auto;
}

.freecash-meter-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid #ffd700;
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.freecash-meter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fc-meter-label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.fc-meter-amount {
  font-family: var(--font-heading, sans-serif);
  font-size: 24px;
  font-weight: 900;
  color: #ffd700;
}

.freecash-progress-track {
  width: 100%;
  height: 14px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.freecash-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
  border-radius: 7px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.freecash-meter-bottom {
  text-align: center;
  font-size: 12px;
  color: #e2e8f0;
}

.freecash-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.freecash-boost-btn {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: transform 0.15s ease;
}

.freecash-boost-btn:hover {
  transform: translateY(-2px);
}

/* ============================================================
   6. AWARD (7-DAY LOGIN REWARD)
   ============================================================ */
.award-modal-subtitle {
  text-align: center;
  font-size: 12px;
  color: #cbd5e1;
  margin: 6px 0 14px;
}

.award-days-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.award-day-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s ease;
}

.award-day-card.claimed {
  background: rgba(16, 185, 129, 0.12);
  border-color: #10b981;
  opacity: 0.7;
}

.award-day-card.today-active {
  background: rgba(245, 158, 11, 0.18);
  border: 1.5px solid #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  transform: scale(1.04);
}

.adc-badge {
  font-size: 9.5px;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
}

.award-day-card.today-active .adc-badge {
  color: #ffd700;
}

.adc-icon {
  font-size: 22px;
  margin: 2px 0;
}

.adc-amt {
  font-family: var(--font-heading, sans-serif);
  font-size: 14px;
  font-weight: 900;
  color: #ffd700;
}

.adc-type {
  font-size: 9px;
  color: #cbd5e1;
}

/* ============================================================
   7. WEEKLY CASHBACK LOSS SHIELD
   ============================================================ */
.cashback-hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(59, 130, 246, 0.12);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0;
}

.cashback-hero-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.cashback-hero-info h3 {
  margin: 0 0 4px 0;
  font-size: 13.5px;
  color: #60a5fa;
  font-weight: 800;
}

.cashback-hero-info p {
  margin: 0;
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.cashback-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cb-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #cbd5e1;
}

.cb-rebate-val {
  font-family: var(--font-heading, sans-serif);
  font-size: 16px;
  color: #ffd700;
  font-weight: 900;
}

/* ============================================================
   8. MOBILE RESPONSIVE OPTIMIZATIONS (LANDSCAPE & PORTRAIT)
   ============================================================ */
@media screen and (max-height: 560px) and (orientation: landscape) {
  .ranking-modal-window,
  .settings-modal-window,
  .inbox-modal-window,
  .refer-modal-window,
  .freecash-modal-window,
  .award-modal-window,
  .cashback-modal-window {
    max-height: 94vh;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .ranking-list-container {
    max-height: 180px;
  }

  .inbox-messages-container {
    max-height: 200px;
  }

  .refer-hero-banner,
  .cashback-hero-card {
    padding: 8px 10px;
    margin: 8px 0;
  }

  .refer-hero-img,
  .cashback-hero-img,
  .freecash-img {
    width: 42px;
    height: 42px;
  }

  .award-days-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .adc-icon {
    font-size: 18px;
  }

  .freecash-meter-card {
    padding: 8px 12px;
    margin: 8px 0;
  }

  .fc-meter-amount {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .award-days-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .refer-social-share-row {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   RESPONSIVE LUXURY MODAL STYLES (SUPPORT, WEEKLY CARD, FIRST PAY)
   100% Mobile Responsive across Landscape (1024x460) & Portrait
   ============================================================ */

/* Universal Modal Backdrop Enhancement */
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(4, 2, 14, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 10000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

.modal-backdrop.active {
  display: flex !important;
}

/* 1. Support Modal Window */
.support-modal-window,
.weekly-card-window,
.first-pay-window {
  max-width: 520px !important;
  width: 94% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #1f0b3d 0%, #110524 100%) !important;
  border: 1.5px solid rgba(255, 215, 0, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.25) !important;
  padding: 16px 18px 20px !important;
  color: #fff !important;
  text-align: left !important;
  position: relative !important;
}

.support-subtitle {
  font-size: 12px;
  color: #cbd5e1;
  text-align: center;
  margin: 6px 0 14px;
}

.support-channels-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.support-channel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.support-channel-card:hover, .support-channel-card:active {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
  transform: translateY(-1px);
}

.support-channel-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.support-channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.support-channel-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.support-channel-desc {
  font-size: 11px;
  color: #94a3b8;
}

.support-action-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  color: #fff;
}

.support-action-btn.live { background: linear-gradient(135deg, #10b981, #047857); }
.support-action-btn.wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.support-action-btn.tg { background: linear-gradient(135deg, #0088cc, #005f8f); }
.support-action-btn.copy { background: linear-gradient(135deg, #f59e0b, #b45309); }

.support-faq-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.support-faq-hdr {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.support-faq-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.support-faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-q {
  font-size: 11.5px;
  font-weight: 700;
  color: #f1f5f9;
}

.faq-a {
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.4;
}

/* 2. VIP Weekly Card Styles */
.weekly-card-hero {
  text-align: center;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.25) 0%, rgba(20, 5, 35, 0.4) 100%);
  border: 1.5px solid #ffd700;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
  position: relative;
}

.wc-badge-tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.wc-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.wc-crown { font-size: 20px; }
.wc-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 1px;
}

.wc-price-badge {
  font-size: 12px;
  color: #e2e8f0;
  margin-top: 4px;
}

.wc-gold-val {
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
}

.weekly-card-rewards-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.wc-reward-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 8px 12px;
}

.wc-reward-icon { font-size: 20px; flex-shrink: 0; }
.wc-reward-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wc-reward-main {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
}
.wc-reward-sub {
  font-size: 10.5px;
  color: #94a3b8;
}
.wc-reward-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  border-radius: 6px;
}

.wc-total-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
}
.wc-total-val {
  font-size: 13px;
  font-weight: 900;
  color: #34d399;
}

/* 3. First Pay Exclusive Modal Styles */
.fp-hero-banner {
  text-align: center;
  margin-bottom: 12px;
}
.fp-tag {
  display: inline-block;
  background: linear-gradient(90deg, #ec4899, #be185d);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.fp-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
}
.fp-sub {
  font-size: 11px;
  color: #cbd5e1;
  margin: 2px 0 0;
}

.fp-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.fp-package-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fp-package-card.selected {
  background: rgba(245, 158, 11, 0.2);
  border-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: scale(1.02);
}

.fp-pkg-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 10px;
  white-space: nowrap;
}

.fp-pkg-pay {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.fp-pkg-get {
  font-size: 15px;
  font-weight: 900;
  color: #ffd700;
  margin: 2px 0;
}

.fp-pkg-extra {
  font-size: 9.5px;
  font-weight: 800;
  color: #34d399;
  display: block;
}

.fp-security-strip {
  display: flex;
  justify-content: space-around;
  font-size: 10px;
  color: #94a3b8;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   LANDSCAPE & PORTRAIT MOBILE RESPONSIVENESS OVERRIDES
   Ensures perfection on devices with height <= 520px (e.g. 1024x460)
   ============================================================ */
@media screen and (max-height: 520px) and (orientation: landscape) {
  .support-modal-window,
  .weekly-card-window,
  .first-pay-window,
  .dashboard-modal-window,
  .personal-details-window,
  .ranking-modal-window,
  .inbox-modal-window,
  .settings-modal-window,
  .vip-unlock-window,
  .refer-modal-window,
  .freecash-modal-window,
  .award-modal-window,
  .welcome-tasks-window,
  .cashback-modal-window,
  .daily-rewards-window {
    max-height: 94vh !important;
    padding: 10px 14px 14px !important;
    border-radius: 14px !important;
  }

  .support-channels-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .support-channel-card {
    padding: 6px 8px !important;
  }

  .support-channel-icon-wrap {
    width: 30px !important;
    height: 30px !important;
    font-size: 15px !important;
  }

  .support-faq-box {
    padding: 8px 10px !important;
    max-height: 120px !important;
    overflow-y: auto !important;
  }

  .weekly-card-rewards-box {
    gap: 5px !important;
    margin-bottom: 8px !important;
  }

  .wc-reward-item {
    padding: 6px 8px !important;
  }

  .fp-packages-grid {
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & TACTILE ACTIVE FEEDBACK
   ============================================================ */
.v-user-profile-badge,
.v-top-badge-card,
.v-top-icon-btn,
.v-left-badge,
.v-dock-refer-btn,
.v-dock-item,
.v-dock-addcash-btn,
.v-balance-pill,
.v-hero-card,
.v-game-card {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: pointer !important;
}

.v-user-profile-badge:active,
.v-top-badge-card:active,
.v-top-icon-btn:active,
.v-left-badge:active,
.v-dock-refer-btn:active,
.v-dock-item:active,
.v-dock-addcash-btn:active,
.v-balance-pill:active,
.v-hero-card:active,
.v-game-card:active {
  transform: scale(0.93) !important;
  opacity: 0.88 !important;
  transition: transform 0.08s ease, opacity 0.08s ease !important;
}

/* ============================================================
   UNIVERSAL MODAL WINDOW & BACKDROP RESPONSIVENESS (MOBILE READY)
   ============================================================ */
.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(4, 2, 14, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 10000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 12px !important;
}

.modal-backdrop.active {
  display: flex !important;
}

.modal-window,
.dashboard-modal-window,
.ranking-modal-window,
.inbox-modal-window,
.support-modal-window,
.settings-modal-window,
.vip-unlock-window,
.first-pay-window,
.weekly-card-window,
.lucky-wheel-window,
.refer-modal-window,
.freecash-modal-window,
.award-modal-window,
.welcome-tasks-window,
.cashback-modal-window,
.daily-rewards-window {
  max-width: 520px !important;
  width: 94% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  position: relative !important;
  margin: auto !important;
}

.modal-close-x {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 99 !important;
  transition: all 0.15s ease !important;
}

.modal-close-x:active {
  transform: scale(0.9) !important;
  background: rgba(239, 68, 68, 0.7) !important;
}

/* Portrait Mobile Optimization (<= 768px portrait) */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .video-top-bar {
    padding: calc(var(--safe-top, 0px) + 4px) 8px 4px !important;
    height: auto !important;
    min-height: 48px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .v-top-center-badges {
    gap: 6px !important;
  }
  .v-top-badge-card {
    padding: 3px 8px !important;
  }
  .video-left-badges-col {
    width: 52px !important;
    gap: 4px !important;
  }
  .v-left-badge-box {
    width: 48px !important;
    height: 48px !important;
  }
  .video-bottom-dock {
    height: auto !important;
    min-height: 56px !important;
    padding: 4px 8px 6px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .v-dock-center-items {
    gap: 4px !important;
  }
  .v-dock-item-box {
    width: 46px !important;
    height: 46px !important;
  }
}

/* Compact Landscape Mobile Optimization (height <= 520px) */
@media screen and (max-height: 520px) and (orientation: landscape) {
  .video-top-bar {
    height: 42px !important;
    padding: 2px 10px !important;
  }
  .v-avatar-ring {
    width: 32px !important;
    height: 32px !important;
  }
  .v-user-name {
    font-size: 10.5px !important;
    max-width: 80px !important;
  }
  .v-top-badge-card {
    padding: 2px 8px !important;
    height: 28px !important;
  }
  .v-top-badge-hd-icon {
    width: 18px !important;
    height: 18px !important;
  }
  .v-top-badge-hd-txt {
    font-size: 10.5px !important;
  }
  .v-top-icon-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
  .video-left-badges-col {
    width: 54px !important;
    gap: 3px !important;
  }
  .v-left-badge-box {
    width: 50px !important;
    height: 50px !important;
  }
  .v-left-badge-icon {
    width: 26px !important;
    height: 26px !important;
  }
  .v-left-badge-lbl {
    font-size: 8px !important;
  }
  .video-bottom-dock {
    height: 54px !important;
    padding: 2px 10px 4px !important;
  }
  .v-dock-refer-btn {
    height: 44px !important;
    padding: 2px 10px !important;
  }
  .v-dock-refer-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .v-dock-center-items {
    gap: 6px !important;
  }
  .v-dock-item-box {
    width: 48px !important;
    height: 46px !important;
  }
  .v-dock-item-icon {
    width: 26px !important;
    height: 26px !important;
  }
  .v-dock-item-lbl {
    font-size: 8.5px !important;
  }
  .v-dock-addcash-btn {
    height: 44px !important;
    padding: 2px 10px !important;
  }
  .v-dock-addcash-icon {
    width: 38px !important;
    height: 36px !important;
  }
  .v-dock-addcash-title {
    font-size: 13px !important;
  }
}
