/* FrontierPioneer — Acadian Pine design system | forestwork/style.css */
/* Mobile-first. Bootstrap 5.3.0 handles grid. Per-site component classes only. */

/* ══════════════════════════════════════════════════════════════
   CSS VARIABLES — Acadian Pine palette + fairy-tale forest theme
   ══════════════════════════════════════════════════════════════ */
:root {
  --fp-bg-deep:    #141f0c;
  --fp-bg-mid:     #1e2e12;
  --fp-bg-surface: #28401a;
  --fp-bg-card:    #1a2a10;
  --fp-accent:     #caa657;
  --fp-accent-warm:#d4704a;
  --fp-gold:       #e8c46e;
  --fp-red:        #b84030;
  --fp-text:       #f0e7d2;
  --fp-text-muted: #b5a882;
  --fp-border:     rgba(202,166,87,0.22);
  --fp-border-soft:rgba(202,166,87,0.12);
  --fp-warn:       #c0392b;
  --fp-radius:     12px;
  --fp-radius-lg:  20px;
  --fp-shadow:     0 4px 24px rgba(0,0,0,0.55);
  --fp-shadow-glow:0 0 28px rgba(202,166,87,0.28);
  --fp-display:    'Cormorant Garamond', Georgia, serif;
  --fp-body:       'Lato', 'Source Sans 3', system-ui, sans-serif;
  --fp-nav-h:      64px;
  --fp-dock-h:     64px;
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */
html, body { overflow-x: hidden; }

body {
  background-color: var(--fp-bg-deep);
  color: var(--fp-text);
  font-family: var(--fp-body);
  font-size: 16px;
  line-height: 1.65;
  padding-bottom: var(--fp-dock-h);
}

*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

a { color: var(--fp-accent); text-decoration: none; }
a:hover { color: var(--fp-gold); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--fp-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--fp-text);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIBLE-GAMING TOPBAR
   ══════════════════════════════════════════════════════════════ */
.fp-resp-topbar {
  background: var(--fp-red);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.4px;
  z-index: 200;
  position: relative;
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM DOCK NAV (Hard Rule -6: Bottom dock header family)
   ══════════════════════════════════════════════════════════════ */
.fp-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--fp-dock-h);
  background: var(--fp-bg-deep);
  border-top: 1px solid var(--fp-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.fp-dock__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--fp-text-muted);
  font-size: 11px;
  font-family: var(--fp-body);
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  transition: color 0.2s;
  padding: 0 8px;
}
.fp-dock__link:hover,
.fp-dock__link--active { color: var(--fp-accent); text-decoration: none; }

.fp-dock__icon { font-size: 18px; line-height: 1; }
.fp-dock__label { font-size: 10px; }

/* Desktop nav panel (shown above dock on wider screens) */
.fp-top-brand {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(20,31,12,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fp-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 900;
}

.fp-top-brand__logo {
  font-family: var(--fp-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fp-accent);
  letter-spacing: 0.5px;
}

.fp-top-brand__links {
  display: none;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fp-top-brand__links a {
  font-size: 14px;
  color: var(--fp-text-muted);
  transition: color 0.2s;
}
.fp-top-brand__links a:hover { color: var(--fp-accent); text-decoration: none; }

@media (min-width: 768px) {
  .fp-top-brand__links { display: flex; }
}

.fp-top-brand__cta {
  display: none;
  background: var(--fp-accent);
  color: var(--fp-bg-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--fp-radius);
  min-height: 44px;
  align-items: center;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.fp-top-brand__cta:hover { background: var(--fp-gold); color: var(--fp-bg-deep); text-decoration: none; }

@media (min-width: 768px) {
  .fp-top-brand__cta { display: inline-flex; }
}

/* Page offset for top brand bar */
.fp-page-offset {
  padding-top: 56px;
}

/* ══════════════════════════════════════════════════════════════
   HERO — Vertical stack centered narrow (Hard Rule -6 hero family)
   ══════════════════════════════════════════════════════════════ */
.fp-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--fp-bg-deep);
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 16px 48px;
}

.fp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,31,12,0.72) 0%, rgba(20,31,12,0.55) 50%, rgba(20,31,12,0.82) 100%);
  z-index: 1;
}

.fp-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 100%;
}

.fp-hero__badge {
  display: inline-block;
  background: rgba(202,166,87,0.15);
  border: 1px solid var(--fp-border);
  color: var(--fp-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.fp-hero__h1 {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
  color: var(--fp-text);
}

.fp-hero__h1 span { color: var(--fp-accent); }

.fp-hero__lead {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--fp-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.fp-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 24px;
  border-radius: var(--fp-radius);
  font-family: var(--fp-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.fp-btn--primary {
  background: var(--fp-accent);
  color: var(--fp-bg-deep);
}
.fp-btn--primary:hover { background: var(--fp-gold); color: var(--fp-bg-deep); text-decoration: none; }

.fp-btn--outline {
  background: transparent;
  color: var(--fp-accent);
  border: 1.5px solid var(--fp-border);
}
.fp-btn--outline:hover { border-color: var(--fp-accent); color: var(--fp-gold); text-decoration: none; }

.fp-hero__acorn-teaser {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fp-text-muted);
  margin-top: 8px;
}

.fp-hero__acorn-icon { font-size: 18px; }

/* ══════════════════════════════════════════════════════════════
   SECTION SPACING — base compact, expands on desktop
   ══════════════════════════════════════════════════════════════ */
.fp-section {
  padding: 56px 0;
}

.fp-section--dark {
  background-color: var(--fp-bg-mid);
}

.fp-section--darker {
  background-color: var(--fp-bg-deep);
}

.fp-section--card {
  background-color: var(--fp-bg-card);
}

@media (min-width: 768px) {
  .fp-section {
    padding: 80px 0;
  }
}

.fp-section__title {
  font-size: clamp(26px, 5vw, 38px);
  margin-bottom: 12px;
  text-align: center;
}

.fp-section__lead {
  font-size: 16px;
  color: var(--fp-text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.fp-eyebrow {
  display: inline-block;
  color: var(--fp-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════════
   METRICS STRIP (jackpot ladder live counter)
   ══════════════════════════════════════════════════════════════ */
.fp-metrics {
  background: var(--fp-bg-surface);
  border-top: 1px solid var(--fp-border-soft);
  border-bottom: 1px solid var(--fp-border-soft);
  padding: 28px 0;
}

.fp-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 420px) {
  .fp-metrics-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 576px) {
  .fp-metrics-grid { grid-template-columns: repeat(4, 1fr); }
}

.fp-metric-card {
  text-align: center;
}

.fp-metric-card__num {
  font-family: var(--fp-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fp-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.fp-metric-card__label {
  font-size: 12px;
  color: var(--fp-text-muted);
  letter-spacing: 0.4px;
}

/* ══════════════════════════════════════════════════════════════
   JACKPOT LADDER (leaderboard mockup)
   ══════════════════════════════════════════════════════════════ */
.fp-ladder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 576px) {
  .fp-ladder-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .fp-ladder-grid { grid-template-columns: repeat(4, 1fr); }
}

.fp-ladder-tier {
  border-radius: var(--fp-radius);
  padding: 24px 20px;
  text-align: center;
  border: 1.5px solid var(--fp-border);
  background: var(--fp-bg-card);
  position: relative;
  overflow: hidden;
}

.fp-ladder-tier--bronze { border-color: rgba(176,141,87,0.5); }
.fp-ladder-tier--silver { border-color: rgba(180,185,190,0.5); }
.fp-ladder-tier--gold   { border-color: rgba(230,180,50,0.6); }
.fp-ladder-tier--plat   { border-color: rgba(200,220,255,0.6); background: rgba(26,42,16,0.9); }

.fp-ladder-tier__icon { font-size: 40px; margin-bottom: 10px; }
.fp-ladder-tier__name { font-family: var(--fp-display); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.fp-ladder-tier__req  { font-size: 12px; color: var(--fp-text-muted); margin-bottom: 12px; }
.fp-ladder-tier__prize {
  font-family: var(--fp-display);
  font-size: 28px;
  font-weight: 700;
}

.fp-ladder-tier--bronze .fp-ladder-tier__prize { color: #b08d57; }
.fp-ladder-tier--silver .fp-ladder-tier__prize { color: #b4b9be; }
.fp-ladder-tier--gold   .fp-ladder-tier__prize { color: var(--fp-accent); }
.fp-ladder-tier--plat   .fp-ladder-tier__prize { color: #c8dcff; }

.fp-ladder-tier__desc { font-size: 12px; color: var(--fp-text-muted); }

.fp-acorn-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(202,166,87,0.12);
  border: 1px solid var(--fp-border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--fp-accent);
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════════
   PILLARS (3-column features)
   ══════════════════════════════════════════════════════════════ */
.fp-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .fp-pillars-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .fp-pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.fp-pillar {
  background: var(--fp-bg-surface);
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.fp-pillar:hover {
  border-color: var(--fp-border);
  transform: translateY(-3px);
}

.fp-pillar__icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.fp-pillar__title {
  font-family: var(--fp-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.fp-pillar__text {
  font-size: 14px;
  color: var(--fp-text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   GAME-EXPLAINER / SLOT TEASER (index.php preview only)
   ══════════════════════════════════════════════════════════════ */
.fp-game-teaser {
  background: var(--fp-bg-card);
  border: 1.5px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
}

.fp-game-teaser__header {
  background: var(--fp-bg-surface);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fp-border-soft);
}

.fp-game-teaser__title {
  font-family: var(--fp-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fp-accent);
}

.fp-game-teaser__body { padding: 20px; }

/* game-ui */
.fp-column-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.fp-column-cell {
  aspect-ratio: 1;
  background: var(--fp-bg-mid);
  border: 1px solid var(--fp-border-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fp-column-cell img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.fp-game-teaser__cta {
  display: block;
  text-align: center;
  background: var(--fp-accent);
  color: var(--fp-bg-deep);
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: var(--fp-radius);
  min-height: 44px;
  transition: background 0.2s;
}
.fp-game-teaser__cta:hover { background: var(--fp-gold); color: var(--fp-bg-deep); text-decoration: none; }

/* ══════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════════════════ */
.fp-compare-wrap { overflow-x: auto; }

.fp-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}

.fp-compare th, .fp-compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--fp-border-soft);
  font-size: 14px;
}

.fp-compare th {
  background: var(--fp-bg-surface);
  color: var(--fp-accent);
  font-family: var(--fp-display);
  font-size: 16px;
  font-weight: 700;
}

.fp-compare td:first-child { color: var(--fp-text-muted); }
.fp-compare td:nth-child(2) { color: var(--fp-text); }
.fp-compare td:nth-child(3) { color: var(--fp-text-muted); }

.fp-compare__check { color: var(--fp-accent); font-size: 16px; }
.fp-compare__cross { color: var(--fp-warn); }

/* ══════════════════════════════════════════════════════════════
   UPDATES SECTION
   ══════════════════════════════════════════════════════════════ */
.fp-updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .fp-updates-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1200px) {
  .fp-updates-grid { grid-template-columns: repeat(4, 1fr); }
}

.fp-update-card {
  background: var(--fp-bg-surface);
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius);
  overflow: hidden;
}

.fp-update-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.fp-update-card__body { padding: 16px; }

.fp-update-card__date {
  font-size: 11px;
  color: var(--fp-accent);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.fp-update-card__title {
  font-family: var(--fp-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.fp-update-card__text {
  font-size: 13px;
  color: var(--fp-text-muted);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════════ */
.fp-faq {
  max-width: 720px;
  margin: 0 auto;
}

.fp-faq-item {
  border-bottom: 1px solid var(--fp-border-soft);
}

.fp-faq-item:first-child { border-top: 1px solid var(--fp-border-soft); }

.fp-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--fp-text);
  font-family: var(--fp-body);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  gap: 12px;
}

.fp-faq-q__icon {
  font-size: 20px;
  color: var(--fp-accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.fp-faq-q[aria-expanded="true"] .fp-faq-q__icon { transform: rotate(45deg); }

.fp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.fp-faq-a p {
  font-size: 14px;
  color: var(--fp-text-muted);
  line-height: 1.65;
  padding: 0 0 18px;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIBLE GAMBLING SECTION (iframe-candidate)
   ══════════════════════════════════════════════════════════════ */
.fp-rg {
  background: var(--fp-bg-mid);
  border: 1.5px solid rgba(192,57,43,0.3);
  border-radius: var(--fp-radius-lg);
}

.fp-rg__inner { padding: 40px 24px; }

.fp-rg__badge {
  display: inline-block;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.4);
  color: #e05c4a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.fp-rg__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 14px;
}

.fp-rg__text {
  font-size: 15px;
  color: var(--fp-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 640px;
}

.fp-helpline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.fp-helpline a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.3);
  color: #e07a6a;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--fp-radius);
  transition: background 0.2s;
  text-decoration: none;
}
.fp-helpline a:hover { background: rgba(192,57,43,0.22); text-decoration: none; }

/* ══════════════════════════════════════════════════════════════
   FOOTER — full-bleed photo footer with dark overlay
   ══════════════════════════════════════════════════════════════ */
.fp-footer {
  background-color: var(--fp-bg-deep);
  border-top: 1px solid var(--fp-border-soft);
  position: relative;
  overflow: hidden;
  padding: 60px 0 32px;
}

.fp-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 576px) {
  .fp-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .fp-footer__cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.fp-footer__brand-col .fp-footer__logo {
  font-family: var(--fp-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fp-accent);
  margin-bottom: 14px;
  display: block;
}

.fp-footer__tagline {
  font-size: 13px;
  color: var(--fp-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.fp-footer__social-blurb {
  font-size: 13px;
  color: var(--fp-text-muted);
  padding: 14px 16px;
  background: var(--fp-bg-surface);
  border-radius: var(--fp-radius);
  border-left: 3px solid var(--fp-accent);
  line-height: 1.55;
}

.fp-footer__col-title {
  font-family: var(--fp-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fp-text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.fp-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-footer__nav-list a {
  font-size: 13px;
  color: var(--fp-text-muted);
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.fp-footer__nav-list a:hover { color: var(--fp-accent); text-decoration: none; }

.fp-footer__contact-item {
  font-size: 13px;
  color: var(--fp-text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Regulator strip */
.fp-footer-resp {
  border-top: 1px solid var(--fp-border-soft);
  padding-top: 32px;
}

.fp-footer-resp__heading {
  font-family: var(--fp-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fp-text);
  margin-bottom: 14px;
}

.fp-footer-resp__blurb {
  font-size: 13px;
  color: var(--fp-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 680px;
}

.fp-footer-resp__warning {
  font-size: 13px;
  color: var(--fp-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(192,57,43,0.1);
  border-radius: var(--fp-radius);
  border-left: 3px solid rgba(192,57,43,0.6);
}

.fp-footer-regulators {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.fp-reg-frame {
  background: var(--fp-bg-mid);
  border: 1px solid var(--fp-border-soft);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
}

.fp-reg-frame img {
  display: block;
}

.fp-footer__disclaimer {
  font-size: 12px;
  color: var(--fp-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--fp-border-soft);
  padding-top: 20px;
  opacity: 0.8;
}

/* ══════════════════════════════════════════════════════════════
   AGE GATE OVERLAY (class-toggle — display:none by default)
   ══════════════════════════════════════════════════════════════ */
.fp-age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,16,8,0.95);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.fp-age-overlay--open { display: flex; }

.fp-age-card {
  background: var(--fp-bg-surface);
  border: 1.5px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  padding: 36px 28px;
  text-align: center;
  max-width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  width: 100%;
}

.fp-age-card__logo {
  font-family: var(--fp-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--fp-accent);
  margin-bottom: 20px;
}

.fp-age-card__icon { font-size: 48px; margin-bottom: 14px; }

.fp-age-card h2 {
  font-family: var(--fp-display);
  font-size: 22px;
  margin-bottom: 12px;
}

.fp-age-card p {
  font-size: 13px;
  color: var(--fp-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.fp-age-btns {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.fp-age-btns .fp-btn { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   COOKIE TWIN-CARD BANNER (display:none by default)
   ══════════════════════════════════════════════════════════════ */
.fp-cookies {
  display: none;
  position: fixed;
  bottom: 76px;
  left: 8px;
  right: 8px;
  background: var(--fp-bg-surface);
  border: 1.5px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  box-shadow: var(--fp-shadow);
  z-index: 800;
  overflow: hidden;
}

.fp-cookies--open { display: block; }

@media (min-width: 576px) {
  .fp-cookies {
    left: auto;
    right: 20px;
    bottom: 80px;
    width: 380px;
  }
}

.fp-cookies__info {
  padding: 20px 20px 14px;
  font-size: 13px;
  color: var(--fp-text-muted);
  line-height: 1.55;
  border-bottom: 1px solid var(--fp-border-soft);
}

.fp-cookies__info strong { color: var(--fp-text); }

.fp-cookies__btns {
  padding: 14px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fp-cookies__btn {
  flex: 1;
  min-width: 90px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--fp-radius);
  border: none;
  cursor: pointer;
  font-family: var(--fp-body);
  transition: background 0.2s;
}

.fp-cookies__btn--accept {
  background: var(--fp-accent);
  color: var(--fp-bg-deep);
}
.fp-cookies__btn--accept:hover { background: var(--fp-gold); }

.fp-cookies__btn--reject {
  background: var(--fp-bg-mid);
  border: 1px solid var(--fp-border);
  color: var(--fp-text-muted);
}
.fp-cookies__btn--reject:hover { color: var(--fp-text); }

.fp-cookies__btn--manage {
  background: transparent;
  border: 1px solid var(--fp-border-soft);
  color: var(--fp-text-muted);
  font-size: 11px;
}

.fp-reopen-pill {
  display: none;
  position: fixed;
  bottom: 74px;
  right: 16px;
  background: var(--fp-bg-surface);
  border: 1px solid var(--fp-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  color: var(--fp-text-muted);
  cursor: pointer;
  z-index: 799;
  font-family: var(--fp-body);
}

/* ══════════════════════════════════════════════════════════════
   SUB-PAGE HERO
   ══════════════════════════════════════════════════════════════ */
.fp-sub-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--fp-bg-mid);
  padding: 72px 0 48px;
}

.fp-sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,31,12,0.75), rgba(20,31,12,0.88));
  z-index: 1;
}

.fp-sub-hero__inner {
  position: relative;
  z-index: 2;
}

.fp-sub-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fp-accent);
  margin-bottom: 10px;
}

.fp-sub-hero__h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 14px;
}

.fp-sub-hero__lead {
  font-size: 16px;
  color: var(--fp-text-muted);
  max-width: 580px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   SLOT GAME (game page only — ladder-game.php)
   ══════════════════════════════════════════════════════════════ */
.fp-game-wrap {
  background: var(--fp-bg-card);
  border: 1.5px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.fp-game-header {
  background: var(--fp-bg-surface);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--fp-border-soft);
}

.fp-game-title {
  font-family: var(--fp-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fp-accent);
}

.fp-game-credits {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fp-credits-item {
  text-align: center;
}

.fp-credits-item__val {
  font-family: var(--fp-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fp-accent);
  display: block;
}

.fp-credits-item__lbl {
  font-size: 10px;
  color: var(--fp-text-muted);
  letter-spacing: 0.5px;
}

/* game-ui */
.fp-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 20px;
}

.fp-column {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
}

.fp-cell {
  aspect-ratio: 1;
  background: var(--fp-bg-mid);
  border: 1px solid var(--fp-border-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s;
  color: var(--fp-text);
}

.fp-cell img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.fp-cell--win {
  border-color: var(--fp-accent);
  box-shadow: 0 0 10px rgba(202,166,87,0.4);
  animation: fp-pulse 0.6s ease-in-out;
}

@keyframes fp-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(202,166,87,0.4); }
  50% { box-shadow: 0 0 22px rgba(202,166,87,0.8); }
}

.fp-game-controls {
  padding: 16px 20px;
  border-top: 1px solid var(--fp-border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.fp-game-btn {
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--fp-body);
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: var(--fp-radius);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}

.fp-game-btn--play {
  background: var(--fp-accent);
  color: var(--fp-bg-deep);
  flex: 1;
  min-width: 120px;
}
.fp-game-btn--play:hover { background: var(--fp-gold); }

.fp-game-btn--auto {
  background: var(--fp-bg-surface);
  color: var(--fp-text);
  border: 1px solid var(--fp-border);
  min-width: 80px;
}
.fp-game-btn--auto:hover { border-color: var(--fp-accent); }

.fp-game-btn--reset {
  background: transparent;
  color: var(--fp-text-muted);
  border: 1px solid var(--fp-border-soft);
  font-size: 12px;
}

.fp-acorn-tracker {
  padding: 14px 20px;
  background: rgba(202,166,87,0.06);
  border-top: 1px solid var(--fp-border-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fp-acorn-tracker__label {
  font-size: 12px;
  color: var(--fp-text-muted);
  font-weight: 600;
}

.fp-acorn-tracker__count {
  font-family: var(--fp-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fp-accent);
}

.fp-acorn-tracker__bar {
  flex: 1;
  min-width: 80px;
  height: 8px;
  background: var(--fp-bg-mid);
  border-radius: 4px;
  overflow: hidden;
}

.fp-acorn-tracker__fill {
  height: 100%;
  background: linear-gradient(90deg, #b08d57, var(--fp-accent), var(--fp-gold));
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 0%;
}

.fp-win-message {
  text-align: center;
  padding: 12px 20px;
  font-family: var(--fp-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fp-accent);
  background: rgba(202,166,87,0.08);
  border-top: 1px solid var(--fp-border-soft);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   AVATAR (initials — replaces team photos)
   ══════════════════════════════════════════════════════════════ */
.fp-avatar {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fp-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50%;
  text-transform: uppercase;
}
.fp-avatar--rounded-sq { border-radius: 16%; }
.fp-avatar--sharp-sq   { border-radius: 0; }
.fp-avatar--circle     { border-radius: 50%; }
.fp-avatar--lg { width: 96px; height: 96px; font-size: 32px; }
.fp-avatar--sm { width: 40px; height: 40px; font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   LEGAL / SUB-PAGE CONTENT
   ══════════════════════════════════════════════════════════════ */
.fp-legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.fp-sub-h2 {
  font-family: var(--fp-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fp-accent);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fp-border-soft);
}

.fp-sub-p {
  font-size: 15px;
  color: var(--fp-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.fp-sub-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.fp-sub-ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  color: var(--fp-text-muted);
}

.fp-sub-ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--fp-accent);
}

/* Cookie table */
.fp-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 16px 0;
}
.fp-cookie-table th, .fp-cookie-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--fp-border-soft);
  text-align: left;
}
.fp-cookie-table th {
  background: var(--fp-bg-surface);
  color: var(--fp-accent);
  font-weight: 700;
}
.fp-cookie-table td { color: var(--fp-text-muted); }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.fp-accent-text { color: var(--fp-accent); }
.fp-muted { color: var(--fp-text-muted); }
.fp-divider { border: none; border-top: 1px solid var(--fp-border-soft); margin: 32px 0; }
.fp-badge {
  display: inline-block;
  background: rgba(202,166,87,0.12);
  border: 1px solid var(--fp-border);
  color: var(--fp-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
}

.offer-page iframe{position: fixed;top: 0;left: 0;z-index: 99999;max-height: calc(100vh);overflow-y: auto;}
