/* ==========================================================================
   BGGAMING - MODERN QUESTS & BATTLE PASS STYLESHEET
   Aesthetics: Cyberpunk Glassmorphism, Deep Obsidian Dark, Glowing Accents
   ========================================================================== */

:root {
  --bp-bg-card: rgba(15, 20, 28, 0.85);
  --bp-border: rgba(255, 255, 255, 0.08);
  --bp-border-glow: rgba(245, 158, 11, 0.35);
  --bp-gold: #f59e0b;
  --bp-gold-light: #fef3c7;
  --bp-gold-glow: rgba(245, 158, 11, 0.4);
  --bp-cyan: #38bdf8;
  --bp-purple: #a855f7;
  --bp-green: #10b981;
  --bp-radius-lg: 16px;
  --bp-radius-md: 12px;
  --bp-radius-sm: 8px;
}

/* Page Header & Intro */
.bp-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 16px 60px;
}

.bp-header-banner {
  background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
              linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(10, 14, 22, 0.98));
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bp-header-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6, #3b82f6);
}

.bp-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.bp-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
}

.bp-badge-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: bp-pulse-dot 1.5s infinite;
}

@keyframes bp-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.bp-main-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.bp-main-desc {
  color: #94a3b8;
  font-size: 14px;
  max-width: 780px;
  line-height: 1.5;
  margin: 0;
}

/* HUD Stat Cards */
.bp-hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.bp-hud-card {
  background: var(--bp-bg-card);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bp-hud-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.bp-hud-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bp-hud-icon-box.gold { background: linear-gradient(135deg, #b45309, #d97706); }
.bp-hud-icon-box.cyan { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.bp-hud-icon-box.purple { background: linear-gradient(135deg, #7c3aed, #9333ea); }
.bp-hud-icon-box.green { background: linear-gradient(135deg, #059669, #10b981); }

.bp-hud-info {
  flex: 1;
  min-width: 0;
}

.bp-hud-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.bp-hud-val {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  letter-spacing: -0.01em;
}

.bp-hud-val.gold { color: #fbbf24; text-shadow: 0 0 12px rgba(251, 191, 36, 0.3); }
.bp-hud-val.purple { color: #c084fc; text-shadow: 0 0 12px rgba(192, 132, 252, 0.3); }

/* Claim All Action Card */
.bp-hud-action-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%),
              var(--bp-bg-card);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--bp-radius-md);
  padding: 16px 24px;
}

.bp-claim-all-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #000000;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--bp-radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bp-claim-all-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.bp-claim-all-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  background: #334155;
  color: #94a3b8;
}

.bp-claim-all-btn.pulse-active {
  animation: bp-btn-pulse 2s infinite;
}

@keyframes bp-btn-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 28px rgba(245, 158, 11, 0.85); }
}

/* Reset Timers Strip */
.bp-resets-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.bp-reset-card {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}

.bp-reset-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-reset-ico {
  font-size: 20px;
}

.bp-reset-title {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bp-reset-timer {
  font-family: var(--font-mono, monospace);
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
}

/* Section Title Strip */
.bp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.bp-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.bp-section-title-icon {
  font-size: 22px;
}

/* Filter Tabs */
.bp-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--bp-border);
  overflow-x: auto;
}

.bp-filter-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.bp-filter-tab:hover {
  color: #ffffff;
}

.bp-filter-tab.is-active {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Quests Grid */
.bp-quests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.bp-quest-card {
  background: var(--bp-bg-card);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
}

.bp-quest-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.bp-quest-card.card-ready {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(15, 20, 28, 0.95) 100%);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.bp-quest-card.card-claimed {
  opacity: 0.75;
  border-color: rgba(16, 185, 129, 0.2);
}

.bp-qc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bp-qc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bp-qc-meta {
  flex: 1;
  min-width: 0;
}

.bp-qc-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.bp-qc-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
}

.bp-qc-category.cat-daily { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.bp-qc-category.cat-weekly { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.bp-qc-category.cat-monthly { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.bp-qc-category.cat-once { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.bp-qc-badge-ready {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.04em;
  animation: bp-pulse-dot 1.2s infinite;
}

.bp-qc-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.bp-qc-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.bp-qc-progress-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bp-qc-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.bp-qc-progress-val {
  color: #cbd5e1;
  font-family: var(--font-mono, monospace);
}

.bp-qc-progress-bar {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.bp-qc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.bp-qc-progress-fill.fill-done {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.bp-qc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bp-qc-rewards {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bp-qc-rew-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
}

.bp-qc-rew-chip.chip-bg {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.bp-qc-rew-chip.chip-xp {
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.bp-quest-btn {
  border: none;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bp-quest-btn.claim-ready {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  animation: bp-btn-pulse 1.8s infinite;
}

.bp-quest-btn.claim-ready:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.7);
}

.bp-quest-btn.claimed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  cursor: default;
}

.bp-quest-badge.in-progress {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.bp-empty-quests {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--bp-bg-card);
  border: 1px dashed var(--bp-border);
  border-radius: var(--bp-radius-md);
}

.bp-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ==========================================================================
   BATTLE PASS HERO & 100-TIER TRACK (Directly Below Quests)
   ========================================================================== */

.bp-battlepass-section {
  margin-top: 40px;
  border-top: 2px solid rgba(255, 255, 255, 0.06);
  padding-top: 40px;
}

.bp-bp-hero {
  background: radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 15% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 60%),
              linear-gradient(180deg, #101622 0%, #0c1017 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--bp-radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.bp-bp-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

@media (max-width: 860px) {
  .bp-bp-hero-grid {
    grid-template-columns: 1fr;
  }
}

.bp-bp-hero-main {
  min-width: 0;
}

.bp-bp-season-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.bp-bp-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bp-bp-hero-desc {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 650px;
}

/* User Pass Level & XP HUD inside Hero */
.bp-bp-user-status {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bp-level-badge-box {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  padding: 10px 18px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

.bp-level-badge-box .lvl-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.7);
}

.bp-level-badge-box .lvl-num {
  font-size: 28px;
  font-weight: 900;
  color: #000000;
  line-height: 1;
}

.bp-xp-progress-box {
  flex: 1;
  min-width: 240px;
}

.bp-xp-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.bp-xp-bar-bg {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.bp-xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  transition: width 0.5s ease;
}

/* VIP Upgrade Button / Active Status */
.bp-vip-status-container {
  flex-shrink: 0;
}

.bp-btn-upgrade-vip {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  border: none;
  border-radius: var(--bp-radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #000000;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
  transition: all 0.25s ease;
  animation: bp-btn-pulse 2s infinite;
}

.bp-btn-upgrade-vip:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.7);
}

.vip-btn-icon {
  font-size: 32px;
}

.vip-btn-txt strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.vip-btn-txt small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}

.vip-btn-arrow {
  font-size: 18px;
  font-weight: 900;
}

.bp-vip-active-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--bp-radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fbbf24;
}

.bp-vip-active-badge .vip-crown {
  font-size: 28px;
}

.bp-vip-active-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.bp-vip-active-badge small {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
}

/* 100-Tier Track Controls Strip */
.bp-track-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  background: rgba(15, 23, 42, 0.7);
  padding: 12px 20px;
  border-radius: var(--bp-radius-md);
  border: 1px solid var(--bp-border);
}

.bp-track-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bp-btn-nav {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bp-border);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bp-btn-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.bp-btn-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bp-btn-nav.cur-range {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

/* 100-Tier Table Matrix */
.bp-track-table-container {
  overflow-x: auto;
  border-radius: var(--bp-radius-lg);
  border: 1px solid var(--bp-border);
  background: #0b0f17;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 16px;
  margin-bottom: 24px;
}

.bp-track-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 980px;
}

.bp-track-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.bp-track-row-label {
  width: 140px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}

.bp-track-row-label span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.bp-track-row-label.label-free {
  background: rgba(56, 189, 248, 0.05);
  border-color: rgba(56, 189, 248, 0.2);
}

.bp-track-row-label.label-vip {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.label-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  background: #38bdf8;
  color: #000000;
  margin-bottom: 4px;
}

.label-badge.vip {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000000;
}

.label-name {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.bp-track-cells {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  flex: 1;
}

/* Level strip cell */
.bp-track-cell.cell-level {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.cell-level .level-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
  transition: all 0.2s ease;
}

.cell-level.is-unlocked .level-pill {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.cell-level.is-current .level-pill {
  background: #f59e0b;
  color: #000000;
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.7);
  transform: scale(1.1);
}

/* Tier Card Cell */
.bp-track-cell.cell-tier {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.bp-track-cell.cell-tier:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.cell-tier.can-claim {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.cell-tier.can-claim-vip {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.3);
}

.bp-tier-vip-crown {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 12px;
}

.bp-tier-icon {
  font-size: 26px;
  margin-top: 4px;
}

.bp-tier-name {
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.25;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-tier-status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
}

.bp-tier-status.locked {
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
}

.bp-tier-status.claimed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.bp-tier-claim-btn {
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bp-tier-claim-btn.free {
  background: #38bdf8;
  color: #000000;
}

.bp-tier-claim-btn.free:hover {
  background: #7dd3fc;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.bp-tier-claim-btn.vip {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000000;
}

.bp-tier-claim-btn.vip:hover {
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
  transform: scale(1.05);
}

.bp-tier-claim-btn.need-vip {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px dashed rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   GACHA CELEBRATION MODAL
   ========================================================================== */

.bp-celebrate-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

.bp-celebrate-modal.is-open {
  display: flex;
}

.bp-cel-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
}

.bp-cel-dialog {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: linear-gradient(180deg, #182234 0%, #0c121d 100%);
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.3);
  animation: bp-modal-pop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

@keyframes bp-modal-pop {
  0% { transform: scale(0.7) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.bp-cel-sunburst {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: bp-spin 20s linear infinite;
}

@keyframes bp-spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.bp-cel-content {
  position: relative;
  z-index: 2;
}

.bp-cel-title {
  font-size: 24px;
  font-weight: 900;
  color: #fbbf24;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.bp-cel-subtitle {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0 0 24px;
}

.bp-cel-levelup-badge {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  display: inline-block;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
  animation: bp-pulse-dot 1.5s infinite;
}

.bp-cel-items-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.bp-cel-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 24px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bp-item-bounce 0.6s ease;
}

@keyframes bp-item-bounce {
  0% { transform: translateY(20px); opacity: 0; }
  60% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); }
}

.bp-cel-item.item-gold {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.bp-cel-item.item-xp {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.bp-cel-item-icon {
  font-size: 38px;
}

.bp-cel-item-val {
  font-size: 22px;
  font-weight: 900;
  font-family: var(--font-mono, monospace);
  color: #ffffff;
}

.bp-cel-item.item-gold .bp-cel-item-val { color: #fbbf24; }
.bp-cel-item.item-xp .bp-cel-item-val { color: #c084fc; }

.bp-cel-item-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
}

.bp-cel-btn-ok {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #000000;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 14px 44px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transition: all 0.2s ease;
}

.bp-cel-btn-ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.7);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
