/*
 * PROJECT: roverstackle.com
 * DOMAIN: roverstackle.com
 * GAME: Checkers Master
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Brutalist Board Game
 * - Effect: Brutalism (thick borders, hard shadows)
 * - Fonts: Space Mono + IBM Plex Sans
 * - Buttons: 3D Effect (hard offset shadow)
 *
 * Created: January 2026
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --white:         #ffffff;
  --black:         #000000;
  --checker-red:   #d62828;
  --checker-cream: #f5e6c8;
  --board-dark:    #1a1a1a;
  --board-mid:     #333333;
  --ink-gray:      #555555;
  --light-gray:    #f0ece4;
  --accent-yellow: #f7b32b;
  --accent-red:    #d62828;

  --font-heading:  'Space Mono', monospace;
  --font-body:     'IBM Plex Sans', sans-serif;

  --border:        3px solid var(--black);
  --border-thick:  5px solid var(--black);
  --shadow:        6px 6px 0 var(--black);
  --shadow-lg:     10px 10px 0 var(--black);
  --radius:        0px;

  --container:     1200px;
  --gap:           2rem;
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden !important; }
body {
  font-family: var(--font-body);
  background: var(--checker-cream);
  color: var(--black);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── UTILITY ────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--dark {
  background: var(--board-dark);
  color: var(--white);
}
.section--mid {
  background: var(--board-mid);
  color: var(--white);
}
.section--light {
  background: var(--light-gray);
}
.section--white {
  background: var(--white);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.section__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink-gray);
  margin-bottom: 3rem;
  max-width: 600px;
}
.section--dark .section__subtitle,
.section--mid .section__subtitle { color: #ccc; }

.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: var(--border);
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}
.section--dark .tag { border-color: var(--white); color: var(--white); }

/* STARS */
.stars { color: #ffc107; }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.85rem 2rem;
  border: var(--border-thick);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--black);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--black);
}

.btn--primary {
  background: var(--checker-red);
  color: var(--white);
  border-color: var(--black);
}
.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--yellow {
  background: var(--accent-yellow);
  color: var(--black);
}
.btn--lg {
  font-size: 1.1rem;
  padding: 1.1rem 2.8rem;
  box-shadow: var(--shadow-lg);
}
.btn--lg:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 var(--black);
}

.btn-play {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1.1rem 3rem;
  background: var(--checker-red);
  color: var(--white);
  border: 5px solid var(--black);
  box-shadow: 10px 10px 0 var(--black);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-play:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 var(--black);
}
.btn-play:active {
  transform: translate(4px, 4px);
  box-shadow: 6px 6px 0 var(--black);
}

/* ─── COOKIE CONSENT ─────────────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 420px;
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}
.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-consent__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-gray);
  line-height: 1.5;
}
.cookie-consent__text a {
  color: var(--checker-red);
  text-decoration: underline;
}

/* ─── HEADER ─────────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: var(--border-thick);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  text-decoration: none;
}
.logo span {
  display: inline-block;
  background: var(--checker-red);
  color: var(--white);
  padding: 0 4px;
  margin-right: 2px;
}

.nav__list {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav__link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  transition: color 0.15s;
  text-decoration: none;
}
.nav__link:hover { color: var(--checker-red); }
.nav__link--active { border-bottom: 3px solid var(--checker-red); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--black);
  transition: all 0.2s;
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  background: var(--board-dark);
  color: var(--white);
  padding: 5rem 0;
  border-bottom: var(--border-thick);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-conic-gradient(#222 0% 25%, #1a1a1a 0% 50%);
  background-size: 60px 60px;
  opacity: 0.5;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--checker-red);
  display: block;
}
.hero__desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero__meta {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero__meta-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
}
.hero__meta-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__board {
  width: 300px;
  height: 300px;
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  overflow: hidden;
  flex-shrink: 0;
}
.hero__board-cell {
  aspect-ratio: 1;
}
.hero__board-cell--dark { background: var(--board-dark); }
.hero__board-cell--light { background: var(--checker-cream); }
.hero__board-cell--piece-r {
  background: var(--board-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__board-cell--piece-w {
  background: var(--checker-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.piece {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.4);
}
.piece--red { background: var(--checker-red); }
.piece--white { background: var(--white); }

/* ─── FEATURES ───────────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  position: relative;
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.feature-card__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-gray);
  line-height: 1.6;
}

/* ─── HOW TO PLAY QUICK ──────────────────────────────────────────── */
.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: step-counter;
}
.step-item {
  position: relative;
  background: transparent;
  border: var(--border-thick);
  border-color: rgba(255,255,255,0.3);
  padding: 2rem 1.5rem;
  counter-increment: step-counter;
}
.step-item::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-yellow);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.step-item__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.step-item__text {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
}

/* ─── ARTICLE CARDS ──────────────────────────────────────────────── */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.article-card {
  position: relative;
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  overflow: hidden;
}
.article-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}
.article-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: var(--border-thick);
  background: var(--board-dark);
}
.article-card__image-placeholder {
  width: 100%;
  height: 180px;
  border-bottom: var(--border-thick);
  background: var(--board-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.article-card__content {
  padding: 1.5rem;
}
.article-card__category {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--checker-red);
  display: block;
  margin-bottom: 0.5rem;
}
.article-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.article-card__excerpt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-gray);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.article-card__meta {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 1px;
}
.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ─── GAME SECTION ───────────────────────────────────────────────── */
.game-section {
  background: var(--white);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 4rem 0;
}
.game-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.game-section__icon-wrap {
  display: flex;
  justify-content: center;
}
.game-section__icon {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
}
.game-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.game-section__text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.game-section__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.game-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: var(--border);
  padding: 0.2rem 0.6rem;
  background: transparent;
}

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq__item {
  border: var(--border-thick);
  margin-bottom: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
.faq__question {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--black);
}
.faq__question:hover { background: var(--light-gray); }
.faq__question-icon {
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq__item.is-open .faq__question-icon { transform: rotate(45deg); }
.faq__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-gray);
  line-height: 1.7;
  border-top: 3px solid var(--black);
}
.faq__item.is-open .faq__answer { display: block; }

/* ─── RATING ─────────────────────────────────────────────────────── */
.rating-box {
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.rating-box__score {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--checker-red);
}
.rating-box__stars { font-size: 1.8rem; margin: 0.5rem 0 1rem; }
.rating-box__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-gray);
}

/* ─── STATS STRIP ────────────────────────────────────────────────── */
.stats-strip {
  background: var(--checker-red);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 2.5rem 0;
}
.stats-strip__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.stats-strip__item {
  text-align: center;
  color: var(--white);
}
.stats-strip__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.stats-strip__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.85;
}

/* ─── CTA BANNER ─────────────────────────────────────────────────── */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  border-top: var(--border-thick);
}
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 1rem;
}
.cta-banner__title em {
  font-style: normal;
  color: var(--checker-red);
}
.cta-banner__text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--board-dark);
  color: var(--white);
  border-top: var(--border-thick);
  padding: 4rem 0 2rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}
.site-footer__brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}
.site-footer__desc {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #444;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.site-footer__link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #999;
  transition: color 0.15s;
  text-decoration: none;
}
.site-footer__link:hover { color: var(--white); }
.site-footer__bottom {
  border-top: 2px solid #333;
  padding-top: 2rem;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.site-footer__copy {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────────── */
.page-hero {
  background: var(--board-dark);
  color: var(--white);
  padding: 4rem 0;
  border-bottom: var(--border-thick);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(#222 0% 25%, #1a1a1a 0% 50%);
  background-size: 60px 60px;
  opacity: 0.4;
  z-index: 0;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 0.75rem;
}
.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.page-hero__desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #ccc;
  max-width: 600px;
  line-height: 1.6;
}

/* ─── BREADCRUMB ─────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--accent-yellow); }
.breadcrumb span { color: #666; }

/* ─── ABOUT PAGE ─────────────────────────────────────────────────── */
.about-content {
  max-width: 760px;
  margin: 0 auto;
}
.about-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}
.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.team-card {
  position: relative;
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
}
.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: var(--border-thick);
  background: var(--board-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.team-card__role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-gray);
}

/* ─── HOW TO PLAY PAGE ───────────────────────────────────────────── */
.htp-section {
  padding: 5rem 0;
}
.htp-section + .htp-section {
  border-top: var(--border-thick);
}
.htp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.htp-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.htp-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}
.htp-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.htp-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.htp-content ul li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-gray);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.htp-visual {
  background: var(--board-dark);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.move-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 1rem 0;
}
.move-cell {
  aspect-ratio: 1;
  border: 2px solid #444;
}
.move-cell--dark { background: #2a2a2a; }
.move-cell--light { background: #555; }
.move-cell--piece {
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.move-cell--target { background: rgba(214,40,40,0.3); border-color: var(--checker-red); }

.controls-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.controls-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--board-dark);
  color: var(--white);
  border: var(--border);
}
.controls-table td {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: var(--border);
  color: var(--ink-gray);
  background: var(--white);
}

/* ─── BLOG PAGE ──────────────────────────────────────────────────── */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.blog-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  color: var(--black);
}
.filter-btn:hover, .filter-btn.is-active {
  background: var(--black);
  color: var(--white);
}

/* ─── ARTICLE PAGE ───────────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.article-body h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 2rem 0 1rem;
}
.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 1.5rem 0 0.75rem;
}
.article-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-gray);
  margin-bottom: 1.25rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-gray);
  margin-bottom: 0.4rem;
}
.article-body .highlight-box {
  background: var(--checker-cream);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border-thick);
}
.article-meta__item {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-gray);
}
.article-meta__item strong { color: var(--black); }

.article-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}
.sidebar-widget {
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: var(--border);
}
.sidebar-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-gray);
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
  transition: color 0.15s;
  text-decoration: none;
}
.sidebar-link:hover { color: var(--checker-red); }
.sidebar-link:last-child { border-bottom: none; }

/* ─── CONTACT PAGE ───────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}
.form-input, .form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: var(--border-thick);
  background: var(--checker-cream);
  color: var(--black);
  outline: none;
  transition: box-shadow 0.15s;
}
.form-input:focus, .form-textarea:focus {
  box-shadow: 4px 4px 0 var(--checker-red);
}
.form-textarea { resize: vertical; min-height: 130px; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-item {
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.contact-info-item__label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--checker-red);
  margin-bottom: 0.3rem;
}
.contact-info-item__value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
}

/* ─── LEGAL PAGES ────────────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.legal-content .last-updated {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: block;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: var(--border);
}
.legal-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-gray);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.legal-content a {
  color: var(--checker-red);
  text-decoration: underline;
}

/* ─── MOBILE NAV ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: var(--border-thick);
    padding: 1.5rem;
    z-index: 200;
  }
  .nav__menu.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { display: none; }
  .game-section__inner { grid-template-columns: 1fr; gap: 2rem; }
  .htp-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .article-sidebar { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }

  .cookie-consent {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; }
}