/* ============================================================
   TERRANOVA — Theme Override
   New palette + Poppins / Montserrat

   HOW TO USE:
   In every HTML file, paste this line directly after the
   closing </style> tag (before </head>):

   <link rel="stylesheet" href="theme.css">

   The external sheet loads after the inline styles, so these
   variables and rules take precedence.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Montserrat:wght@300;400;500;600&family=Share+Tech+Mono&display=swap');

/* ============================================================
   PALETTE
   ============================================================ */
:root {
  --gold:          #da0149;
  --gold-light:    #e8365a;
  --gold-dim:      rgba(214,31,92,0.1);
  --gold-glow:     rgba(214,31,92,0.05);
  --dark:          #0a0c10;
  --charcoal:      #111318;
  --surface:       rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.06);
  --surface2:      #1a1c22;
  --text:          #f0f0f0;
  --text-muted:    #f0f0f0;
  --text-dim:      #f0f0f0;
  --border:        rgba(214,31,92,0.15);
  --border-hover:  rgba(214,31,92,0.45);
  --border-hard:   #1e2028;
}

/* ============================================================
   FONTS — body → Montserrat
   ============================================================ */
body {
  font-family: 'Montserrat', sans-serif;
}

/* Cinzel → Poppins (all heading / display / logo uses) */
.nav-logo,
.page-title,
.hero-title,
.hero h1,
h1, h2, h3,
.section-title,
.section-title span,
.sec-title,
.card-title,
.card-name,
.entry-version,
.entry-title,
.about-headline,
.founders-name,
.footer-logo,
.sidebar-brand a,
.empty-title,
.cmd-group-label,
.title-name,
.rule-group-title,
.rule-group-title::before,
.food-name,
.about-quote,
.loc-name {
  font-family: 'Poppins', sans-serif;
}

/* Jost → Montserrat (explicit overrides for elements with direct declarations) */
.about-body p,
.section-lead,
.donation-text,
.card-desc,
.rules-intro,
.hero-sub,
.hero-desc,
.rule-text,
.rule-desc,
.crime-desc,
.step-desc,
.desc-item,
.entry-items li,
.empty-text,
.loc-detail,
.food-desc,
.notice,
.cmd-desc,
input,
textarea,
button {
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   GLOW / TEXT SHADOW — swap gold glow for red
   ============================================================ */
.nav-logo {
  text-shadow: 0 0 25px rgba(214,31,92,0.35);
}
.nav-logo:hover {
  text-shadow: 0 0 45px rgba(214,31,92,0.6);
}
.hero-title,
.hero h1 {
  text-shadow:
    0 0 100px rgba(214,31,92,0.35),
    0 0 200px rgba(214,31,92,0.15),
    0 4px 40px rgba(0,0,0,0.9);
}

/* ============================================================
   BUTTONS — white text on red (dark text doesn't work on red)
   ============================================================ */
.hero-cta,
.hero-cta:hover,
.kofi-btn,
.kofi-btn:hover,
.submit-btn {
  color: #fff;
}

/* ============================================================
   BACKGROUND GLOW ORBS
   ============================================================ */
.gb1,
.gb2 {
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

/* ============================================================
   GRADIENT OVERLAYS — replace hardcoded gold rgba values
   ============================================================ */
.page-header::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(214,31,92,0.08) 0%, transparent 65%);
}
.hero::before {
  background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(214,31,92,0.07) 0%, transparent 70%);
}
.hero-fallback {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(214,31,92,0.08) 0%, transparent 65%),
    radial-gradient(ellipse at 80% 20%, rgba(214,31,92,0.04) 0%, transparent 50%),
    var(--dark);
}
.about-content::before {
  background: radial-gradient(ellipse at 0% 50%, rgba(214,31,92,0.05) 0%, transparent 60%);
}
.donation::before {
  background: radial-gradient(ellipse, rgba(214,31,92,0.045) 0%, transparent 65%);
}
.cards-sec::before {
  background: radial-gradient(circle, rgba(214,31,92,0.04) 0%, transparent 65%);
}
.empty-state::before {
  background: radial-gradient(ellipse at center top, rgba(214,31,92,0.04) 0%, transparent 60%);
}

/* ============================================================
   RULE / DIVIDER LINES
   ============================================================ */
.gold-rule {
  background: linear-gradient(to right, var(--gold), transparent);
}
.sec-rule {
  background: linear-gradient(to right, var(--gold), transparent);
}
.scroll-line {
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ============================================================
   HERO GRID (subtle red tint instead of gold)
   ============================================================ */
.hero-grid {
  background-image:
    linear-gradient(rgba(214,31,92,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,31,92,0.04) 1px, transparent 1px);
}

/* ============================================================
   CARD HOVER STATE
   ============================================================ */
.card:hover {
  box-shadow:
    0 24px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(214,31,92,0.07),
    inset 0 1px 0 rgba(214,31,92,0.1);
}
.card:hover .card-icon-wrap {
  background: rgba(214,31,92,0.18);
  border-color: rgba(214,31,92,0.4);
}

/* ============================================================
   CALLOUT BOXES
   ============================================================ */
.callout {
  border-left-color: var(--gold);
  background: var(--gold-dim);
  border-color: rgba(214,31,92,0.22);
}

/* ============================================================
   STEP NUMBERS
   ============================================================ */
.step-n {
  color: var(--gold);
  background: var(--gold-dim);
}

/* ============================================================
   NAV UNDERLINE
   ============================================================ */
.nav-links a::after {
  background: var(--gold);
}

/* ============================================================
   SIDEBAR NAV ACTIVE STATE (playerguide)
   ============================================================ */
.nav-item:hover,
.nav-item.active {
  color: var(--gold-light);
  border-left-color: var(--gold);
  background: var(--gold-glow);
}

/* ============================================================
   FORM INPUTS (appeal page)
   ============================================================ */
input:focus,
textarea:focus {
  border-color: rgba(214,31,92,0.6);
  box-shadow: 0 0 0 3px rgba(214,31,92,0.06);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ============================================================
   ANGLED SVG DIVIDERS — update fill colors to match new bg
   (these are inline SVGs so this can't override them,
    you'll need to manually update the fill values in the SVG
    polygon points from #060606 / #0f0f0f → #0a0c10 / #111318)
   ============================================================ */
