/* ═══════════════════════════════════════════════════════════════
   RUST THEME — Full color override
   Replaces every blue (#3b82f6 / #2d72d9 / rgba(59,130,246,X))
   with rust red (#cd412b) + accent orange (#f5a623).
   Also swaps the navy-tinted dark backgrounds for warm-neutral
   dark tones that pair correctly with rust accents.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CSS VARIABLES ──────────────────────────────────────── */
:root {
  --primary-blue: #cd412b;
  --primary-blue-rgb: 205, 65, 43;
  --primary-glow: rgba(205, 65, 43, 0.5);
  --accent-yellow: #f5a623;
  --border-color: rgba(205, 65, 43, 0.12);

  /* Dark backgrounds — warm-neutral instead of CS2's navy
     CS2 originals → Rust replacements:
     --dark-bg:    #0b0f16   →  #0d0a08   (warm near-black)
     --card-bg:    #161c27   →  #1a1512   (warm dark-grey)
     --card-hover: #1c2535   →  #221a17   (warm medium-dark) */
  --dark-bg: #0d0a08;
  --card-bg: #1a1512;
  --card-hover: #221a17;
}

/* Body background — explicit for safety */
body {
  background-color: #0d0a08 !important;
}

/* HEADER — was rgba(6, 9, 14, 0.98) (navy-tinted black) */
.premium-header {
  background: rgba(8, 6, 5, 0.98) !important;
}

/* Footer has a hardcoded navy bg (#080b11) */
.premium-footer {
  background: #0a0706 !important;
}

/* ── 2. CARDS — HARDCODED BACKGROUNDS ──────────────────────── */
/* Featured card (Bandit.camp #1 Team Pick) — was slate-navy gradient */
.featured-card {
  background: linear-gradient(145deg, #2a1f1c, #1a110e) !important;
  border-color: rgba(205, 65, 43, 0.25) !important;
}

/* Glass cards (Latest Reviews, FAQ, affiliate disclosure box) */
.glass-card {
  background: rgba(26, 21, 18, 0.55) !important;
}

/* Hub info card (How We Rank Rust Gambling Sites) */
.hub-info-card-v2,
.hub-info-card {
  background: rgba(26, 21, 18, 0.85) !important;
  border-color: rgba(205, 65, 43, 0.18) !important;
}

/* Stat-pill rows inside featured-card */
.stat-pill {
  background: rgba(13, 10, 8, 0.55) !important;
  border: 1px solid rgba(205, 65, 43, 0.1) !important;
}

/* Premium stats bar (used on /reviews/) */
.premium-stats-bar {
  background: rgba(26, 21, 18, 0.6) !important;
  border-color: rgba(205, 65, 43, 0.15) !important;
}

.p-stat {
  background: rgba(13, 10, 8, 0.4) !important;
}

/* Sidebar cards on ranking pages */
.sidebar-card {
  background: rgba(26, 21, 18, 0.85) !important;
  border-color: rgba(205, 65, 43, 0.18) !important;
}

/* Rank rows on ranking pages */
.rank-row {
  background: rgba(26, 21, 18, 0.6) !important;
  border-color: rgba(205, 65, 43, 0.1) !important;
}

.rank-row:hover {
  border-color: rgba(205, 65, 43, 0.4) !important;
}

/* ── 3. HERO SECTION ───────────────────────────────────────── */
.premium-hero {
  background: radial-gradient(
    ellipse at center,
    rgba(205, 65, 43, 0.22) 0%,
    rgba(205, 65, 43, 0.10) 35%,
    rgba(13, 10, 8, 0.6) 70%,
    transparent 90%
  ) !important;
}

.premium-hero h1 {
  text-shadow: 0 0 28px rgba(205, 65, 43, 0.35);
}

.hero-glow-divider {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(205, 65, 43, 0.45),
    transparent
  ) !important;
}

.review-hero-v3 {
  background: radial-gradient(
    circle at center,
    rgba(205, 65, 43, 0.15) 0%,
    transparent 70%
  ) !important;
}

.hero-card-glass {
  background: rgba(26, 21, 18, 0.5) !important;
  border: 1px solid rgba(205, 65, 43, 0.2) !important;
}

/* ── 4. BADGES ─────────────────────────────────────────────── */
.verified-badge,
.live-badge {
  background: rgba(205, 65, 43, 0.1) !important;
  border: 1px solid rgba(205, 65, 43, 0.3) !important;
  color: #f5a623 !important;
}

/* ── 5. ACCENTS / HIGHLIGHTS ───────────────────────────────── */
.highlight {
  background: linear-gradient(135deg, #cd412b, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.check-icon {
  color: #f5a623 !important;
}

.rank-tag {
  background: linear-gradient(135deg, #cd412b, #f5a623) !important;
}

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn-play, .btn-primary-glow, .btn-submit-v3 {
  background: linear-gradient(135deg, #cd412b, #a83220) !important;
}
.btn-play:hover, .btn-primary-glow:hover, .btn-submit-v3:hover {
  background: linear-gradient(135deg, #e04a32, #cd412b) !important;
  box-shadow: 0 0 30px rgba(205, 65, 43, 0.5) !important;
}

.btn-review:hover {
  border-color: rgba(205, 65, 43, 0.4) !important;
  color: #f5a623 !important;
}

.mode-card-v2:hover .btn-play-v2,
.review-card-hover:hover .btn-play-v2 {
  background: #cd412b !important;
  border-color: #cd412b !important;
  box-shadow: 0 0 15px rgba(205, 65, 43, 0.5) !important;
}

/* ── 7. CARDS — HOVER STATES ───────────────────────────────── */
.glass-card:hover {
  border-color: rgba(205, 65, 43, 0.3) !important;
  box-shadow: 0 0 20px rgba(205, 65, 43, 0.06) !important;
}

.mode-card-v2:hover {
  border-color: rgba(205, 65, 43, 0.4) !important;
  background: rgba(34, 26, 23, 0.9) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(205, 65, 43, 0.15) !important;
}

.review-card-hover:hover {
  border-color: rgba(205, 65, 43, 0.4) !important;
  background: rgba(205, 65, 43, 0.05) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(205, 65, 43, 0.3) !important;
}

/* ── 8. ICON CHIPS ─────────────────────────────────────────── */
.icon-blue {
  background: rgba(205, 65, 43, 0.1) !important;
  border: 1px solid rgba(205, 65, 43, 0.2) !important;
}

/* ── 9. INLINE-STYLED BLUE BOXES (catch-all) ───────────────── */
.glass-card[style*="rgba(59, 130, 246"] {
  background: rgba(205, 65, 43, 0.05) !important;
  border-color: rgba(205, 65, 43, 0.2) !important;
}

/* ── 10. FORM FOCUS ────────────────────────────────────────── */
.v3-input:focus,
.v3-textarea:focus {
  border-color: #cd412b !important;
}

/* ── 11. NAV — ACTIVE LINK ─────────────────────────────────── */
.main-nav .nav-link.active,
.premium-header .main-nav .nav-link.active,
.main-nav .nav-link.active:visited {
  background: #cd412b !important;
  border-color: #cd412b !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(205, 65, 43, 0.3) !important;
}

.main-nav .nav-link:hover {
  color: #f5a623 !important;
}

/* ── 12. SECTION TITLES & MISC ─────────────────────────────── */
.section-title-v2 span {
  color: #f5a623;
}

.grid-item-v2 span {
  color: #f5a623 !important;
}

/* Grid items inside hub-info-card-v2 — make sure their bg matches */
.grid-item-v2 {
  background: rgba(13, 10, 8, 0.5) !important;
  border-color: rgba(205, 65, 43, 0.1) !important;
}