/* ============================================================
   TEEN PATTI KING ROYALE - LUXURY CASINO DESIGN SYSTEM
   MATCHED EXACTLY TO REFERENCE VIDEO (ROYAL PALACE BLUE FELT)
   ============================================================ */

:root {
  --bg-dark: #0a0717;
  --bg-card: rgba(26, 17, 48, 0.85);
  --bg-card-hover: rgba(43, 27, 80, 0.95);
  
  /* Reference Video: Royal Sapphire Blue Felt with Gold & Wood Rim */
  --felt-blue: radial-gradient(ellipse at center, #1c4b78 0%, #103254 60%, #081d33 100%);
  --felt-border: #8b5a2b;
  --wood-rim: linear-gradient(180deg, #51280d 0%, #341705 50%, #1c0a02 100%);
  
  --gold-primary: #f5b041;
  --gold-metallic: linear-gradient(135deg, #fff3b0 0%, #ffd700 30%, #cca01d 70%, #996515 100%);
  --gold-glow: 0 0 20px rgba(255, 215, 0, 0.45);
  --ruby-red: linear-gradient(180deg, #e53935 0%, #b71c1c 100%);
  --emerald-green: linear-gradient(180deg, #10b981 0%, #047857 100%);
  --steel-grey: linear-gradient(180deg, #4b5563 0%, #1f2937 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #d1c4e9;
  --text-gold: #ffe082;
  --border-gold: rgba(255, 215, 0, 0.35);
  --shadow-lux: 0 12px 36px rgba(0, 0, 0, 0.6);
  --font-heading: 'Cinzel', serif;
  --font-ui: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

/* Global Ultra-Fast Click & Active Micro-Interactions */
button, .btn, .v-game-card, .v-dock-item, .v-top-badge-card, .v-left-badge, .v-badge-chip, .v-filter-tab, .quick-amt-btn, .pay-option-card, .modal-close, .v-round-btn, .chip-btn, [role="button"] {
  touch-action: manipulation;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
  transition: transform 0.08s cubic-bezier(0.2, 0, 0, 1), filter 0.08s ease-out;
}

button:active, .btn:active, .v-game-card:active, .v-dock-item:active, .v-top-badge-card:active, .v-left-badge:active, .v-badge-chip:active, .v-filter-tab:active, .quick-amt-btn:active, .pay-option-card:active, .modal-close:active, .v-round-btn:active, .chip-btn:active {
  transform: scale(0.95) !important;
  filter: brightness(1.15) !important;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(28, 75, 120, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(201, 24, 74, 0.2) 0%, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(10, 7, 23, 0.5); }
::-webkit-scrollbar-thumb { background: rgba(255, 215, 0, 0.3); border-radius: 4px; }

/* ============================================================
   TOP NAVIGATION & HEADER
   ============================================================ */
.app-header {
  display: none !important; /* Replaced by velvet-top-bar */
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 8px) 16px 8px;
  background: rgba(10, 7, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
  object-fit: cover;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #ffb703;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, rgba(30, 20, 60, 0.9) 0%, rgba(15, 10, 30, 0.9) 100%);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 30px;
  padding: 4px 10px 4px 5px;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.2s;
}

.chip-coin-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #533100;
  border: 1px solid #ffe57f;
}

.wallet-val {
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}

.wallet-add-btn {
  background: #10b981;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
}

.hdr-icon-btn {
  background: rgba(40, 25, 75, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--text-gold);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.install-app-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--ruby-red);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(201, 24, 74, 0.4);
}

/* Screen Management - GPU Accelerated 60FPS */
.app-screen {
  display: none;
  width: 100%;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.app-screen.active {
  display: block;
  animation: appScreenFade 0.16s cubic-bezier(0, 0, 0.2, 1);
  will-change: opacity;
}
@keyframes appScreenFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   LOBBY VIEW (HOME)
   ============================================================ */
.lobby-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 14px 40px;
}

/* Quick Mobile Download & Install Banner */
.lobby-download-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(201, 24, 74, 0.9) 0%, rgba(139, 0, 0, 0.9) 50%, rgba(40, 20, 80, 0.9) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.6);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lobby-download-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 215, 0, 0.4);
}
.download-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pulse-icon {
  font-size: 26px;
  animation: bannerPulse 1.8s infinite;
}
@keyframes bannerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.download-banner-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #ffd700;
}
.download-banner-sub {
  font-size: 11px;
  color: #f1f5f9;
  opacity: 0.92;
}
.download-banner-btn {
  background: var(--gold-metallic);
  color: #3b1d00;
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: 12px;
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.user-vip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(38, 20, 70, 0.9) 0%, rgba(20, 10, 40, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lux);
}

.vip-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vip-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
  overflow: hidden;
}

.vip-avatar img { width: 100%; height: 100%; object-fit: cover; }

.vip-details h3 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-badge {
  background: var(--gold-metallic);
  color: #4a2800;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

.vip-level-bar {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-secondary);
}

.progress-track {
  width: 110px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  width: 75%;
  height: 100%;
  background: var(--gold-metallic);
  border-radius: 10px;
}

.lobby-quick-rewards { display: flex; gap: 10px; }
.reward-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(60, 30, 110, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 8px 14px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 76px;
}
.reward-btn:hover {
  background: rgba(90, 45, 160, 0.8);
  border-color: #ffd700;
  transform: translateY(-2px);
}
.reward-btn span.icon { font-size: 20px; }
.reward-btn span.label { font-size: 10px; font-weight: 700; color: var(--text-gold); }

/* Stakes Selection Bar */
.stakes-selector-wrap {
  background: rgba(22, 13, 45, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 22px;
}
.stakes-headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-gold);
  margin-bottom: 12px;
}
.stakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.stake-option-card {
  background: rgba(40, 22, 80, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.stake-option-card.active, .stake-option-card:hover {
  background: rgba(80, 40, 150, 0.85);
  border-color: #ffd700;
  transform: translateY(-2px);
}
.stake-boot-label { font-size: 11px; color: var(--text-secondary); }
.stake-boot-val { font-size: 15px; font-weight: 800; color: #fff; margin: 2px 0; }
.stake-min-val { font-size: 10px; color: #ffd54f; }

/* Featured Games Grid */
.section-headline {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: #ffd700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}
.game-card-banner { width: 100%; height: 150px; object-fit: cover; }
.game-card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 150px;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(13,8,30,0.95) 100%);
}
.game-badge-live {
  position: absolute;
  top: 10px; right: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
}
.game-card-content { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.game-card-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; }
.game-card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.game-play-btn {
  background: var(--gold-metallic);
  color: #3b2000;
  font-weight: 800;
  font-size: 13px;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================================
   TEEN PATTI TABLE VIEW - ROYAL SAPPHIRE BLUE CASINO
   ============================================================ */
.table-screen-container {
  width: 100%;
  min-height: calc(100vh - 60px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 10px 10px;
  background: radial-gradient(circle at center, #0f172a 0%, #030712 100%);
  overflow: hidden;
}

/* Reference Video Top Table Bar */
.table-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  padding: 4px 6px;
}

.table-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-exit-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #5b21b6 0%, #3b0764 100%);
  border: 1.5px solid #a855f7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s;
}
.table-exit-circle-btn:hover { transform: scale(1.06); }

.table-mode-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.table-mode-pill span.round-txt { color: #ffd700; }

.table-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-top-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #581c87 0%, #3b0764 100%);
  border: 1.5px solid #c084fc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

/* 3D Oval Felt Arena */
.casino-arena-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  perspective: 1200px;
}

.poker-table-felt {
  position: relative;
  width: 100%;
  max-width: 920px;
  height: 480px;
  background: var(--felt-blue);
  border-radius: 240px;
  box-shadow: 
    0 0 0 10px #241408,
    0 0 0 18px #4e290f,
    0 0 0 20px #824f1c,
    0 25px 60px rgba(0, 0, 0, 0.9),
    inset 0 0 60px rgba(0, 0, 0, 0.8);
  border: 2px dashed rgba(255, 215, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotateX(6deg);
}

/* Sawtooth Inner Trim Border */
.poker-table-felt::before {
  content: '';
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border-radius: 226px;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* Center Embossed Watermark */
.felt-center-watermark {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: 6px;
  pointer-events: none;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

/* Dealer Station (Top Center) */
.dealer-station {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 25;
}

.dealer-avatar-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.5);
  overflow: hidden;
  background: #110822;
}
.dealer-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Total Pot Display (Reference: Gold Coin + Numeric Value) */
.pot-counter-banner {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 15;
  background: rgba(10, 20, 40, 0.6);
  padding: 3px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.pot-coin-gold {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  color: #4a2800;
}
.pot-total-number {
  font-size: 18px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* Dynamic Physical Chip Piles in Pot */
/* Dynamic Physical Chip Piles in Pot (Stacked 3D Pile) */
.table-chips-pile-arena {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 44px;
  display: block;
  z-index: 14;
  pointer-events: none;
}

.phys-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.2px;
  user-select: none;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
  box-shadow: 
    0 3px 0 rgba(0, 0, 0, 0.75),
    0 5px 12px rgba(0, 0, 0, 0.65),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.7),
    inset 0 -2px 3px rgba(0, 0, 0, 0.5);
  transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px))) rotate(var(--crot, 0deg));
  will-change: transform;
}

.phys-chip::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1.2px dashed rgba(255, 255, 255, 0.75);
  pointer-events: none;
  box-sizing: border-box;
}

.phys-chip.chip-drop-anim {
  animation: chipStackDrop 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes chipStackDrop {
  0% {
    transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px) - 30px)) scale(0.4) rotate(calc(var(--crot, 0deg) + 30deg));
    opacity: 0;
  }
  70% {
    transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px) + 2px)) scale(1.06) rotate(var(--crot, 0deg));
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px))) scale(1) rotate(var(--crot, 0deg));
    opacity: 1;
  }
}

.chip-den-05 { 
  background: radial-gradient(circle at 35% 30%, #f472b6 0%, #d946ef 60%, #86198f 100%); 
  color: #fff; 
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}
.chip-den-1  { 
  background: radial-gradient(circle at 35% 30%, #fb923c 0%, #ea580c 60%, #9a3412 100%); 
  color: #fff; 
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}
.chip-den-2  { 
  background: radial-gradient(circle at 35% 30%, #f87171 0%, #dc2626 60%, #7f1d1d 100%); 
  color: #fff; 
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}
.chip-den-5  { 
  background: radial-gradient(circle at 35% 30%, #fef08a 0%, #eab308 60%, #854d0e 100%); 
  color: #2e1800; 
  text-shadow: 0 1px 1px rgba(255,255,255,0.6); 
  border-color: #fffbeb;
}
.chip-den-10 { 
  background: radial-gradient(circle at 35% 30%, #60a5fa 0%, #2563eb 60%, #1e3a8a 100%); 
  color: #fff; 
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}

/* ============================================================
   5 SEATS LAYOUT & PLAYER BADGES
   ============================================================ */
.seat-slot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}

/* Positions matching Video */
.seat-pos-0 { bottom: 6px; left: 50%; transform: translateX(-50%); z-index: 35; }
.seat-pos-1 { bottom: 85px; left: 24px; }
.seat-pos-2 { top: 65px; left: 50px; }
.seat-pos-3 { top: 65px; right: 50px; }
.seat-pos-4 { bottom: 85px; right: 24px; }

/* Player Avatar & Circular Pie Timer */
.player-avatar-container {
  position: relative;
  width: 58px;
  height: 58px;
  cursor: pointer;
}

.player-avatar-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.4);
  background: #111827;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-avatar-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Reference Video: Circular Pie-Slice Timer Directly Over Avatar */
.pie-timer-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.seat-slot.active-turn .pie-timer-canvas {
  opacity: 0.85;
}

/* Winner Golden Starburst Radiance */
.winner-starburst-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(255, 165, 0, 0.4) 50%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  display: none;
  animation: starburstPulse 1s infinite alternate;
}
@keyframes starburstPulse {
  from { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  to { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

/* Dealer Button "D" */
.dealer-button-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  border: 1.5px solid #fff;
  color: #dc2626;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

/* Seat User Label */
.player-name-label {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Seat Round Bet Badge (Gold Coin + Amount) */
.player-bet-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 1px 8px;
  margin-top: 2px;
}
.player-bet-badge .bet-coin {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold-metallic);
  display: inline-block;
}
.player-bet-badge .bet-val {
  font-size: 11px;
  font-weight: 800;
  color: #ffd700;
}

/* Speech Bubble Status Badges: SEEN, BLIND, PACKED, LOSE */
.status-speech-bubble {
  position: absolute;
  top: -18px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  z-index: 10;
}
.status-speech-bubble.seen {
  background: linear-gradient(135deg, #713f12 0%, #451a03 100%);
  border-color: #facc15;
  color: #fef08a;
}
.status-speech-bubble.blind {
  background: linear-gradient(135deg, #7c2d12 0%, #431407 100%);
  border-color: #fb923c;
  color: #ffedd5;
}
.status-speech-bubble.packed {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  border-color: #38bdf8;
  color: #e0f2fe;
}
.status-speech-bubble.lose {
  background: #1e293b;
  border-color: #94a3b8;
  color: #f1f5f9;
  font-style: italic;
}

/* ============================================================
   FANNED PLAYING CARDS & "SEE" BUTTON ON CARDS
   ============================================================ */
.fanned-cards-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  margin-top: 4px;
}

/* 3-Card Fanned Formations */
.card-fanned-item {
  position: absolute;
  width: 44px;
  height: 64px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  transform-origin: bottom center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

/* Specific angles matching video */
.card-fanned-item:nth-child(1) { transform: translateX(-16px) rotate(-14deg); z-index: 1; }
.card-fanned-item:nth-child(2) { transform: translateX(0px) rotate(0deg); z-index: 2; }
.card-fanned-item:nth-child(3) { transform: translateX(16px) rotate(14deg); z-index: 3; }

/* Large Human Cards */
.seat-pos-0 .fanned-cards-wrap { height: 46px; margin-bottom: 5px; }
.seat-pos-0 .card-fanned-item {
  width: 32px;
  height: 46px;
  border-radius: 4.5px;
}
.seat-pos-0 .card-fanned-item:nth-child(1) { transform: translateX(-13px) rotate(-10deg); }
.seat-pos-0 .card-fanned-item:nth-child(2) { transform: translateX(0px) rotate(0deg); }
.seat-pos-0 .card-fanned-item:nth-child(3) { transform: translateX(13px) rotate(10deg); }

/* Card Face & Ruby Velvet Back */
.card-fanned-item .card-inner-face {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 3px 3px;
  background: linear-gradient(155deg, #ffffff 0%, #faf6ef 55%, #f1e6d4 100%);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
  box-sizing: border-box;
  border-radius: 4px;
}
.card-fanned-item.is-back .card-inner-face {
  background-color: #5c0813;
  background-image: url('../assets/teenpatti/card_back_royal_red.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 215, 0, 0.85);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7), 0 0 6px rgba(234, 179, 8, 0.4);
  border-radius: 4px;
}
.card-fanned-item.packed-dim {
  filter: brightness(0.4) grayscale(0.5);
}

/* Reference Video: Golden "See 👆" Button Placed Directly ON Cards */
.see-cards-overlay-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 50%, #92400e 100%);
  border: 1.5px solid #fef08a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 3.5px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85), 0 0 12px rgba(245, 158, 11, 0.75);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  animation: pulseSeeBtn 1.8s infinite ease-in-out;
}
.see-cards-overlay-btn:hover { transform: translate(-50%, -50%) scale(1.08); }

/* Reference Video: Hand Rank Glowing Ribbon (Color, Sequence, Pair) */
.hand-rank-ribbon {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: #ffd700;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 2px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 215, 0, 0.4);
  white-space: nowrap;
  z-index: 15;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* ============================================================
   BOTTOM ACTION BAR - MATCHED TO VIDEO
   [Pack (Red)] [Side Show/Show (Grey/Gold)] [Balance Pill] [Chaal $X] [Chaal x2 $2X]
   ============================================================ */
.table-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 50;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.action-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-ui);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  padding: 2px 16px;
  transition: all 0.2s;
}
.action-bar-btn:active { transform: scale(0.95); }

/* Pack Button */
.btn-video-pack {
  background: var(--ruby-red);
  color: #fff;
  min-width: 90px;
  font-size: 15px;
}
.btn-video-pack:hover { box-shadow: 0 0 14px rgba(239, 68, 68, 0.6); }

/* Side Show / Show Button */
.btn-video-sideshow {
  background: var(--steel-grey);
  color: #f3f4f6;
  min-width: 100px;
  font-size: 14px;
}
.btn-video-sideshow.is-show-ready {
  background: radial-gradient(circle, #ca8a04 0%, #854d0e 100%);
  border-color: #ffd700;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: showSparkle 1.2s infinite alternate;
}
@keyframes showSparkle {
  from { box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
  to { box-shadow: 0 0 22px rgba(255, 215, 0, 0.9); }
}

/* User Wallet Balance Pill */
.user-table-balance-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 24px;
  padding: 4px 16px 4px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.user-table-balance-pill .coin-circle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-metallic);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #451a03;
}
.user-table-balance-pill .val-number {
  font-size: 16px; font-weight: 900; color: #fff;
}

/* Chaal & Chaal x2 Buttons */
.btn-video-chaal {
  background: var(--emerald-green);
  color: #fff;
  min-width: 95px;
}
.btn-video-chaal .chaal-title { font-size: 13px; text-transform: uppercase; }
.btn-video-chaal .chaal-cost { font-size: 12px; opacity: 0.95; }
.btn-video-chaal:hover { box-shadow: 0 0 16px rgba(16, 185, 129, 0.6); }

.action-bar-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================================
   ROUND START COUNTDOWN & FLOATING WIN/LOSS NUMBERS
   ============================================================ */

/* Red Countdown Banner */
.round-countdown-banner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent 0%, rgba(185, 28, 28, 0.95) 20%, rgba(153, 27, 27, 0.95) 80%, transparent 100%);
  border-top: 1.5px solid #fef08a;
  border-bottom: 1.5px solid #fef08a;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  padding: 8px 60px;
  z-index: 60;
  display: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

/* Floating Win/Loss Numbers */
.floating-score-number {
  position: absolute;
  top: -24px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  z-index: 50;
  pointer-events: none;
  animation: floatScoreUp 1.8s forwards ease-out;
}
@keyframes floatScoreUp {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-40px); opacity: 0; }
}
.floating-score-number.win {
  color: #facc15;
  text-shadow: 0 2px 10px rgba(220, 38, 38, 0.9);
}
.floating-score-number.lose {
  color: #cbd5e1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Interactive Emojis & Flying Gift */
.flying-emoji-element {
  position: absolute;
  font-size: 38px;
  z-index: 100;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM & MOBILE VIEWPORT ADAPTATIONS
   ============================================================ */

/* Tablet & Smaller Desktop Screens (<= 768px) */
@media (max-width: 768px) {
  .lobby-container {
    padding: 10px 10px 30px;
  }
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
  }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  /* Prevent Any Horizontal Overflow */
  body {
    overflow-x: hidden;
  }
  
  .lobby-container {
    padding: 8px 8px 30px;
  }

  /* VIP Card Stacks Cleanly */
  .user-vip-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
  }
  .vip-user-info {
    width: 100%;
    justify-content: flex-start;
  }
  .vip-level-bar {
    flex-wrap: wrap;
    gap: 6px;
  }
  .progress-track {
    width: 80px;
  }
  .lobby-quick-rewards {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .reward-btn {
    min-width: 0;
    width: 100%;
    padding: 7px 10px;
  }

  /* Stakes Grid 2-Column on Mobile */
  .stakes-selector-wrap {
    padding: 12px 10px;
    margin-bottom: 16px;
  }
  .stakes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Games Grid Single Column on Narrow Mobile */
  .games-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Table Container */
  .table-screen-container {
    padding: 4px 6px 8px;
  }

  .poker-table-felt {
    height: 400px;
    border-radius: 150px;
    transform: rotateX(2deg);
  }
  
  .dealer-station { top: -16px; }
  .dealer-avatar-wrap { width: 48px; height: 48px; }
  
  .seat-pos-0 { bottom: -6px; }
  .seat-pos-1 { bottom: 62px; left: 4px; }
  .seat-pos-2 { top: 38px; left: 8px; }
  .seat-pos-3 { top: 38px; right: 8px; }
  .seat-pos-4 { bottom: 62px; right: 4px; }
  
  .player-avatar-container, .pie-timer-canvas { width: 44px; height: 44px; }
  
  .card-fanned-item { width: 34px; height: 50px; }
  .card-fanned-item:nth-child(1) { transform: translateX(-12px) rotate(-14deg); }
  .card-fanned-item:nth-child(3) { transform: translateX(12px) rotate(14deg); }
  
  .seat-pos-0 .fanned-cards-wrap { height: 76px; }
  .seat-pos-0 .card-fanned-item { width: 48px; height: 70px; }
  .seat-pos-0 .card-fanned-item:nth-child(1) { transform: translateX(-18px) rotate(-14deg); }
  .seat-pos-0 .card-fanned-item:nth-child(3) { transform: translateX(18px) rotate(14deg); }

  .hand-rank-ribbon { font-size: 13px; padding: 2px 12px; }
}

/* Portrait Mobile Optimization (< 480px width) */
@media (max-width: 480px) and (orientation: portrait) {
  /* Header Compact */
  .app-header {
  display: none !important; /* Replaced by velvet-top-bar */
    padding: calc(var(--safe-top) + 6px) 8px 6px;
  }
  .brand-logo-img { width: 32px; height: 32px; border-radius: 8px; }
  .brand-title { font-size: 13px; }
  .brand-subtitle { font-size: 8px; letter-spacing: 1px; }
  .wallet-badge { padding: 3px 6px; gap: 4px; }
  .wallet-val { font-size: 11px; }
  .chip-coin-icon { width: 20px; height: 20px; font-size: 10px; }
  .wallet-add-btn { width: 16px; height: 16px; font-size: 11px; }
  .hdr-icon-btn { width: 30px; height: 30px; font-size: 13px; }
  .install-app-btn { padding: 4px 8px; font-size: 10px; }

  /* Lobby Download Banner */
  .lobby-download-banner {
    padding: 8px 10px;
    gap: 8px;
  }
  .download-banner-title { font-size: 11.5px; }
  .download-banner-sub { font-size: 9.5px; }
  .download-banner-btn { padding: 5px 10px; font-size: 10.5px; }

  /* Table Screen in Portrait */
  .table-screen-container {
    min-height: calc(100vh - 54px);
    padding: 2px 4px 6px;
  }
  .poker-table-felt {
    width: 98vw;
    height: 380px;
    max-width: 420px;
    border-radius: 140px;
    margin: auto 0;
  }
  .dealer-station { top: -16px; }
  .dealer-avatar-wrap { width: 42px; height: 42px; }
  
  .pot-counter-banner { top: 15%; padding: 2px 10px; }
  .pot-total-number { font-size: 13px; }
  
  .table-chips-pile-arena { top: 33%; min-height: 28px; }
  .phys-chip { width: 20px; height: 20px; font-size: 8px; }

  .seat-pos-0 { bottom: -6px; }
  .seat-pos-1 { bottom: 62px; left: 2px; }
  .seat-pos-2 { top: 36px; left: 4px; }
  .seat-pos-3 { top: 36px; right: 4px; }
  .seat-pos-4 { bottom: 62px; right: 2px; }
  
  .player-avatar-container, .pie-timer-canvas { width: 40px; height: 40px; }
  .player-avatar-img-wrap { width: 40px; height: 40px; }
  .player-bet-badge { padding: 0 4px; }
  .player-bet-badge .bet-val { font-size: 9px; }

  .card-fanned-item { width: 30px; height: 44px; }
  .card-fanned-item:nth-child(1) { transform: translateX(-10px) rotate(-14deg); }
  .card-fanned-item:nth-child(3) { transform: translateX(10px) rotate(14deg); }

  .seat-pos-0 .fanned-cards-wrap { height: 72px; }
  .seat-pos-0 .card-fanned-item { width: 44px; height: 64px; }
  .seat-pos-0 .card-fanned-item:nth-child(1) { transform: translateX(-15px) rotate(-14deg); }
  .seat-pos-0 .card-fanned-item:nth-child(3) { transform: translateX(15px) rotate(14deg); }

  .see-cards-overlay-btn { font-size: 10px; padding: 3px 8px; }
  .hand-rank-ribbon { font-size: 11px; padding: 1px 10px; bottom: -8px; }

  /* 2-Tier Balanced Bottom Action Bar (Zero Cutoff on 320px-480px Phones) */
  .table-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    width: 100%;
    padding: 0 2px;
  }
  .user-table-balance-pill {
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 2px;
    padding: 2px 14px;
    border-radius: 18px;
  }
  .user-table-balance-pill .coin-circle { width: 20px; height: 20px; font-size: 10px; }
  .user-table-balance-pill .val-number { font-size: 12px; }

  .action-bar-btn {
    width: 100%;
    min-width: 0 !important;
    height: 42px;
    padding: 2px 2px;
    border-radius: 8px;
  }
  .btn-video-pack { font-size: 11px; }
  .btn-video-sideshow { font-size: 10px; }
  .btn-video-chaal .chaal-title { font-size: 10px; }
  .btn-video-chaal .chaal-cost { font-size: 9px; }
}

/* Ultra Narrow Screens (< 360px width) */
@media (max-width: 360px) {
  .brand-subtitle { display: none; }
  .install-btn-text { display: none; }
  .install-app-btn { padding: 4px 6px; }
  .stakes-grid { grid-template-columns: 1fr; }
}

/* Landscape Mobile Mode (Tilt phone, matching reference video 832x384) */
@media (max-height: 520px) and (orientation: landscape) {
  .app-header {
  display: none !important; /* Replaced by velvet-top-bar */
    padding: calc(var(--safe-top) + 2px) 12px 2px;
    height: 38px;
  }
  .brand-logo-img { width: 26px; height: 26px; }
  .brand-title { font-size: 13px; }
  .brand-subtitle { display: none; }
  .wallet-badge { padding: 2px 6px; }
  .chip-coin-icon { width: 18px; height: 18px; font-size: 10px; }
  .wallet-val { font-size: 11px; }
  .hdr-icon-btn { width: 28px; height: 28px; font-size: 12px; }
  .install-app-btn { padding: 3px 8px; font-size: 10px; }

  .table-screen-container {
    min-height: calc(100vh - 38px);
    padding: 2px 8px 4px;
    justify-content: space-between;
  }
  .table-top-bar { padding: 1px 4px; }
  
  .casino-arena-wrap {
    padding: 0;
    margin: 0;
  }
  
  .poker-table-felt {
    width: 96vw;
    height: calc(100vh - 90px);
    max-height: 330px;
    border-radius: 165px;
    transform: rotateX(2deg);
  }
  
  .dealer-station { top: -14px; }
  .dealer-avatar-wrap { width: 38px; height: 38px; }
  
  .pot-counter-banner { top: 12%; padding: 2px 10px; }
  .pot-total-number { font-size: 13px; }
  
  .table-chips-pile-arena { top: 36%; min-height: 32px; }
  .phys-chip { width: 20px; height: 20px; font-size: 8px; }
  
  .seat-pos-0 { bottom: -6px; }
  .seat-pos-1 { bottom: 46px; left: 14px; }
  .seat-pos-2 { top: 24px; left: 28px; }
  .seat-pos-3 { top: 24px; right: 28px; }
  .seat-pos-4 { bottom: 46px; right: 14px; }
  
  .player-avatar-container, .pie-timer-canvas { width: 36px; height: 36px; }
  .player-bet-badge { padding: 0 4px; }
  .player-bet-badge .bet-val { font-size: 9px; }
  
  .card-fanned-item { width: 26px; height: 38px; }
  .seat-pos-0 .fanned-cards-wrap { height: 56px; }
  .seat-pos-0 .card-fanned-item { width: 38px; height: 54px; }
  
  .see-cards-overlay-btn { font-size: 10px; padding: 2px 8px; }
  .hand-rank-ribbon { font-size: 11px; padding: 1px 8px; }
  
  .table-bottom-bar {
    display: flex;
    height: 38px;
    gap: 4px;
    max-width: 860px;
  }
  .action-bar-btn {
    height: 34px;
    padding: 1px 6px;
    min-width: 50px;
    border-radius: 6px;
  }
  .btn-video-pack { font-size: 11px; }
  .btn-video-sideshow { font-size: 10px; min-width: 60px; }
  .btn-video-chaal .chaal-title { font-size: 9px; }
  .btn-video-chaal .chaal-cost { font-size: 8px; }
  
  .user-table-balance-pill { padding: 1px 6px 1px 3px; }
  .user-table-balance-pill .coin-circle { width: 16px; height: 16px; font-size: 8px; }
  .user-table-balance-pill .val-number { font-size: 11px; }
}

/* Download Hub Styling */
.download-hub-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
  text-align: left;
}
.apk-download-big-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-metallic);
  color: #3b1d00;
  font-weight: 900;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.apk-download-big-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7);
}
.ios-guide-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px;
}
.ios-guide-box h4 {
  font-size: 13px;
  color: #38bdf8;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ios-guide-box p {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.5;
}

/* ============================================================
   AUTHENTICATION & REGISTRATION SCREEN (FIRST TIME USER FLOW)
   ============================================================ */
.auth-screen-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
  position: relative;
  background: 
    radial-gradient(circle at 50% 15%, rgba(245, 176, 65, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(201, 24, 74, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.2) 0%, transparent 50%),
    #0a0618;
  overflow-x: hidden;
}

/* Floating Suits Ambient Watermark */
.auth-ambient-suits {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.ambient-suit {
  position: absolute;
  font-size: 80px;
  opacity: 0.04;
  color: #ffd700;
  animation: suitFloat 12s infinite alternate ease-in-out;
}
.ambient-suit:nth-child(1) { top: 10%; left: 8%; animation-delay: 0s; }
.ambient-suit:nth-child(2) { top: 20%; right: 10%; animation-delay: 2s; }
.ambient-suit:nth-child(3) { bottom: 15%; left: 12%; animation-delay: 4s; }
.ambient-suit:nth-child(4) { bottom: 20%; right: 14%; animation-delay: 6s; }

@keyframes suitFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-24px) rotate(15deg); }
}

.auth-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Casino Brand Badge */
.auth-brand-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.auth-logo-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 3px solid #ffd700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), inset 0 0 15px rgba(255, 215, 0, 0.4);
  overflow: hidden;
}
.auth-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-crown-icon {
  position: absolute;
  top: -12px;
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}
.auth-game-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.auth-game-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fbbf24;
  text-transform: uppercase;
}

/* Welcome Signup Bonus Banner */
.auth-bonus-banner {
  width: 100%;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.95) 0%, rgba(185, 28, 28, 0.95) 50%, rgba(127, 29, 29, 0.95) 100%);
  border: 1.5px solid #fef08a;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  animation: bonusGlow 2s infinite alternate;
}
@keyframes bonusGlow {
  0% { box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4); }
  100% { box-shadow: 0 6px 24px rgba(245, 158, 11, 0.7); }
}
.bonus-gift-box {
  font-size: 30px;
  animation: giftBounce 1.5s infinite;
}
@keyframes giftBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.1); }
}
.bonus-banner-text h4 {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
}
.bonus-banner-text h4 span {
  color: #fef08a;
  font-size: 15px;
  text-shadow: 0 0 8px rgba(254, 240, 138, 0.8);
}
.bonus-banner-text p {
  font-size: 11px;
  color: #fecaca;
  margin-top: 1px;
}

/* Auth Card Glass Box */
.auth-card-box {
  width: 100%;
  background: rgba(22, 13, 44, 0.94);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tabs */
.auth-tab-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(10, 5, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.auth-tab-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.auth-tab-btn.active {
  background: var(--gold-metallic);
  color: #3b1d00;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Tab Contents */
.auth-tab-content {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.25s ease;
}
.auth-tab-content.active {
  display: flex;
}

/* Input Fields */
.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.auth-field-label {
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(15, 9, 32, 0.85);
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input-wrapper:focus-within {
  border-color: #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}
.auth-flag-prefix {
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  color: #ffd700;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.auth-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  width: 100%;
}
.auth-input-field::placeholder {
  color: #64748b;
  font-size: 12px;
}
.auth-btn-action-inline {
  background: linear-gradient(180deg, #10b981 0%, #047857 100%);
  color: #fff;
  border: none;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  padding: 0 14px;
  height: 42px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.auth-btn-action-inline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Dice Lucky Name Button */
.auth-dice-btn {
  background: rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.auth-dice-btn:hover {
  background: rgba(139, 92, 246, 0.6);
  color: #fff;
}

/* Avatar Selector */
.auth-avatars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 2px;
}
.auth-avatar-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
}
.auth-avatar-thumb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  position: relative;
  transition: all 0.2s;
  background: #110822;
}
.auth-avatar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-avatar-option.selected .auth-avatar-thumb {
  border: 2.5px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  transform: scale(1.06);
}
.auth-avatar-check {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}
.auth-avatar-option.selected .auth-avatar-check {
  display: flex;
}
.auth-avatar-name {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
}
.auth-avatar-option.selected .auth-avatar-name {
  color: #ffd700;
  font-weight: 800;
}

/* Big Gold Submit Button */
.auth-cta-btn {
  background: var(--gold-metallic);
  color: #3b1d00;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 14px;
  padding: 13px 18px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}
.auth-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7);
}
.auth-cta-btn:active {
  transform: scale(0.98);
}

/* Quick Test Credentials Box */
.auth-test-helper-card {
  background: linear-gradient(135deg, rgba(35, 18, 65, 0.95) 0%, rgba(18, 10, 38, 0.95) 100%);
  border: 1.5px dashed rgba(255, 215, 0, 0.7);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin-bottom: 4px;
}
.auth-test-helper-card:hover {
  border-color: #ffd700;
  background: rgba(50, 25, 95, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}
.test-helper-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffd700;
  text-transform: uppercase;
}
.test-helper-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #e2e8f0;
}
.test-helper-info b {
  color: #4ade80;
  font-family: monospace;
  font-size: 13.5px;
  letter-spacing: 1px;
}
.test-helper-btn {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #fef08a;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  margin-top: 2px;
  transition: all 0.2s;
}
.test-helper-btn:hover {
  background: var(--gold-metallic);
  color: #3b1d00;
  border-color: #ffd700;
}

/* Security Trust Badges */
.auth-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* VIP Logout Button in Lobby */
.vip-logout-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.vip-logout-btn:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #fff;
  border-color: #ef4444;
}

/* Welcome Celebration Modal */
.welcome-celebration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 10px 0;
}
.celebration-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
  overflow: hidden;
}
.celebration-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.celebration-bonus-chip {
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  color: #451a03;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
  border: 2px solid #fff;
}

/* ============================================================
   MODALS SYSTEM (CRITICAL: HIDES MODALS UNTIL ACTIVATED)
   ============================================================ */
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(4, 2, 12, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 1000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  animation: modalFadeIn 0.25s ease;
}
.modal-backdrop.active {
  display: flex !important;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-window {
  background: linear-gradient(135deg, rgba(28, 16, 52, 0.98) 0%, rgba(14, 8, 30, 0.98) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.5);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.25);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 22px 20px 24px;
  position: relative;
  text-align: center;
  animation: modalPopUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalPopUp {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-x {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.modal-close-x:hover {
  background: rgba(239, 68, 68, 0.6);
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

/* ============================================================
   COMPACT MOBILE-RESPONSIVE LEAVE TABLE WARNING MODAL
   ============================================================ */
.leave-warning-window {
  max-width: 440px !important;
  width: 92% !important;
  padding: 12px 18px 14px !important;
  border-radius: 16px !important;
  border: 1.5px solid #ef4444 !important;
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4), 0 0 24px rgba(0, 0, 0, 0.95) !important;
  background: linear-gradient(135deg, rgba(32, 10, 20, 0.98), rgba(16, 6, 12, 0.99)) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.leave-warning-hdr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.leave-warn-icon {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(239, 68, 68, 0.6));
}

.leave-warning-window .modal-title {
  margin: 0;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 15px;
  font-weight: 900;
  color: #ef4444;
  letter-spacing: 0.8px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.leave-warning-desc {
  font-size: 11px;
  color: #fecaca;
  margin: 0;
  line-height: 1.35;
  text-align: center;
}

.leave-stake-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px dashed #ef4444;
  border-radius: 10px;
  padding: 5px 12px;
}

.leave-stake-pill .stake-lbl {
  font-size: 9.5px;
  color: #fca5a5;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.leave-stake-pill .stake-amt {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 18px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  line-height: 1;
}

.leave-stake-pill .stake-tag {
  font-size: 9px;
  color: #f87171;
  font-weight: 700;
}

.leave-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.leave-actions-row .btn-stay-play {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border: 1px solid #34d399;
  border-radius: 10px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s ease;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.leave-actions-row .btn-stay-play:active {
  transform: scale(0.97);
}

.leave-actions-row .btn-forfeit-leave {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid #ef4444;
  border-radius: 10px;
  color: #fca5a5;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 10px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.leave-actions-row .btn-forfeit-leave:active {
  transform: scale(0.97);
}

/* Extra compact scaling on landscape smartphones (height <= 440px) */
@media (max-height: 440px) {
  .leave-warning-window {
    max-width: 420px !important;
    padding: 8px 14px 10px !important;
    gap: 5px !important;
  }
  .leave-warn-icon {
    font-size: 17px;
  }
  .leave-warning-window .modal-title {
    font-size: 13px;
  }
  .leave-warning-desc {
    font-size: 9.5px;
    line-height: 1.25;
  }
  .leave-stake-pill {
    padding: 3px 8px;
    gap: 6px;
  }
  .leave-stake-pill .stake-amt {
    font-size: 15px;
  }
  .leave-actions-row .btn-stay-play,
  .leave-actions-row .btn-forfeit-leave {
    padding: 6px 8px;
    font-size: 10px;
  }
}

/* Lucky Spin Wheel Modal */
.wheel-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 16px auto;
}
.wheel-pointer {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #ffd700;
  z-index: 10;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
}
.wheel-center-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 900;
  color: #451a03;
  cursor: pointer;
  z-index: 12;
  transition: transform 0.2s;
}
.wheel-center-pin:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
#wheelCanvas {
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.8), 0 0 20px rgba(255, 215, 0, 0.3);
}

/* ============================================================
   CASINO MINI-GAMES: DRAGON VS TIGER & ANDAR BAHAR
   ============================================================ */
.minigame-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 14px 40px;
  min-height: calc(100vh - 60px);
}

.minigame-card-arena {
  background: radial-gradient(ellipse at center, #1e1140 0%, #0d061c 100%);
  border: 2px solid rgba(255, 215, 0, 0.45);
  border-radius: 24px;
  padding: 18px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), inset 0 0 35px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

/* Dragon vs Tiger Battlefield */
.dvt-battlefield {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dvt-side {
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  position: relative;
}
.dvt-side.dragon {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.22) 0%, rgba(153, 27, 27, 0.5) 100%);
  border: 2px solid #ef4444;
}
.dvt-side.tiger {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.22) 0%, rgba(29, 78, 216, 0.5) 100%);
  border: 2px solid #3b82f6;
}
.dvt-side:hover, .dvt-side:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}
.dvt-side.winner-side {
  animation: sideWinnerGlow 1s infinite alternate;
  border-color: #ffd700 !important;
}
@keyframes sideWinnerGlow {
  from { box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
  to { box-shadow: 0 0 30px rgba(255, 215, 0, 0.95); }
}

.dvt-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1.5px;
  display: block;
}
.dvt-payout {
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
  display: block;
  margin-bottom: 6px;
}

.dvt-vs-badge {
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  color: #451a03;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.8);
}

.dvt-tie-box {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.4) 100%);
  border: 2px dashed #10b981;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.2s;
}
.dvt-tie-box:hover, .dvt-tie-box:active {
  background: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* Playing Card Component in Mini-Games */
.mini-card-item {
  width: 60px;
  height: 88px;
  background: #ffffff;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85);
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px;
  font-family: var(--font-heading);
  animation: cardFlipPop 0.35s ease;
  user-select: none;
}
@keyframes cardFlipPop {
  0% { transform: scale(0.6) rotateY(90deg); opacity: 0; }
  100% { transform: scale(1) rotateY(0deg); opacity: 1; }
}
.mini-card-top {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}
.mini-card-center {
  font-size: 24px;
  text-align: center;
  line-height: 1;
}
.mini-card-bottom {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 13px;
  font-weight: 900;
  transform: rotate(180deg);
  text-align: left;
}

/* Card Back Pattern in Mini-Games */
.card-back-pattern {
  width: 60px;
  height: 88px;
  border-radius: 7px;
  background-image: url('../assets/card_back.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffd700;
}

/* Chips Selection Tray in Mini-Games */
.chips-tray-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(10, 5, 22, 0.75);
  border-radius: 30px;
  border: 1.5px solid rgba(255, 215, 0, 0.35);
}

.bet-chip {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
  user-select: none;
}
.bet-chip:hover {
  transform: translateY(-2px);
}
.bet-chip.active {
  transform: scale(1.18);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.85);
  border-color: #ffd700;
}

.bet-chip.chip-10   { background: #ea580c; color: #fff; }
.bet-chip.chip-50   { background: #d946ef; color: #fff; }
.bet-chip.chip-100  { background: #2563eb; color: #fff; }
.bet-chip.chip-500  { background: #10b981; color: #fff; }
.bet-chip.chip-1000 { background: var(--gold-metallic); color: #3b1d00; }

/* Road History Beads in Dragon vs Tiger */
.dvt-road-bead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  margin: 0 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  color: #fff;
}
.dvt-road-bead.dragon { background: #ef4444; }
.dvt-road-bead.tiger  { background: #3b82f6; }
.dvt-road-bead.tie    { background: #10b981; }

/* ============================================================
   REAL MONEY WALLET & CASHIER SYSTEM STYLES
   ============================================================ */
.cashier-modal-window {
  max-width: 480px;
  padding: 18px 16px 24px;
}

.cashier-header-banner {
  background: radial-gradient(ellipse at center, rgba(45, 20, 85, 0.95) 0%, rgba(18, 8, 38, 0.98) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.45);
  border-radius: 18px;
  padding: 16px 14px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.cashier-total-block {
  text-align: center;
  margin-bottom: 12px;
}
.cashier-sub-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.cashier-main-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  margin-top: 2px;
}

.cashier-balance-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.bal-pill {
  background: rgba(10, 5, 25, 0.65);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bal-pill.win-pill {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}
.bal-pill.dep-pill {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
}
.bal-pill.bonus-pill {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}
.pill-title {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bal-pill.win-pill .pill-title { color: #34d399; }
.bal-pill.dep-pill .pill-title { color: #60a5fa; }
.bal-pill.bonus-pill .pill-title { color: #fbbf24; }

.pill-val {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
}
.bal-pill.win-pill .pill-val { color: #10b981; }

/* Cashier Navigation Tabs */
.cashier-nav-tabs {
  display: flex;
  background: rgba(20, 10, 40, 0.85);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.cashier-nav-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s;
}
.cashier-nav-tab.active {
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  color: #2b1700;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.cashier-tab-view {
  display: none;
  text-align: left;
}
.cashier-tab-view.active {
  display: block;
  animation: tabFadeIn 0.25s ease;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.deposit-section-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* Deposit Preset Cards */
.deposit-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.deposit-preset-card {
  background: rgba(30, 15, 60, 0.7);
  border: 1.5px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.deposit-preset-card:hover {
  border-color: #ffd700;
  background: rgba(45, 20, 85, 0.85);
}
.deposit-preset-card.selected {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.2) 0%, rgba(184, 134, 11, 0.35) 100%);
  border-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}
.dep-val {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.dep-bonus-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.25);
  padding: 2px 5px;
  border-radius: 6px;
  margin-top: 4px;
}
.dep-bonus-tag.fire {
  color: #fed7aa;
  background: rgba(234, 88, 12, 0.3);
}
.dep-bonus-tag.vip {
  color: #fde047;
  background: rgba(202, 138, 4, 0.35);
}

.custom-deposit-wrap {
  margin-bottom: 12px;
}
.custom-dep-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* Payment Mode Selection */
.pay-methods-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.pay-method-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(25, 12, 50, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.pay-method-pill:hover {
  background: rgba(35, 18, 70, 0.85);
  border-color: rgba(255, 215, 0, 0.3);
}
.pay-method-pill.selected {
  border-color: #ffd700;
  background: rgba(45, 22, 90, 0.9);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.3);
}
.method-icon {
  font-size: 22px;
}
.method-text {
  display: flex;
  flex-direction: column;
}
.m-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.m-sub {
  font-size: 10.5px;
  color: var(--text-secondary);
}

.method-sub-fields {
  margin-bottom: 12px;
  animation: tabFadeIn 0.2s ease;
}
.instant-upi-apps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.upi-app-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #e2e8f0;
}

/* Order Summary */
.deposit-order-summary {
  background: rgba(15, 8, 30, 0.85);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 3px 0;
}
.summary-line.highlight-green {
  color: #10b981;
}
.summary-line.total-line {
  border-top: 1px dashed rgba(255, 215, 0, 0.3);
  margin-top: 5px;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}
.summary-line.total-line b {
  color: #ffd700;
  font-size: 16px;
}

.sec-badge-strip {
  text-align: center;
  font-size: 10px;
  color: #a7f3d0;
  margin-top: 8px;
}

/* WITHDRAW SECTION STYLES */
.withdraw-rule-notice {
  display: flex;
  gap: 10px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  line-height: 1.35;
}
.rule-icon { font-size: 20px; flex-shrink: 0; }
.rule-text { font-size: 11px; color: #fde047; }
.rule-text b { color: #fff; }

.withdrawable-hero-box {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.25) 0%, rgba(6, 78, 59, 0.3) 100%);
  border: 1.5px solid #10b981;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}
.w-hero-sub {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #a7f3d0;
}
.w-hero-val {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #34d399;
  line-height: 1.15;
  margin: 3px 0;
}
.w-hero-status {
  font-size: 10px;
  color: #d1fae5;
  font-weight: 600;
}

.withdraw-error-box {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #fca5a5;
  margin-bottom: 10px;
  line-height: 1.3;
}

.quick-wd-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 12px;
}
.quick-wd-btn {
  background: rgba(30, 15, 60, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #e2e8f0;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.quick-wd-btn:hover {
  background: rgba(45, 20, 85, 0.9);
  border-color: #ffd700;
}
.quick-wd-btn.highlight {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #a7f3d0;
}

.withdraw-method-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.withdraw-method-btn {
  flex: 1;
  background: rgba(30, 15, 60, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.withdraw-method-btn.selected {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.withdraw-cta {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4) !important;
}

/* PASSBOOK STYLES */
.passbook-filters-bar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.passbook-filter-btn {
  background: rgba(30, 15, 60, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.passbook-filter-btn.active {
  background: #ffd700;
  color: #2b1700;
  border-color: #ffd700;
  font-weight: 800;
}

.passbook-list-container {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.passbook-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 11, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}
.passbook-item.win { border-color: rgba(16, 185, 129, 0.3); }
.passbook-item.dep { border-color: rgba(59, 130, 246, 0.3); }
.passbook-item.wd  { border-color: rgba(168, 85, 247, 0.3); }
.passbook-item.bonus { border-color: rgba(245, 158, 11, 0.3); }

.passbook-icon {
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.passbook-info {
  flex: 1;
  min-width: 0;
}
.passbook-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.passbook-date {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.passbook-ref {
  color: #ffd700;
}
.passbook-note {
  font-size: 9.5px;
  color: #94a3b8;
  margin-top: 1px;
}
.passbook-amt-wrap {
  text-align: right;
  flex-shrink: 0;
}
.passbook-amt {
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.15;
}
.passbook-amt.win { color: #10b981; }
.passbook-amt.dep { color: #60a5fa; }
.passbook-amt.wd  { color: #c084fc; }
.passbook-amt.bonus { color: #fbbf24; }

.passbook-status-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.2);
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 3px;
}

/* PROCESSING OVERLAY */
.cashier-processing-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 2, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gateway-processing-card {
  background: linear-gradient(135deg, rgba(30, 16, 56, 0.98) 0%, rgba(14, 8, 30, 0.98) 100%);
  border: 1.5px solid #ffd700;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 16px 50px rgba(0,0,0,0.9), 0 0 30px rgba(255, 215, 0, 0.3);
}
.gateway-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255, 215, 0, 0.2);
  border-top-color: #ffd700;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: gatewaySpin 0.8s linear infinite;
}
@keyframes gatewaySpin {
  to { transform: rotate(360deg); }
}
.gateway-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 6px;
}
.gateway-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}
.gateway-secure-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #a7f3d0;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

/* RECEIPT MODAL */
.receipt-modal-window {
  max-width: 380px;
  padding: 26px 20px;
  text-align: center;
}
.receipt-icon-circle {
  font-size: 42px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(6, 78, 59, 0.6) 100%);
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}
.receipt-headline {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 4px;
}
.receipt-amount-badge {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin: 6px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.receipt-ref-code {
  font-size: 11px;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  padding: 3px 10px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.receipt-desc-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* LOBBY VIP CARD REAL MONEY BUTTONS */
.lobby-cash-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.btn-lobby-action {
  flex: 1;
  padding: 8px 10px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-lobby-action.add-cash {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
}
.btn-lobby-action.withdraw {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(59, 130, 246, 0.4);
}
.btn-lobby-action.passbook {
  background: rgba(45, 25, 80, 0.9);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.35);
}
.btn-lobby-action:hover {
  transform: translateY(-2px);
}

/* ============================================================
   LOGOUT BUTTONS & LOGOUT CONFIRMATION MODAL
   ============================================================ */
.logout-hdr-btn {
  background: rgba(239, 68, 68, 0.22) !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  color: #fca5a5 !important;
}
.logout-hdr-btn:hover, .logout-hdr-btn:active {
  background: rgba(239, 68, 68, 0.5) !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

.vip-logout-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.vip-logout-btn:hover, .vip-logout-btn:active {
  background: rgba(239, 68, 68, 0.45);
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-1px);
}


/* ============================================================
   RED-VELVET AUTHENTIC CASINO SUITE (MATCHED TO SCREENSHOTS)
   ============================================================ */

/* Landscape Casino Shell */
.app-screen.active#screenAuth,
.app-screen.active#screenLobby {
  display: flex !important;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* 1. AUTH SCREEN (LANDSCAPE MATCH) */
#screenAuth {
  background: radial-gradient(circle at center, #2e081a 0%, #17040d 70%, #0a0105 100%);
  position: relative;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-casino-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1060px;
  margin: auto;
  flex-wrap: wrap;
}

/* Left Hero */
.auth-hero-col {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.auth-service-corner {
  position: absolute;
  top: -10px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.2s;
}
.auth-service-corner:hover { transform: scale(1.08); }
.service-icon-headset {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle, #f59e0b, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}
.service-label {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

.auth-classic-emblem {
  width: 260px;
  max-width: 80%;
  margin-top: 20px;
  margin-bottom: 15px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.7));
  animation: floatEmblem 3s ease-in-out infinite alternate;
}

@keyframes floatEmblem {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.auth-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  margin-bottom: 20px;
}

.auth-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fce7f3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.auth-bullet-item .bullet-icon {
  font-size: 15px;
  color: #f59e0b;
}

.auth-trust-badges-img {
  max-width: 380px;
  width: 90%;
  border-radius: 6px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* Right Card */
.auth-card-col {
  width: 100%;
  max-width: 420px;
}

.auth-classic-card {
  background: linear-gradient(165deg, #a80c2e 0%, #75041d 50%, #4a0211 100%);
  border: 3px solid #f59e0b;
  border-radius: 24px;
  padding: 30px 28px 24px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.8), inset 0 0 30px rgba(245, 158, 11, 0.25);
  position: relative;
  text-align: center;
}

.auth-card-header-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  margin-bottom: 22px;
}

.floating-bonus-bubble {
  position: absolute;
  top: 58px;
  right: 25px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: 1px solid #c084fc;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
  animation: pulseBubble 2s infinite alternate;
  z-index: 5;
}

@keyframes pulseBubble {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.classic-phone-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 30px;
  padding: 4px 8px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 18px;
}

.classic-phone-code {
  font-size: 17px;
  font-weight: 800;
  color: #334155;
  padding: 0 14px;
  border-right: 1.5px solid #cbd5e1;
}

.classic-phone-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  padding: 10px 14px;
  background: transparent;
}
.classic-phone-input::placeholder { color: #94a3b8; font-weight: 500; }

.btn-classic-green-login {
  width: 100%;
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 50%, #15803d 100%);
  border: 2px solid #86efac;
  border-radius: 30px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45), inset 0 2px 4px rgba(255,255,255,0.6);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: all 0.2s;
}
.btn-classic-green-login:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.classic-card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent);
  margin: 20px 0 14px;
}

.btn-play-as-guest-link {
  background: none;
  border: none;
  color: #fde047;
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.btn-play-as-guest-link:hover { color: #fff; }

.classic-terms-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #fbcfe8;
  margin-top: 18px;
  cursor: pointer;
}
.classic-terms-label input { accent-color: #f59e0b; width: 14px; height: 14px; }

/* 2. LOBBY SCREEN (RED-VELVET LUXURY MATCH) */
#screenLobby {
  background: #500416 url("../assets/extracted_ui/video_lobby_bg.jpg") center/cover no-repeat;
  position: relative;
  overflow-x: hidden;
  flex-direction: column;
}

/* Red Velvet Top Bar */
.velvet-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 8px) 16px 8px;
  background: linear-gradient(180deg, rgba(30, 2, 8, 0.85) 0%, rgba(30, 2, 8, 0.4) 100%);
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-left-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.velvet-avatar-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  cursor: pointer;
}
.velvet-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.velvet-vip-flag {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: #f59e0b;
  color: #000;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.velvet-user-info {
  display: flex;
  flex-direction: column;
}
.velvet-user-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}
.velvet-user-id {
  font-size: 11px;
  color: #fbcfe8;
  font-weight: 600;
}

.top-bar-center-cash {
  display: flex;
  align-items: center;
  gap: 12px;
}

.velvet-balance-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #63051c 0%, #3a0210 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 20px;
  padding: 4px 14px 4px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  cursor: pointer;
}
.balance-rupee-coin {
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, #fde047, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #000;
  border: 1px solid #fff;
}
.balance-num-text {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.balance-refresh-icon {
  font-size: 12px;
  color: #fde047;
  transition: transform 0.3s;
}
.velvet-balance-pill:hover .balance-refresh-icon { transform: rotate(180deg); }

.velvet-btn-withdraw {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 20px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: all 0.2s;
}
.velvet-btn-withdraw:hover { filter: brightness(1.15); transform: translateY(-1px); }

.top-bar-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.velvet-top-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #831843 0%, #4c0519 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  position: relative;
  transition: all 0.2s;
}
.velvet-top-icon-btn:hover { transform: scale(1.1); border-color: #f59e0b; }
.velvet-notif-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 1.5px solid #fff;
}

/* Quick Floating Badges Row (VIP Card / First Pay) */
.velvet-quick-badges-row {
  display: flex;
  gap: 12px;
  padding: 12px 20px 0;
}
.quick-badge-item {
  cursor: pointer;
  transition: transform 0.2s;
}
.quick-badge-item:hover { transform: scale(1.08); }
.quick-badge-item img { height: 48px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6)); }

/* Central Game Carousel (Exact horizontal scroll row from screenshot) */
.velvet-games-carousel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.velvet-games-carousel::-webkit-scrollbar { height: 4px; }
.velvet-games-carousel::-webkit-scrollbar-thumb { background: rgba(245, 158, 11, 0.4); border-radius: 4px; }

.velvet-game-tile {
  flex: 0 0 auto;
  width: 145px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.velvet-game-tile:hover {
  transform: translateY(-8px) scale(1.04);
  filter: drop-shadow(0 12px 20px rgba(245, 158, 11, 0.4));
}
.velvet-game-tile-img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  border: 2px solid rgba(245, 158, 11, 0.3);
}

.velvet-player-count {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fed7aa;
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Bottom Velvet Dock */
.velvet-bottom-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px calc(var(--safe-bottom) + 8px);
  background: linear-gradient(0deg, rgba(20, 1, 5, 0.95) 0%, rgba(20, 1, 5, 0.5) 100%);
  border-top: 1.5px solid rgba(245, 158, 11, 0.3);
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.dock-left-refer {
  cursor: pointer;
  transition: transform 0.2s;
}
.dock-left-refer:hover { transform: scale(1.08); }
.dock-left-refer img { height: 58px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }

.dock-center-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}
.dock-action-icon {
  cursor: pointer;
  transition: transform 0.2s;
}
.dock-action-icon:hover { transform: translateY(-4px) scale(1.1); }
.dock-action-icon img { height: 50px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); }

.dock-right-addcash {
  cursor: pointer;
  transition: transform 0.2s;
}
.dock-right-addcash:hover { transform: scale(1.08); }
.dock-right-addcash img { height: 62px; filter: drop-shadow(0 6px 15px rgba(245, 158, 11, 0.6)); }

/* 3. 777 SLOTS SCREEN */
#screenSlots {
  background: radial-gradient(circle at center, #3b0764 0%, #1e1b4b 60%, #09090b 100%);
  min-height: 100vh;
  padding: 20px;
  flex-direction: column;
  align-items: center;
}

.slots-machine-container {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(180deg, #581c87 0%, #2e1065 100%);
  border: 4px solid #f59e0b;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), inset 0 0 40px rgba(245, 158, 11, 0.3);
  text-align: center;
  margin: auto;
}

.slots-header-marquee {
  background: #1e1b4b;
  border: 2px solid #a855f7;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 20px;
  color: #fbbf24;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
}

.slots-reels-box {
  display: flex;
  justify-content: center;
  gap: 16px;
  background: #09090b;
  border: 3px solid #f59e0b;
  border-radius: 20px;
  padding: 24px 16px;
  margin-bottom: 24px;
  box-shadow: inset 0 10px 25px rgba(0,0,0,0.8);
}

.slot-reel {
  flex: 1;
  background: linear-gradient(180deg, #18181b 0%, #27272a 50%, #18181b 100%);
  border: 2px solid #52525b;
  border-radius: 14px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 6px 15px rgba(0,0,0,0.9);
}

.slot-symbol {
  font-size: 54px;
  transition: transform 0.2s;
}

.slot-reel.spinning .slot-symbol {
  animation: reelBlur 0.15s linear infinite;
}

@keyframes reelBlur {
  0% { transform: translateY(-50px) scale(0.9); opacity: 0.5; }
  50% { transform: translateY(0) scale(1.1); opacity: 0.9; }
  100% { transform: translateY(50px) scale(0.9); opacity: 0.5; }
}

.slot-bet-options {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.slot-bet-btn {
  background: #3f3f46;
  border: 1.5px solid #71717a;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.slot-bet-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fde047;
  color: #000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.btn-slots-spin {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  border: 3px solid #86efac;
  border-radius: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
  transition: all 0.2s;
}
.btn-slots-spin:hover:not(:disabled) {
  filter: brightness(1.15);
  transform: translateY(-2px);
}
.btn-slots-spin:disabled { opacity: 0.6; cursor: not-allowed; }

@media (orientation: landscape), (max-height: 520px) {
  #screenSlots {
    padding: 8px 16px !important;
    justify-content: center !important;
    overflow-y: auto !important;
  }
  .slots-machine-container {
    padding: 10px 16px !important;
    max-width: 520px !important;
    border-radius: 20px !important;
  }
  .slots-header-marquee {
    padding: 6px !important;
    margin-bottom: 8px !important;
    font-size: 16px !important;
  }
  .slots-reels-box {
    padding: 8px 12px !important;
    margin-bottom: 10px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }
  .slot-reel {
    height: 70px !important;
  }
  .slot-symbol {
    font-size: 36px !important;
  }
  #slotsStatusText {
    margin-bottom: 6px !important;
    font-size: 13px !important;
  }
  .slot-bet-options {
    margin-bottom: 8px !important;
    gap: 6px !important;
  }
  .slot-bet-btn {
    padding: 4px 10px !important;
    font-size: 12px !important;
  }
  .btn-slots-spin {
    padding: 6px 18px !important;
    font-size: 17px !important;
    max-width: 240px !important;
  }
}


/* ============================================================
   MOBILE RESPONSIVENESS OVERRIDES & FULL SCREEN ADAPTATION
   ============================================================ */

/* Hide legacy header everywhere */
.app-header {
  display: none !important;
}

/* Base Velvet Layout */
#screenLobby.active {
  height: 100vh;
  max-height: 100vh;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

/* ------------------------------------------------------------
   MOBILE PORTRAIT (Phone held vertically, width <= 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) and (orientation: portrait), (max-width: 600px) {
  
  /* Top Bar */
  .velvet-top-bar {
    padding: calc(var(--safe-top) + 6px) 8px 6px !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }
  
  .top-bar-left-user {
    gap: 6px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }
  
  .velvet-avatar-wrap {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }
  
  .velvet-user-info {
    min-width: 0 !important;
  }
  
  .velvet-user-name {
    font-size: 11px !important;
    max-width: 65px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  .velvet-user-id {
    font-size: 9px !important;
    white-space: nowrap !important;
  }
  
  .top-bar-center-cash {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  
  .velvet-balance-pill {
    padding: 3px 8px 3px 4px !important;
    gap: 4px !important;
  }
  
  .balance-rupee-coin {
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
  }
  
  .balance-num-text {
    font-size: 13.5px !important;
  }
  
  .balance-refresh-icon {
    font-size: 11px !important;
  }
  
  .velvet-btn-withdraw {
    padding: 5px 10px !important;
    font-size: 11px !important;
    border-radius: 14px !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  
  .top-bar-right-actions {
    gap: 3px !important;
    flex-shrink: 0 !important;
  }
  
  .velvet-top-icon-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
  }
  
  /* Quick Badges */
  .velvet-quick-badges-row {
    padding: 6px 12px 2px !important;
    gap: 10px !important;
  }
  .quick-badge-item img {
    height: 34px !important;
  }
  
  /* Responsive 2-Column Game Grid in Portrait Mode */
  .velvet-games-carousel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 8px 12px 90px !important; /* Space for bottom dock */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 !important;
    align-content: start !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .velvet-game-tile {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .velvet-game-tile-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 155 / 175 !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }
  
  .velvet-player-count {
    font-size: 11px !important;
    margin-top: 4px !important;
  }
  
  /* Fixed Bottom Dock */
  .velvet-bottom-dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background: linear-gradient(0deg, #140207 0%, rgba(20, 2, 7, 0.96) 80%, rgba(20, 2, 7, 0.7) 100%) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1.5px solid rgba(245, 158, 11, 0.4) !important;
    padding: 6px 8px calc(var(--safe-bottom) + 6px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 -8px 25px rgba(0,0,0,0.7) !important;
  }
  
  .dock-left-refer img { height: 44px !important; }
  .dock-center-icons {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    padding: 0 4px !important;
    scrollbar-width: none !important;
  }
  .dock-center-icons::-webkit-scrollbar { display: none !important; }
  .dock-action-icon img { height: 38px !important; }
  .dock-right-addcash img { height: 48px !important; }
  
  /* Auth Screen Portrait */
  #screenAuth {
    padding: 16px 12px !important;
  }
  .auth-casino-layout {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .auth-hero-col {
    max-width: 100% !important;
    min-width: unset !important;
  }
  .auth-classic-emblem {
    width: 190px !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
  }
  .auth-bullet-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }
  .auth-bullet-item {
    font-size: 11px !important;
  }
  .auth-trust-badges-img {
    max-width: 290px !important;
  }
  .auth-card-col {
    max-width: 100% !important;
  }
  .auth-classic-card {
    padding: 22px 18px 16px !important;
    border-radius: 18px !important;
  }
  .floating-bonus-bubble {
    top: 48px !important;
    right: 14px !important;
    font-size: 10px !important;
    padding: 3px 10px !important;
  }
  .btn-classic-green-login {
    font-size: 19px !important;
    padding: 10px !important;
  }
}

/* ------------------------------------------------------------
   LANDSCAPE / DESKTOP (Phone rotated horizontally, width > 600px)
   ------------------------------------------------------------ */
@media (orientation: landscape), (min-width: 769px) {
  .velvet-games-carousel {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 16px 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
  }
  .velvet-game-tile {
    flex: 0 0 auto !important;
    width: 145px !important;
  }
  .velvet-game-tile-img {
    width: 100% !important;
    height: auto !important;
  }
  .velvet-bottom-dock {
    position: sticky !important;
    bottom: 0 !important;
  }
}


/* ============================================================
   STRICT SCREEN SWITCHING (NEXT SCREEN FULLSCREEN REPLACEMENT)
   ============================================================ */
.app-screen {
  display: none !important;
  width: 100% !important;
}

.app-screen.active {
  display: block !important;
}

#screenLanding.active {
  display: flex !important;
}

#screenAuth.active,
#screenLobby.active,
#screenSlots.active,
#screenAndarBahar.active {
  display: flex !important;
}


/* ============================================================
   AUTHENTIC HORIZONTAL / LANDSCAPE CASINO EXPERIENCE
   (LOCKED 1:1 TO REFERENCE SCREENSHOTS)
   ============================================================ */
@media (orientation: landscape), (min-width: 600px) {
  #screenLobby.active {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .velvet-top-bar {
    padding: 6px 16px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .top-bar-left-user {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .velvet-avatar-wrap {
    width: 44px !important;
    height: 44px !important;
  }

  .velvet-user-name {
    font-size: 13px !important;
    max-width: 120px !important;
  }

  .velvet-user-id {
    font-size: 11px !important;
  }

  .top-bar-center-cash {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .velvet-balance-pill {
    padding: 4px 14px 4px 6px !important;
    gap: 8px !important;
  }

  .balance-rupee-coin {
    width: 24px !important;
    height: 24px !important;
    font-size: 13px !important;
  }

  .balance-num-text {
    font-size: 16px !important;
  }

  .velvet-btn-withdraw {
    padding: 6px 16px !important;
    font-size: 12px !important;
  }

  .top-bar-right-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .velvet-top-icon-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }

  .velvet-quick-badges-row {
    padding: 4px 20px 0 !important;
    gap: 12px !important;
    display: flex !important;
  }

  .quick-badge-item img {
    height: 44px !important;
  }

  /* Single row horizontal games carousel */
  .velvet-games-carousel {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 4px 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    flex: 1 !important;
  }

  .velvet-game-tile {
    flex: 0 0 auto !important;
    width: 142px !important;
  }

  .velvet-game-tile-img {
    width: 100% !important;
    height: auto !important;
  }

  /* Bottom Dock in Landscape */
  .velvet-bottom-dock {
    position: sticky !important;
    bottom: 0 !important;
    padding: 4px 16px calc(var(--safe-bottom) + 4px) !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .dock-left-refer img { height: 48px !important; }
  .dock-action-icon img { height: 42px !important; }
  .dock-right-addcash img { height: 52px !important; }

  /* Login Screen in Landscape (1:1 with Screenshot 1) */
  #screenAuth.active {
    height: 100vh !important;
    overflow: hidden !important;
    padding: 12px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .auth-casino-layout {
    flex-direction: row !important;
    gap: 36px !important;
    max-width: 980px !important;
    align-items: center !important;
  }

  .auth-hero-col {
    max-width: 440px !important;
  }

  .auth-classic-emblem {
    width: 220px !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
  }

  .auth-bullet-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin-bottom: 12px !important;
  }

  .auth-bullet-item {
    font-size: 12.5px !important;
  }

  .auth-trust-badges-img {
    max-width: 340px !important;
  }

  .auth-card-col {
    max-width: 380px !important;
  }

  .auth-classic-card {
    padding: 22px 24px 18px !important;
    border-radius: 20px !important;
  }
}


/* ============================================================
   AUTHENTIC VIDEO PARITY STYLES: MODALS, CHAT, ANIMATIONS
   ============================================================ */

/* 1. PERSONAL DETAILS MODAL (FRAME 030) */
.personal-details-window {
  max-width: 540px !important;
  background: linear-gradient(135deg, #3b145e 0%, #200a38 100%) !important;
  border: 2px solid #a855f7 !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(168, 85, 247, 0.3) !important;
  border-radius: 20px !important;
  padding: 0 0 18px 0 !important;
  overflow: hidden !important;
}

.personal-details-ribbon-hdr {
  background: linear-gradient(90deg, #7e22ce 0%, #9333ea 50%, #7e22ce 100%);
  border-bottom: 2px solid #ffd700;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.ribbon-title-text {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  letter-spacing: 0.5px;
}

.personal-close-x {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
}

.personal-close-x:hover {
  background: #ef4444;
  color: #fff;
}

.personal-details-body {
  display: flex;
  flex-direction: row;
  padding: 18px 22px 10px;
  gap: 24px;
  align-items: center;
}

.personal-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 130px;
}

.personal-avatar-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  overflow: hidden;
  background: #1e1035;
}

.personal-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal-btn-avatar-select {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid #ffd700;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 14px;
  padding: 4px 14px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s;
}

.personal-btn-avatar-select:hover {
  transform: scale(1.05);
}

.personal-gender-row {
  display: flex;
  gap: 10px;
}

.personal-gender-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.personal-gender-btn.male.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.personal-gender-btn.female.active {
  background: #ec4899;
  border-color: #f472b6;
  color: #fff;
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.6);
}

.personal-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.personal-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px 14px;
}

.personal-field-row .field-lbl {
  font-size: 12px;
  color: #c084fc;
  font-weight: 700;
}

.personal-field-row .field-val-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #fff;
  font-weight: 800;
}

.field-icon-action {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  color: #ffd700;
  transition: transform 0.15s;
}

.field-icon-action:hover {
  transform: scale(1.2);
}

.field-icon-add-btn {
  background: #eab308;
  border: 1px solid #ffd700;
  color: #000;
  font-weight: 900;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 2. IN-TABLE CHAT SYSTEM (FRAME 145) */
.table-chat-trigger-btn {
  position: absolute;
  bottom: 68px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 2px solid #60a5fa;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.6);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: transform 0.15s, box-shadow 0.15s;
}

.table-chat-trigger-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
}

.table-chat-drawer {
  position: absolute;
  top: 10px;
  right: 12px;
  bottom: 65px;
  width: 240px;
  background: linear-gradient(180deg, #4c1d95 0%, #2e1065 100%);
  border: 2px solid #a855f7;
  border-radius: 16px;
  box-shadow: -8px 0 30px rgba(0,0,0,0.8);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 10px;
  animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.chat-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: #ffd700;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 8px;
}

.chat-drawer-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.chat-emojis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.chat-emoji-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  font-size: 24px;
  padding: 6px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.chat-emoji-item:hover {
  transform: scale(1.2);
  background: rgba(168, 85, 247, 0.3);
}

.chat-phrases-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
}

.chat-phrase-btn {
  background: linear-gradient(90deg, #6b21a8 0%, #7e22ce 100%);
  border: 1px solid #c084fc;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 14px;
  padding: 6px 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.chat-phrase-btn:hover {
  background: #9333ea;
  border-color: #ffd700;
  transform: translateY(-1px);
}

/* Floating Chat Pop Bubble over player avatars */
.player-chat-pop {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #a855f7;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  z-index: 60;
  pointer-events: none;
  animation: popBounce 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-chat-pop.is-emoji {
  font-size: 28px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.6);
  border: none;
  box-shadow: none;
}

@keyframes popBounce {
  0% { transform: translateX(-50%) scale(0.3); opacity: 0; }
  70% { transform: translateX(-50%) scale(1.15); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* 3. FLYING CHIPS ANIMATION */
.flying-chip-anim {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde047 30%, #ca8a04 100%);
  border: 2px dashed #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.7), 0 0 10px rgba(250, 204, 21, 0.8);
  z-index: 80;
  pointer-events: none;
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 4. WELCOME TASKS & DAILY REWARDS MODALS */
.welcome-tasks-window {
  max-width: 480px !important;
  background: linear-gradient(135deg, #2e0854 0%, #15032b 100%) !important;
  border: 2px solid #9333ea !important;
  padding: 18px 20px !important;
}

.welcome-tasks-tag {
  display: inline-block;
  background: linear-gradient(90deg, #ec4899 0%, #f43f5e 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.welcome-tasks-subtitle {
  font-size: 12px;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.welcome-tasks-balance-card {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  border: 1px solid #818cf8;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wt-bal-amount {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #ffd700;
}

.wt-bal-timer {
  font-size: 12px;
  color: #e0e7ff;
  font-weight: 700;
}

.wt-withdraw-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid #34d399;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.wt-progress-wrap {
  margin-bottom: 14px;
}

.wt-progress-text {
  font-size: 11px;
  color: #c084fc;
  margin-bottom: 4px;
}

.wt-progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.wt-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
  border-radius: 10px;
}

.wt-progress-fraction {
  font-size: 10px;
  color: var(--text-secondary);
  float: right;
  margin-top: 2px;
}

.wt-task-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wt-task-num {
  font-size: 12px;
  color: #a855f7;
  font-weight: 800;
}

.wt-task-desc {
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

.wt-task-reward {
  font-size: 12px;
  color: #ffd700;
  font-weight: 900;
}

.wt-task-go-btn {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border: 1px solid #34d399;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.wt-withdraw-record-box {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 8px 12px;
}

.wt-record-title {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 4px;
}

.wt-record-ticker {
  font-size: 11px;
  color: #38bdf8;
  line-height: 1.5;
}

/* 5. CLASSIC RULES MODAL */
.classic-rules-window {
  max-width: 360px !important;
  background: linear-gradient(135deg, #3b0764 0%, #1e0038 100%) !important;
  border: 2px solid #c084fc !important;
  padding: 0 0 16px 0 !important;
}

.classic-rule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px;
  color: #e2e8f0;
}

.rule-val-tag {
  color: #ffd700;
  font-weight: 900;
  font-size: 13px;
}

/* 6. DAILY REWARDS MODAL */
.daily-rewards-window {
  max-width: 580px !important;
  background: linear-gradient(135deg, #3b0764 0%, #1a0230 100%) !important;
  border: 2px solid #a855f7 !important;
  padding: 0 0 16px 0 !important;
}

.daily-cards-row {
  display: flex;
  gap: 10px;
  padding: 0 16px;
  overflow-x: auto;
}

.daily-reward-card {
  flex: 1;
  min-width: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}

.drc-badge {
  font-size: 9.5px;
  background: #7e22ce;
  color: #fff;
  border-radius: 8px;
  padding: 2px 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.drc-type { font-size: 11px; color: #c084fc; font-weight: 800; }
.drc-icon { font-size: 20px; margin: 4px 0; }
.drc-amt { font-size: 12px; color: #ffd700; font-weight: 900; margin-bottom: 6px; }
.drc-prog { height: 6px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; position: relative; }
.drc-prog-fill { height: 100%; background: #10b981; }
.drc-prog span { display: none; }

/* 7. UNLOCK VIP MODAL */
.vip-unlock-window {
  max-width: 440px !important;
  background: linear-gradient(135deg, #3b0764 0%, #1e0038 100%) !important;
  border: 2px solid #ffd700 !important;
  padding: 0 0 16px 0 !important;
}

.vip-perk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 20px;
  font-size: 12px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.perk-tag {
  color: #ffd700;
  font-weight: 800;
}

/* 8. LOADING OVERLAY ON GAME CARDS */
.game-card-loading-pulse {
  position: relative;
}

.game-card-loading-pulse::after {
  content: 'Loading...';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  z-index: 10;
  animation: pulseCard 0.4s infinite alternate;
}

@keyframes pulseCard {
  from { opacity: 0.7; }
  to { opacity: 1; }
}


/* ============================================================
   100% AUTHENTIC VIDEO PARITY: PURPLE LOBBY & AUTH
   (MATCHED 1:1 TO REFERENCE VIDEO RECORDING)
   ============================================================ */

/* 1. AUTH SCREEN (FRAME 014) */
#screenAuth.active {
  background: #1a052e url("../assets/extracted_ui/video_login_bg.jpg") center/cover no-repeat !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 24px !important;
  position: relative !important;
}

.video-auth-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 960px !important;
  gap: 30px !important;
}

.v-auth-service-corner {
  position: absolute;
  top: 14px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 20;
}

.v-service-icon {
  font-size: 26px;
  color: #ffd700;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.v-service-text {
  font-size: 9.5px;
  color: #ffd700;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.v-auth-lang-switch {
  position: absolute;
  top: 14px;
  right: 20px;
  display: flex;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 14px;
  padding: 2px;
  z-index: 20;
}

.v-lang-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  cursor: pointer;
}

.v-lang-btn.active {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #000;
}

.v-auth-hero-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 460px;
}

.v-auth-logo-wrap {
  width: clamp(230px, 28vw, 320px);
  display: flex;
  justify-content: center;
}

.v-auth-logo-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 16px rgba(245, 158, 11, 0.4));
  transition: transform 0.3s ease;
}

.v-auth-logo-img:hover {
  transform: scale(1.03);
}

.v-auth-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 320px;
}

.v-auth-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #f8fafc;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  background: rgba(15, 23, 42, 0.5);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.v-auth-bullet span:first-child {
  color: #ffd700;
  font-size: 15px;
}

.v-auth-trust-strip {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.v-auth-trust-img {
  max-width: 330px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.v-auth-card-col {
  width: 340px;
}

.v-auth-card {
  background: linear-gradient(180deg, #7e122d 0%, #4a0717 100%);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.8), 0 0 25px rgba(245, 158, 11, 0.3);
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.v-auth-card-top-tag {
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 14px;
  border-radius: 12px;
  align-self: flex-end;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.v-auth-phone-box {
  width: 100%;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 4px 14px;
  gap: 8px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.v-phone-code {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.v-phone-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
}

.v-btn-green-login {
  width: 100%;
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  border: 1px solid #4ade80;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 9px;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(34, 197, 94, 0.5), inset 0 2px 2px rgba(255,255,255,0.4);
  transition: transform 0.1s;
}

.v-btn-green-login:active {
  transform: scale(0.98);
}

.v-auth-or-divider {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 800;
}

.v-btn-guest-login {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  font-size: 13.5px;
  font-weight: 800;
  width: 100%;
  padding: 7px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
}

.v-btn-guest-login:hover {
  background: rgba(255, 255, 255, 0.15);
}

.v-auth-terms-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.v-auth-terms-row a {
  color: #ffd700;
  text-decoration: underline;
}

/* ============================================================
   AUTHENTICATION TABS & REGISTRATION STYLES
   ============================================================ */
.v-auth-tabs {
  display: flex;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 3px;
  gap: 4px;
  margin-bottom: 8px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.v-auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v-auth-tab.active {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

.v-auth-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-auth-input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.v-auth-label {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.3px;
  text-align: left;
}

.v-auth-field-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 4px 12px;
  gap: 8px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.25);
}

.v-field-icon {
  font-size: 14px;
}

.v-auth-text-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  padding: 4px 0;
}

.v-auth-text-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.v-dice-btn {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #ffd700;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.1s;
}
.v-dice-btn:active { transform: scale(0.95); }

.v-auth-avatar-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 4px 0;
}

.v-avatar-opt {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v-avatar-opt img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.v-avatar-opt.selected {
  border-color: #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.8);
  transform: scale(1.12);
}

.v-otp-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.v-otp-input {
  flex: 1;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.25);
  letter-spacing: 2px;
}

.v-btn-get-otp {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: 1px solid #60a5fa;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 0 16px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-quick-test-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px dashed rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 14px;
  cursor: pointer;
}

.v-guest-disclaimer {
  font-size: 9.5px;
  color: #c084fc;
  text-align: center;
  line-height: 1.3;
  margin-top: -3px;
}

/* ============================================================
   USER PROFILE & FINANCIAL DASHBOARD MODAL STYLES
   ============================================================ */
.dashboard-modal-window {
  width: 92%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: radial-gradient(circle at top, #2e081a 0%, #19030e 70%, #0d0107 100%);
  border: 2px solid #ffd700;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 215, 0, 0.3);
  padding: 22px 20px 20px;
  color: #fff;
}

.dash-modal-header-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.dash-header-icon {
  font-size: 20px;
}

.dash-header-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.dash-edit-name-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.dash-edit-name-btn:hover {
  background: rgba(255, 215, 0, 0.25);
  transform: scale(1.05);
}

.dash-user-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(220, 38, 38, 0.15) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.dash-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dash-avatar-ring {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.5px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  padding: 2px;
}

.dash-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.dash-vip-pill {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #0f172a;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid #ffd700;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.dash-change-avatar-btn {
  background: transparent;
  border: none;
  color: #fbbf24;
  font-size: 10px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.dash-identity-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-username {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0;
}

.dash-status-pill {
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid #10b981;
  padding: 2px 8px;
  border-radius: 12px;
}

.dash-id-row, .dash-phone-row {
  font-size: 12px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-id-val {
  color: #ffd700;
  font-weight: 800;
}

.dash-phone-val {
  color: #93c5fd;
  font-weight: 700;
}

.dash-copy-id-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  cursor: pointer;
}

.dash-upgrade-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  border: 1px solid #ffd700;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.dash-avatar-picker-strip {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.dash-avatar-list {
  display: flex;
  gap: 14px;
}

.dash-pick-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.dash-pick-avatar:hover {
  transform: scale(1.15);
  border-color: #ffd700;
}

.dash-section-title {
  font-size: 11.5px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.dash-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.dash-bal-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 10, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
}

.dash-bal-card.deposit-card { border-color: rgba(59, 130, 246, 0.4); background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%); }
.dash-bal-card.winnings-card { border-color: rgba(16, 185, 129, 0.4); background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%); }
.dash-bal-card.bonus-card { border-color: rgba(168, 85, 247, 0.4); background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%); }
.dash-bal-card.total-card { border-color: rgba(245, 158, 11, 0.6); background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%); }

.dash-bal-icon {
  font-size: 24px;
}

.dash-bal-info {
  display: flex;
  flex-direction: column;
}

.dash-bal-name {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
}

.dash-bal-amount {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}
.dash-bal-amount.highlight {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.dash-bal-sub {
  font-size: 9.5px;
  color: #64748b;
  font-weight: 600;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.dash-stat-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-stat-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-stat-val {
  font-size: 14.5px;
  font-weight: 900;
  color: #f1f5f9;
}

.text-gold { color: #fbbf24 !important; }
.text-green { color: #34d399 !important; }
.text-red { color: #f87171 !important; }

.dash-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.dash-actions-row.profile-only-actions {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.dash-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, filter 0.15s;
}
.dash-action-btn:active { transform: scale(0.97); }

.dash-action-btn.btn-change-avatar {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #fff;
  border: 1px solid #818cf8;
}

.dash-action-btn.btn-edit-name {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  border: 1px solid #fbbf24;
}

.dash-action-btn.btn-addcash {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: 1px solid #34d399;
}

.dash-action-btn.btn-withdraw {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  border: 1px solid #60a5fa;
}

.dash-action-btn.btn-passbook {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dash-action-btn.btn-logout {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ============================================================
   GUEST REGISTRATION REQUIREMENT MODAL STYLES
   ============================================================ */
.guest-register-modal-window {
  width: 92%;
  max-width: 440px;
  background: radial-gradient(circle at top, #2b0816 0%, #17030c 70%, #0c0106 100%);
  border: 2px solid #f59e0b;
  border-radius: 22px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(245, 158, 11, 0.35);
  padding: 22px 20px 18px;
  text-align: center;
  color: #fff;
}

.guest-reg-header {
  margin-bottom: 14px;
}

.guest-lock-icon {
  font-size: 38px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.6));
}

.guest-reg-title {
  font-size: 18px;
  font-weight: 900;
  color: #fbbf24;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.guest-reg-desc {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
  margin: 0;
}

.guest-reg-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
}

.guest-bonus-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 8px 12px;
  color: #ffd700;
  font-size: 11px;
  font-weight: 800;
  margin-top: 4px;
}

.v-btn-guest-cancel {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
  cursor: pointer;
  margin-top: 2px;
}
.v-btn-guest-cancel:hover { color: #f1f5f9; }

/* 2. LOBBY SCREEN (FRAME 027) */
#screenLobby.active {
  background: #140326 url("../assets/extracted_ui/video_lobby_bg.jpg") center/cover no-repeat !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 0 !important;
  position: relative !important;
}

/* Top Bar */
.video-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 4px 14px 2px !important;
  height: 48px !important;
  background: linear-gradient(180deg, rgba(20, 3, 38, 0.95) 0%, rgba(20, 3, 38, 0.4) 100%) !important;
  z-index: 10;
}

.v-user-profile-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.v-avatar-ring {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  background: #1e1035;
}

.v-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.v-vip-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ec4899 0%, #f43f5e 100%);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 6px;
  line-height: 1;
}

.v-user-text {
  display: flex;
  flex-direction: column;
}

.v-user-name {
  font-size: 11.5px;
  font-weight: 900;
  color: #fff;
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-user-id {
  font-size: 9px;
  color: #c084fc;
  font-weight: 700;
}

.v-balance-pill {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #3b0764 0%, #1e0038 100%);
  border: 1.5px solid #eab308;
  border-radius: 18px;
  padding: 2px 6px 2px 8px;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  cursor: pointer;
}

.v-coin-icon {
  color: #ffd700;
  font-weight: 900;
  font-size: 12px;
}

.v-balance-num {
  font-size: 13.5px;
  font-weight: 900;
  color: #ffd700;
}

.v-balance-plus {
  background: #eab308;
  border: 1px solid #ffd700;
  color: #000;
  font-weight: 900;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.v-top-center-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-top-badge-card {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(50, 28, 90, 0.9) 0%, rgba(22, 10, 48, 0.95) 100%);
  border: 1px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 3px 12px 3px 6px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v-top-badge-card:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: #ffd54f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75), 0 0 12px rgba(255, 213, 79, 0.5);
}

.v-top-badge-hd-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
  display: block;
}

.v-top-badge-hd-txt {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.3px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE600 50%, #FF8F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.9));
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-top-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-floating-winner-pill {
  display: none !important;
}

@keyframes pulseGlow {
  from { box-shadow: 0 0 5px rgba(168, 85, 247, 0.4); }
  to { box-shadow: 0 0 14px rgba(236, 72, 153, 0.7); }
}

.v-win-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ffd700;
}

.v-win-info {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.v-win-tag {
  font-size: 7.5px;
  color: #ec4899;
  font-weight: 900;
}

.v-win-amount {
  font-size: 9px;
  color: #ffd700;
  font-weight: 800;
}

.v-top-icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.v-notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

/* Marquee Ticker */
.video-ticker-bar {
  background: rgba(15, 3, 30, 0.75);
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
  height: 20px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  overflow: hidden;
  z-index: 8;
}

.v-ticker-speaker {
  font-size: 11px;
  margin-right: 8px;
}

.v-ticker-track {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}

.v-ticker-text {
  display: inline-block;
  font-size: 10px;
  color: #e2e8f0;
  font-weight: 600;
  animation: marqueeScroll 22s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Main Content Area */
.video-lobby-content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 1 !important;
  padding: 4px 14px !important;
  gap: 12px !important;
  overflow: hidden !important;
}

/* Left Vertical Badges Column: Crystal-Clear HD Styling */
.video-left-badges-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 62px;
  flex-shrink: 0;
  z-index: 5;
}

.v-left-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v-left-badge:hover {
  transform: translateY(-2px) scale(1.08);
}

.v-left-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 60px;
  height: 50px;
  background: linear-gradient(180deg, rgba(46, 28, 82, 0.9) 0%, rgba(18, 10, 42, 0.96) 100%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 2px 2px 3px 2px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.v-left-badge:hover .v-left-badge-box {
  border-color: #ffd54f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 213, 79, 0.4);
}

.v-left-badge-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
  display: block;
}

.v-left-badge:hover .v-left-badge-icon {
  transform: scale(1.12);
}

.v-left-badge-tag {
  position: absolute;
  top: -6px;
  right: -5px;
  background: linear-gradient(180deg, #ff1744 0%, #b71c1c 100%);
  color: #ffffff;
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.3px;
  padding: 1px 4px;
  border-radius: 4px;
  border: 0.8px solid #ff8a80;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
  z-index: 2;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-left-badge-lbl {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  padding: 0 1px;
  line-height: 1;
}

.lbl-giftvip {
  color: #fffde7;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE600 55%, #FF8F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.lbl-firstpay {
  color: #ffebee;
  background: linear-gradient(180deg, #ff8a80 0%, #ff5252 50%, #ffd54f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.lbl-weeklycard {
  color: #ede7f6;
  background: linear-gradient(180deg, #FFFFFF 0%, #ffd54f 50%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.lbl-luckyspin {
  color: #e0f7fa;
  background: linear-gradient(180deg, #84ffff 0%, #00e5ff 40%, #ffd54f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

/* Featured Big Teen Patti Card */
.video-featured-game-wrap {
  width: 155px;
  height: 200px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-featured-game-wrap:hover {
  transform: scale(1.04);
}

.v-hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.85), 0 0 18px rgba(245, 158, 11, 0.5);
  border: 2px solid #ffd700;
  background: #1e0b38;
}

.v-hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v-hero-hot-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 5;
}

.v-hero-player-count {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 5;
}

/* 2-Row Game Grid */
.video-games-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-x: auto;
  padding: 2px 0;
}

.v-grid-row {
  display: flex;
  gap: 12px;
}

.v-game-card {
  position: relative;
  width: 132px;
  height: 98px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1.8px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 6px 18px rgba(0,0,0,0.75), 0 0 10px rgba(234, 179, 8, 0.25);
  background: #1e0b38;
  flex-shrink: 0;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.18s ease;
}

.v-game-card:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: #ffd700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.85), 0 0 18px rgba(255, 215, 0, 0.6);
}

.v-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v-card-players {
  position: absolute;
  top: 4px;
  right: 5px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  font-size: 8px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 7px;
  white-space: nowrap;
  backdrop-filter: blur(2px);
  z-index: 5;
}

/* Bottom Dock */
.video-bottom-dock {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 4px 16px 6px !important;
  height: 64px !important;
  background: linear-gradient(180deg, rgba(20, 3, 38, 0) 0%, rgba(12, 2, 24, 0.85) 45%, rgba(6, 1, 14, 0.98) 100%) !important;
  padding: 4px 18px 8px !important;
  align-items: flex-end !important;
  z-index: 10;
}

/* Bottom Navigation Dock: Crystal-Clear HD Luxury Styles */
.v-dock-refer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(180deg, #381559 0%, #1a0630 100%);
  border: 1.5px solid #d4af37;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 12px rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 4px 14px 4px 8px;
  height: 52px;
}

.v-dock-refer-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 18px rgba(255, 215, 0, 0.6);
  border-color: #ffd54f;
}

.v-dock-refer-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-dock-refer-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
  display: block;
}

.v-dock-refer-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.v-dock-refer-title {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE600 55%, #FF9900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.9));
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-dock-refer-sub {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 10px;
  font-weight: 700;
  color: #ffcc80;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-dock-center-items {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.v-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v-dock-item:hover {
  transform: translateY(-3px) scale(1.08);
}

.v-dock-item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 56px;
  height: 52px;
  background: linear-gradient(180deg, rgba(42, 28, 77, 0.9) 0%, rgba(18, 11, 40, 0.95) 100%);
  border: 1px solid rgba(175, 135, 245, 0.45);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 3px 2px 2px 2px;
  position: relative;
}

.v-dock-item:hover .v-dock-item-box {
  border-color: #ffd54f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 213, 79, 0.4);
}

.v-dock-item-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
  display: block;
}

.v-dock-item:hover .v-dock-item-icon {
  transform: scale(1.12);
}

.v-dock-item-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  background: linear-gradient(180deg, #ff5252 0%, #b71c1c 100%);
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 6px;
  border: 1px solid #ff8a80;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 2;
}

.v-dock-item-lbl {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  padding: 1px 0;
  border-radius: 0 0 8px 8px;
  line-height: 1;
}

.lbl-freecash {
  color: #fffde7;
  background: linear-gradient(180deg, #ffb300 0%, #e65100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.lbl-award {
  color: #fff8e1;
  background: linear-gradient(180deg, #ffd54f 0%, #ff8f00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.lbl-task {
  color: #e0f7fa;
  background: linear-gradient(180deg, #80d8ff 0%, #0091ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.lbl-cashback {
  color: #fff3e0;
  background: linear-gradient(180deg, #ffca28 0%, #f57c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.lbl-bonus {
  color: #e8f5e9;
  background: linear-gradient(180deg, #69f0ae 0%, #00bfa5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}

.v-dock-addcash-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(180deg, #240b47 0%, #0d0221 100%);
  border: 1.5px solid #00f5d4;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 0 16px rgba(0, 245, 212, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 3px 12px 3px 6px;
  height: 52px;
  position: relative;
  overflow: hidden;
  animation: pulseAddCashNeon 1.8s infinite alternate;
}

@keyframes pulseAddCashNeon {
  0% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.75), 0 0 12px rgba(0, 245, 212, 0.35);
    border-color: #00f5d4;
  }
  100% {
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.85), 0 0 24px rgba(255, 0, 128, 0.75);
    border-color: #ff007f;
  }
}

.v-dock-addcash-btn:hover {
  transform: translateY(-2px) scale(1.06);
}

.v-dock-addcash-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v-dock-addcash-icon {
  width: 50px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
  display: block;
}

.v-dock-addcash-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.v-dock-addcash-title {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.6px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE600 45%, #FF8F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}


/* ============================================================
   AUTHENTIC REAL MONEY ADD CASH SCREEN (1:1 PIXEL MATCH)
   ============================================================ */
#screenAddCash {
  display: none !important;
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 20%, #1a042e 0%, #080112 100%);
  color: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-ui, 'Outfit', sans-serif);
  box-sizing: border-box;
  padding: 0;
}

#screenAddCash.active {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.v-addcash-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px; /* Exact 9:16 Portrait Dimensions */
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1d0333 0%, #2a084c 45%, #18022b 100%);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 100px rgba(112, 19, 93, 0.35);
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (min-width: 460px) and (orientation: landscape) {
  .v-addcash-wrapper {
    max-width: min(440px, calc(100vh * 9 / 16));
    border-left: 1.5px solid rgba(255, 215, 0, 0.35);
    border-right: 1.5px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 120px rgba(168, 85, 247, 0.3);
  }
}

/* TOP LUXURY HEADER */
.v-addcash-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(90deg, #240540 0%, #380b5c 50%, #240540 100%);
  border-bottom: 1.5px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.v-addcash-hdr-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-addcash-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  transition: transform 0.16s ease;
}

.v-addcash-back-btn:hover {
  transform: translateX(-2px);
}

.v-gold-chevron {
  font-size: 18px;
  color: #ffd700;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

.v-addcash-title-text {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 20px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.55);
}

.v-addcash-hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v-addcash-mode-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(147, 51, 234, 0.3);
  border: 1px solid rgba(192, 132, 252, 0.45);
  border-radius: 20px;
  color: #f3e8ff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v-addcash-mode-toggle:hover {
  background: rgba(147, 51, 234, 0.5);
  border-color: #ffd700;
  transform: scale(1.04);
}

.v-addcash-icon-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(216, 180, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.v-addcash-icon-action:hover {
  background: rgba(168, 85, 247, 0.3);
  transform: scale(1.08);
}

/* MAIN BODY: RESPONSIVE HORIZONTAL & PORTRAIT MODES */
.v-addcash-body {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

/* HORIZONTAL MODE (2-COLUMN FOR LANDSCAPE VIEWPORTS) */
.v-addcash-body.horizontal-mode {
  display: flex;
  flex-direction: row;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  gap: 20px;
  padding: 12px 18px 30px;
  box-sizing: border-box;
  align-items: flex-start;
}

.v-addcash-body.horizontal-mode .v-addcash-col-left {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v-addcash-body.horizontal-mode .v-addcash-col-right {
  flex: 0.85;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 9:16 PORTRAIT MOBILE BODY */
.v-addcash-body.portrait-mode {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  gap: 14px;
  padding: 12px 14px 40px;
  box-sizing: border-box;
}

.v-addcash-body.portrait-mode .v-addcash-col-left,
.v-addcash-body.portrait-mode .v-addcash-col-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.v-addcash-body.portrait-mode .v-addcash-pack-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px 8px;
}

/* 1. LIVE WITHDRAWAL ANNOUNCEMENT TICKER */
.v-addcash-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2b0849;
  border: 1px solid #581c87;
  border-radius: 24px;
  padding: 7px 14px;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.v-ticker-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.v-ticker-speaker {
  font-size: 15px;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.v-ticker-content {
  font-size: 13px;
  font-weight: 700;
  color: #e9d5ff;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-ticker-arrow {
  font-size: 14px;
  color: #c084fc;
  font-weight: 800;
  padding-left: 6px;
}

/* 2. MAGENTA CALCULATION SUMMARY CARD */
.v-addcash-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(135deg, #70135d 0%, #46085a 100%);
  border: 1.5px solid rgba(244, 114, 182, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  position: relative;
  box-shadow: 0 6px 20px rgba(112, 19, 93, 0.35);
}

.v-sum-alert-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ec4899;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
  flex-shrink: 0;
}

.v-sum-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.v-sum-sub {
  font-size: 11px;
  font-weight: 700;
  color: #f5d0fe;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v-sum-val {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 24px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.v-sum-math-symbol {
  font-size: 22px;
  font-weight: 900;
  color: #ffd700;
}

/* 3. 8 PACK SELECTION GRID */
.v-addcash-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
}

.v-addcash-body.horizontal-mode .v-addcash-pack-grid {
  grid-template-columns: repeat(4, 1fr);
}

.v-pack-btn {
  position: relative;
  height: 52px;
  background: linear-gradient(180deg, #4f46e5 0%, #3730a3 100%);
  border: 1.5px solid rgba(165, 180, 252, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  padding: 0 8px;
}

.v-pack-btn:hover {
  transform: translateY(-2px);
  border-color: #ffd700;
}

.v-pack-amount {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* SELECTED PACK (GOLDEN GLOWING LIKE ₹300 IN SCREENSHOT) */
.v-pack-btn.selected {
  background: linear-gradient(180deg, #ffc837 0%, #e67e22 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 18px rgba(255, 200, 55, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.85);
  transform: scale(1.03);
}

.v-pack-btn.selected .v-pack-amount {
  color: #2e1400;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* PACK RIBBON BADGE */
.v-pack-ribbon {
  position: absolute;
  top: -6px;
  right: -4px;
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  pointer-events: none;
  letter-spacing: 0.3px;
}

/* 4. PAYMENT METHOD SECTION */
.v-paymethod-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-paymethod-heading {
  font-size: 13px;
  font-weight: 700;
  color: #c084fc;
}

.v-paymethod-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-paymethod-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2e0b52;
  border: 1.5px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v-paymethod-card:hover {
  border-color: #c084fc;
}

.v-paymethod-card.active {
  border-color: #a855f7;
  background: linear-gradient(135deg, #441475 0%, #2e0b52 100%);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.v-paymethod-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-paymethod-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 3px 8px;
  width: 86px;
  height: 32px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.v-paymethod-logo-img {
  max-width: 100%;
  max-height: 24px;
  object-fit: contain;
  display: block;
}

.v-paymethod-card.active .v-paymethod-logo-badge {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border-color: #ffd700;
}

.v-paymethod-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.v-paymethod-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-paymethod-card.active .v-paymethod-radio {
  border-color: #a855f7;
}

.v-radio-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.16s ease;
}

.v-paymethod-card.active .v-radio-dot {
  background: #a855f7;
  box-shadow: 0 0 6px #a855f7;
}

/* 5. UPI RECHARGE GUIDE ROW */
.v-upi-guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c084fc;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 2px;
  transition: color 0.16s ease;
}

.v-upi-guide-row:hover {
  color: #ffd700;
}

.v-upi-guide-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-upi-guide-qmark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.v-upi-guide-arrow {
  font-size: 14px;
  color: #a855f7;
  font-weight: 900;
}

/* 6. BIG GLOWING CTA BUTTON (MATCHING SCREENSHOT) */
.v-addcash-cta-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(180deg, #ffb300 0%, #f57c00 50%, #e65100 100%);
  border: 2px solid #fde68a;
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  position: relative;
  overflow: hidden;
}

.v-addcash-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: ctaShine 3s infinite;
}

@keyframes ctaShine {
  0% { left: -100%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.v-addcash-cta-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(230, 81, 0, 0.7);
}

.v-addcash-cta-btn:active {
  transform: scale(0.98);
}

/* 7. DEPOSIT TIPS FOOTER */
.v-deposit-tips-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 2px;
}

.v-tips-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #c084fc;
}

.v-tips-desc {
  font-size: 11px;
  line-height: 1.45;
  color: #a855f7;
  margin: 0;
}

/* WATERMARK SILHOUETTE */
.v-addcash-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

/* MODAL WINDOWS FOR UPI GUIDE & CHECKOUT */
.upi-guide-modal-window {
  max-width: 440px;
  background: linear-gradient(180deg, #28074d 0%, #1a0333 100%);
  border: 2px solid #ffd700;
  border-radius: 18px;
  padding: 22px;
  color: #ffffff;
}

.upi-guide-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.upi-guide-icon {
  font-size: 26px;
}

.upi-guide-title {
  margin: 0;
  color: #ffd700;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 18px;
}

.upi-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upi-step-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
}

.upi-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffd700;
  color: #1a0333;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upi-step-content h4 {
  margin: 0 0 3px 0;
  font-size: 13px;
  color: #f3e8ff;
}

.upi-step-content p {
  margin: 0;
  font-size: 11.5px;
  color: #c084fc;
  line-height: 1.35;
}

/* UPI CHECKOUT MODAL WINDOW */
.upi-checkout-modal-window {
  max-width: 420px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  background: linear-gradient(180deg, #29084e 0%, #18022d 100%);
  border: 2px solid #ffd700;
  border-radius: 18px;
  padding: 14px 16px;
  color: #ffffff;
}

.upi-chk-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.upi-shield-icon {
  font-size: 28px;
}

.upi-chk-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #ffd700;
}

.upi-chk-sub {
  font-size: 10px;
  color: #c084fc;
}

.upi-chk-amt-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.upi-amt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #e9d5ff;
}

.upi-amt-bold {
  font-size: 14px;
  color: #ffffff;
}

.upi-bonus-row .upi-bonus-bold {
  color: #34d399;
  font-weight: 800;
}

.upi-total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 4px;
  margin-top: 2px;
}

.upi-total-bold {
  font-size: 16px;
  color: #ffd700;
  font-weight: 900;
}

.upi-channel-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #390d63;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  margin-bottom: 8px;
}

.upi-chan-label {
  color: #c084fc;
}

.upi-chan-badge {
  color: #ffd700;
  font-weight: 800;
}

.upi-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.upi-qr-frame {
  margin-bottom: 6px;
}

.upi-id-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: #1f2937;
}

.upi-copy-btn {
  background: #ffd700;
  border: none;
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: 800;
  font-size: 10px;
  cursor: pointer;
}

.upi-intent-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.upi-app-direct-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upi-app-direct-btn:hover {
  background: #7c3aed;
  border-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
}

.upi-app-direct-btn.selected {
  background: rgba(124, 58, 237, 0.45);
  border: 2px solid #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.6), inset 0 0 8px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.upi-btn-logo-wrap {
  width: 100%;
  height: 28px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.upi-btn-logo {
  max-width: 100%;
  max-height: 22px;
  object-fit: contain;
  display: block;
}

/* MEDIA QUERIES FOR SCREEN RESIZING */
@media (max-width: 768px) {
  .v-addcash-body.horizontal-mode {
    flex-direction: column;
    padding: 12px 14px;
  }
  .v-addcash-pack-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}



/* ============================================================
   TEEN PATTI ROOM LIST SCREEN (1:1 PIXEL MATCH TO SCREENSHOT)
   ============================================================ */
#screenRoomList {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 20%, #2e0854 0%, #17022b 60%, #0d0118 100%);
  color: #ffffff;
  overflow: hidden;
  font-family: var(--font-ui, 'Outfit', sans-serif);
  box-sizing: border-box;
}

.v-rl-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* TOP LUXURY HEADER */
.v-rl-header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: linear-gradient(90deg, #1c0233 0%, #2d0752 50%, #1c0233 100%);
  border-bottom: 1.5px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.v-rl-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.v-rl-back-btn {
  width: 44px;
  height: 34px;
  border-radius: 18px 6px 18px 6px;
  background: linear-gradient(135deg, #7c1464 0%, #46085a 100%);
  border: 1.5px solid #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.16s ease;
}

.v-rl-back-btn:hover {
  transform: scale(1.06);
}

.v-rl-back-chevron {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.v-rl-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-rl-title-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

.v-rl-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.v-rl-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* GOLD / PRACTICE TABS */
.v-rl-mode-tabs {
  display: flex;
  background: #250545;
  border: 1px solid #581c87;
  border-radius: 20px;
  padding: 2px;
}

.v-rl-tab {
  border: none;
  background: transparent;
  color: #c084fc;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.v-rl-tab.active {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* REAL MONEY BALANCE PILL */
.v-rl-balance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2a074e;
  border: 1.5px solid #ffd700;
  border-radius: 20px;
  padding: 4px 12px 4px 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.v-rl-coin-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #1a0333;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-rl-balance-val {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
}

.v-rl-refresh-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #360a5e;
  border: 1.5px solid #a855f7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.25s ease;
}

.v-rl-refresh-btn:hover {
  transform: rotate(180deg);
}

/* MAIN BODY (SIDEBAR + TABLE AREA) */
.v-rl-body {
  flex: 1;
  display: flex;
  padding: 12px 18px;
  gap: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

/* LEFT SIDEBAR: VARIATION CARDS */
.v-rl-variants-sidebar {
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
}

.v-rl-sidebar-arrow-tag {
  color: #c084fc;
  font-weight: 900;
  font-size: 14px;
  padding-left: 4px;
  letter-spacing: -1px;
}

.v-rl-variants-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
}

.v-rl-variant-tile {
  background: rgba(36, 6, 64, 0.65);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.v-rl-variant-tile:hover {
  border-color: #ffd700;
  transform: translateY(-2px);
}

.v-rl-variant-tile.active {
  border: 2px solid #a855f7;
  background: linear-gradient(180deg, #441275 0%, #2a074d 100%);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.7);
  transform: scale(1.03);
}

.v-rl-variant-img {
  width: 90px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.v-rl-variant-label {
  font-size: 11px;
  font-weight: 800;
  color: #e9d5ff;
  text-align: center;
}

/* RIGHT MAIN TABLE AREA */
.v-rl-table-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.v-rl-table-header-row {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 32px;
  color: #c084fc;
  font-size: 13.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.v-rl-th-boot { width: 20%; text-align: left; }
.v-rl-th-entry { width: 36%; text-align: center; }
.v-rl-th-players { width: 24%; text-align: center; }
.v-rl-th-join { width: 20%; text-align: right; }

.v-rl-rows-container {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* ROOM CARD ROW (WHITE-LAVENDER CARD) */
.v-rl-room-row {
  display: flex;
  align-items: center;
  background: #f8f7fc;
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 4px 10px;
  height: 48px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.v-rl-room-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.45);
}

/* BEST RECOMMENDED ROOM CARD HIGHLIGHT */
.v-rl-room-row.is-best-row {
  background: linear-gradient(90deg, #faf5ff 0%, #f3e8ff 50%, #faf5ff 100%);
  border: 1.5px solid #8b5cf6;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4), 0 3px 10px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}

.v-rl-room-row.is-best-row.best-row-attention {
  animation: bestAttentionPulse 0.7s 2 ease-in-out;
}

@keyframes bestAttentionPulse {
  0%, 100% {
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
    border-color: #8b5cf6;
  }
  50% {
    box-shadow: 0 0 28px rgba(234, 179, 8, 0.95), inset 0 0 10px rgba(234, 179, 8, 0.3);
    border-color: #eab308;
    transform: scale(1.02);
  }
}

/* EXCEEDED ENTRY LIMIT (USER BALANCE EXCEEDS TABLE CAP) */
.v-rl-room-row.row-exceeded {
  opacity: 0.82;
  background: #f1f0f7;
}

.v-rl-room-row.row-exceeded:hover {
  opacity: 0.95;
}

/* BOOT CELL WITH CHEVRON BADGE */
.v-rl-td-boot {
  width: 20%;
  display: flex;
  align-items: center;
}

.v-rl-boot-badge {
  background: #e9e4f7;
  padding: 4px 14px;
  border-radius: 6px;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 18px;
  font-weight: 900;
  color: #2e1065;
  display: inline-flex;
  align-items: center;
}

/* ENTRY LIMIT CELL */
.v-rl-td-entry {
  width: 36%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.v-rl-entry-text {
  font-size: 15.5px;
  font-weight: 800;
  color: #374151;
}

.v-rl-best-badge {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 2.5px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 5px rgba(124, 58, 237, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  animation: bestBadgeGlow 2s infinite ease-in-out;
}

@keyframes bestBadgeGlow {
  0%, 100% {
    box-shadow: 0 0 6px rgba(124, 58, 237, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.9);
    transform: scale(1.08);
  }
}

.v-rl-exceeded-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ONLINE PLAYERS CELL */
.v-rl-td-players {
  width: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #4b5563;
  font-size: 14.5px;
  font-weight: 800;
}

.v-rl-player-icon {
  font-size: 13px;
  color: #6b7280;
}

/* JOIN BUTTON CELL */
.v-rl-td-join {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.v-rl-join-btn {
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

.v-rl-join-btn:hover {
  transform: scale(1.05);
}

.v-rl-join-btn.green {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  box-shadow: 0 3px 8px rgba(34, 197, 94, 0.45);
  font-size: 14px;
  padding: 8px 18px;
}

.v-rl-join-btn.grey {
  background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.45);
  font-size: 14px;
  padding: 8px 18px;
}

.v-rl-join-btn.gold {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.45);
  font-size: 13px;
  padding: 8px 14px;
}

.v-rl-join-btn.limit-exceeded {
  background: linear-gradient(180deg, #64748b 0%, #475569 100%);
  box-shadow: 0 2px 6px rgba(71, 85, 105, 0.35);
  color: #f1f5f9;
  font-size: 12.5px;
  padding: 7px 11px;
  opacity: 0.9;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.v-rl-join-btn.limit-exceeded:hover {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.45);
  color: #ffffff;
  transform: scale(1.02);
}

.v-rl-lock-icon {
  font-size: 12px;
}

/* RESPONSIVE HANDLING FOR PHONES IN PORTRAIT OR ROTATION */
@media (max-width: 600px) {
  .v-rl-variants-sidebar {
    width: 90px;
  }
  .v-rl-variant-img {
    width: 76px;
    height: 52px;
  }
  .v-rl-entry-text {
    font-size: 13px;
  }
  .v-rl-boot-badge {
    font-size: 15px;
    padding: 3px 8px;
  }
  .v-rl-join-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}



/* ============================================================
   DRAGON VS TIGER - LANDSCAPE RESPONSIVE + HISTORY ANALYZER CSS
   ============================================================ */
#screenDragonTiger {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #1c0636 0%, #0d011c 70%, #05000a 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.dvt-game-container {
  width: 100%;
  max-width: 980px;
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 12px;
  box-sizing: border-box;
  overflow: hidden;
}

/* TOP BAR */
.dvt-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.dvt-center-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dvt-main-heading {
  margin: 0;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 18px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.dvt-timer-pill {
  background: #3b0764;
  border: 1px solid #a855f7;
  color: #ffd700;
  font-weight: 900;
  font-size: 13.5px;
  padding: 2px 10px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.dvt-top-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dvt-balance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #230440;
  border: 1.5px solid #ffd700;
  border-radius: 18px;
  padding: 3px 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dvt-coin-sym {
  color: #ffd700;
  font-weight: 900;
  font-size: 13px;
}

.dvt-balance-num {
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
}

.dvt-bal-plus {
  background: #10b981;
  color: #ffffff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.dvt-btn-history-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #7c3aed 0%, #581c87 100%);
  border: 1.5px solid #c084fc;
  border-radius: 16px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
  transition: transform 0.16s ease;
}

.dvt-btn-history-trigger:hover {
  transform: scale(1.05);
}

/* ARENA BOX */
.dvt-arena-box {
  flex: 1;
  background: radial-gradient(ellipse at center, #1b0c36 0%, #0c0217 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: 16px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.6);
  min-height: 0;
  overflow: hidden;
}

/* BATTLEFIELD GRID (DRAGON | VS + TIE | TIGER) */
.dvt-battlefield-grid {
  display: grid;
  grid-template-columns: 1fr 125px 1fr;
  gap: 10px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.dvt-bet-card {
  border-radius: 12px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  min-height: 0;
}

.dvt-bet-card.dragon {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.22) 0%, rgba(153, 27, 27, 0.55) 100%);
  border: 2px solid #ef4444;
}

.dvt-bet-card.tiger {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.22) 0%, rgba(29, 78, 216, 0.55) 100%);
  border: 2px solid #3b82f6;
}

.dvt-bet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
}

.dvt-bet-card.winner-side {
  animation: dvtWinnerGlow 1s infinite alternate;
  border-color: #ffd700 !important;
}

@keyframes dvtWinnerGlow {
  from { box-shadow: 0 0 15px rgba(255, 215, 0, 0.7); }
  to { box-shadow: 0 0 30px rgba(255, 215, 0, 1); }
}

.dvt-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.dvt-name {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}
.dvt-name.red { color: #f87171; }
.dvt-name.blue { color: #60a5fa; }
.dvt-name.green { color: #34d399; }

.dvt-ratio {
  font-size: 10px;
  color: #fde047;
  font-weight: 700;
}

.dvt-card-slot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.dvt-bet-status {
  font-size: 12px;
  color: #e5e7eb;
}
.dvt-bet-status strong {
  color: #ffd700;
  font-size: 13.5px;
}

/* CENTER COLUMN: VS & TIE */
.dvt-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.dvt-vs-emblem {
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  color: #451a03;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 13px;
  font-weight: 900;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
  flex-shrink: 0;
}

.dvt-bet-card.tie {
  width: 100%;
  flex: 1;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.45) 100%);
  border: 2px dashed #10b981;
  padding: 4px 6px;
}

/* CHIPS TRAY */
.dvt-chips-tray {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
  flex-shrink: 0;
}

.dvt-chips-tray .bet-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 10.5px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/* FOOTER TRENDS & BEAD ROAD */
.dvt-footer-trends {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 3, 28, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 8px;
  padding: 3px 10px;
  height: 28px;
  flex-shrink: 0;
  gap: 8px;
}

.dvt-trends-left {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.dvt-recent-lbl {
  font-size: 11px;
  color: #c084fc;
  font-weight: 800;
}

.dvt-road-beads-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
}

.dvt-trends-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}
.dvt-stat-item.d { color: #f87171; }
.dvt-stat-item.t { color: #60a5fa; }
.dvt-stat-item.tie { color: #34d399; }

.dvt-btn-details-link {
  background: none;
  border: none;
  color: #ffd700;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  padding: 2px 4px;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}
.dvt-btn-details-link:hover {
  text-decoration: underline;
}

/* ============================================================
   MODAL: DRAGON VS TIGER HISTORY & TREND ANALYZER
   ============================================================ */
.dvt-history-modal-window {
  max-width: 720px;
  width: 95%;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #1c0533 0%, #100220 100%);
  border: 2px solid #ffd700;
  border-radius: 16px;
  padding: 16px 20px;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
}

.dvt-hist-modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dvt-hist-hdr-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dvt-hist-icon {
  font-size: 22px;
}

/* 4 STATS CARDS */
.dvt-hist-stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dvt-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dvt-stat-box.dragon {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.12);
}
.dvt-stat-box.tiger {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.12);
}
.dvt-stat-box.tie {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.12);
}
.dvt-stat-box.total {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.12);
}

.dvt-box-title {
  font-size: 11px;
  font-weight: 700;
  color: #c084fc;
}

.dvt-box-count {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.dvt-box-pct {
  font-size: 12px;
  font-weight: 800;
}
.dvt-stat-box.dragon .dvt-box-pct { color: #f87171; }
.dvt-stat-box.tiger .dvt-box-pct { color: #60a5fa; }
.dvt-stat-box.tie .dvt-box-pct { color: #34d399; }
.dvt-box-streak {
  font-size: 11px;
  font-weight: 800;
  color: #ffd700;
}

.dvt-hist-section-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffd700;
  margin: 12px 0 6px 0;
  letter-spacing: 0.5px;
}

/* BEAD MATRIX (6 ROWS CASINO STANDARD) */
.dvt-bead-matrix-container {
  display: grid;
  grid-template-rows: repeat(6, 22px);
  grid-auto-flow: column;
  gap: 4px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  padding: 8px;
  min-height: 140px;
  margin-bottom: 14px;
}

.dvt-bead-matrix-cell {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.dvt-bead-matrix-cell.dragon { background: #ef4444; }
.dvt-bead-matrix-cell.tiger  { background: #3b82f6; }
.dvt-bead-matrix-cell.tie    { background: #10b981; }

/* HISTORY TABLE WRAP */
.dvt-hist-table-wrap {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.dvt-hist-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
}

.dvt-hist-table th {
  background: #2b0750;
  color: #ffd700;
  padding: 8px 6px;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.dvt-hist-table td {
  padding: 6px 4px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  color: #e5e7eb;
}

.dvt-card-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11.5px;
}
.dvt-card-chip-badge.red {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #f87171;
}
.dvt-card-chip-badge.black {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #9ca3af;
}

.dvt-win-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
}
.dvt-win-badge.dragon { background: #ef4444; color: #fff; }
.dvt-win-badge.tiger  { background: #3b82f6; color: #fff; }
.dvt-win-badge.tie    { background: #10b981; color: #fff; }

/* ============================================================
   AUTHENTIC REAL MONEY CASH OUT (WITHDRAWAL) SCREEN
   1:1 PIXEL-PERFECT REPLICA MATCHING REFERENCE SCREENSHOTS
   MOBILE RESPONSIVE (LANDSCAPE + PORTRAIT FALLBACK)
   ============================================================ */

#screenCashOut {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: linear-gradient(180deg, #370660 0%, #250345 50%, #17012d 100%);
  display: none;
  flex-direction: column;
}

#screenCashOut.active {
  display: flex !important;
}

.cashout-screen-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

/* TOP LUXURY HEADER BAR */
.cashout-header {
  flex-shrink: 0;
  height: clamp(44px, 8vh, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: linear-gradient(90deg, #3e0a6c 0%, #4a0d80 50%, #3e0a6c 100%);
  border-bottom: 1.5px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.cashout-hdr-left {
  display: flex;
  align-items: center;
}

.cashout-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.16s ease;
}

.cashout-back-btn:hover {
  transform: translateX(-2px);
}

.cashout-back-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  border: 1.5px solid #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cashout-title-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 3.2vw, 22px);
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.45);
  letter-spacing: 0.5px;
}

/* LIVE TICKER PILL (CENTER) */
.cashout-ticker-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 4, 44, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 20px;
  padding: 4px 14px;
  max-width: 360px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: border-color 0.2s;
}

.cashout-ticker-pill:hover {
  border-color: #ffd700;
}

.cashout-ticker-speaker {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cashout-ticker-content {
  font-size: clamp(11.5px, 1.8vw, 13px);
  font-weight: 600;
  color: #e9d5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.18s ease;
}

.cashout-ticker-chevron {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* RIGHT ACTION BUTTONS */
.cashout-hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cashout-help-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(88, 28, 135, 0.5);
  border: 1.5px solid rgba(192, 132, 252, 0.6);
  color: #e9d5ff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cashout-help-circle:hover {
  background: rgba(147, 51, 234, 0.7);
  border-color: #ffd700;
  color: #fff;
}

.cashout-record-btn {
  background: rgba(88, 28, 135, 0.45);
  border: 1.5px solid rgba(192, 132, 252, 0.6);
  border-radius: 16px;
  padding: 4px 14px;
  color: #e9d5ff;
  font-size: clamp(11.5px, 1.8vw, 13px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.cashout-record-btn:hover {
  background: rgba(147, 51, 234, 0.7);
  border-color: #ffd700;
  color: #fff;
  transform: scale(1.03);
}

/* MAIN TWO-COLUMN BODY LAYOUT (LANDSCAPE ORIENTED) */
.cashout-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: clamp(6px, 1.5vh, 12px) max(20px, env(safe-area-inset-right)) clamp(6px, 1.5vh, 12px) max(20px, env(safe-area-inset-left));
  gap: clamp(12px, 3vw, 28px);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* LEFT COLUMN: BANKCARD & RULES */
.cashout-col-left {
  flex: 1;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cashout-section-heading {
  font-size: clamp(14px, 2.2vw, 16px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.cashout-bankcard-box {
  background: rgba(20, 4, 38, 0.78);
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 8px;
  padding: clamp(6px, 1.2vh, 10px) 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(10px, 2vh, 16px);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cashout-account-masked {
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 700;
  color: #d8b4fe;
  letter-spacing: 1.5px;
}

.cashout-add-bank-btn {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
  border: 1px solid #38bdf8;
  border-radius: 6px;
  color: #ffffff;
  padding: 5px 12px;
  font-size: clamp(11px, 1.6vw, 12.5px);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cashout-add-bank-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.65);
}

.cashout-rules-card {
  display: flex;
  flex-direction: column;
}

.cashout-rules-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cashout-rules-title {
  font-size: clamp(13.5px, 2vw, 15px);
  font-weight: 800;
  color: #ffffff;
}

.cashout-player-id {
  font-size: clamp(12px, 1.8vw, 13.5px);
  font-weight: 700;
  color: #d8b4fe;
  letter-spacing: 0.5px;
}

.cashout-rules-list {
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cashout-rules-list li {
  font-size: clamp(11px, 1.6vw, 12px);
  line-height: 1.45;
  color: #c4b5fd;
}

/* RIGHT COLUMN: WITHDRAWABLE PANEL */
.cashout-col-right {
  flex: 1;
  max-width: 440px;
  display: flex;
  justify-content: center;
}

.cashout-panel {
  width: 100%;
  background: rgba(30, 7, 54, 0.75);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: 12px;
  padding: clamp(10px, 1.8vh, 14px) clamp(12px, 2.5vw, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
}

.cashout-panel-sub {
  font-size: clamp(12.5px, 1.8vw, 14px);
  color: #e9d5ff;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: center;
  width: 100%;
}

.cashout-balance-pill-sub {
  font-size: 11px;
  color: #c4b5fd;
  font-weight: 500;
  margin-top: 2px;
}

/* BIG GOLD BALANCE PILL & EDITABLE AMOUNT INPUT */
.cashout-balance-pill {
  width: 90%;
  background: rgba(16, 3, 30, 0.92);
  border: 1.5px solid rgba(147, 51, 234, 0.5);
  border-radius: 26px;
  padding: 3px 12px 3px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.85);
  margin-bottom: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: text;
}

.cashout-balance-pill:focus-within {
  border-color: #ffd700;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 16px rgba(255, 215, 0, 0.35);
}

.cashout-currency-symbol {
  font-size: clamp(18px, 3.2vw, 24px);
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  user-select: none;
}

.cashout-balance-num {
  font-size: clamp(20px, 3.8vw, 26px);
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  letter-spacing: 0.5px;
}

.cashout-balance-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: clamp(20px, 3.8vw, 26px);
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
  min-width: 80px;
  padding: 0 4px;
  -moz-appearance: textfield;
}

.cashout-balance-input::-webkit-outer-spin-button,
.cashout-balance-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cashout-balance-input::placeholder {
  color: rgba(255, 215, 0, 0.4);
  font-size: clamp(13px, 2.2vw, 16px);
  font-weight: 600;
  text-shadow: none;
}

.cashout-max-btn {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #1a052e;
  border: 1px solid rgba(255, 215, 0, 0.8);
  border-radius: 14px;
  padding: 3px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.08s, filter 0.08s;
  user-select: none;
  flex-shrink: 0;
}

.cashout-max-btn:active {
  transform: scale(0.92) !important;
  filter: brightness(1.2) !important;
}

/* SEPARATOR: ◆ Withdraw Cash ◆ */
.cashout-separator {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 4px 0 8px;
}

.cashout-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
}

.cashout-sep-label {
  font-size: clamp(11px, 1.6vw, 12px);
  color: #c4b5fd;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============================================================
   LOBBY INSTANT TAP RESPONSE & COMPLETE MOBILE RESPONSIVENESS
   ============================================================ */
.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;
}

/* Mobile Phone Portrait Mode (<= 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-user-profile-badge {
    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;
  }
}

/* Mobile Phone Landscape Mode (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;
  }
}

/* PRESET CHIPS GRID */
.cashout-chips-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 1.2vw, 10px);
  margin-bottom: clamp(8px, 1.5vh, 12px);
}

/* PRESET CHIPS: Default glossy emerald green for all unselected buttons */
.cashout-chip-btn {
  height: clamp(34px, 6vh, 40px);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(13px, 2.2vw, 15px);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border: 1.5px solid #34d399;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.cashout-chip-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, transparent 100%);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  pointer-events: none;
}

.cashout-chip-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.cashout-chip-btn:active {
  transform: scale(0.97);
}

/* DYNAMIC ACTIVE / SELECTED CHIP: Glowing Luxury Gold / Amber Highlight */
.cashout-chip-btn.active,
.cashout-chip-btn.selected {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
  border: 2px solid #fff275 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.95), 0 4px 12px rgba(0, 0, 0, 0.6) !important;
  transform: scale(1.05) !important;
  z-index: 2;
}

.cashout-chip-btn.active::before,
.cashout-chip-btn.selected::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%) !important;
}

/* Ensure unselected chips never stay gold even with legacy classes */
.cashout-chip-btn.chip-gold:not(.active):not(.selected),
.cashout-chip-btn.chip-green:not(.active):not(.selected) {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
  border: 1.5px solid #34d399 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35) !important;
  transform: scale(1) !important;
}

/* LARGE CYAN WITHDRAW CTA BUTTON */
.cashout-withdraw-cta {
  width: 100%;
  max-width: 260px;
  height: clamp(36px, 6.5vh, 42px);
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1.5px solid #38bdf8;
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(14px, 2.4vw, 16.5px);
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cashout-withdraw-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.75);
}

.cashout-withdraw-cta:active {
  transform: translateY(1px);
}

/* WATERMARK BACKGROUND */
.cashout-watermark-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   MODAL 1: ACCOUNT INFO MODAL (IMAGE 2)
   ============================================================ */
.account-info-window {
  background: linear-gradient(180deg, #300854 0%, #200438 100%);
  border: 2px solid #8b5cf6;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(139, 92, 246, 0.35);
  width: 100%;
  max-width: 480px;
  padding: 18px 22px 16px;
  position: relative;
  box-sizing: border-box;
  animation: modalPopUp 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-ornament {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.ai-ornament-tl { top: 6px; left: 6px; border-top: 2px solid #a78bfa; border-left: 2px solid #a78bfa; }
.ai-ornament-tr { top: 6px; right: 6px; border-top: 2px solid #a78bfa; border-right: 2px solid #a78bfa; }
.ai-ornament-bl { bottom: 6px; left: 6px; border-bottom: 2px solid #a78bfa; border-left: 2px solid #a78bfa; }
.ai-ornament-br { bottom: 6px; right: 6px; border-bottom: 2px solid #a78bfa; border-right: 2px solid #a78bfa; }

.ai-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #c4b5fd;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}

.ai-close-btn:hover {
  color: #ffffff;
}

.ai-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.ai-form-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-field-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-label {
  width: 125px;
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  text-align: right;
  flex-shrink: 0;
}

.ai-input {
  flex: 1;
  height: 34px;
  background: #1c0333;
  border: 1px solid #6b21a8;
  border-radius: 6px;
  padding: 0 10px;
  color: #ffffff;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ai-input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.ai-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #a78bfa;
  margin: 10px 0 12px;
  padding: 0 8px;
}

.ai-info-icon {
  font-size: 13px;
  color: #c4b5fd;
  flex-shrink: 0;
}

.ai-btn-wrap {
  display: flex;
  justify-content: center;
}

.ai-save-btn {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border: 1.5px solid #fbbf24;
  border-radius: 6px;
  padding: 6px 38px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ai-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(245, 158, 11, 0.65);
}

/* ============================================================
   MODAL 2: WITHDRAW RECORD MODAL (IMAGE 3)
   ============================================================ */
.withdraw-record-window {
  background: linear-gradient(180deg, #2b074d 0%, #1c0333 100%);
  border: 2px solid #8b5cf6;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(139, 92, 246, 0.35);
  width: 100%;
  max-width: 520px;
  padding: 12px 18px 12px;
  position: relative;
  box-sizing: border-box;
  animation: modalPopUp 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wr-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
}

.wr-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wr-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16.5px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

.wr-shield-icon {
  display: flex;
  align-items: center;
}

.wr-close-btn {
  position: absolute;
  right: 0;
  top: 0;
  background: none;
  border: none;
  color: #c4b5fd;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px;
}

.wr-close-btn:hover {
  color: #ffffff;
}

.wr-card {
  background: rgba(18, 3, 33, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  padding: 8px 14px 10px;
}

.wr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.wr-order-id-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.wr-order-label {
  color: #c4b5fd;
  font-weight: 600;
}

.wr-order-val {
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.wr-method-badge {
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(22, 163, 74, 0.4);
}

.wr-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wr-details-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wr-detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}

.wr-detail-label {
  color: #c4b5fd;
  font-weight: 500;
  min-width: 105px;
}

.wr-detail-val {
  color: #ffffff;
  font-weight: 600;
}

.wr-detail-val.wr-amt-highlight {
  color: #ffd700;
  font-weight: 800;
  font-size: 12.5px;
}

.wr-status-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.wr-bank-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wr-bank-svg {
  width: 95px;
  height: 75px;
}

.wr-status-pill {
  background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
  border: 1px solid #a78bfa;
  border-radius: 12px;
  padding: 2px 16px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  margin-top: -6px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5);
}

.wr-help-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #d8b4fe;
  margin-top: 8px;
  cursor: pointer;
  transition: color 0.15s;
}

.wr-help-row:hover {
  color: #ffffff;
}

.wr-help-link-text {
  text-decoration: underline;
}

.wr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.wr-nav-btn {
  background: none;
  border: none;
  color: #ffd700;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  padding: 2px 8px;
  transition: transform 0.12s;
}

.wr-nav-btn:hover {
  transform: scale(1.2);
}

.wr-page-indicator {
  font-size: 13.5px;
  font-weight: 700;
  color: #e9d5ff;
}

.wr-footer-note {
  font-size: 11px;
  color: #a78bfa;
  text-align: center;
  margin-top: 3px;
}

/* ============================================================
   RESPONSIVENESS (MOBILE PHONES & TABLETS)
   ============================================================ */

/* Mobile Landscape (< 420px height, typical smartphone landscape) */
@media (max-height: 420px) and (orientation: landscape) {
  .cashout-header {
    height: 40px;
  }
  .cashout-title-text {
    font-size: 17px;
  }
  .cashout-ticker-pill {
    padding: 2px 10px;
    max-width: 280px;
  }
  .cashout-body {
    padding: 4px 16px;
    gap: 14px;
  }
  .cashout-balance-pill {
    padding: 2px 16px;
    margin-bottom: 4px;
  }
  .cashout-balance-num {
    font-size: 20px;
  }
  .cashout-chip-btn {
    height: 30px;
    font-size: 13px;
  }
  .cashout-withdraw-cta {
    height: 32px;
    font-size: 13.5px;
    margin-top: 5px;
  }
  .cashout-bankcard-box {
    padding: 4px 10px;
    margin-bottom: 6px;
  }
  .cashout-rules-list li {
    font-size: 10px;
    line-height: 1.3;
  }

  /* Account Info Modal compact landscape */
  .account-info-window {
    max-height: 94vh;
    padding: 8px 16px 8px;
    max-width: 440px;
  }
  .ai-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .ai-field-row {
    gap: 8px;
    margin-bottom: 4px;
  }
  .ai-label {
    width: 105px;
    font-size: 11.5px;
  }
  .ai-input {
    height: 28px;
    font-size: 12px;
  }
  .ai-disclaimer {
    margin: 5px 0 6px;
    font-size: 10px;
  }
  .ai-save-btn {
    padding: 4px 26px;
    font-size: 13.5px;
  }

  /* Withdraw Record Modal compact landscape */
  .withdraw-record-window {
    max-height: 94vh;
    padding: 8px 14px 6px;
    max-width: 460px;
  }
  .wr-header {
    margin-bottom: 6px;
  }
  .wr-title {
    font-size: 15px;
  }
  .wr-card {
    padding: 6px 12px 6px;
  }
  .wr-bank-svg {
    width: 75px;
    height: 55px;
  }
  .wr-detail-item {
    font-size: 10.5px;
  }
  .wr-detail-label {
    min-width: 90px;
  }
  .wr-help-row {
    margin-top: 5px;
    font-size: 11px;
  }
  .wr-pagination {
    margin-top: 5px;
  }
}

/* Fallback for narrow vertical screens if rotated to portrait */
@media (max-width: 600px) and (orientation: portrait) {
  #screenCashOut {
    overflow-y: auto !important;
  }
  .cashout-screen-wrapper {
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
  }
  .cashout-body {
    flex-direction: column;
    overflow-y: auto;
    padding: 12px 16px 24px;
  }
  .cashout-col-left, .cashout-col-right {
    max-width: 100%;
    width: 100%;
  }
}

/* ============================================================
   CINEMATIC AAA CASINO SPLASH & LOADING SCREEN STYLES
   ============================================================ */
.app-splash-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: radial-gradient(circle at 50% 40%, #20043b 0%, #120124 55%, #07000d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-ui, 'Outfit', sans-serif);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s ease-out;
}

.app-splash-screen.splash-fade-out {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

.splash-ambient-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.splash-light-beam {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.18) 0%, rgba(168, 85, 247, 0.12) 45%, transparent 70%);
  filter: blur(40px);
  animation: splashBeamPulse 4s infinite ease-in-out;
}

.splash-ambient-glow {
  position: absolute;
  width: 800px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
  filter: blur(50px);
}

@keyframes splashBeamPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.splash-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  animation: splashEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashEntrance {
  0% { opacity: 0; transform: translateY(18px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 3D EMBLEM WRAPPER WITH HALO */
.splash-emblem-container {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-halo-glow {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.45) 0%, rgba(234, 179, 8, 0.2) 50%, transparent 75%);
  filter: blur(14px);
  animation: haloPulse 3s infinite ease-in-out;
}

@keyframes haloPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.splash-emblem-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 26px;
  border: 2px solid #ffd700;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.65), 0 10px 30px rgba(0, 0, 0, 0.85), inset 0 1px 3px rgba(255, 255, 255, 0.9);
  overflow: hidden;
  background: #1e0533;
  animation: emblemFloat 3s infinite ease-in-out;
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.splash-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.splash-emblem-shine {
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(25deg);
  animation: emblemShine 2.8s infinite;
  pointer-events: none;
}

@keyframes emblemShine {
  0% { left: -120%; }
  35% { left: 180%; }
  100% { left: 180%; }
}

/* BRAND TITLE & SUBTITLE */
.splash-brand-text {
  margin-bottom: 22px;
}

.splash-title {
  margin: 0 0 4px 0;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2.5px;
  background: linear-gradient(135deg, #ffffff 0%, #fff3b0 30%, #ffd700 60%, #cca01d 85%, #996515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.5));
}

.splash-sub-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.splash-suit {
  color: #ffd700;
  font-size: 11px;
  filter: drop-shadow(0 0 4px #ffd700);
}

.splash-subtitle {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #e9d5ff;
  text-transform: uppercase;
}

/* LOADER BOX & PROGRESS BAR */
.splash-loader-box {
  width: 340px;
  max-width: 84vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.splash-progress-track {
  width: 100%;
  height: 12px;
  background: rgba(10, 3, 20, 0.9);
  border: 1.5px solid rgba(255, 215, 0, 0.55);
  border-radius: 20px;
  padding: 2px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 14px rgba(255, 215, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.splash-progress-fill {
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(90deg, #ec4899 0%, #f59e0b 50%, #ffd700 100%);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.9);
  transition: width 0.1s linear;
  position: relative;
  min-width: 8px;
}

.splash-progress-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: progressShimmer 1.8s infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.splash-progress-spark {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px 3px #ffd700;
}

.splash-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.splash-status-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.splash-pct-num {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 15px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* FOOTER TRUST BADGES */
.splash-footer-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: 0.3px;
  flex-wrap: wrap;
  justify-content: center;
}

.splash-trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.splash-dot {
  color: rgba(255, 215, 0, 0.5);
}

@media (max-width: 500px) {
  .splash-emblem-wrap {
    width: 110px;
    height: 110px;
    border-radius: 22px;
  }
  .splash-title {
    font-size: 24px;
  }
  .splash-loader-box {
    width: 290px;
  }
  .splash-status-text {
    font-size: 11.5px;
    max-width: 230px;
  }
}






/* ============================================================
   LUCKY SPIN WHEEL - MOBILE RESPONSIVE SUITE
   ============================================================ */
.lucky-wheel-modal-window {
  max-width: 440px;
  width: 92%;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(28, 16, 52, 0.98) 0%, rgba(14, 8, 30, 0.98) 100%);
  border: 2px solid #ffd700;
  border-radius: 20px;
  padding: 16px 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 215, 0, 0.25);
  box-sizing: border-box;
  position: relative;
  scrollbar-width: thin;
}

.lucky-wheel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.lucky-wheel-stage-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.wheel-container {
  position: relative;
  width: min(260px, 68vmin);
  height: min(260px, 68vmin);
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.3);
  display: block;
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 22px solid #ffd700;
  z-index: 10;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
}

.wheel-center-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  height: 22%;
  max-width: 56px;
  max-height: 56px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: min(13px, 3.8vmin);
  font-weight: 900;
  color: #451a03;
  cursor: pointer;
  z-index: 12;
  transition: transform 0.2s;
}

.wheel-center-pin:active {
  transform: translate(-50%, -50%) scale(0.92);
}

.lucky-wheel-info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 6px;
}

.lucky-wheel-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.lucky-wheel-title {
  font-size: 18px;
  font-weight: 900;
  color: #ffd700;
  margin: 0;
  letter-spacing: 0.5px;
}

.lucky-wheel-subtext {
  font-size: 11.5px;
  color: var(--text-secondary, #94a3b8);
  margin: 0;
  text-align: center;
  line-height: 1.35;
}

.lucky-wheel-odds-pill {
  display: flex;
  gap: 12px;
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  padding: 5px 12px;
  color: #cbd5e1;
}

.lucky-wheel-action-btn {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
  font-weight: 900;
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  touch-action: manipulation;
}

/* Landscape Mode (e.g. mobile rotated landscape or heights <= 540px) */
@media (orientation: landscape) and (max-height: 540px), (max-height: 500px) {
  .lucky-wheel-modal-window {
    max-width: 620px !important;
    width: 94% !important;
    max-height: 94vh !important;
    padding: 10px 18px !important;
    border-radius: 16px !important;
  }

  .lucky-wheel-layout {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
  }

  .lucky-wheel-stage-col {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .wheel-container {
    width: min(205px, 66vh) !important;
    height: min(205px, 66vh) !important;
    margin: 0 !important;
  }

  .lucky-wheel-info-col {
    flex: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 5px !important;
  }

  .lucky-wheel-title {
    font-size: 17px !important;
    text-align: left !important;
  }

  .lucky-wheel-subtext {
    font-size: 11px !important;
    text-align: left !important;
  }

  .lucky-wheel-odds-pill {
    flex-direction: column !important;
    gap: 2px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .lucky-wheel-action-btn {
    min-height: 38px !important;
    font-size: 13px !important;
    margin-top: 2px !important;
  }

  /* Universal Landscape Fixes for all other Modals */
  .personal-details-window,
  .welcome-tasks-window,
  .classic-rules-window,
  .daily-rewards-window,
  .vip-unlock-window,
  .dashboard-modal-window,
  .slots-modal-card,
  .ab-modal-card,
  .dvt-history-modal-window,
  .modal-window {
    max-height: 94vh !important;
    overflow-y: auto !important;
    padding: 10px 14px !important;
  }

  .personal-details-body {
    flex-direction: row !important;
    gap: 12px !important;
    padding: 10px 14px !important;
  }

  .daily-cards-row {
    padding: 0 6px !important;
    gap: 6px !important;
  }
  
  .daily-reward-card {
    min-width: 80px !important;
    padding: 6px 4px !important;
  }
}

/* ============================================================
   ORIENTATION ROTATE PROMPT OVERLAY (iOS / iPhone Landscape Lock)
   ============================================================ */
.orientation-rotate-prompt {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1b0713 0%, #0a0105 100%);
  color: #fff;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}

.rotate-prompt-backdrop {
  position: absolute;
  inset: 0;
  background: url('../assets/extracted_ui/video_lobby_bg.jpg') center/cover no-repeat;
  filter: blur(12px) brightness(0.28);
  opacity: 0.65;
}

.rotate-prompt-card {
  position: relative;
  z-index: 2;
  max-width: 380px;
  width: 90%;
  background: linear-gradient(145deg, rgba(32, 8, 18, 0.96) 0%, rgba(13, 2, 8, 0.98) 100%);
  border: 2px solid #ffd700;
  border-radius: 24px;
  padding: 30px 22px 26px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 215, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rotate-crown-badge {
  font-size: 34px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
  animation: rotatePulseCrown 2s infinite ease-in-out;
}

@keyframes rotatePulseCrown {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.rotate-phone-anim {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 18px;
}

.phone-frame {
  width: 38px;
  height: 64px;
  border: 3px solid #ffd700;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  animation: rotateDeviceCycle 2.4s infinite cubic-bezier(0.45, 0, 0.55, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background: #ffd700;
  border-radius: 2px;
}

.phone-frame::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd700;
}

.phone-chip {
  font-size: 15px;
  color: #ffd700;
}

.rotate-curve-arrow {
  position: absolute;
  right: -8px;
  top: 4px;
  font-size: 28px;
  color: #ffd700;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.7));
  animation: rotateArrowPulse 2.4s infinite ease-in-out;
}

@keyframes rotateDeviceCycle {
  0%, 15% { transform: rotate(0deg); }
  50%, 80% { transform: rotate(90deg); }
  95%, 100% { transform: rotate(0deg); }
}

@keyframes rotateArrowPulse {
  0%, 15% { opacity: 0.3; transform: scale(0.9); }
  50%, 80% { opacity: 1; transform: scale(1.15); }
  95%, 100% { opacity: 0.3; transform: scale(0.9); }
}

.rotate-prompt-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.rotate-prompt-desc {
  font-size: 13px;
  color: #eed6c4;
  line-height: 1.45;
  margin: 0 0 16px;
}

.rotate-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
}

.pill-dot {
  color: #22c55e;
  font-size: 10px;
  animation: pillDotBlink 1.2s infinite;
}

@keyframes pillDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media screen and (orientation: landscape) {
  #orientationRotatePrompt {
    display: none !important;
  }
}

