/* ═══════════════════════════════════════════════════════════════
   IRL THEME — Full color override
   Replaces every blue (#3b82f6 / #2d72d9 / rgba(59,130,246,X))
   with vivid purple (#a855f7) + accent magenta/pink (#ec4899).
   Uses cool-purple-tinted dark backgrounds that pair correctly
   with the purple accents (instead of CS2's navy or Rust's warm).
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CSS VARIABLES ──────────────────────────────────────── */
:root {
  --primary-blue: #a855f7;
  --primary-blue-rgb: 168, 85, 247;
  --primary-glow: rgba(168, 85, 247, 0.5);
  --accent-yellow: #ec4899;
  --border-color: rgba(168, 85, 247, 0.12);

  /* Dark backgrounds — purple-tinted dark instead of CS2's navy
     CS2 originals → IRL replacements:
     --dark-bg:    #0b0f16   →  #0d0a14   (purple near-black)
     --card-bg:    #161c27   →  #181225   (purple dark-grey)
     --card-hover: #1c2535   →  #221a30   (purple medium-dark) */
  --dark-bg: #0d0a14;
  --card-bg: #181225;
  --card-hover: #221a30;
}

/* Body background — explicit for safety */
body {
  background-color: #0d0a14 !important;
}

/* HEADER — was rgba(6, 9, 14, 0.98) (navy-tinted black) */
.premium-header {
  background: rgba(8, 6, 14, 0.98) !important;
}

/* Footer has a hardcoded navy bg (#080b11) */
.premium-footer {
  background: #0a0712 !important;
}

/* ── 2. CARDS — HARDCODED BACKGROUNDS ──────────────────────── */
/* Featured card (#1 Team Pick) — was slate-navy gradient */
.featured-card {
  background: linear-gradient(145deg, #2a1f3c, #1a1024) !important;
  border-color: rgba(168, 85, 247, 0.25) !important;
}

/* Glass cards (Latest Reviews, FAQ, affiliate disclosure box) */
.glass-card {
  background: rgba(24, 18, 37, 0.55) !important;
}

/* Hub info card (How We Rank IRL Case Sites) */
.hub-info-card-v2,
.hub-info-card {
  background: rgba(24, 18, 37, 0.85) !important;
  border-color: rgba(168, 85, 247, 0.18) !important;
}

/* Stat-pill rows inside featured-card */
.stat-pill {
  background: rgba(13, 10, 20, 0.55) !important;
  border: 1px solid rgba(168, 85, 247, 0.1) !important;
}

/* Premium stats bar (used on /reviews/) */
.premium-stats-bar {
  background: rgba(24, 18, 37, 0.6) !important;
  border-color: rgba(168, 85, 247, 0.15) !important;
}

.p-stat {
  background: rgba(13, 10, 20, 0.4) !important;
}

/* Sidebar cards on ranking pages */
.sidebar-card {
  background: rgba(24, 18, 37, 0.85) !important;
  border-color: rgba(168, 85, 247, 0.18) !important;
}

/* Rank rows on ranking pages */
.rank-row {
  background: rgba(24, 18, 37, 0.6) !important;
  border-color: rgba(168, 85, 247, 0.1) !important;
}

.rank-row:hover {
  border-color: rgba(168, 85, 247, 0.4) !important;
}

/* ── 3. HERO SECTION ───────────────────────────────────────── */
.premium-hero {
  background: radial-gradient(
    ellipse at center,
    rgba(168, 85, 247, 0.22) 0%,
    rgba(168, 85, 247, 0.10) 35%,
    rgba(13, 10, 20, 0.6) 70%,
    transparent 90%
  ) !important;
}

.premium-hero h1 {
  text-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
}

.hero-glow-divider {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.45),
    transparent
  ) !important;
}

.review-hero-v3 {
  background: radial-gradient(
    circle at center,
    rgba(168, 85, 247, 0.15) 0%,
    transparent 70%
  ) !important;
}

.hero-card-glass {
  background: rgba(24, 18, 37, 0.5) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
}

/* ── 4. BADGES ─────────────────────────────────────────────── */
.verified-badge,
.live-badge {
  background: rgba(168, 85, 247, 0.1) !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  color: #ec4899 !important;
}

/* ── 5. ACCENTS / HIGHLIGHTS ───────────────────────────────── */
.highlight {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.check-icon {
  color: #ec4899 !important;
}

.rank-tag {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
}

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn-play, .btn-primary-glow, .btn-submit-v3 {
  background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
}
.btn-play:hover, .btn-primary-glow:hover, .btn-submit-v3:hover {
  background: linear-gradient(135deg, #b968ff, #a855f7) !important;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5) !important;
}

.btn-review:hover {
  border-color: rgba(168, 85, 247, 0.4) !important;
  color: #ec4899 !important;
}

.mode-card-v2:hover .btn-play-v2,
.review-card-hover:hover .btn-play-v2 {
  background: #a855f7 !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5) !important;
}

/* ── 7. CARDS — HOVER STATES ───────────────────────────────── */
.glass-card:hover {
  border-color: rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.06) !important;
}

.mode-card-v2:hover {
  border-color: rgba(168, 85, 247, 0.4) !important;
  background: rgba(34, 26, 48, 0.9) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(168, 85, 247, 0.15) !important;
}

.review-card-hover:hover {
  border-color: rgba(168, 85, 247, 0.4) !important;
  background: rgba(168, 85, 247, 0.05) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(168, 85, 247, 0.3) !important;
}

/* ── 8. ICON CHIPS ─────────────────────────────────────────── */
.icon-blue {
  background: rgba(168, 85, 247, 0.1) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
}

/* ── 9. INLINE-STYLED BLUE BOXES (catch-all) ───────────────── */
.glass-card[style*="rgba(59, 130, 246"] {
  background: rgba(168, 85, 247, 0.05) !important;
  border-color: rgba(168, 85, 247, 0.2) !important;
}

/* ── 10. FORM FOCUS ────────────────────────────────────────── */
.v3-input:focus,
.v3-textarea:focus {
  border-color: #a855f7 !important;
}

/* ── 11. NAV — ACTIVE LINK ─────────────────────────────────── */
.main-nav .nav-link.active,
.premium-header .main-nav .nav-link.active,
.main-nav .nav-link.active:visited {
  background: #a855f7 !important;
  border-color: #a855f7 !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3) !important;
}

.main-nav .nav-link:hover {
  color: #ec4899 !important;
}

/* ── 12. SECTION TITLES & MISC ─────────────────────────────── */
.section-title-v2 span {
  color: #ec4899;
}

.grid-item-v2 span {
  color: #ec4899 !important;
}

/* Grid items inside hub-info-card-v2 — make sure their bg matches */
.grid-item-v2 {
  background: rgba(13, 10, 20, 0.5) !important;
  border-color: rgba(168, 85, 247, 0.1) !important;
}

/* ── 13. NAV DROPDOWN — purple variant of dot indicator ────── */
.section-switcher.active > .nav-link {
  background: #a855f7 !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3) !important;
}
