/* ─────────────────────────────────────────────
   Strokes & Stakes — Games content pages
   Shared stylesheet for all /games/* pages
   ───────────────────────────────────────────── */

:root {
  --green:       #1a6b3a;
  --green-deep:  #0f4a27;
  --green-pale:  #e8f5ed;
  --green-mid:   #c2e0cc;
  --yellow:      #f5c842;
  --gold:        #d4a820;
  --red:         #d94f3d;
  --white:       #fff;
  --stone:       #f2f1ee;
  --g100:        #ebebeb;
  --g200:        #d4d4d0;
  --text:        #1a1a18;
  --text2:       #3a3a36;
  --text3:       #757570;
  --ff-display:  'Barlow Condensed', sans-serif;
  --ff-body:     'Barlow', sans-serif;
  --r:           14px;
  --max:         720px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow:wght@400;500;600;700&display=swap');

/* ── NAV ── */
.site-nav {
  background: var(--green-deep);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-wordmark {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1;
}

.nav-wordmark .w1 { color: #fff; }
.nav-wordmark .w2 { color: var(--yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .15s;
}

.nav-link:hover { color: #fff; }

.nav-cta {
  background: var(--yellow);
  color: var(--green-deep) !important;
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 700 !important;
  font-size: 13px;
  text-decoration: none;
  transition: opacity .15s;
}

.nav-cta:hover { opacity: .88; }

/* ── HERO ── */
.game-hero {
  background: var(--green-deep);
  padding: 56px 24px 48px;
  text-align: center;
  color: white;
}

.game-hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-hero .breadcrumb a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}

.game-hero .breadcrumb a:hover { color: rgba(255,255,255,.8); }

.game-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
}

.game-hero h1 span { color: var(--yellow); }

.game-hero .tagline {
  font-size: clamp(15px, 3vw, 18px);
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .03em;
}

/* ── PAGE BODY ── */
.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── SECTION ── */
.section {
  margin-bottom: 44px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text3);
  margin-bottom: 10px;
}

.section h2 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text2);
  margin-bottom: 12px;
}

.section p:last-child { margin-bottom: 0; }

/* ── STEPS ── */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-deep);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-family: var(--ff-display);
}

.steps li p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text2);
  margin: 0;
}

.steps li strong { color: var(--text); }

/* ── EXAMPLE BOX ── */
.example-box {
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 18px;
  margin: 16px 0;
}

.example-box .ex-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 6px;
}

.example-box p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--green-deep);
  margin: 0;
}

/* ── TIPS ── */
.tips {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tips li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text2);
}

.tips li::before {
  content: '⛳';
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--g100);
  margin: 44px 0;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--green-deep);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  color: white;
  margin-top: 56px;
}

.cta-section h2 {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.5px;
  margin-bottom: 10px;
  color: white;
}

.cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-deep);
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity .15s;
}

.cta-btn:hover { opacity: .88; }

/* ── RELATED GAMES ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.related-card {
  display: block;
  background: var(--stone);
  border: 1.5px solid var(--g100);
  border-radius: var(--r);
  padding: 16px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.related-card:hover {
  border-color: var(--green-mid);
  background: var(--green-pale);
}

.related-card .rc-icon { font-size: 22px; margin-bottom: 8px; }

.related-card .rc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.related-card .rc-sub {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.4;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--stone);
  border-top: 1px solid var(--g100);
  padding: 32px 24px;
  text-align: center;
}

.site-footer p {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.8;
}

.site-footer a {
  color: var(--green);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .site-nav { padding: 0 16px; }
  .nav-links .nav-link:not(.nav-cta) { display: none; }
  .game-hero { padding: 40px 16px 36px; }
  .page-body { padding: 32px 16px 64px; }
  .cta-section { padding: 28px 20px; border-radius: 14px; }
}
