/* ============================================================
   567 Slots — Landing Page CSS
   Green & White theme · Light · Mobile-first
   ============================================================ */

:root {
  --green: #1B9C4F;
  --green-dark: #0E7A3A;
  --green-darker: #0a5c2c;
  --green-light: #4CC974;
  --green-pale: #E8F7EE;
  --green-tint: #F2FBF6;
  --accent: #00C853;
  --gold: #F5A623;
  --bg-white: #FFFFFF;
  --bg-light: #F4FBF7;
  --text-dark: #13241B;
  --text-body: #36473D;
  --text-muted: #6B7D72;
  --border-soft: #D9EFE2;
  --border-green: #BCE3CC;
  --shadow: 0 6px 24px rgba(14, 122, 58, 0.10);
  --shadow-green: 0 8px 28px rgba(27, 156, 79, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --header-h: 60px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 700; }
p  { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1100;
  background: var(--green-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.2rem;
}

.section { padding-block: 3.5rem; }
.section--alt { background: var(--green-tint); }
.section--green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.section--green h2,
.section--green h3,
.section--green p { color: #fff; }
.section--green .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.section__intro {
  max-width: 800px;
  margin-bottom: 2.5rem;
}
.section__intro p { color: var(--text-body); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--green-pale);
  border: 1px solid var(--border-green);
  border-radius: 999px;
}

.green-text { color: var(--green-dark); }
.green-link { color: var(--green-dark); font-weight: 700; }
.green-link:hover { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }

.btn--green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}
.btn--green:hover,
.btn--green:focus-visible {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  box-shadow: 0 10px 34px rgba(27, 156, 79, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--green-dark);
  border-color: var(--green);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--green-pale);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
}
.btn--white:hover,
.btn--white:focus-visible {
  background: var(--green-pale);
  color: var(--green-dark);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--outline-white:hover,
.btn--outline-white:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn--lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn--xl { padding: 1rem 2.4rem; font-size: 1.15rem; min-height: 56px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 16px rgba(14, 122, 58, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--text-dark);
  text-decoration: none !important;
}
.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}
.brand__slots { color: var(--green); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-green);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--text-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.55rem;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--text-dark);
  min-height: 40px;
  transition: color 0.15s;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--green-dark); text-decoration: none; }

.header-download { display: none; }

@media (max-width: 1024px) {
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .primary-nav.is-open { max-height: 80vh; }
  .primary-nav ul { padding: 0.5rem 1.2rem 1rem; }
  .primary-nav li { border-bottom: 1px solid var(--border-soft); }
  .primary-nav li:last-child { border-bottom: 0; }
}

@media (min-width: 1025px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; max-height: none; }
  .primary-nav ul { display: flex; align-items: center; gap: 0.05rem; }
  .header-download {
    display: inline-flex;
    min-height: 40px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0%, var(--green-tint) 55%, var(--green-pale) 100%);
  padding-block: 3rem 4rem;
}

.hero__bg-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(27, 156, 79, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--border-green);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.star-row { color: var(--gold); font-size: 0.85rem; }

.hero__title {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 55ch;
  margin-bottom: 1.5rem;
}
.hero__sub strong { color: var(--text-dark); }

.hero__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.hero__alt-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero__alt-links a {
  color: var(--green-dark);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-green);
  border-radius: 6px;
  background: #fff;
  transition: background 0.15s;
}
.hero__alt-links a:hover { background: var(--green-pale); text-decoration: none; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__trust li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--border-green);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.hero__media {
  position: relative;
  text-align: center;
}
.hero__media img {
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(14, 122, 58, 0.28);
}

.hero__float-badge {
  position: absolute;
  top: 16px;
  right: 8px;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: var(--shadow-green);
  animation: pulse-badge 2s ease-in-out infinite;
}
.hero__float-badge strong { display: block; font-size: 1.2rem; line-height: 1; }

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Download Hub (4 button tabs) ---------- */
.download-hub {
  background: var(--green-tint);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding-block: 2.5rem;
}
.download-hub__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.download-hub__head h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  margin-bottom: 0.4rem;
}
.download-hub__head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}
.download-tabs {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-inline: auto;
}
@media (min-width: 560px) { .download-tabs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .download-tabs { grid-template-columns: repeat(4, 1fr); } }

.dl-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.4rem 1rem;
  background: #fff;
  border: 2px solid var(--border-green);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-weight: 700;
  transition: all 0.18s ease;
  text-decoration: none !important;
}
.dl-tab:hover,
.dl-tab:focus-visible {
  border-color: var(--green);
  background: var(--green-pale);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}
.dl-tab__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
}
.dl-tab__server {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.dl-tab__title { font-size: 1.02rem; line-height: 1.25; }
.dl-tab__meta {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}
.dl-tab__cta {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding-block: 1.5rem;
}
.stats-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

/* ---------- Games Grid ---------- */
.games-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 500px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }

.game-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
  border-color: var(--border-green);
}
.game-card__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--green-pale);
}
.game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .game-card__img img { transform: scale(1.04); }
.game-card__info { padding: 1rem 1.1rem 1.25rem; }
.game-card__info h3 {
  color: var(--green-dark);
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}
.game-card__info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.games-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}
.games-cta p { color: var(--text-body); margin-bottom: 1rem; font-weight: 600; }

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 500px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feat-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feat-item:hover {
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}
.feat-item__icon { font-size: 2rem; margin-bottom: 0.75rem; line-height: 1; }
.feat-item h3 { color: var(--text-dark); font-size: 1rem; margin-bottom: 0.4rem; }
.feat-item p { color: var(--text-muted); font-size: 0.88rem; margin: 0; line-height: 1.55; }
.feat-item p strong { color: var(--text-body); }

/* ---------- Keyword cloud / popular searches ---------- */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.keyword-cloud span {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-pale);
  border: 1px solid var(--border-green);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

/* ---------- Prose content ---------- */
.prose { max-width: 860px; }
.prose p { color: var(--text-body); }
.prose p strong { color: var(--text-dark); }
.prose h3 { margin-top: 1.75rem; color: var(--green-dark); }
.prose ul { padding-left: 1.25rem; color: var(--text-body); }
.prose li { margin-bottom: 0.5rem; }

/* ---------- How to Download ---------- */
.steps-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.step__num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__content h3 { color: var(--text-dark); font-size: 1rem; margin-bottom: 0.35rem; }
.step__content p { color: var(--text-muted); font-size: 0.87rem; margin: 0; line-height: 1.55; }
.step__content p strong { color: var(--text-body); }
.step__content em { color: var(--green-dark); font-style: normal; font-weight: 600; }

.htd-screenshots {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.htd-shot { margin: 0; text-align: center; }
.htd-shot img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--border-soft);
  max-width: 180px;
}
.htd-shot figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 600;
}

.htd-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Wallet Section ---------- */
.wallet-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .wallet-inner { grid-template-columns: 1fr 1fr; } }

.wallet-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.wallet-list li { color: var(--text-body); font-size: 0.95rem; padding-left: 0.25rem; }
.section--green .wallet-list li { color: rgba(255,255,255,0.95); }

.wallet-shots { text-align: center; }
.wallet-shots img {
  max-width: 280px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  border: 3px solid rgba(255,255,255,0.4);
}

/* ---------- Bonus Section ---------- */
.bonus-inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) { .bonus-inner { grid-template-columns: auto 1fr; } }

.bonus-shots { text-align: center; }
.bonus-shots img {
  max-width: 280px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--border-soft);
}

.bonus-cards { display: grid; gap: 1rem; margin-top: 1.25rem; }
.bonus-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.bonus-card__icon { font-size: 1.75rem; flex: 0 0 auto; line-height: 1; }
.bonus-card strong { display: block; color: var(--green-dark); font-size: 0.95rem; margin-bottom: 0.2rem; }
.bonus-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; line-height: 1.5; }
.bonus-card p strong { color: var(--text-body); display: inline; }

/* ---------- Leaderboard ---------- */
.lb-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .lb-inner { grid-template-columns: 1fr auto; } }

.lb-shot { text-align: center; }
.lb-shot img {
  max-width: 300px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  border: 3px solid rgba(255,255,255,0.4);
}

/* ---------- Referral ---------- */
.referral-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) { .referral-grid { grid-template-columns: auto 1fr; } }

.referral-shots {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.referral-shots img {
  max-width: 200px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--border-soft);
}

.referral-copy h3 { color: var(--green-dark); font-size: 1.2rem; margin-bottom: 1.25rem; }
.referral-steps { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.ref-step { display: flex; gap: 1rem; align-items: flex-start; }
.ref-step__num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-pale);
  border: 1px solid var(--border-green);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-step strong { display: block; color: var(--text-dark); font-size: 0.95rem; margin-bottom: 0.2rem; }
.ref-step p { color: var(--text-muted); font-size: 0.88rem; margin: 0; line-height: 1.5; }
.ref-step p strong { color: var(--text-body); display: inline; }

/* ---------- About / Spec Table ---------- */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-text p { color: var(--text-body); }
.about-text p strong { color: var(--text-dark); }

.about-specs h3 { color: var(--green-dark); margin-bottom: 1rem; font-size: 1.1rem; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}
.spec-table th,
.spec-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { color: var(--text-muted); font-weight: 600; width: 40%; }
.spec-table td { color: var(--text-dark); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.faq__item:has(.faq__trigger[aria-expanded="true"]) { border-color: var(--green); }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  color: var(--text-dark);
}
.faq__trigger:hover { color: var(--green-dark); }
.faq__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.2s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--green);
}
.faq__icon::before { width: 100%; height: 2px; }
.faq__icon::after  { width: 2px; height: 100%; }
.faq__trigger[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }

.faq__panel { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq__panel-inner {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq__panel-inner p { margin: 0; }
.faq__panel-inner strong { color: var(--text-body); }
.faq__panel-inner em { color: var(--green-dark); font-style: normal; }

/* ---------- Final CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.cta-section__inner { text-align: center; padding-block: 4rem; }
.cta-section__title { color: #fff; max-width: 680px; margin-inline: auto; margin-bottom: 0.75rem; }
.cta-section__title .green-text { color: #C8FFDC; }
.cta-section__sub { color: rgba(255,255,255,0.92); max-width: 56ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-section__sub strong { color: #fff; }
.cta-section__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cta-section__note { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin: 0; }

/* ---------- Page header (sub pages) ---------- */
.page-hero {
  background: linear-gradient(165deg, #fff 0%, var(--green-tint) 100%);
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { color: var(--text-muted); margin: 0; max-width: 60ch; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--green-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-darker);
  border-top: 4px solid var(--green);
  color: rgba(255,255,255,0.85);
  padding-block: 2.5rem 1.5rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand img { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 0.75rem; }
.footer-brand h2 { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-desc { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.6; margin: 0; }

.footer-nav h3,
.footer-games h3 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.footer-nav ul,
.footer-games ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.45rem; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }

.footer-games li {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}
.footer-games li::before { content: "›"; position: absolute; left: 0; color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.footer-bottom a { color: rgba(255,255,255,0.75); }

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 560px;
  margin-top: 1rem;
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border-green);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 156, 79, 0.18);
}
.form-row textarea { resize: vertical; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
