/* ============================================================================
   FighterTix — modern design system (CI4)
   The single shared stylesheet for the redesigned site. Replaces the legacy
   Foundation 5 stack (foundation.css / normalize.css / style.css / device
   sheets) — those are intentionally NOT ported.

   Loaded once via app/Views/partials/head.php, so every page and layout gets
   the design tokens, reset, typography, and reusable components below. Pages
   should use these shared classes instead of re-declaring them inline.

   Theme: dark, Anton + Barlow / Barlow Condensed, red #e8001c, gold #c9a84c.
   ========================================================================== */

/* ---- Design tokens -------------------------------------------------------
   Two naming families are defined for compatibility: the page family
   (--red/--gold/…) used by content views and the --ft-* family used by the
   nav/footer partials. Both resolve to the same palette. */
:root {
  --red:#e8001c;      --ft-red:#E8001C;
  --gold:#c9a84c;     --ft-gold:#C9A84C;
  --dark:#080a0d;     --ft-dark:#040506;
  --darker:#040506;   --ft-darker:#020304;
  --panel:#0e1117;    --ft-panel:#0d0e10;
  --panel2:#141820;
  --text:#e8eaf0;     --ft-text:#ffffff;
  --muted:#7a8090;    --ft-muted:rgba(255,255,255,0.55);
  --border:rgba(255,255,255,0.07); --ft-border:rgba(255,255,255,0.08);
  --red-hover:#ff1f38;

  --font-head:'Anton',Impact,sans-serif;
  --font-body:'Barlow',sans-serif;
  --font-cond:'Barlow Condensed','Arial Narrow',sans-serif;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }

/* ---- Base ----------------------------------------------------------------- */
body {
  background: var(--darker);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--text); }

/* ---- Layout helpers ------------------------------------------------------- */
.ft-wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px 80px; }
.ft-wrap--wide { max-width: 1400px; padding: 0 30px; }

/* ---- Section label (gold eyebrow with trailing rule) ---------------------- */
.ft-section-label {
  font-family: var(--font-body); font-size: .85rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); font-weight: 700;
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.ft-section-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---- Hero ----------------------------------------------------------------- */
.ft-hero { padding: 140px 40px 20px; max-width: 1100px; margin: 0 auto; }
.ft-hero-eyebrow { font-size: .75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.ft-hero h1 { font-family: var(--font-head); font-size: clamp(2.8rem,6vw,5.5rem); line-height: .95; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
.ft-hero h1 em { color: var(--red); font-style: normal; }
.ft-hero-divider { width: 60px; height: 3px; background: var(--red); margin-bottom: 32px; }

/* ---- Buttons -------------------------------------------------------------- */
.ft-btn, .ft-btn:link, .ft-btn:visited {
  display: inline-block; background: var(--red); color: #fff !important; border: none;
  cursor: pointer; font-family: var(--font-head); font-size: 1rem; letter-spacing: 3px;
  padding: 16px 40px; border-radius: 3px; text-transform: uppercase; text-decoration: none;
  transition: background .2s;
}
.ft-btn:hover { background: var(--red-hover); color: #fff !important; }
.ft-btn--gold, .ft-btn--gold:link, .ft-btn--gold:visited { background: var(--gold); color: #111 !important; }
.ft-btn--block { width: 100%; text-align: center; }

/* ---- Cards ---------------------------------------------------------------- */
.ft-card { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 32px; }

/* ---- Forms ---------------------------------------------------------------- */
.ft-field { margin-bottom: 22px; }
.ft-label { display: block; font-family: var(--font-cond); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.ft-label sup { color: var(--red); }
.ft-input, .ft-select, .ft-textarea {
  width: 100%; background: #000; border: 1px solid rgba(255,255,255,0.12); color: #fff;
  padding: 14px; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ft-input:focus, .ft-select:focus, .ft-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.ft-input::placeholder { color: rgba(255,255,255,.25); }
.ft-field-error { color: #ff6478; font-size: .85rem; margin-top: 4px; }

/* ---- Data table (event schedule / listings) ------------------------------ */
.ft-table { width: 100%; border-collapse: collapse; background: #000; }
.ft-table thead tr { border-bottom: 2px solid var(--gold); }
.ft-table th { font-family: var(--font-body); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); padding: 10px 14px; text-align: left; font-weight: 700; }
.ft-table td { padding: 14px; color: var(--text); border-bottom: 1px solid var(--border); vertical-align: middle; }

/* ---- Utilities ------------------------------------------------------------ */
.ft-text-red { color: var(--red); }
.ft-text-gold { color: var(--gold); }
.ft-muted { color: var(--muted); }

@media (max-width: 768px) {
  .ft-wrap { padding: 0 16px 60px; }
  .ft-hero { padding: 110px 16px 50px; }
}
