/* ═══════════════════════════════════════════════════════════════
   DEADLOCK THEME — Full color override
   Replaces every CS2 blue (#3b82f6 / rgba(59,130,246,X)) with
   Deadlock amber-gold (#d9a441) + bright gold accent (#f4c95b).
   Backgrounds swap CS2's navy for dark occult warm-neutral tones
   that match Deadlock's noir art direction.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CSS VARIABLES ──────────────────────────────────────── */
:root {
  --primary-blue: #d9a441;
  --primary-blue-rgb: 217, 164, 65;
  --primary-glow: rgba(217, 164, 65, 0.5);
  --accent-yellow: #f4c95b;
  --border-color: rgba(217, 164, 65, 0.12);

  /* Dark backgrounds — deep occult warm-neutral instead of CS2 navy
     --dark-bg:    #0b0f16   →  #0a0806   (near-black warm charcoal)
     --card-bg:    #161c27   →  #17130d   (dark warm brown-grey)
     --card-hover: #1c2535   →  #1f1a11   (medium warm dark) */
  --dark-bg: #0a0806;
  --card-bg: #17130d;
  --card-hover: #1f1a11;

  /* Muted text — warm neutral grey */
  --text-muted: #a89a82;
}

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

/* HEADER */
.premium-header {
  background: rgba(7, 6, 4, 0.98) !important;
}

/* FOOTER — CS2 has a hardcoded navy bg (#080b11) */
.premium-footer {
  background: #080604 !important;
}

/* ── 2. CARDS — HARDCODED BACKGROUNDS ──────────────────────── */
.featured-card {
  background: linear-gradient(145deg, #241d10, #16110a) !important;
  border-color: rgba(217, 164, 65, 0.25) !important;
}

.glass-card {
  background: rgba(23, 19, 13, 0.55) !important;
}

.hub-info-card-v2,
.hub-info-card {
  background: rgba(23, 19, 13, 0.85) !important;
  border-color: rgba(217, 164, 65, 0.18) !important;
}

.stat-pill {
  background: rgba(10, 8, 6, 0.55) !important;
  border: 1px solid rgba(217, 164, 65, 0.1) !important;
}

.premium-stats-bar {
  background: transparent !important;
  border-color: transparent !important;
}

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

.sidebar-card {
  background: rgba(23, 19, 13, 0.85) !important;
  border-color: rgba(217, 164, 65, 0.18) !important;
}

.rank-row {
  background: rgba(23, 19, 13, 0.6) !important;
  border-color: rgba(217, 164, 65, 0.1) !important;
}

.rank-row:hover {
  border-color: rgba(217, 164, 65, 0.4) !important;
}

/* ── 3. HERO SECTION ───────────────────────────────────────── */
.premium-hero {
  background: radial-gradient(
    ellipse at center,
    rgba(217, 164, 65, 0.20) 0%,
    rgba(217, 164, 65, 0.09) 35%,
    rgba(10, 8, 6, 0.6) 70%,
    transparent 90%
  ) !important;
}

.premium-hero h1 {
  text-shadow: 0 0 28px rgba(217, 164, 65, 0.35);
}

.hero-glow-divider {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(217, 164, 65, 0.45),
    transparent
  ) !important;
}

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

.hero-card-glass {
  background: rgba(23, 19, 13, 0.5) !important;
  border: 1px solid rgba(217, 164, 65, 0.2) !important;
}

/* ── 4. BADGES ─────────────────────────────────────────────── */
.verified-badge,
.live-badge,
.soon-badge {
  background: rgba(217, 164, 65, 0.1) !important;
  border: 1px solid rgba(217, 164, 65, 0.3) !important;
  color: #f4c95b !important;
}

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

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

.rank-tag {
  background: linear-gradient(135deg, #d9a441, #f4c95b) !important;
  color: #1a1206 !important;
}

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn-play, .btn-primary-glow, .btn-submit-v3 {
  background: linear-gradient(135deg, #d9a441, #b0801f) !important;
  color: #1a1206 !important;
}
.btn-play:hover, .btn-primary-glow:hover, .btn-submit-v3:hover {
  background: linear-gradient(135deg, #e6b24f, #d9a441) !important;
  box-shadow: 0 0 30px rgba(217, 164, 65, 0.5) !important;
}

.btn-review:hover {
  border-color: rgba(217, 164, 65, 0.4) !important;
  color: #f4c95b !important;
}

.mode-card-v2:hover .btn-play-v2,
.review-card-hover:hover .btn-play-v2 {
  background: #d9a441 !important;
  border-color: #d9a441 !important;
  color: #1a1206 !important;
  box-shadow: 0 0 15px rgba(217, 164, 65, 0.5) !important;
}

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

.mode-card-v2:hover {
  border-color: rgba(217, 164, 65, 0.4) !important;
  background: rgba(31, 26, 17, 0.9) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(217, 164, 65, 0.15) !important;
}

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

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

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

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

/* ── 11. NAV — ACTIVE LINK ─────────────────────────────────── */
.main-nav .nav-link.active,
.premium-header .main-nav .nav-link.active,
.main-nav .nav-link.active:visited {
  background: #d9a441 !important;
  border-color: #d9a441 !important;
  color: #1a1206 !important;
  box-shadow: 0 0 12px rgba(217, 164, 65, 0.3) !important;
}

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

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

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

.grid-item-v2 {
  background: rgba(10, 8, 6, 0.5) !important;
  border-color: rgba(217, 164, 65, 0.1) !important;
}

/* ── 13. REVIEW FORM INPUTS ─────────────────────────────────── */
.v3-input,
.v3-textarea {
  background: rgba(10, 8, 6, 0.6) !important;
  border-color: rgba(217, 164, 65, 0.15) !important;
}
.v3-input::placeholder,
.v3-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* ── 14. SIDEBAR PROMO CODE BOX ─────────────────────────────── */
.promo-code-display {
  background: rgba(217, 164, 65, 0.08) !important;
  border-color: rgba(217, 164, 65, 0.45) !important;
  color: #fff !important;
}

/* ── 15. COMING-SOON BLOCK (Deadlock-specific) ─────────────── */
.soon-wrap {
  text-align: center;
  padding: 60px 30px;
}
.soon-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 164, 65, 0.1);
  border: 1px solid rgba(217, 164, 65, 0.3);
  box-shadow: 0 0 30px rgba(217, 164, 65, 0.15);
}
.soon-icon .ico { width: 40px; height: 40px; stroke: #f4c95b; }
.soon-wrap h2 { font-size: 2rem; margin: 0 0 16px; color: #fff; }
.soon-wrap h2 .highlight { display: inline; }
.soon-wrap p {
  max-width: 640px;
  margin: 0 auto 14px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.soon-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 38px auto 0;
}
.soon-step {
  background: rgba(23, 19, 13, 0.6);
  border: 1px solid rgba(217, 164, 65, 0.14);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: left;
}
.soon-step .step-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f4c95b;
  margin-bottom: 8px;
}
.soon-step h4 { margin: 0 0 8px; color: #fff; font-size: 1rem; }
.soon-step p { margin: 0; font-size: 13px; line-height: 1.6; text-align: left; }
@media (max-width: 768px) {
  .soon-steps { grid-template-columns: 1fr; }
  .soon-wrap { padding: 40px 18px; }
  .soon-wrap h2 { font-size: 1.5rem; }
}
