/**
 * QARDOUCH - DELUXE COMPONENTS STYLESHEET 🇲🇦🦁✨
 * Covers 100% of platform UI components with modern micro-interactions,
 * sleek gradients, and high-fidelity Arabic typography.
 */

/* ==========================================================================
   1. DELUXE LUCKY WHEEL COMPONENT
   ========================================================================== */
.wheel-card {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.08);
  position: relative;
  overflow: hidden;
}

.wheel-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wheel-stage-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 14px auto 18px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 28px solid #e11d48;
  filter: drop-shadow(0 4px 8px rgba(225, 29, 72, 0.6));
  z-index: 20;
  animation: pointerHover 2s ease-in-out infinite;
}

@keyframes pointerHover {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(3px); }
}

#wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.wheel-status-msg {
  font-size: 13px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  line-height: 1.45;
  font-weight: 700;
  transition: all 0.3s ease;
}

.wheel-status-msg.available {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #064e3b;
  border: 1px solid #86efac;
}

.wheel-status-msg.locked {
  background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
  color: #9f1239;
  border: 1px solid #fda4af;
}

/* Rewarded Ads Mission Card */
.daily-rewarded-ad-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.rewarded-ad-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.rewarded-ad-title {
  font-size: 13px;
  font-weight: 800;
  color: #78350f;
}

.rewarded-ad-counter {
  font-size: 11px;
  color: #b45309;
  font-weight: 700;
  margin-top: 2px;
}

/* ==========================================================================
   2. ACTIVE LIVE POLL COMPONENT
   ========================================================================== */
.poll-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.poll-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.poll-urgent-badge {
  background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
  color: #e11d48;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.2);
}

.poll-reward-badge {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #064e3b;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.poll-question-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 14px;
}

.poll-media-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  background: #021309;
  border: 1px solid #e2e8f0;
}

.poll-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poll-countdown-timer {
  background: linear-gradient(135deg, #fef2f2 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-align: center;
  margin-bottom: 14px;
}

.poll-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poll-option-item {
  position: relative;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease;
}

.poll-choice-btn {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.poll-choice-btn:hover:not(:disabled) {
  background: #f0fdf4;
  border-color: var(--primary-green-vibrant);
  transform: translateY(-1px);
}

.poll-choice-btn:disabled {
  cursor: default;
}

/* Normal option when voted */
.poll-choice-btn.has-voted {
  border-color: #e2e8f0;
  background: #f8fafc;
}

/* User's voted option - DISTINCT VIBRANT ROYAL GOLD HIGHLIGHT */
.poll-choice-btn.my-choice {
  border: 2px solid #f59e0b !important;
  background: #fffdf5 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25), inset 0 0 0 1px rgba(245, 158, 11, 0.15) !important;
}

/* Foreground elements with z-index: 2 sitting above the progress fill */
.poll-opt-num,
.poll-opt-text-wrap,
.poll-opt-pct {
  position: relative;
  z-index: 2;
}

.poll-opt-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #064e3b, #059669);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 10px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
  transition: all 0.25s ease;
}

/* Voter choice number badge */
.poll-opt-num.num-user-choice {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5) !important;
  color: #ffffff !important;
}

.poll-opt-text-wrap {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.poll-opt-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.poll-choice-btn.my-choice .poll-opt-text {
  font-weight: 900;
  color: #78350f;
}

/* Distinct "صوتك أنت" badge */
.poll-my-choice-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  padding: 2px 8px;
  margin-top: 4px;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2);
  animation: pulseVoteTag 2s infinite ease-in-out;
}

@keyframes pulseVoteTag {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.poll-opt-pct {
  font-size: 14px;
  font-weight: 900;
  color: #047857;
  min-width: 44px;
  text-align: left;
}

.poll-opt-pct.pct-user-choice {
  color: #b45309 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

/* PROGRESS BAR UNDERLAY */
.poll-percentage-bar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.poll-percentage-fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  border-radius: inherit;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Standard options progress bar (emerald green) */
.poll-percentage-fill.fill-standard {
  background: linear-gradient(270deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.18) 100%);
  border-left: 2.5px solid #10b981;
}

/* Voter's chosen option progress bar (luxurious gold / amber) */
.poll-percentage-fill.fill-user-choice {
  background: linear-gradient(270deg, rgba(245, 158, 11, 0.45) 0%, rgba(251, 191, 36, 0.25) 100%) !important;
  border-left: 2.5px solid #f59e0b !important;
}

.poll-already-voted-note {
  font-size: 12px;
  font-weight: 800;
  color: #047857;
  text-align: center;
  margin-top: 10px;
}

/* ==========================================================================
   3. EPISODES HUB (مركز الحلقات)
   ========================================================================== */
.episodes-filter-bar {
  margin-bottom: 12px;
}

.search-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 11px 18px;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-green-vibrant);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* ==========================================================================
   3. CINEMA & EPISODES THEATRE (سينما ومسلسل قردوش)
   ========================================================================== */
.episodes-cinema-header {
  background: linear-gradient(135deg, #022c16 0%, #064e3b 60%, #022316 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 16px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 16px rgba(16, 185, 129, 0.15);
  text-align: right;
}

.episodes-cinema-header::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cinema-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.15) 100%);
  border: 1px solid #facc15;
  color: #fef08a;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.cinema-header-title {
  font-size: 16.5px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cinema-header-desc {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0;
}

/* SERIES SELECTOR BAR (خانة المسلسلات) */
.gift-code-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(234, 179, 8, 0.28);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(51, 35, 12, 0.92));
}

.gift-code-card-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(234, 179, 8, 0.16);
  font-size: 28px;
}

.gift-code-card-content { flex: 1; min-width: 0; }
.gift-code-heading-row { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.gift-code-kicker { color: #fde68a; font-size: 11px; font-weight: 900; letter-spacing: .2px; }
.gift-code-sparkle { color: #facc15; font-size: 16px; }
.gift-code-card h3 { margin: 0 0 5px; color: #fff7d6; font-size: 17px; font-weight: 900; }
.gift-code-card p { margin: 0 0 12px; color: #cbd5e1; font-size: 13px; }
.gift-code-form { display: flex; gap: 9px; align-items: stretch; }
.gift-code-input-wrap { position: relative; flex: 1; min-width: 0; }
.gift-code-input-icon { position: absolute; top: 50%; right: 13px; z-index: 1; transform: translateY(-50%); color: #facc15; font-size: 18px; font-weight: 900; pointer-events: none; }
.gift-code-form .form-input { width: 100%; min-width: 0; height: 46px; padding: 0 40px 0 14px; border: 1px solid rgba(250, 204, 21, .35); border-radius: 13px; background: rgba(15, 23, 42, .72); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .3px; box-shadow: inset 0 1px 2px rgba(0,0,0,.2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.gift-code-form .form-input::placeholder { color: #94a3b8; font-weight: 600; }
.gift-code-form .form-input:focus { outline: none; border-color: #facc15; box-shadow: 0 0 0 3px rgba(250, 204, 21, .14), 0 8px 20px rgba(0,0,0,.16); transform: translateY(-1px); }
.gift-code-form .btn { min-height: 46px; padding: 0 18px; border-radius: 13px; font-weight: 900; white-space: nowrap; box-shadow: 0 6px 15px rgba(234, 179, 8, .2); }
.gift-code-form .btn:disabled { opacity: .65; cursor: wait; }
.gift-code-message { min-height: 20px; margin-top: 8px; font-size: 13px; font-weight: 700; }
.gift-code-message.success { color: #86efac; }
.gift-code-message.error { color: #fca5a5; }
.gift-code-message.loading { color: #fde68a; }

@media (max-width: 600px) {
  .gift-code-card { align-items: flex-start; }
  .gift-code-form { flex-direction: column; }
  .gift-code-form .btn { width: 100%; }
}

.series-selector-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

@media (min-width: 600px) {
  .series-selector-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.series-selector-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.series-icon {
  font-size: 20px;
}

.series-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.series-dropdown-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.series-dropdown-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #f8fafc;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 9px 38px 9px 14px;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.series-dropdown-select:hover {
  border-color: #059669;
}

/* MAIN THEATRE BOX */
.episodes-theatre-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #e2e8f0;
  margin-bottom: 24px;
}

/* TOP: EPISODES DROPDOWN SELECTOR */
.episodes-selector-topbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

@media (min-width: 600px) {
  .episodes-selector-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.selector-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.selector-icon {
  font-size: 20px;
}

.selector-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.custom-dropdown-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.episodes-dropdown-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(135deg, #022c16 0%, #064e3b 100%);
  color: #fef08a;
  border: 1.5px solid #facc15;
  border-radius: var(--radius-md);
  padding: 10px 38px 10px 14px;
  font-size: 13.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episodes-dropdown-select:hover {
  border-color: #fde047;
  box-shadow: 0 6px 16px rgba(234, 179, 8, 0.35);
}

.episodes-dropdown-select:focus {
  border-color: #fde047;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.35);
}

.dropdown-chevron {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #facc15;
  font-size: 11px;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.episodes-dropdown-select option {
  background: #022316;
  color: #ffffff;
  padding: 10px;
  font-weight: 700;
}

/* 9:16 VERTICAL VIDEO VIEWPORT */
.episodes-video-viewport-916 {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto 16px;
  aspect-ratio: 9 / 16;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  border: 2.5px solid #0f172a;
}

.episodes-video-viewport-916 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* UNDER VIDEO: PREV / NEXT NAVIGATION CONTROLS */
.episodes-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ep-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ep-nav-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.ep-nav-btn:disabled,
.ep-nav-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ep-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
}

.counter-dot {
  font-size: 8px;
  animation: pulseLiveDot 1.5s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

/* ACTIVE EPISODE META DETAILS */
.ep-active-meta-card {
  padding: 6px 0 0;
  text-align: right;
}

.ep-meta-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.active-ep-main-title {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.active-series-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
}

.active-ep-description {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 10px;
}

.active-ep-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ep-tag-pill {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.ep-tag-free {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
  font-weight: 800;
}

/* PLAYLIST SECTION HEADER */
.episodes-playlist-section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 600px) {
  .episodes-playlist-section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.playlist-title {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 3px;
}

.playlist-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.ep-playlist-search {
  max-width: 260px;
  font-size: 12px;
  padding: 7px 12px;
}

/* PLAYLIST GRID (POSTER STYLE) */
.episodes-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

@media (min-width: 768px) {
  .episodes-playlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.episode-playlist-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.episode-playlist-card:hover {
  transform: translateY(-3px);
  border-color: #059669;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.episode-playlist-card.active-playing {
  border-color: #facc15;
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.4), 0 8px 24px rgba(6, 78, 59, 0.15);
  background: #f0fdf4;
}

.ep-thumbnail-box-916 {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 13;
  background: #021309;
  overflow: hidden;
}

.ep-thumbnail-box-916 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.episode-playlist-card:hover .ep-thumbnail-box-916 img {
  transform: scale(1.05);
}

.ep-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #facc15;
  opacity: 0.9;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.episode-playlist-card:hover .ep-play-overlay {
  transform: scale(1.2);
}

.ep-now-playing-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ep-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ep-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.ep-number-tag {
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.ep-free-tag {
  font-size: 10px;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 4px;
}

.ep-description {
  font-size: 11px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-action-row {
  margin-top: auto;
}

.btn-play-ep {
  width: 100%;
  font-size: 11.5px;
  font-weight: 800;
}

/* ==========================================================================
   4. TESTS & VIRAL CERTIFICATES (الاختبارات وبطاقة المشاركة)
   ========================================================================== */
.tests-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.test-hub-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.test-hub-card:hover {
  transform: translateY(-2px);
  border-color: #059669;
  box-shadow: var(--shadow-card-hover);
}

.test-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.test-card-content {
  flex: 1;
}

.test-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.test-card-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.badge-new {
  font-size: 10.5px;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 4px;
}

.badge-done {
  font-size: 10.5px;
  font-weight: 800;
  color: #1e40af;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 4px;
}

.quiz-progress-wrap {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.quiz-progress-text {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  margin-bottom: 16px;
}

.quiz-q-card {
  text-align: center;
}

.quiz-q-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 16px;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option-btn:hover {
  background: #f0fdf4;
  border-color: #059669;
}

.option-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #334155;
  flex-shrink: 0;
}

.option-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

/* Viral Result Share Card */
.result-card-container {
  text-align: center;
}

.result-share-card {
  background: linear-gradient(135deg, #022c16 0%, #064e3b 100%);
  border: 2px solid #facc15;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  position: relative;
  margin-bottom: 16px;
}

.share-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.share-qardouch-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #facc15;
  background: #ffffff;
}

.share-card-brand {
  font-size: 12px;
  color: #fde047;
  font-weight: 800;
}

.share-card-user {
  font-size: 14px;
  color: #ffffff;
  font-weight: 700;
}

.share-badge-pill {
  font-size: 14px;
  font-weight: 800;
  color: #facc15;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 10px;
}

.share-main-score {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

.share-sub-score {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.share-qardouch-quote {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 12px;
  font-style: italic;
}

.share-reward-pill {
  font-size: 12px;
  font-weight: 800;
  color: #fef08a;
  background: rgba(234, 179, 8, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.result-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   5. VIP POINTS STORE (متجر الأبطال)
   ========================================================================== */
.store-section-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #064e3b;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.store-item-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

.store-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.store-item-card.item-equipped {
  border: 2px solid #facc15;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.35);
}

.btn-equipped {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.store-avatar-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--secondary-gold);
}

.store-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-frame-preview-box {
  margin: 0 auto 10px;
}

.frame-demo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.frame-demo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-item-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.price-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
}

.price-tag.free {
  color: #047857;
  background: #d1fae5;
}

.rarity-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 6px;
}

.rarity-badge.frame_bronze { background: #dcfce7; color: #166534; }
.rarity-badge.frame_gold { background: #fef08a; color: #854d0e; }
.rarity-badge.frame_legendary { background: #fee2e2; color: #991b1b; }
.rarity-badge.frame_none { background: #f1f5f9; color: #64748b; }

.store-action-wrapper button {
  width: 100%;
}

/* ==========================================================================
   6. LEADERBOARD (لوحة المتصدرين)
   ========================================================================== */
.leaderboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.lb-tab-btn {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lb-tab-btn.active {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
}

.leaderboard-row {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease;
}

.leaderboard-row:hover {
  transform: translateX(-4px);
}

.leaderboard-row.top-rank {
  border-color: #facc15;
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.rank-col {
  width: 32px;
  text-align: center;
}

.rank-number {
  font-size: 14px;
  font-weight: 900;
  color: #64748b;
}

.rank-medal {
  font-size: 20px;
}

.user-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  margin: 0 10px;
}

.lb-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--secondary-gold);
}

.lb-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-user-meta {
  display: flex;
  flex-direction: column;
}

.lb-username {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.lb-title {
  font-size: 11px;
  color: #059669;
  font-weight: 700;
}

.points-col {
  text-align: left;
}

.points-col strong {
  font-size: 15px;
  font-weight: 900;
  color: #b45309;
}

.points-col small {
  font-size: 10px;
  color: #64748b;
  display: block;
}

/* ==========================================================================
   7. USER MESSAGES & ADMIN DRAWER
   ========================================================================== */
.user-msg-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
}

.user-msg-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 11px;
}

.user-msg-status {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.status-pending { background: #fef08a; color: #854d0e; }
.status-approved { background: #dcfce7; color: #166534; }
.status-rejected { background: #fee2e2; color: #991b1b; }

.user-msg-text {
  font-size: 13px;
  color: #334155;
}

.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #0f172a;
  color: #ffffff;
  z-index: 600;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.admin-drawer.active, .admin-drawer.open {
  transform: translateX(0);
}

.celebration-points-pill {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  margin-top: 8px;
}

/* Coin Alignment Enhancements */
.poll-reward-badge, .ep-reward-tag, .price-tag, .level-dock-numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gold-coin-inline {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
}

.gold-coin-inline:hover {
  transform: scale(1.15) rotate(12deg);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ==================== 10. TOP 3 CHAMPIONS PODIUM & FRIDAY COUNTDOWN ==================== */
.champions-podium-card {
  background: linear-gradient(180deg, rgba(3, 38, 22, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.38);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 16px 14px 18px;
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.champions-podium-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(234, 179, 8, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Tabs */
.podium-tabs-row {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.podium-tab-btn {
  flex: 1;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: var(--font-family);
  text-align: center;
}

.podium-tab-btn:hover {
  color: #ffffff;
}

.podium-tab-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);
}

/* Friday Countdown Bar */
.friday-countdown-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.15) 0%, rgba(244, 63, 94, 0.2) 50%, rgba(225, 29, 72, 0.15) 100%);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #ffe4e6;
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.2);
}

.friday-countdown-bar strong {
  color: #fef08a;
  font-weight: 900;
}

.friday-countdown-icon {
  font-size: 13px;
  animation: timerPulse 1.8s infinite;
}

@keyframes timerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Podium Stage */
.podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-top: 8px;
}

.podium-pillar {
  flex: 1;
  max-width: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-user-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  width: 100%;
}

.podium-badge-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: -5px;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.podium-avatar-frame {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #064e3b;
  position: relative;
  margin-bottom: 5px;
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

.podium-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Raised Gold Center */
.podium-pillar.gold {
  transform: translateY(-4px);
}

.podium-pillar.gold .podium-avatar-frame {
  width: 62px;
  height: 62px;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.7);
}

.podium-pillar.gold .podium-badge-icon {
  font-size: 26px;
  animation: crownBounce 2.5s ease-in-out infinite;
}

@keyframes crownBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.podium-username {
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.2;
}

.podium-pillar.gold .podium-username {
  color: #fef08a;
  font-size: 12.5px;
}

.podium-user-title {
  font-size: 9px;
  font-weight: 700;
  color: #a7f3d0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 2px;
}

.podium-points-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: var(--radius-full);
  padding: 2px 7px;
  font-size: 10px;
  color: #fef08a;
  margin-top: 4px;
  font-weight: 800;
}

/* Pedestal Blocks */
.podium-pedestal {
  width: 100%;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.podium-pillar.gold .podium-pedestal {
  background: linear-gradient(180deg, #facc15 0%, #ca8a04 55%, #78350f 100%);
  border-top: 2.5px solid #fef08a;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.podium-pillar.silver .podium-pedestal {
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 55%, #334155 100%);
  border-top: 2.5px solid #ffffff;
  box-shadow: 0 0 16px rgba(148, 163, 184, 0.25);
}

.podium-pillar.bronze .podium-pedestal {
  background: linear-gradient(180deg, #fb923c 0%, #c2410c 55%, #431407 100%);
  border-top: 2.5px solid #ffedd5;
  box-shadow: 0 0 16px rgba(194, 65, 12, 0.25);
}

.pedestal-rank-num {
  font-size: 26px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1;
  font-family: var(--font-family);
}

.pedestal-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  pointer-events: none;
}

.btn-full-lb {
  width: 100%;
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-full-lb:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--secondary-gold);
}

/* Compact Guide banner refinement */
.section-guide-banner.compact-guide {
  padding: 8px 14px;
  margin-bottom: 12px;
  min-height: auto;
}

.section-guide-banner.compact-guide .guide-avatar {
  width: 44px;
  height: 44px;
}

.section-guide-banner.compact-guide .guide-speech-text {
  font-size: 12px;
  margin: 0;
}


/* ==================== MINIMALIST DASHED AD FRAMES ==================== */
.ad-dashed-box {
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  user-select: none;
  box-sizing: border-box;
}

.ad-dashed-box:hover {
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.04);
}

.ad-dashed-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ad-dashed-label::before,
.ad-dashed-label::after {
  content: '✦';
  font-size: 9px;
  color: #64748b;
  opacity: 0.7;
}

/* Anchor Bottom Dashed Ad */
.anchor-ad-bottom {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 456px;
  z-index: 90;
  pointer-events: auto;
}

.anchor-dashed {
  background: rgba(4, 47, 34, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px dashed rgba(234, 179, 8, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  padding: 8px 14px;
}

/* ==================== INTERACTIVE HERO SLIDER / CAROUSEL ==================== */
.hero-carousel-container {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.15);
  border: 1.5px solid rgba(234, 179, 8, 0.3);
  background: #022316;
  user-select: none;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.22s ease;
}

/* Interactive Press Animation */
.carousel-slide:active,
.carousel-slide.slide-pressed {
  transform: scale(0.965);
  filter: brightness(1.08);
}

.slide-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-slide:hover .slide-bg-img {
  transform: scale(1.05);
}

.slide-bg-img.mascot-slide-bg {
  object-fit: contain;
  object-position: left bottom;
  transform: scale(1.15) translateY(5px);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(4, 47, 34, 0.15) 40%, rgba(2, 35, 22, 0.55) 100%);
}

.wheel-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(16, 185, 129, 0.05) 40%, rgba(2, 35, 22, 0.50) 100%);
}

.slide-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 20px;
  box-sizing: border-box;
  text-align: right;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  width: fit-content;
  margin-bottom: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slide-badge.gold-badge {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid #fef08a;
}

.slide-badge.green-badge {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid #a7f3d0;
}

.slide-badge.red-badge {
  background: linear-gradient(90deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  border: 1px solid #fca5a5;
}

.slide-badge.purple-badge {
  background: linear-gradient(90deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  border: 1px solid #ddd6fe;
}

.slide-badge.amber-badge {
  background: linear-gradient(90deg, #f59e0b 0%, #ca8a04 100%);
  color: #ffffff;
  border: 1px solid #fef08a;
}

.slide-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 3px;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.slide-desc {
  font-size: 11px;
  color: #cbd5e1;
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.3;
}

.slide-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.15) 100%);
  border: 1px solid #facc15;
  color: #fef08a;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.carousel-slide:hover .slide-cta-pill {
  background: #facc15;
  color: #78350f;
  transform: translateX(-3px);
}

/* Carousel Nav Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  line-height: 1;
}

.carousel-nav-btn:hover {
  background: rgba(16, 185, 129, 0.8);
  border-color: #facc15;
}

.carousel-nav-btn.prev {
  right: 8px;
}

.carousel-nav-btn.next {
  left: 8px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-dot.active {
  width: 16px;
  border-radius: var(--radius-full);
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
}

/* ==================== HOME PAGE VITALITY & POLISH ==================== */

/* Card Sheen and Lift */
.card {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Pulsing Urgent Badges */
.poll-urgent-badge {
  animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(225, 29, 72, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(225, 29, 72, 0.8);
  }
}

/* Lively Pointer Bounce */
.wheel-pointer {
  animation: pointerHover 2.2s ease-in-out infinite;
}

@keyframes pointerHover {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(3px);
  }
}

/* Confetti-like Sparkles on Floating Coin */
.gold-coin-header,
.gold-coin-inline {
  filter: drop-shadow(0 2px 6px rgba(234, 179, 8, 0.45));
}


/* ===================================================
   1. UNIVERSAL FULLY CIRCULAR AVATARS (دائرية بالكامل)
   =================================================== */
.header-avatar-container img,
.store-avatar-preview img,
.profile-avatar-large-wrap img,
.frame-demo-circle img,
.leaderboard-avatar img,
.podium-avatar-wrap img,
.guide-avatar {
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.store-avatar-preview {
  position: relative !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

/* ===================================================
   2. HEADER USER TITLE BADGE
   =================================================== */
.header-user-title-badge {
  font-size: 10px;
  font-weight: 700;
  color: #fef08a;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.35);
  padding: 1.5px 7px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: 2px;
  white-space: nowrap;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.header-user-title-badge .title-badge-icon {
  font-size: 10px;
  line-height: 1;
}

/* ===================================================
   3. AVATAR LEVEL LOCK BADGE IN STORE
   =================================================== */
.item-level-locked {
  opacity: 0.88;
  border-color: rgba(239, 68, 68, 0.3) !important;
}
.avatar-level-lock {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* ===================================================
   4. DAILY LOGIN STREAK SYSTEM (7 DAYS)
   =================================================== */
.daily-streak-card {
  margin: 14px 16px 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.3);
  border-radius: 18px;
  padding: 16px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.daily-streak-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.streak-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.streak-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.streak-fire-badge {
  font-size: 10px;
  font-weight: 800;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}
.streak-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.streak-counter-pill {
  font-size: 11px;
  font-weight: 800;
  color: #fef08a;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.streak-card-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 4px 0 14px;
}

/* 7 Days Grid */
.streak-days-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.streak-day-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}
.streak-day-header {
  margin-bottom: 4px;
}
.streak-day-num {
  font-size: 10px;
  font-weight: 800;
  color: #cbd5e1;
}
.streak-day-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 14px;
}
.streak-day-reward {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #fef08a;
}
.gold-coin-mini {
  width: 13px;
  height: 13px;
}
.streak-status-badge {
  font-size: 9px;
  font-weight: 700;
  margin-top: 3px;
  padding: 1px 5px;
  border-radius: var(--radius-full);
}

/* Day Item States */
.streak-day-item.claimed {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.streak-day-item.claimed .streak-day-icon-box {
  background: rgba(16, 185, 129, 0.2);
  color: #34d495;
  font-weight: 900;
}
.streak-day-item.claimed .streak-status-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d495;
}

.streak-day-item.claimable {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1.5px solid #facc15;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.4);
  animation: pulse-claim 1.8s infinite;
}
.streak-day-item.claimable .streak-day-icon-box {
  background: rgba(250, 204, 21, 0.3);
  font-size: 16px;
}
.streak-day-item.claimable .streak-day-num {
  color: #fef08a;
}
.streak-day-item.claimable .streak-status-badge {
  background: #facc15;
  color: #78350f;
  font-weight: 800;
}

.streak-day-item.locked {
  opacity: 0.65;
}
.streak-day-item.locked .streak-day-icon-box {
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
}
.streak-day-item.locked .streak-status-badge {
  background: rgba(255, 255, 255, 0.06);
  color: #64748b;
}

/* Grand Reward Day 7 */
.streak-day-item.streak-day-grand {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.25) 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.5);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.streak-day-item.streak-day-grand .streak-day-num {
  color: #fbbf24;
  font-weight: 900;
}
.streak-day-item.streak-day-grand.claimable {
  border: 2px solid #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
}

/* Action Row */
.streak-action-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.btn-claim-streak {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
}
.btn-streak-claimed {
  width: 100%;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: default;
}
.streak-sub-info {
  font-size: 10.5px;
  color: #94a3b8;
  text-align: center;
}
.streak-next-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #38bdf8;
}
.streak-next-preview {
  color: #facc15;
  font-weight: 700;
}

@keyframes pulse-claim {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(250, 204, 21, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
  }
}


/* ===================================================
   STORE TABS & COMPACT AVATAR CARDS (WITHOUT TITLE)
   =================================================== */
.store-tabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  padding: 5px;
  border-radius: var(--radius-full);
  margin: 16px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-tab-btn {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.store-tab-btn:hover {
  color: #ffffff;
}

.store-tab-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Avatar Card without Title (Compact & Centered) */
.avatar-card-notitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 12px;
}

.avatar-card-notitle .store-avatar-preview {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
}

.avatar-card-notitle .price-tag {
  margin-bottom: 8px;
}

.avatar-card-notitle .store-action-wrapper {
  width: 100%;
}

.avatar-card-notitle .store-action-wrapper button {
  width: 100%;
}

/* ==================== APP FOOTER ==================== */
.app-footer {
  text-align: center;
  padding: 18px 16px 10px;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  margin: 8px 16px 0;
}

.app-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-link-btn {
  background: none;
  border: none;
  color: #059669;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link-btn:hover {
  color: #eab308;
}

.footer-sep {
  color: #cbd5e1;
  font-size: 12px;
}

.app-footer-copy {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

/* ==================== INFO MODALS ==================== */
.info-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 19, 9, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.info-modal-overlay.active {
  display: flex;
}

.info-modal-box {
  max-height: 80vh;
  overflow-y: auto;
  width: 100%;
  max-width: 440px;
}

.info-modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-modal-body p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
}

.info-modal-body h4 {
  font-size: 13px;
  font-weight: 800;
  color: #064e3b;
  margin: 6px 0 2px;
}

.info-modal-body ul {
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-modal-body ul li {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

.info-modal-body code {
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
  color: #0f766e;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.contact-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 12.5px !important;
  color: #059669 !important;
  margin: 0 !important;
}

/* ==================== NOTIFICATIONS SYSTEM ==================== */
.btn-notification-bell {
  position: relative;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #042f22;
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.4);
  animation: pulseNotifBadge 2.2s infinite ease-in-out;
}

@keyframes pulseNotifBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.notifications-modal-box {
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.notif-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.notif-count-text {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.notif-mark-read-btn {
  background: none;
  border: none;
  color: #059669;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.notif-mark-read-btn:hover {
  background: #ecfdf5;
  color: #047857;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 2px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.notification-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.notification-item.unread {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.35);
}

.notification-item.read {
  opacity: 0.85;
}

.notif-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15);
}

.notification-item.unread .notif-icon-circle {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
}

.notif-content-wrap {
  flex: 1;
}

.notif-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.notif-item-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

.notif-time {
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
}

.notif-item-body {
  font-size: 11.5px;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}

.notif-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  position: absolute;
  top: 14px;
  left: 12px;
  box-shadow: 0 0 6px #10b981;
}

.notif-empty-state {
  text-align: center;
  padding: 30px 10px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

/* ==================== FOOTER SOCIAL MEDIA ==================== */
.footer-social-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.social-link-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.social-link-btn.tiktok:hover {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.social-link-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.4);
}

.social-link-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.social-link-btn.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

.social-svg {
  flex-shrink: 0;
}

/* ==================== TESTS SECTION OVERHAUL ==================== */
.tests-announcement-banner {
  background: linear-gradient(135deg, #022c16 0%, #064e3b 60%, #022316 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.4);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 18px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(16, 185, 129, 0.15);
  text-align: right;
}

.tests-announcement-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.announcement-glow-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.15) 100%);
  border: 1px solid #facc15;
  color: #fef08a;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.announcement-title {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.announcement-desc {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.55;
  margin: 0;
}

.announcement-desc strong {
  color: #fde047;
}

/* ==================== TEST MODAL ADS & 30S WAIT SCREEN ==================== */
.test-fixed-ad {
  width: 100%;
}

.test-fixed-ad-top {
  margin-bottom: 10px;
}

.test-fixed-ad-bottom {
  margin-top: 10px;
}

/* 30-Second Wait Screen */
.test-ad-wait-screen {
  text-align: center;
  padding: 10px 0;
  animation: viewFadeIn 0.35s ease;
}

.ad-wait-header {
  margin-bottom: 16px;
}

.ad-wait-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid #e2e8f0;
  border-top-color: #f59e0b;
  border-right-color: #10b981;
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spinWait 0.9s linear infinite;
}

@keyframes spinWait {
  to { transform: rotate(360deg); }
}

.ad-wait-title {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}

.ad-wait-subtitle {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.ad-wait-timer-card {
  background: linear-gradient(135deg, #022316 0%, #064e3b 100%);
  border: 1.5px solid #facc15;
  border-radius: var(--radius-md);
  padding: 16px;
  color: #ffffff;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ad-wait-seconds-circle {
  font-size: 42px;
  font-weight: 900;
  color: #facc15;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: pulseWaitTimer 1s infinite alternate ease-in-out;
}

@keyframes pulseWaitTimer {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(250, 204, 21, 0.4)); }
  100% { transform: scale(1.06); filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.8)); }
}

.ad-wait-seconds-circle small {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 4px;
}

.ad-wait-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ad-wait-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
  border-radius: 999px;
  transition: width 1s linear;
}

.ad-wait-tip-text {
  font-size: 11.5px;
  color: #fef08a;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.25s ease;
  line-height: 1.45;
  min-height: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Full Sponsored Box */
.ad-wait-sponsor-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: right;
  position: relative;
}

.ad-wait-sponsor-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.sponsor-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sponsor-logo {
  font-size: 28px;
}

.sponsor-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.sponsor-tagline {
  font-size: 11px;
  color: #64748b;
  margin: 0;
}

.sponsor-ad-text {
  font-size: 12px;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 10px;
}

.sponsor-call-to-action {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  padding: 6px;
  background: #ecfdf5;
  border-radius: 6px;
}

/* ==================== FINAL RESULT CLEAN CARD ==================== */
.test-final-card {
  text-align: center;
  padding: 10px 0;
}

.result-badge-pill {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.result-main-title {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.result-score-highlight {
  font-size: 14px;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: inline-block;
}

.result-comment-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
}

.result-comment-box p {
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.result-reward-status {
  margin-bottom: 18px;
}

.reward-awarded-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #10b981;
  color: #065f46;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 800;
}

.reward-repeat-banner {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #64748b;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
}

.btn-finish-test {
  width: 100%;
}


/* ==========================================================================
   ENHANCED STORE: AD FRAMES, TITLES & LUXURY VIP CARDS
   ========================================================================== */
.app-ad-banner-frame {
  width: 100%;
  margin: 16px 0;
}

.ad-banner-subtext {
  font-size: 11.5px;
  color: #64748b;
  margin: 4px 0 0;
}

.avatar-info-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
  width: 100%;
}

.avatar-name-label {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Titles Categories */
.titles-category-header {
  margin-bottom: 12px;
  text-align: right;
}

.category-heading {
  font-size: 14.5px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 4px;
}

.category-sub {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.titles-free-grid,
.titles-paid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

@media (min-width: 550px) {
  .titles-free-grid,
  .titles-paid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.store-title-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  transition: all 0.25s ease;
}

.store-title-card:hover {
  transform: translateY(-2px);
  border-color: #059669;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.store-title-card.item-equipped {
  border-color: #10b981;
  background: #f0fdf4;
  box-shadow: 0 0 0 1px #10b981;
}

.store-title-card.item-locked {
  opacity: 0.85;
  background: #f8fafc;
}

.title-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.title-level-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.title-level-badge.unlocked {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.title-level-badge.locked {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.title-main-name {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.title-method-text {
  font-size: 11.5px;
  color: #64748b;
}

/* VIP Perks Luxury Cards */
.vip-perks-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vip-perk-luxury-card {
  background: linear-gradient(135deg, #022c16 0%, #064e3b 60%, #022316 100%);
  border: 1.5px solid #facc15;
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25), 0 0 16px rgba(234, 179, 8, 0.15);
  text-align: right;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vip-perk-luxury-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(250, 204, 21, 0.25);
}

.vip-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.vip-badge-pill {
  background: linear-gradient(90deg, #f59e0b 0%, #ca8a04 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vip-cost-pill {
  font-size: 13px;
  font-weight: 900;
  color: #fef08a;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.vip-card-main-title {
  font-size: 15.5px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.45;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.vip-card-details {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 16px;
}

.btn-vip-order {
  width: 100%;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 800;
}

/* ==================== STORE AVATARS TAB HEADER ==================== */
.avatars-tab-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(234, 179, 8, 0.08));
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.avatars-tab-icon {
  font-size: 22px;
}

.avatars-tab-label {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

/* ==================== AVATAR PRICE ROW (no name) ==================== */
.avatar-price-row {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

/* ==================== TITLE CARDS (same as avatar cards) ==================== */
.title-icon-preview {
  font-size: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary-gold);
}

.title-card-emoji {
  font-size: 28px;
  line-height: 1;
}

.title-card-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.3;
}

/* ==================== VIP CARD HEADER WITHOUT PRICE PILL ==================== */
.vip-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

/* Remove cost pill from VIP (now in button) */
.vip-cost-pill {
  display: none;
}

/* ==================== COMPACT LUXURY STORE HERO DOCK ==================== */
.store-compact-hero-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(4, 47, 34, 0.98));
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  border-radius: 18px;
  padding: 10px 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.store-compact-hero-dock::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.6), transparent);
}

.store-compact-user-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-compact-avatar-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.45);
  overflow: hidden;
  background: #022c22;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-compact-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-compact-user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-compact-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-compact-username {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.store-compact-lvl-badge {
  font-size: 10px;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  padding: 1px 6px;
  border-radius: 10px;
}

.store-compact-active-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #facc15;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.store-compact-wallet-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: left;
}

.store-compact-wallet-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.store-compact-wallet-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.store-compact-pts {
  font-size: 20px;
  font-weight: 900;
  color: #facc15;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.6);
  font-family: monospace, sans-serif;
  line-height: 1;
}

.store-compact-unit {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

/* ==================== TITLES GRID FULL-WIDTH ENFORCEMENT ==================== */
#store-titles-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

#store-avatars-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

/* ==================== VIP PROGRESS BUTTON ==================== */
.vip-progress-btn-wrap {
  width: 100%;
}

.vip-btn-progress-tracked {
  position: relative;
  width: 100%;
  height: 44px;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1.5px solid rgba(250, 204, 21, 0.3) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: default !important;
  opacity: 1 !important;
}

.vip-btn-progress-fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #10b981, #facc15);
  opacity: 0.75;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  border-radius: var(--radius-md);
}

.vip-btn-progress-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  width: 100%;
  padding: 0 12px;
}

.vip-pct {
  color: #facc15;
  font-weight: 900;
}

.btn-vip-ready {
  width: 100% !important;
  height: 44px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #facc15, #eab308) !important;
  color: #064e3b !important;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.45) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-vip-ready:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(250, 204, 21, 0.65) !important;
}

/* ==================== STORE COMPACT TITLE DOCK ==================== */
.store-compact-title-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 72%;
}

.store-badge-sparkle {
  font-size: 10px;
  font-weight: 800;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 12px;
  padding: 1px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.store-compact-headline {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.store-compact-sub {
  font-size: 11px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
}

/* ==================== ULTRA-LUXURY STORE TABS ==================== */
.luxury-store-tabs {
  background: rgba(2, 36, 22, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1.5px solid rgba(250, 204, 21, 0.3) !important;
  border-radius: 26px !important;
  padding: 5px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  margin: 18px 0 16px !important;
  display: flex !important;
  gap: 6px !important;
}

.luxury-store-tabs .store-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 800;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.luxury-store-tabs .store-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.luxury-store-tabs .store-tab-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #047857 60%, #065f46 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  border: 1px solid rgba(250, 204, 21, 0.45);
  transform: translateY(-1px);
}

.luxury-store-tabs .store-tab-btn.active .tab-title {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.luxury-store-tabs .tab-icon {
  font-size: 16px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* ==================== VIP ORDER MODAL ==================== */
.vip-order-modal-box {
  max-width: 480px !important;
  border: 1.5px solid rgba(250, 204, 21, 0.45) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65), 0 0 30px rgba(16, 185, 129, 0.2) !important;
}

.vip-modal-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-modal-badge {
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #064e3b;
  padding: 2px 8px;
  border-radius: 8px;
}

.vip-modal-desc-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.vip-modal-desc-text {
  font-size: 13.5px;
  font-weight: 800;
  color: #047857;
  margin-bottom: 4px;
}

.vip-modal-desc-sub {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
}

.vip-form-group {
  margin-bottom: 14px;
  text-align: right;
}

.vip-form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.required-star {
  color: #ef4444;
}

.vip-form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
  box-sizing: border-box;
  transition: all 0.2s;
}

.vip-form-input:focus,
.vip-form-textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.vip-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
  box-sizing: border-box;
  resize: vertical;
  min-height: 75px;
  line-height: 1.5;
}

.vip-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vip-char-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
}

.vip-char-hint {
  color: #f59e0b;
  font-weight: 700;
}

.vip-char-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 10px;
}

.vip-field-hint {
  font-size: 11px;
  color: #64748b;
  margin: -6px 0 14px;
  line-height: 1.4;
}

.vip-modal-cost-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 14px 0 16px;
}

.vip-cost-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.vip-cost-val {
  font-size: 14px;
  font-weight: 900;
  color: #d97706;
}

.vip-modal-buttons-row {
  display: flex;
  gap: 10px;
}

.vip-modal-buttons-row button {
  flex: 1;
}

/* ==================== VIP ORDERS TRACKING SECTION ==================== */
.vip-orders-tracking-section {
  margin-top: 28px;
}

.vip-tracking-box {
  background: #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.vip-tracking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.vip-tracking-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-tracking-icon {
  font-size: 26px;
}

.vip-tracking-title {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.vip-tracking-subtitle {
  font-size: 11.5px;
  color: #64748b;
  margin: 2px 0 0;
}

.vip-orders-count-badge {
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 12px;
}

.vip-orders-empty {
  text-align: center;
  padding: 24px 16px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 700;
  background: #f8fafc;
  border-radius: var(--radius-md);
}

.vip-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vip-order-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.2s ease;
}

.vip-order-item-card.order-state-pending {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
}

.vip-order-item-card.order-state-completed {
  border-left: 4px solid #10b981;
  background: #f0fdf4;
}

.vip-order-item-card.order-state-rejected {
  border-left: 4px solid #ef4444;
  background: #fef2f2;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.order-type-date {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.order-type-tag {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
}

.order-date-label {
  font-size: 11px;
  color: #64748b;
}

.order-status-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.order-status-badge.status-pending {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.order-status-badge.status-completed {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.order-status-badge.status-rejected {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.order-card-body {
  margin-bottom: 8px;
}

.order-content-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 4px;
}

.order-content-quote {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 8px 12px;
  line-height: 1.5;
  border-right: 3px solid #10b981;
}

.order-promo-info {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.55;
  border-right: 3px solid #facc15;
}

.promo-item {
  margin-bottom: 4px;
}

.promo-item-label {
  font-weight: 800;
  color: #475569;
}

.promo-item.meta-contact {
  margin-top: 6px;
  font-size: 11.5px;
  color: #047857;
  font-weight: 700;
}

.order-status-note {
  font-size: 11.5px;
  margin: 8px 0 0;
  font-weight: 600;
}

.order-status-note.pending {
  color: #b45309;
}

.order-status-note.completed {
  color: #047857;
}

.order-rejection-box {
  background: #fff;
  border: 1px dashed #ef4444;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
}

.rejection-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 2px;
}

.rejection-text {
  font-size: 12px;
  color: #7f1d1d;
  margin: 0;
  line-height: 1.45;
}

.order-card-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.btn-fix-order {
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
}

/* ==================== LEADERBOARD HERO ANNOUNCEMENT CARD ==================== */
.lb-hero-announcement-card {
  position: relative;
  background: linear-gradient(135deg, rgba(4, 47, 34, 0.95), rgba(6, 78, 59, 0.92));
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  border-radius: 20px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.lb-announcement-icon-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #facc15 0%, #ca8a04 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.5);
  border: 2px solid #ffffff;
}

.lb-announcement-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

.lb-announcement-badge {
  font-size: 10px;
  font-weight: 800;
  color: #064e3b;
  background: #facc15;
  padding: 1px 8px;
  border-radius: 10px;
  width: fit-content;
  margin-bottom: 2px;
}

.lb-announcement-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.lb-announcement-desc {
  font-size: 11.5px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

/* ==================== LEADERBOARD THEATER CONTAINER ==================== */
.lb-theater-container {
  background: #042718;
  border: 1.5px solid rgba(250, 204, 21, 0.28);
  border-radius: 24px;
  padding: 18px 14px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(16, 185, 129, 0.15);
  margin-bottom: 20px;
}

/* 3-Way Tabs Row */
.lb-luxury-tabs-row {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 14px;
}

.lb-luxury-tab-btn {
  flex: 1;
  padding: 9px 10px;
  background: transparent;
  border: none;
  border-radius: 24px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.lb-luxury-tab-btn:hover {
  color: #ffffff;
}

.lb-luxury-tab-btn.active {
  background: #00b862 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 184, 98, 0.5);
  font-weight: 900;
}

/* Subtitle Capsule (Dark wine/maroon pill) */
.lb-sub-capsule {
  background: rgba(65, 15, 28, 0.75);
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: 24px;
  padding: 6px 14px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #fecdd3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 95%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ==================== PODIUM THEATER (MATCHING EXACT SCREENSHOT) ==================== */
.lb-podium-theater-box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0 4px;
  direction: rtl;
}

.podium-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.podium-avatar-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
  width: 100%;
}

.podium-top-badge {
  font-size: 24px;
  line-height: 1;
  margin-bottom: -6px;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.podium-avatar-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 6px;
  background: #022c22;
  position: relative;
  z-index: 2;
}

.podium-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-avatar-ring.gold-glow {
  width: 72px;
  height: 72px;
  border: 3px solid #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.8), inset 0 0 10px rgba(250, 204, 21, 0.4);
}

.podium-avatar-ring.silver-glow {
  border: 2.5px solid #e2e8f0;
  box-shadow: 0 0 14px rgba(226, 232, 240, 0.6);
}

.podium-avatar-ring.bronze-glow {
  border: 2.5px solid #fb923c;
  box-shadow: 0 0 14px rgba(251, 146, 60, 0.5);
}

.podium-username {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 2px;
  line-height: 1.25;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-username.highlight-gold {
  font-size: 14.5px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.podium-usertitle {
  font-size: 10.5px;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 6px;
  line-height: 1.2;
}

.podium-usertitle.highlight-teal {
  color: #38bdf8;
}

.podium-points-pill {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(250, 204, 21, 0.6);
  border-radius: 16px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 900;
  color: #facc15;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.podium-points-pill.gold-border {
  border: 1.5px solid #facc15;
  padding: 3px 10px;
  font-size: 12px;
}

/* Pedestals */
.podium-pedestal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px 14px 4px 4px;
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.3), 0 8px 16px rgba(0, 0, 0, 0.4);
}

.pedestal-gold {
  height: 130px;
  background: linear-gradient(180deg, #facc15 0%, #d97706 45%, #92400e 100%);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.pedestal-silver {
  height: 95px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 45%, #64748b 100%);
}

.pedestal-bronze {
  height: 75px;
  background: linear-gradient(180deg, #fb923c 0%, #c2410c 45%, #7c2d12 100%);
}

.pedestal-number {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  font-family: monospace, sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* ==================== RANKS 4-10 CARDS & CURRENT USER ==================== */
.lb-ranks-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 44, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.lb-row-card:hover {
  background: rgba(2, 44, 34, 0.95);
  border-color: rgba(250, 204, 21, 0.35);
  transform: translateY(-1px);
}

.lb-rank-badge-wrap {
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-rank-num {
  font-size: 13px;
  font-weight: 900;
  color: #94a3b8;
  font-family: monospace, sans-serif;
}

.lb-user-info-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 0 8px;
}

.lb-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  background: #022c22;
  flex-shrink: 0;
  position: relative;
}

.lb-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-text-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lb-item-username {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}

.lb-item-usertitle {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
}

.leaderboard-country-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  margin: 1px 0 3px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(250, 204, 21, 0.45);
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.leaderboard-avatar-country {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 40px;
}

.leaderboard-avatar-country .leaderboard-country-badge {
  margin-top: 2px;
}

.podium-username {
  max-width: 140px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.lb-item-username {
  max-width: 180px;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Country flag attached to the avatar, matching the main header avatar. */
.podium-avatar-frame,
.podium-avatar-ring,
.lb-avatar-circle {
  overflow: visible !important;
}

.leaderboard-country-badge {
  position: absolute;
  left: -3px;
  bottom: -3px;
  width: 16px;
  min-width: 16px;
  height: 18px;
  margin: 0;
  padding: 0;
  z-index: 10;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  font-size: 16px;
  line-height: 18px;
}

.lb-pts-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(250, 204, 21, 0.3);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12.5px;
  color: #facc15;
}

/* Separator dots */
.lb-separator-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  color: #facc15;
  font-size: 20px;
  letter-spacing: 4px;
  opacity: 0.75;
}

/* Current User Highlight Row */
.lb-current-user-card {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(4, 47, 34, 0.98)) !important;
  border: 2px solid #facc15 !important;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35), 0 0 14px rgba(16, 185, 129, 0.3) !important;
}

.user-rank-tag {
  color: #facc15 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.user-avatar-ring {
  border: 2px solid #facc15 !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5) !important;
}

.lb-you-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: #facc15;
  color: #064e3b;
  font-size: 8px;
  font-weight: 900;
  text-align: center;
  padding: 1px 0;
}

.highlight-user {
  color: #facc15 !important;
}

.lb-you-pill {
  font-size: 10px;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  padding: 1px 6px;
  border-radius: 8px;
  margin-right: 4px;
}

.user-pts-badge {
  border-color: #facc15 !important;
  background: rgba(250, 204, 21, 0.15) !important;
  color: #ffffff !important;
}

/* Distance to Next Rank Message */
.lb-overtake-info-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  padding: 10px 14px;
  margin-top: 6px;
}

.overtake-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.overtake-msg {
  font-size: 12.5px;
  font-weight: 700;
  color: #ecfdf5;
  margin: 0;
  line-height: 1.45;
}

.overtake-msg strong {
  color: #facc15;
}

/* Tiebreaker Fair Rule Note */
.lb-tiebreaker-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
  line-height: 1.45;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

.lb-tiebreaker-note strong {
  color: #cbd5e1;
}

.lb-protection-card {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
}

/* ==================== LUXURY PROFILE HERO CARD ==================== */
.profile-luxury-hero-card {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(4, 47, 34, 0.98));
  border: 1.5px solid rgba(250, 204, 21, 0.35);
  border-radius: 22px;
  padding: 18px 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.profile-luxury-hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.6), transparent);
}

.profile-hero-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.profile-avatar-mega-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px solid #facc15;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.55);
  overflow: hidden;
  background: #022c22;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-verified-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #064e3b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.profile-hero-user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.profile-user-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-display-name {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.profile-active-title-pill {
  font-size: 11px;
  font-weight: 800;
  color: #064e3b;
  background: linear-gradient(135deg, #facc15, #eab308);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.35);
}

.profile-uuid-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.profile-uuid-bar strong {
  color: #cbd5e1;
  font-family: monospace, sans-serif;
  letter-spacing: 0.5px;
}

.profile-edit-action-wrap {
  flex-shrink: 0;
}

.btn-open-edit-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
}

.edit-badge-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
  line-height: 1.2;
}

.edit-badge-pill.free {
  background: #d1fae5;
  color: #047857;
}

.edit-badge-pill.paid {
  background: rgba(15, 23, 42, 0.7);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
}

/* Level & XP Progress Dock */
.profile-level-progress-dock {
  background: rgba(2, 44, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
}

.level-progress-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lvl-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lvl-badge-tag {
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  background: #10b981;
  padding: 2px 8px;
  border-radius: 10px;
}

.lvl-subtext {
  font-size: 11px;
  color: #94a3b8;
}

.xp-numbers-group {
  font-size: 12px;
  font-weight: 800;
  color: #facc15;
  font-family: monospace, sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
}

.xp-pct-text {
  color: #cbd5e1;
  font-size: 11px;
}

.profile-xp-track {
  width: 100%;
  height: 9px;
  background: rgba(15, 23, 42, 0.65);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #facc15);
  border-radius: 8px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

/* ==================== PROFILE STATS QUICK GRID ==================== */
.profile-stats-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.profile-stat-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}

.profile-stat-metric-card:hover {
  transform: translateY(-2px);
}

.metric-icon-wrap {
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.metric-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
  overflow: hidden;
}

.metric-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.metric-number {
  font-size: 14.5px;
  font-weight: 900;
  color: #0f172a;
  font-family: monospace, sans-serif;
}

/* ==================== ACCOUNT ACTIVITY & POINTS HISTORY ==================== */
.profile-activity-section-card {
  background: #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.activity-section-header {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.activity-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-header-icon {
  font-size: 24px;
}

.activity-section-title {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.activity-section-subtitle {
  font-size: 11.5px;
  color: #64748b;
  margin: 2px 0 0;
}

/* Filter Tabs */
.activity-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.act-filter-chip {
  flex: 1;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.act-filter-chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.act-filter-chip.filter-earned.active {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
}

.act-filter-chip.filter-spent.active {
  background: #be123c;
  color: #ffffff;
  border-color: #be123c;
}

/* Scrollable Container with Custom Scrollbar */
.activity-history-scroll-box {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}

.activity-history-scroll-box::-webkit-scrollbar {
  width: 5px;
}

.activity-history-scroll-box::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.activity-history-scroll-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.activity-history-scroll-box::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.activity-empty-state {
  text-align: center;
  padding: 24px 16px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 700;
  background: #f8fafc;
  border-radius: 14px;
}

.activity-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  transition: all 0.2s;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.activity-item-card.act-earned {
  border-right: 3.5px solid #10b981;
  background: #f0fdf4;
}

.activity-item-card.act-spent {
  border-right: 3.5px solid #f43f5e;
  background: #fff1f2;
}

.act-right-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.act-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.act-earned .act-icon-circle {
  background: #d1fae5;
  color: #047857;
}

.act-spent .act-icon-circle {
  background: #ffe4e6;
  color: #be123c;
}

.act-text-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.act-source-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.act-date-subtitle {
  font-size: 10.5px;
  color: #64748b;
}

.act-amount-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  font-family: monospace, sans-serif;
}

.act-earned .act-amount-badge {
  background: #d1fae5;
  color: #047857;
}

.act-spent .act-amount-badge {
  background: #ffe4e6;
  color: #be123c;
}

.act-load-more-wrap {
  text-align: center;
  margin-top: 8px;
}

.btn-load-more {
  width: 100%;
  border-radius: 12px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
}

/* ==================== EDIT NAME COST DOCK IN MODAL ==================== */
.name-change-cost-dock {
  margin-bottom: 12px;
}

.name-change-pill-free {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: right;
}

.name-change-pill-paid {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: right;
}

.pill-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.pill-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.pill-text p {
  margin: 0;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}


/* ==================== ACCOUNT LINKING CARD ==================== */
.profile-account-link-card {
  background: linear-gradient(135deg, #0f2b1a 0%, #143d25 100%);
  border: 1px solid rgba(234,179,8,0.25);
  border-radius: 18px;
  padding: 18px 16px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}
.profile-account-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(234,179,8,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.link-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.link-card-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 6px rgba(234,179,8,0.5));
}
.link-card-title {
  font-size: 15px;
  font-weight: 900;
  color: #eab308;
  margin: 0 0 2px;
}
.link-card-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.link-platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 10px;
}
.link-platform-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.link-platform-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.google-logo { background: #fff; }
.tiktok-logo { background: #000; color: #fff; }
.link-platform-name {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  font-family: 'Cairo', sans-serif;
}
.link-platform-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.link-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.link-status-badge.linked {
  background: rgba(34,197,94,0.2);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.35);
}
.btn-link-connect {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn-link-connect:hover { transform: scale(1.05); }
.btn-link-unlink {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid rgba(239,68,68,0.3);
  cursor: pointer;
  transition: background 0.15s;
}
.link-privacy-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* ==================== UNIFIED GOOGLE LINKED STATE BOX ==================== */
.google-linked-success-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.28) 100%);
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gl-success-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gl-logo-badge {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.gl-meta {
  flex: 1;
  min-width: 0;
}
.gl-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.gl-account-type {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
}
.gl-status-pill {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.gl-email-text {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  direction: ltr;
  text-align: right;
  word-break: break-all;
  letter-spacing: 0.3px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.gl-footer-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==================== OAUTH CONFIRM OVERLAY ==================== */
.oauth-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.oauth-confirm-box {
  background: linear-gradient(145deg, #0f2b1a, #1a3d2b);
  border: 1px solid rgba(234,179,8,0.35);
  border-radius: 20px;
  padding: 28px 22px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(234,179,8,0.1);
}
.oauth-confirm-icon {
  font-size: 42px;
  margin-bottom: 12px;
  display: block;
}
.oauth-confirm-title {
  font-size: 17px;
  font-weight: 900;
  color: #eab308;
  margin: 0 0 10px;
}
.oauth-confirm-body {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0 0 20px;
  font-family: 'Cairo', sans-serif;
}
.oauth-confirm-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.oauth-confirm-buttons .btn {
  flex: 1;
  max-width: 140px;
}

/* ==================== VIP LEVEL LOCK ==================== */
.vip-card-level-locked {
  opacity: 0.82;
}
.vip-min-level-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(234,179,8,0.15);
  color: #eab308;
  border: 1px solid rgba(234,179,8,0.3);
  margin-right: auto;
}
.vip-level-lock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 0 4px;
}
.vip-level-lock-badge {
  font-size: 13px;
  font-weight: 900;
  color: #f59e0b;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 5px 14px;
  border-radius: 10px;
}
.vip-level-progress-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.vip-level-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #eab308, #f59e0b);
  border-radius: 4px;
  transition: width 0.5s ease;
}
.vip-level-progress-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.vip-pts-ready-badge {
  font-size: 11px;
  color: #4ade80;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
}
.vip-pts-needed-badge {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

/* ==================== 1. LUXURY DUAL-METRIC PROFILE CARDS ==================== */
.profile-stats-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.profile-duo-metric-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 43, 26, 0.85) 0%, rgba(20, 61, 37, 0.9) 100%);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 18px;
  padding: 16px 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.profile-duo-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 179, 8, 0.45);
}

.duo-card-glow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}
.gold-glow {
  background: rgba(234, 179, 8, 0.18);
}
.emerald-glow {
  background: rgba(16, 185, 129, 0.2);
}

.duo-card-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.duo-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.duo-icon-box.gold {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
}
.duo-icon-box.emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.duo-title-wrap {
  display: flex;
  flex-direction: column;
}
.duo-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}
.duo-card-subtitle {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.duo-card-main-val {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 12px;
}
.duo-card-main-val strong {
  font-size: 26px;
  font-weight: 900;
  color: #fbbf24;
  font-family: 'Cairo', sans-serif;
  line-height: 1;
}
.duo-unit {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.duo-card-rank-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 10px;
  margin-top: auto;
}
.rank-badge-icon {
  font-size: 13px;
}
.rank-badge-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}
.rank-badge-num {
  font-size: 13px;
  font-weight: 900;
  color: #eab308;
  margin-right: auto;
}

/* ==================== 2. COUNTRY BADGES & PILL ==================== */
.profile-avatar-country-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background: #0f172a;
  border: 2px solid #eab308;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
  z-index: 4;
}
.profile-avatar-country-badge:hover {
  transform: scale(1.15);
}

.country-flag-badge {
  cursor: pointer;
  transition: transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.country-flag-badge:hover {
  transform: scale(1.2);
}

.profile-country-select-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.15s ease;
  width: fit-content;
}
.profile-country-select-pill:hover {
  background: rgba(234, 179, 8, 0.22);
  border-color: #eab308;
  transform: translateY(-1px);
}
.country-chevron {
  font-size: 9px;
  opacity: 0.7;
}

/* ==================== 3. COUNTRY SELECT MODAL ==================== */
.country-select-box {
  max-width: 440px !important;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.country-search-wrap {
  margin-bottom: 12px;
}
.country-search-wrap .search-input {
  width: 100%;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #fff;
  outline: none;
}
.country-search-wrap .search-input:focus {
  border-color: #eab308;
  background: rgba(255, 255, 255, 0.1);
}

.countries-list-scrollable {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}
.countries-list-scrollable::-webkit-scrollbar {
  width: 5px;
}
.countries-list-scrollable::-webkit-scrollbar-thumb {
  background: rgba(234, 179, 8, 0.35);
  border-radius: 4px;
}

.country-group-header {
  font-size: 12px;
  font-weight: 900;
  color: #eab308;
  padding: 4px 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.country-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.country-option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.country-option-item:hover {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.35);
  transform: translateY(-1px);
}
.country-option-item.active-selected {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
}

.country-flag-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.country-name-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.country-check-mark {
  font-size: 12px;
  color: #4ade80;
  font-weight: 900;
}

.country-empty-state {
  text-align: center;
  padding: 30px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==================== 4. POLL LINK REQUIRED MODAL ==================== */
.poll-link-required-box {
  max-width: 400px !important;
  background: linear-gradient(145deg, #0f2b1a, #1a3d2b);
  border: 1px solid rgba(234, 179, 8, 0.35);
}
.poll-link-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.15);
  border: 2px solid rgba(234, 179, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
}
.poll-link-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.btn-link-from-poll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn-link-from-poll:hover {
  transform: scale(1.02);
}

/* ==================== 5. MODAL AD FRAMES ==================== */
.modal-ad-dashed-box {
  margin: 8px 0;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(234, 179, 8, 0.3);
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.2s;
}
.modal-ad-dashed-box:hover {
  border-color: rgba(234, 179, 8, 0.55);
}
.modal-ad-dashed-box .ad-dashed-label {
  font-size: 10.5px;
  color: #eab308;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: block;
}

/* Country Edit Badges */
.country-edit-icon-label {
  font-size: 11px;
  color: #eab308;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(234, 179, 8, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.avatar-country-edit-mini {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 11px;
  background: #0f172a;
  border: 1px solid #eab308;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Activity history points unit text (replaces coin icon) */
.act-pts-unit {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 4px;
}

/* Single Player Leaderboard Banner */
.lb-single-player-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 14px;
  text-align: right;
}
.single-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.single-banner-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  color: #fbbf24;
  margin-bottom: 3px;
}
.single-banner-text p {
  margin: 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.lb-country-flag {
  font-size: 14px;
  display: inline-block;
}
.top-medal-rank {
  font-size: 16px;
}

/* ==================== 3 CATEGORY BANNERS (NO PROFILE AVATARS) ==================== */
.lb-category-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 16px;
}

.lb-category-banner {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(3, 38, 22, 0.95) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 6px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.lb-category-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 179, 8, 0.5);
}

.lb-category-banner.active {
  border-color: #eab308;
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.18) 0%, rgba(16, 185, 129, 0.28) 100%);
  box-shadow: 0 0 18px rgba(234, 179, 8, 0.35), inset 0 0 12px rgba(234, 179, 8, 0.1);
}

.lb-category-banner.active::after {
  content: '▼ معروض';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #eab308;
  color: #0f172a;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 0;
  text-align: center;
  letter-spacing: 0.2px;
}

.lb-banner-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  display: inline-block;
  white-space: nowrap;
}

.lb-banner-badge.weekly {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.lb-banner-badge.lastweek {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.lb-banner-badge.alltime {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.lb-banner-rank-val {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-family);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.lb-category-banner.active .lb-banner-rank-val {
  color: #fde047;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.lb-banner-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .lb-category-banners-grid {
    gap: 6px;
  }
  .lb-category-banner {
    padding: 10px 4px 12px;
  }
  .lb-banner-badge {
    font-size: 9.5px;
    padding: 2px 6px;
  }
  .lb-banner-rank-val {
    font-size: 16px;
  }
  .lb-banner-label {
    font-size: 9px;
  }
}

/* ==================== ELEGANT LEADERBOARD LIVE COUNTDOWN CARD ==================== */
.lb-countdown-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.9) 50%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.4);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 10px 0 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 16px rgba(234, 179, 8, 0.08);
  position: relative;
  overflow: hidden;
}

.lb-countdown-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 65%);
  pointer-events: none;
  animation: pulseGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

.lb-countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.lb-countdown-icon {
  font-size: 18px;
  animation: timerPulse 1.8s infinite;
}

.lb-countdown-title {
  font-size: 13px;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.lb-countdown-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: ltr; /* Keeps [Days] : [Hours] : [Minutes] : [Seconds] left-to-right */
}

.lb-clock-unit {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.18s;
}

.lb-clock-unit.highlight-sec {
  border-color: rgba(239, 68, 68, 0.6);
  background: linear-gradient(180deg, rgba(69, 10, 10, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

.lb-clock-val {
  font-family: 'Consolas', 'Courier New', monospace, var(--font-family);
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.lb-clock-unit.highlight-sec .lb-clock-val {
  color: #f87171;
}

.lb-clock-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 3px;
  letter-spacing: 0.2px;
}

.lb-clock-sep {
  font-size: 20px;
  font-weight: 900;
  color: #eab308;
  animation: blinkSep 1s infinite;
}

@keyframes blinkSep {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.lb-countdown-subtext {
  margin-top: 12px;
  font-size: 11.5px;
  color: #cbd5e1;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .lb-countdown-card {
    padding: 12px 10px;
    margin: 8px 0 14px;
  }
  .lb-countdown-title {
    font-size: 11.5px;
  }
  .lb-clock-unit {
    padding: 6px 8px;
    min-width: 46px;
  }
  .lb-clock-val {
    font-size: 18px;
  }
  .lb-clock-lbl {
    font-size: 9px;
  }
  .lb-clock-sep {
    font-size: 16px;
    gap: 4px;
  }
  .lb-countdown-subtext {
    font-size: 10.5px;
  }
}



/* ==========================================================================
   NEXT EPISODE COUNTDOWN (عدّاد الحلقة القادمة — يُفعَّل من لوحة الإدارة)
   ========================================================================== */
.ep-countdown-card {
  position: relative;
  overflow: hidden;
  margin: 14px 0 18px;
  padding: 18px 16px 16px;
  border-radius: 20px;
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  background:
    radial-gradient(circle at 15% 0%, rgba(234, 179, 8, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(16, 185, 129, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 27, 75, 0.94) 55%, rgba(15, 23, 42, 0.97) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 0 22px rgba(234, 179, 8, 0.1);
  text-align: center;
  animation: fadeInUp 0.45s ease both;
}

.ep-countdown-glow {
  position: absolute;
  inset: -60% -20%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 60%);
  animation: pulseGlow 4s infinite alternate ease-in-out;
  pointer-events: none;
}

.ep-countdown-header {
  position: relative;
  margin-bottom: 14px;
}

.ep-countdown-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.ep-countdown-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: timerPulse 1.4s infinite;
}

.ep-countdown-title-text {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  line-height: 1.5;
}

.ep-countdown-subtitle {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.ep-countdown-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: ltr;
}

.ep-countdown-cell {
  min-width: 64px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(234, 179, 8, 0.35);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ep-cd-value {
  font-family: 'Consolas', 'Courier New', monospace, var(--font-family);
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.ep-countdown-cell:last-child .ep-cd-value {
  color: #f87171;
}

.ep-cd-label {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
}

.ep-countdown-sep {
  font-size: 22px;
  font-weight: 900;
  color: #eab308;
  animation: blinkSep 1s infinite;
}

.ep-countdown-progress-track {
  position: relative;
  height: 7px;
  margin: 16px auto 12px;
  max-width: 420px;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.ep-countdown-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #059669 0%, #eab308 60%, #ef4444 100%);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.6);
  transition: width 0.6s ease;
}

.ep-countdown-foot {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
}

.ep-countdown-foot strong {
  color: #fde047;
}

.ep-countdown-watch {
  margin-inline-start: 8px;
}

.ep-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 34px 18px;
}

.ep-empty-icon {
  display: block;
  font-size: 34px;
  margin-bottom: 8px;
}

.ep-empty-state h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.ep-empty-state p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .ep-countdown-card {
    padding: 14px 10px 12px;
  }
  .ep-countdown-title-text {
    font-size: 14px;
  }
  .ep-countdown-cell {
    min-width: 52px;
    padding: 8px 6px;
  }
  .ep-cd-value {
    font-size: 20px;
  }
  .ep-countdown-sep {
    font-size: 17px;
  }
}

/* ==========================================================================
   ADVERTISING FRAMES (إطارات الإعلانات المُدارة من لوحة الإدارة /juda)
   Supports Google AdSense, custom HTML, image banners and affiliate links.
   ========================================================================== */

.q-ad-host {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.q-ad-host[hidden] { display: none !important; }

.q-ad-host-rewarded {
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
}

.q-ad-adsense-wrap {
  position: relative;
  width: 100%;
  min-height: 60px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.03);
}

.q-ad-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(234, 179, 8, 0.28);
  background: linear-gradient(135deg, rgba(254, 249, 195, 0.55), rgba(255, 255, 255, 0.9));
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.q-ad-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.q-ad-image {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.q-ad-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.q-ad-headline {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.q-ad-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

.q-ad-cta {
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  color: #b45309;
}

.q-ad-label {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  padding: 1px 6px;
}

/* Sticky bottom frame shown on every page while it is enabled */
.q-ad-sticky {
  position: fixed;
  bottom: 78px;
  left: 0;
  right: 0;
  z-index: 940;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  pointer-events: none;
}

.q-ad-sticky[hidden] { display: none !important; }

.q-ad-sticky .q-ad-host {
  pointer-events: auto;
  max-width: 720px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  border-radius: 14px;
}

.q-ad-sticky-close {
  pointer-events: auto;
  position: absolute;
  top: -10px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Required-watch countdown inside the rewarded-ad frame */
.q-ad-timer {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px dashed rgba(56, 189, 248, 0.45);
  color: #0369a1;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 640px) {
  .q-ad-banner { padding: 10px; gap: 9px; }
  .q-ad-image { width: 74px; height: 52px; }
  .q-ad-headline { font-size: 13px; }
  .q-ad-sticky { bottom: 84px; }
}

/* ==========================================================================
   AD FRAMES — تحجيم تلقائي، الإطار التجريبي، إطار شاشة الاختبار
   ========================================================================== */

/* Responsive creative: whatever its natural size, it never overflows the frame. */
.q-ad-host.q-ad-auto img,
.q-ad-host.q-ad-auto iframe,
.q-ad-host.q-ad-auto video,
.q-ad-host.q-ad-auto svg,
.q-ad-host.q-ad-auto ins,
.q-ad-host.q-ad-auto canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.q-ad-host.q-ad-auto img { max-height: 240px; width: auto; object-fit: contain; }

/* The dashed demo frame — only rendered when «الإطار التجريبي» is enabled. */
.q-ad-demo {
  width: 100%;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 12px;
  border: 2px dashed rgba(148, 163, 184, 0.75);
  border-radius: 14px;
  background: repeating-linear-gradient(45deg, rgba(148, 163, 184, 0.09), rgba(148, 163, 184, 0.09) 12px, transparent 12px, transparent 24px);
  color: #64748b;
  text-align: center;
}

.q-ad-demo-label {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #475569;
}

.q-ad-demo-hint { font-size: 11px; opacity: 0.9; }

/* The ad frame of the test waiting screen (شاشة الانتظار بعد الاختبار). */
.test-ad-wait-screen .q-ad-host {
  margin: 14px auto 4px;
  border-radius: 14px;
}

.test-ad-wait-screen .q-ad-host[hidden] { display: none !important; }

.q-ad-host-test { margin-bottom: 14px; }

/* Footer social buttons are rendered from the database. */
.footer-social-bar:empty { display: none; }

/* Extra social platforms (WhatsApp / Telegram / X / Snapchat / رابط عام) */
.social-link-btn.whatsapp:hover { background: #25d366; border-color: #25d366; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.38); }
.social-link-btn.telegram:hover { background: #229ed9; border-color: #229ed9; box-shadow: 0 4px 14px rgba(34, 158, 217, 0.38); }
.social-link-btn.x:hover { background: #0f172a; border-color: #0f172a; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.42); }
.social-link-btn.snapchat:hover { background: #fffc00; border-color: #fffc00; color: #111827; box-shadow: 0 4px 14px rgba(255, 252, 0, 0.45); }
.social-link-btn.link:hover { background: #ea580c; border-color: #ea580c; box-shadow: 0 4px 14px rgba(234, 88, 12, 0.38); }

/* ==========================================================================
   AD FRAMES — الحفاظ على الإعلان داخل حدود شاشة الهاتف
   أي إعلان (صورة 728x90، كود HTML، AdSense، أفلييت) يجب أن يبقى داخل إطاره
   ولا يوسّع الصفحة أبداً على شاشات الهاتف.
   ========================================================================== */

.q-ad-host {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

/* الإعلان المخصص / الصورة الخارجية تتحجّم تلقائياً داخل الإطار */
.q-ad-host img,
.q-ad-host picture,
.q-ad-host object,
.q-ad-host embed,
.q-ad-host iframe,
.q-ad-host video,
.q-ad-host canvas,
.q-ad-host ins {
  max-width: 100% !important;
}

/* الصورة المخصصة تحافظ على نسبها بدون أن تخرج عن الإطار (الصورة الصغيرة
   المصمّمة للبانر تُبقى كما هي). */
.q-ad-host img:not(.q-ad-image) {
  height: auto;
  object-fit: contain;
}

/* الشريط الثابت في الأسفل: يتبع نفس إطار الهاتف الذي يظهر فيه الموقع
   (480px متمركزة في الوسط) حتى لا يخرج الإعلان عن حدود شكل الهاتف. */
.q-ad-sticky {
  box-sizing: border-box;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 0 10px;
}

.q-ad-sticky .q-ad-host {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* ملاحظة الاستلام التلقائي داخل نافذة مشاهدة الإعلان */
.q-ad-reward-note {
  margin: 0 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.10);
  border: 1px dashed rgba(34, 197, 94, 0.45);
  color: #15803d;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}

.q-ad-reward-note span { margin-inline-end: 4px; }

/* إعلانات صفحات التطبيق (الاختبارات، الحلقات، المتجر، الترتيب، الحساب) */
.q-ad-host-page {
  margin: 4px 0 16px;
}

@media (max-width: 640px) {
  .q-ad-sticky { padding: 0 8px; }
  .q-ad-host-page { margin: 2px 0 12px; }
}

/* بانر الصورة وحدها (أفلييت 728x90): كامل العرض بنسبته الطبيعية، بلا فراغات */
.q-ad-plain-banner {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}

.q-ad-plain-img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto;
  border-radius: 12px;
}

/* الصورة المصمّمة داخل بطاقة البانر تبقى مصغّرة فلا تمدّد البطاقة ولا تُخفي النص */
.q-ad-host .q-ad-banner img.q-ad-image {
  width: 96px;
  height: 64px;
  max-width: 96px !important;
  max-height: 64px !important;
  flex: 0 0 96px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 10px;
}

.q-ad-host .q-ad-banner .q-ad-copy {
  flex: 1 1 auto;
  min-width: 0;
}
