/* =====================================================================
 * MAGER COIN — Telegram Mini App Ultra-Modern Theme & Stylesheet
 * Version 2.5.0 • Web3 / Cyber-Gaming Aesthetic
 * ===================================================================== */

:root {
  /* Color Palette */
  --bg-deep: #07090E;
  --bg-primary: #0B0E17;
  --bg-secondary: #121826;
  --bg-card: rgba(18, 24, 38, 0.85);
  --bg-card-hover: rgba(26, 34, 54, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --bg-glass-strong: rgba(255, 255, 255, 0.07);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 215, 0, 0.2);
  --border-active: rgba(255, 215, 0, 0.5);

  /* Neon & Accents */
  --gold-glow: #FCD34D;
  --gold-primary: #F59E0B;
  --gold-dark: #D97706;
  --accent-purple: #8B5CF6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #06B6D4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --danger: #EF4444;
  --warning: #F59E0B;
  --success: #10B981;

  /* Typography */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --bottom-nav-height: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(6, 182, 212, 0.10) 0%, transparent 45%),
    linear-gradient(180deg, #07090E 0%, #0B0F1C 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 20px);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.toast.toast-success {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.toast.toast-error {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.toast-icon {
  font-size: 20px;
}

.toast-msg {
  font-size: 13px;
  font-weight: 600;
  color: #FFF;
  line-height: 1.4;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-16px) scale(0.95); }
}

/* App Viewport Container */
.app-viewport {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  padding: 12px 16px;
}

/* =====================================================================
 * TOP APP BAR / HUD
 * ===================================================================== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 14px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px 6px 6px;
  border-radius: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #FFF;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verified-badge {
  background: var(--accent-cyan);
  color: #07090E;
  font-size: 9px;
  font-weight: 900;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-status {
  font-size: 10px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.ping-badge {
  color: var(--text-dim);
  font-size: 9px;
  margin-left: 2px;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.icon-pill-btn:active {
  transform: scale(0.9);
}

.pill-streak {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold-glow);
  padding: 7px 14px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.pill-streak:active {
  transform: scale(0.95);
}

.streak-fire {
  animation: pulseFire 1.5s infinite alternate;
}

@keyframes pulseFire {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px #F59E0B); }
  100% { transform: scale(1.2); filter: drop-shadow(0 0 8px #EF4444); }
}

/* =====================================================================
 * TIER / LEVEL PROGRESSION HUD
 * ===================================================================== */
.tier-hud {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.tier-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tier-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #FFF;
}

.tier-icon {
  font-size: 16px;
}

.tier-power-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-glow);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
}

.tier-bar-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.tier-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-glow));
  border-radius: 10px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.tier-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

.tier-progress-value {
  color: #FFF;
  font-weight: 700;
}

/* =====================================================================
 * TAB SCREENS
 * ===================================================================== */
.tab-screen {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.25s ease-out forwards;
}

.tab-screen.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
 * HOME SCREEN: SCORE & 3D COIN ARENA
 * ===================================================================== */
.score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4px 0 10px;
  position: relative;
}

.balance-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.coin-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-icon-glow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
}

.coin-counter-icon {
  width: 100%;
  height: 100%;
}

.counter-number {
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.rupiah-estimate-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12px;
}

.estimate-tag {
  color: var(--text-muted);
}

.estimate-val {
  color: var(--accent-cyan);
  font-weight: 800;
}

/* Rapid Tap Combo Bubble */
.combo-bubble-container {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.combo-bubble {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(245, 158, 11, 0.35));
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 20px;
  padding: 3px 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.combo-bubble.active {
  opacity: 1;
  transform: scale(1);
}

.combo-text {
  font-size: 11px;
  font-weight: 900;
  color: #FFF;
  letter-spacing: 0.5px;
}

/* 3D Coin Tap Arena */
.coin-arena {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 6px 0 14px;
  perspective: 800px;
}

.coin-aura-pulse {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(139, 92, 246, 0.1) 45%, transparent 70%);
  animation: pulseAura 3s ease-in-out infinite alternate;
  pointer-events: none;
}

.coin-aura-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.25);
  animation: spinRing 25s linear infinite;
  pointer-events: none;
}

@keyframes pulseAura {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.coin-wrapper {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.08s ease-out;
  touch-action: manipulation;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.6));
}

.tap-coin {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.45));
}

/* Floating Numbers on Tap */
.floating-number {
  position: absolute;
  font-size: 26px;
  font-weight: 900;
  color: #FFF;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.9), 0 2px 4px rgba(0,0,0,0.8);
  pointer-events: none;
  animation: floatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 100;
}

.floating-number.crit {
  color: #FBBF24;
  font-size: 32px;
  text-shadow: 0 0 14px rgba(239, 68, 68, 0.9), 0 2px 4px rgba(0,0,0,0.8);
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translateY(-40px) scale(1.15);
  }
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(1);
  }
}

/* =====================================================================
 * ENERGY GAUGE & BOOSTER
 * ===================================================================== */
.energy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.energy-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.energy-label-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.energy-bolt {
  font-size: 16px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.energy-label {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
}

.energy-count {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-glow);
}

.energy-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.energy-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #10B981);
  border-radius: 10px;
  transition: width 0.35s ease-out;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.energy-timer-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 10px;
}

.energy-regen-hint {
  color: var(--text-dim);
}

.energy-countdown-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 700;
}

.btn-instant-refill {
  width: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--success);
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-instant-refill:active {
  transform: scale(0.98);
}

/* =====================================================================
 * PUSAT PENGHASILAN (AD EARNING HUB)
 * ===================================================================== */
.earn-center {
  margin-top: 4px;
}

.multiplier-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.25));
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.15); }
  100% { box-shadow: 0 0 22px rgba(245, 158, 11, 0.4); }
}

.multiplier-icon {
  font-size: 24px;
}

.mult-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mult-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFF;
}

.multiplier-reason {
  font-size: 11px;
  color: var(--gold-glow);
}

.mult-badge {
  background: var(--gold-primary);
  color: #07090E;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 12px;
}

.earn-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.earn-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
}

.earn-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.mission-tag-status {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
}

.daily-ad-progress {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.dap-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.dap-count-num {
  color: var(--gold-glow);
  font-weight: 800;
}

.dap-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.dap-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--accent-cyan));
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Mission Cards Grid */
.ad-missions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ad-mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.ad-mission-card:active {
  transform: scale(0.98);
}

.ad-mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-primary);
}

.mission-card-gold::before { background: var(--gold-primary); }
.mission-card-purple::before { background: var(--accent-purple); }
.mission-card-cyan::before { background: var(--accent-cyan); }
.mission-card-emerald::before { background: var(--accent-emerald); }

.ad-mission-card.card-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.ad-mission-card.card-loading {
  pointer-events: none;
  opacity: 0.8;
  animation: pulseCard 1s infinite alternate;
}

@keyframes pulseCard {
  0% { transform: scale(1); }
  100% { transform: scale(0.98); filter: brightness(1.2); }
}

.mission-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.mission-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  flex-shrink: 0;
}

.glow-gold { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); }
.glow-purple { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3); }
.glow-cyan { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3); }
.glow-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }

.mission-info {
  display: flex;
  flex-direction: column;
}

.mission-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.mission-name {
  font-size: 14px;
  font-weight: 800;
  color: #FFF;
}

.badge-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-gold { background: rgba(245, 158, 11, 0.2); color: var(--gold-glow); }
.pill-purple { background: rgba(139, 92, 246, 0.2); color: #C4B5FD; }
.pill-cyan { background: rgba(6, 182, 212, 0.2); color: #67E8F9; }
.pill-emerald { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }

.mission-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 190px;
}

.mission-reward-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.mission-reward {
  font-size: 13px;
  font-weight: 900;
  color: var(--gold-glow);
  white-space: nowrap;
}

.mission-reward-purple { color: #C4B5FD; }
.mission-reward-cyan { color: #67E8F9; }
.mission-reward-emerald { color: #6EE7B7; }

.btn-mission-action {
  background: var(--gold-primary);
  color: #07090E;
  border: none;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-action-purple { background: var(--accent-purple); color: #FFF; }
.btn-action-cyan { background: var(--accent-cyan); color: #07090E; }
.btn-action-emerald { background: var(--accent-emerald); color: #07090E; }

.mission-cooldown {
  font-size: 10px;
  color: var(--warning);
  font-weight: 700;
}

/* Cooldown Global Bar */
.cooldown-notice {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gold-glow);
}

/* =====================================================================
 * TAB 2: RANK / LEADERBOARD
 * ===================================================================== */
.section-header {
  text-align: center;
  margin: 6px 0 16px;
}

.header-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 4px;
}

.section-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.prize-pool-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prize-pool-icon {
  font-size: 26px;
}

.prize-pool-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prize-pool-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--gold-glow);
  letter-spacing: 0.5px;
}

.prize-pool-amount {
  font-size: 15px;
  font-weight: 900;
  color: #FFF;
}

.prize-pool-pill {
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 10px;
}

/* Floating My Rank Banner */
.my-rank-banner {
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid var(--border-active);
  border-radius: 18px;
  padding: 12px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.my-rank-left, .my-rank-right {
  display: flex;
  flex-direction: column;
}

.my-rank-right {
  align-items: flex-end;
}

.my-rank-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
}

.rank-badge {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold-glow);
}

.my-rank-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
  border: 2px solid var(--gold-glow);
}

.my-rank-score-val {
  font-size: 16px;
  font-weight: 900;
  color: #FFF;
}

/* Podium Top 3 */
.podium-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0 4px;
}

.podium-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 12px 6px 0;
  position: relative;
}

.podium-gold {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
  transform: translateY(-8px);
}

.podium-crown {
  font-size: 22px;
  margin-bottom: 4px;
}

.podium-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #FFF;
  margin-bottom: 6px;
  border: 2px solid var(--border-subtle);
}

.podium-avatar.gold-glow {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.podium-name {
  font-size: 11px;
  font-weight: 700;
  color: #FFF;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.podium-score {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-glow);
  margin-bottom: 8px;
}

.podium-pillar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #07090E;
  border-radius: 10px 10px 0 0;
}

.pillar-1 { height: 42px; background: linear-gradient(180deg, #F59E0B, #D97706); }
.pillar-2 { height: 32px; background: linear-gradient(180deg, #94A3B8, #64748B); }
.pillar-3 { height: 26px; background: linear-gradient(180deg, #B45309, #78350F); color: #FFF; }

/* Leaderboard List */
.leader-list-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 12px 14px;
}

.leader-list-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  padding: 0 8px 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.leader-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.leader-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.leader-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.leader-rank-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  width: 22px;
}

.leader-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #FFF;
}

.leader-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
}

.leader-score {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-glow);
}

/* =====================================================================
 * TAB 3: INVITE / REFERRAL
 * ===================================================================== */
.invite-hero {
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 22px 18px;
  margin-bottom: 16px;
}

.invite-hero-icon {
  font-size: 42px;
  margin-bottom: 8px;
}

.invite-hero h3 {
  font-size: 18px;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 6px;
}

.invite-hero p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.invite-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.stat-box.stat-gold { border-color: rgba(245, 158, 11, 0.3); }
.stat-box.stat-green { border-color: rgba(16, 185, 129, 0.3); }

.stat-value {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 2px;
}

.stat-value.gold { color: var(--gold-glow); }
.stat-value.green { color: var(--success); }

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.ref-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 16px;
}

.ref-title-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ref-code-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 6px 8px 6px 14px;
  margin-bottom: 12px;
}

.ref-code-text {
  font-family: monospace;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-glow);
  letter-spacing: 1px;
}

.btn-copy {
  background: var(--gold-primary);
  color: #07090E;
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s;
}

.btn-copy:active {
  transform: scale(0.95);
}

.btn-share-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #0088CC, #0077B5);
  color: #FFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.35);
}

.btn-share-tg:active {
  transform: scale(0.98);
}

.ref-steps-guide {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.ref-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-glow);
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =====================================================================
 * TAB 4: WALLET / WITHDRAW
 * ===================================================================== */
.wallet-card-holo {
  background: linear-gradient(135deg, #1E1B4B 0%, #311042 50%, #0F172A 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(245, 158, 11, 0.1);
}

.wallet-card-holo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  transform: rotate(25deg);
  pointer-events: none;
}

.card-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-chip {
  width: 38px;
  height: 26px;
  background: linear-gradient(135deg, #FCD34D, #D97706);
  border-radius: 6px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.2);
}

.card-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-glow);
}

.card-balance-section {
  margin-bottom: 16px;
}

.card-balance-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.card-balance-val {
  font-size: 28px;
  font-weight: 900;
  color: #FFF;
  letter-spacing: -0.5px;
}

.card-rupiah-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-cyan);
}

.card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

.card-user {
  font-size: 12px;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-kurs-badge {
  background: rgba(0, 0, 0, 0.3);
  font-size: 10px;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 10px;
}

/* Withdraw Form Card */
.withdraw-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 18px;
}

.wf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wf-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
}

.wf-min-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-glow);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
}

.preset-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.preset-amounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 4px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.preset-btn:active, .preset-btn.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-glow);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.input-styled, .select-styled {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  color: #FFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.input-styled:focus, .select-styled:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.coin-calc-notice {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.coin-calc-notice strong {
  color: var(--gold-glow);
}

.btn-withdraw-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #07090E;
  border: none;
  font-size: 13px;
  font-weight: 900;
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.2s;
}

.btn-withdraw-submit:active {
  transform: scale(0.98);
}

.btn-withdraw-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* History Sections */
.history-section {
  margin-bottom: 16px;
}

.history-header {
  margin-bottom: 8px;
}

.history-header h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-left {
  display: flex;
  flex-direction: column;
}

.history-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
}

.history-meta {
  font-size: 10px;
  color: var(--text-dim);
}

.history-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.history-amount {
  font-size: 13px;
  font-weight: 800;
}

.history-status-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  margin-top: 2px;
}

.status-pending { background: rgba(245, 158, 11, 0.2); color: var(--gold-glow); }
.status-approved { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.status-rejected { background: rgba(239, 68, 68, 0.2); color: var(--danger); }

/* =====================================================================
 * TAB 5: PROFILE & SETTINGS
 * ===================================================================== */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #FFF;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.profile-info-block {
  display: flex;
  flex-direction: column;
}

.profile-username {
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
}

.profile-handle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.profile-status-chip {
  font-size: 10px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.pstat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 6px;
  text-align: center;
}

.pstat-val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 2px;
}

.pstat-label {
  font-size: 9px;
  color: var(--text-dim);
  font-weight: 600;
}

.settings-group-card, .legal-group-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
}

.settings-group-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 12px;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-label-col {
  display: flex;
  flex-direction: column;
}

.setting-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
}

.setting-desc {
  font-size: 10px;
  color: var(--text-dim);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--gold-primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Legal Links */
.legal-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  transition: all 0.15s;
}

.legal-link-item:hover, .legal-link-item:active {
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
}

.arrow-right {
  color: var(--text-dim);
}

.app-version-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.server-badge {
  color: var(--success);
  font-weight: 700;
  font-size: 10px;
}

/* =====================================================================
 * BOTTOM NAVIGATION DOCK
 * ===================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  background: rgba(11, 14, 23, 0.92);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 8px;
  padding-bottom: var(--safe-bottom);
  backdrop-filter: blur(20px);
  z-index: 900;
}

.nav-tab {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-dim);
  cursor: pointer;
  flex: 1;
  padding: 4px 0;
  transition: all 0.2s;
}

.nav-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.nav-icon {
  font-size: 18px;
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-tab.active {
  color: var(--gold-glow);
}

.nav-tab.active .nav-icon-wrap {
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.nav-tab.active .nav-icon {
  transform: scale(1.1);
}

/* =====================================================================
 * MODAL DIALOGS
 * ===================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 24px 20px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-streak-icon {
  font-size: 42px;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 17px;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 6px;
}

.modal-body-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Daily Ladder Grid */
.daily-ladder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.ladder-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ladder-card.ladder-day-7 {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(139, 92, 246, 0.25));
  border-color: rgba(245, 158, 11, 0.5);
}

.ladder-card.claimed {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

.ladder-card.current {
  border-color: var(--gold-glow);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
  animation: pulseCard 1.5s infinite alternate;
}

.ladder-day-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
}

.ladder-reward-val {
  font-size: 11px;
  font-weight: 900;
  color: var(--gold-glow);
}

.btn-claim-streak-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #07090E;
  border: none;
  font-size: 13px;
  font-weight: 900;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  margin-bottom: 8px;
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Ad Modal Spinner & Countdown */
.ad-spinner-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(245, 158, 11, 0.15);
  border-top-color: var(--gold-primary);
  animation: spinRing 1s linear infinite;
}

.ad-spinner-icon {
  font-size: 26px;
}

.ad-status-pill {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-glow);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 6px;
}

.ad-timer-container {
  width: 100%;
  margin: 12px 0;
}

.ad-timer-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.ad-timer-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--accent-cyan));
  border-radius: 10px;
  transition: width 1s linear;
}

.ad-timer-label {
  font-size: 12px;
  color: var(--text-muted);
}
