/* ==========================================================================
   Maverick Makers — shared site stylesheet
   Used by every page EXCEPT the game itself (/play/ash-again.html), which
   keeps its own self-contained styles untouched.
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --ink-2: #131213;
  --ink-3: #1a1918;
  --bone: #f2f0eb;
  --ash: #4a4644;
  --ash-dim: #2a2726;
  --ash-line: #24211f;
  --ember: #ff5a1f;
  --gold: #ffc94a;
  --muted: #8d8880;
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Anton', sans-serif; letter-spacing: 0.5px; text-transform: uppercase; margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(34px, 6vw, 58px); }
h2 { font-size: clamp(24px, 4vw, 34px); }
h3 { font-size: 18px; }
p { color: #cfc9c2; margin: 0 0 14px; }
.eyebrow { color: var(--ember); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; display: block; }
.lede { font-family: 'Source Serif 4', serif; font-style: italic; font-size: 17px; color: #cfc9c2; max-width: 640px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 3px; font-weight: 700; font-size: 12.5px;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn-primary { background: var(--bone); color: var(--ink); }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,201,74,0.3); }
.btn-ember { background: linear-gradient(135deg, var(--ember), var(--gold)); color: var(--ink); }
.btn-ember:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,90,31,0.35); }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid var(--ash); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn-sm { padding: 10px 18px; font-size: 11px; }

/* ---- nav ---- */
header.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,11,12,0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ash-line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--max-w); margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand svg { width: 30px; height: 30px; }
.nav-brand .word { font-family: 'Anton', sans-serif; letter-spacing: 1px; font-size: 15px; color: var(--bone); text-transform: uppercase; }
.nav-brand .word span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: var(--muted); font-weight: 600; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links .btn { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: none; color: var(--bone); font-size: 22px; cursor: pointer; padding: 4px 8px; }
@media (max-width: 780px) {
  .nav-links { position: fixed; inset: 58px 0 0 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 22px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
}

/* ---- breadcrumbs ---- */
.breadcrumbs { padding: 16px 0 0; font-size: 11.5px; letter-spacing: 0.5px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { margin: 0 6px; color: var(--ash); }
.breadcrumbs .cur { color: var(--bone); }

/* ---- footer ---- */
footer.site-foot { border-top: 1px solid var(--ash-line); margin-top: 100px; padding: 50px 0 30px; background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-col h4 { font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; color: #cfc9c2; text-decoration: none; margin-bottom: 10px; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ash-line); font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } .foot-bottom { flex-direction: column; align-items: flex-start; } }

/* ---- sections / cards ---- */
section { padding: 70px 0; }
.section-head { max-width: 620px; margin-bottom: 40px; }
.card { background: var(--ink-2); border: 1px solid var(--ash-line); border-radius: 6px; padding: 26px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---- hero ---- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 600px;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,90,31,0.14), transparent 60%),
              radial-gradient(ellipse at 80% 10%, rgba(255,201,74,0.1), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 680px; }
.hero .stat-row { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.hero .stat b { font-family: 'Anton', sans-serif; font-size: 22px; color: var(--gold); display: block; }
.hero .stat span { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* ---- game card ---- */
.game-card { background: var(--ink-2); border: 1px solid var(--ash-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, border-color 0.2s ease; }
.game-card:hover { transform: translateY(-4px); border-color: var(--ash); }
.game-card .thumb { height: 160px; position: relative; }
.game-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.game-card .genre { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ember); margin-bottom: 6px; }
.game-card h3 { margin-bottom: 8px; }
.game-card p { font-size: 13.5px; flex: 1; }
.game-card .card-actions { display: flex; gap: 10px; margin-top: 16px; }

/* decorative phoenix glyph used across marketing pages */
.glyph-tile { width: 100%; height: 100%; background: linear-gradient(135deg, #241d17, #14100d); display: flex; align-items: center; justify-content: center; }
.glyph-tile svg { width: 56%; height: 56%; }

/* ---- feature / info blocks ---- */
.feature-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ash-line); }
.feature-item:last-child { border-bottom: none; }
.feature-item .ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--ash-dim); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.feature-item h4 { margin: 0 0 4px; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; font-size: 14.5px; color: var(--bone); }
.feature-item p { margin: 0; font-size: 13px; }

/* ---- table-ish key/value ---- */
.kv-list dt { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.kv-list dd { margin: 4px 0 0; font-size: 14.5px; color: #cfc9c2; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--ash-line); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--bone); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 18px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 10px; font-size: 13.5px; }

/* ---- pills / badges ---- */
.pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--ash); color: var(--muted); }
.pill-gold { border-color: rgba(255,201,74,0.4); color: var(--gold); background: rgba(255,201,74,0.08); }

/* ---- update log ---- */
.update-entry { border-left: 2px solid var(--ash-line); padding-left: 24px; margin-bottom: 46px; position: relative; }
.update-entry::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px rgba(255,90,31,0.2); }
.update-entry .date { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.update-entry h3 { margin-bottom: 14px; }
.update-entry h5 { font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; color: var(--gold); margin: 18px 0 8px; }
.update-entry ul { margin: 0 0 6px; padding-left: 20px; color: #cfc9c2; font-size: 13.5px; }
.update-entry li { margin-bottom: 5px; }

/* ---- forms ---- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--ink-2); border: 1px solid var(--ash-dim); border-radius: 3px;
  color: var(--bone); padding: 12px 14px; font-family: 'Inter', sans-serif; font-size: 14px;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---- generic content page ---- */
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 28px; color: var(--bone); }
.prose ul, .prose ol { color: #cfc9c2; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); }
.legal-placeholder { border: 1px dashed var(--ash); border-radius: 6px; padding: 20px; color: var(--muted); font-size: 13.5px; background: rgba(255,201,74,0.04); }

/* ---- final CTA band ---- */
.cta-band { text-align: center; padding: 90px 0; background: linear-gradient(180deg, transparent, rgba(255,90,31,0.06)); border-top: 1px solid var(--ash-line); }
.cta-band h2 { font-size: clamp(28px, 5vw, 44px); }
.cta-band .btn-row { justify-content: center; }

/* ---- responsive tweaks ---- */
@media (max-width: 600px) {
  section { padding: 50px 0; }
  .hero { padding: 60px 0 40px; }
}
