:root {
  --cream: #faf6f0;
  --warm-white: #fffdf9;
  --peach: #f4a261;
  --peach-light: #fde8d4;
  --coral: #e76f51;
  --sage: #6a9e78;
  --sage-light: #ddeee1;
  --sky: #5aa9c2;
  --sky-light: #d8eef5;
  --lavender: #9b89c4;
  --lavender-light: #ece7f7;
  --sun: #f4c94c;
  --sun-light: #fef6d6;
  --ink: #2c2418;
  --ink-soft: #5c5040;
  --ink-muted: #9c8e7c;
  --border: #e8dfd0;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 4px 24px rgba(44, 36, 24, 0.08);
  --shadow-lg: 0 12px 48px rgba(44, 36, 24, 0.12);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--peach), var(--coral));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(231, 111, 81, 0.3);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s;
}

.nav-links a:hover {
  background: var(--peach-light);
  color: var(--coral);
}

.active {
  background: var(--peach-light);
  color: var(--coral);
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
}

.nav-cta:hover {
  background: var(--coral) !important;
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--peach-light);
  top: -100px;
  right: -100px;
}
.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--sage-light);
  bottom: 100px;
  left: -60px;
}
.blob-3 {
  width: 250px;
  height: 250px;
  background: var(--sky-light);
  top: 40%;
  right: 20%;
}

.dots-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(44, 36, 24, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 32px 32px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sun-light);
  border: 1px solid var(--sun);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #a07c10;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-tag .dot {
  width: 7px;
  height: 7px;
  background: var(--sun);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 28px;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}

.hero-desc {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--coral);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.35);
}

.btn-primary:hover {
  background: #d4603e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 111, 81, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: white;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--peach);
  color: var(--coral);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
}
.hero-stat-num {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  display: block;
}
.hero-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.scene-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.scene-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.scene-title {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 600;
}

.scene-badge {
  background: var(--sage-light);
  color: #3d6b4a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.tile {
  aspect-ratio: 1;
  border-radius: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "Fraunces", serif;
}

.tile.green {
  background: var(--sage);
  color: white;
}
.tile.yellow {
  background: var(--sun);
  color: var(--ink);
}
.tile.gray {
  background: #e8e4de;
  color: var(--ink-soft);
}
.tile.empty {
  background: #f5f2ed;
  border: 2px solid var(--border);
}

.players-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.player-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
}

.player-avatar {
  font-size: 18px;
}

.floating-tag {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: floatY 3s ease-in-out infinite;
}

.tag-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}
.tag-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ===== SECTION COMMON ===== */
section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

h2 span {
  color: var(--coral);
}

.section-desc {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ===== CATEGORIES ===== */
.categories {
  background: var(--warm-white);
}

.categories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  border-radius: var(--radius);
  padding: 32px 24px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-card.peach {
  background: var(--peach-light);
}
.cat-card.sage {
  background: var(--sage-light);
}
.cat-card.sky {
  background: var(--sky-light);
}
.cat-card.lavender {
  background: var(--lavender-light);
}

.cat-icon {
  font-size: 42px;
  margin-bottom: 20px;
  display: block;
}

.cat-title {
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cat-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.cat-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.cat-card:hover .cat-arrow {
  background: white;
  transform: translate(2px, -2px);
}

/* ===== FEATURED GAMES ===== */
.games {
  background: var(--cream);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--peach);
}

.game-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.game-thumb-1 {
  background: linear-gradient(135deg, #fde8d4, #fbc49a);
}
.game-thumb-2 {
  background: linear-gradient(135deg, #ddeee1, #b8ddc2);
}
.game-thumb-3 {
  background: linear-gradient(135deg, #d8eef5, #aad7e8);
}
.game-thumb-4 {
  background: linear-gradient(135deg, #ece7f7, #cfc4ee);
}
.game-thumb-5 {
  background: linear-gradient(135deg, #fef6d6, #fce79f);
}
.game-thumb-6 {
  background: linear-gradient(135deg, #fde8d4, #fde8d4);
}

.game-age-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
}

.game-body {
  padding: 20px 22px 22px;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.game-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--coral);
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.game-name {
  font-family: "Fraunces", serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.game-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-players {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.play-btn {
  background: var(--peach-light);
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.play-btn:hover {
  background: var(--coral);
  color: white;
}

/* ===== HOW IT WORKS ===== */
.how {
  background: var(--warm-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--peach),
    var(--coral),
    var(--sage),
    var(--sky)
  );
  border-radius: 2px;
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 auto 20px;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.step-num-1 {
  background: var(--peach-light);
  color: var(--coral);
}
.step-num-2 {
  background: var(--sun-light);
  color: #a07c10;
}
.step-num-3 {
  background: var(--sage-light);
  color: var(--sage);
}
.step-num-4 {
  background: var(--sky-light);
  color: var(--sky);
}

.step-title {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ===== REVIEWS ===== */
.reviews {
  background: var(--cream);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.review-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.review-ava {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.ava-1 {
  background: var(--peach-light);
}
.ava-2 {
  background: var(--sage-light);
}
.ava-3 {
  background: var(--lavender-light);
}

.review-meta strong {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.review-role {
  font-size: 12px;
  color: var(--ink-muted);
}

.stars {
  color: var(--sun);
  font-size: 14px;
  margin-left: auto;
}

.review-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-style: italic;
}

.review-quote {
  font-family: "Fraunces", serif;
  font-size: 48px;
  color: var(--peach-light);
  line-height: 0.5;
  margin-bottom: 12px;
  display: block;
}

/* ===== FAQ ===== */
.faq {
  background: var(--warm-white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-sidebar h2 {
  margin-bottom: 16px;
}
.faq-sidebar p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
  gap: 16px;
}

.faq-q:hover {
  color: var(--coral);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--coral);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  background: var(--cream);
  padding: 60px 24px 100px;
}

.cta-box {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--coral), var(--peach));
  border-radius: 40px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}

.cta-emojis {
  font-size: 36px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cta-box h2 {
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  position: relative;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.btn-white {
  background: white;
  color: var(--coral);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: white;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--coral);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  transform: translateY(-3px);
  background: #d4603e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 40px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .floating-tag {
    display: none;
  }
  .categories-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-box {
    padding: 48px 28px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  nav .nav-links {
    display: none;
  }

  /* When toggled open, force the mobile menu visible (overrides display:none)
     This ensures the JS toggle works on narrow screens. */
  .navbar .nav-links.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

@media (max-width: 640px) {
  .cats-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.burger {
  display: none;
  border: none;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 970px) {
  .burger {
    display: block;
  }

  /* Mobile dropdown for nav links — full width */
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;

    padding: 16px 20px;
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 120;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }

  .navbar .nav-links.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .nav-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
  }
}
