@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a2332;
  background: #f7f9fb;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: #0d6e4f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #094d38;
}

:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: #0d6e4f;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #dde3ea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a2332;
  text-decoration: none;
}

.logo span {
  color: #0d6e4f;
}

.main-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #1a2332;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #0d6e4f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: #1a2332;
  position: relative;
}

.icon-btn:hover {
  background: #eef2f6;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #0d6e4f;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid #dde3ea;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.25rem;
}

.search-bar {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: #eef2f6;
  border-bottom: 1px solid #dde3ea;
}

.search-bar.is-visible {
  max-height: 80px;
  padding: 0.75rem 0;
}

.search-bar form {
  display: flex;
  gap: 0.5rem;
}

.search-bar input {
  flex: 1;
  padding: 0.625rem 1rem;
  border: 1px solid #c5cdd6;
  border-radius: 8px;
  font: inherit;
}

/* Mobile menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 35, 50, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 200;
}

.menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 201;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #eef2f6;
}

.mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  color: #1a2332;
  text-decoration: none;
  font-weight: 600;
}

.menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.btn-primary {
  background: #0d6e4f;
  color: #fff;
  border-color: #0d6e4f;
}

.btn-primary:hover {
  background: #094d38;
  border-color: #094d38;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #0d6e4f;
  border-color: #0d6e4f;
}

.btn-outline:hover {
  background: #0d6e4f;
  color: #fff;
}

.btn-secondary {
  background: #eef2f6;
  color: #1a2332;
  border-color: #dde3ea;
}

.btn-secondary:hover {
  background: #dde3ea;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #1a2332;
  color: #fff;
  padding: 4rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-sub {
  font-size: 1.125rem;
  opacity: 0.9;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  border-radius: 12px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  border-radius: 12px;
}

.hero .btn-outline {
  color: #fff;
  border-color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: #1a2332;
}

.lead-section label {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.section-header p {
  color: #4a5568;
  margin: 0;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.info-card p {
  margin: 0;
  color: #4a5568;
  font-size: 0.9375rem;
}

/* Carousel */
.carousel-wrap {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.carousel-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.carousel-card img {
  margin: 0 auto 0.75rem;
  border-radius: 6px;
}

.carousel-card h3 {
  font-size: 0.9375rem;
  margin: 0 0 0.25rem;
}

.carousel-author {
  font-size: 0.8125rem;
  color: #4a5568;
  margin: 0;
}

.carousel-price {
  font-weight: 700;
  color: #0d6e4f;
  margin: 0.5rem 0;
}

.carousel-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Benefits */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item h3 {
  margin: 0 0 0.5rem;
}

.benefit-icon,
.card-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.875rem;
  color: #0d6e4f;
  background: #e6f4ef;
  border-radius: 10px;
}

.benefit-item p {
  margin: 0;
  color: #4a5568;
}

/* Reviews */
.review-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 1.25rem;
}

.review-card img {
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.review-text {
  margin: 0 0 0.5rem;
  font-style: italic;
}

.review-meta {
  margin: 0;
  font-size: 0.875rem;
  color: #4a5568;
}

.review-stars {
  color: #f5a623;
  margin: 0.25rem 0 0;
  letter-spacing: 2px;
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

.review-card-full {
  align-items: flex-start;
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  overflow: hidden;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-card-body {
  padding: 1.25rem;
}

.article-card h2,
.article-card h3 {
  margin: 0.5rem 0;
  font-size: 1.0625rem;
}

.article-card h2 a,
.article-card h3 a {
  color: #1a2332;
  text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover {
  color: #0d6e4f;
}

.article-card p {
  color: #4a5568;
  font-size: 0.9375rem;
  margin: 0 0 0.75rem;
}

.tag {
  display: inline-block;
  background: #e6f4ef;
  color: #0d6e4f;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

/* Lead magnet */
.lead-section {
  background: #1a2332;
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.lead-section h2 {
  margin: 0 0 0.75rem;
}

.lead-section p {
  opacity: 0.9;
  margin: 0 0 1rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  padding: 0.75rem 1rem;
  border: 1px solid #c5cdd6;
  border-radius: 8px;
  font: inherit;
}

/* Shop */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 2rem 0 3rem;
}

.filters {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: 5rem;
}

.filters h2 {
  font-size: 1rem;
  margin: 0 0 1rem;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.filter-group select,
.filter-group input[type="number"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #c5cdd6;
  border-radius: 6px;
  font: inherit;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  display: block;
}

.product-image img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #fff;
}

.badge-new {
  background: #094d38;
}

.badge-hit {
  background: #0d6e4f;
  top: 2rem;
}

.product-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h2 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.product-body h2 a {
  color: #1a2332;
  text-decoration: none;
}

.product-author {
  font-size: 0.8125rem;
  color: #4a5568;
  margin: 0 0 0.5rem;
}

.product-desc {
  font-size: 0.8125rem;
  color: #4a5568;
  flex: 1;
  margin: 0 0 0.75rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.product-price {
  font-weight: 700;
  color: #0d6e4f;
}

.product-rating {
  color: #f5a623;
  font-size: 0.875rem;
}

/* Book page */
.page-hero {
  background: #fff;
  border-bottom: 1px solid #dde3ea;
  padding: 2rem 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.book-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.book-gallery img {
  border-radius: 12px;
  border: 1px solid #dde3ea;
}

.book-author {
  color: #4a5568;
  margin: 0.5rem 0;
}

.book-price-lg {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0d6e4f;
  margin: 1rem 0;
}

.book-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.book-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.book-description,
.book-shipping {
  margin-bottom: 2rem;
}

.mini-books {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mini-book {
  flex: 0 0 140px;
  text-align: center;
}

.mini-book h3 {
  font-size: 0.8125rem;
  margin: 0.5rem 0 0.25rem;
}

.mini-book img {
  margin: 0 auto;
  border-radius: 6px;
}

.mini-price {
  font-weight: 700;
  color: #0d6e4f;
  font-size: 0.875rem;
  margin: 0;
}

/* Blog */
.blog-toolbar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.blog-toolbar input,
.blog-toolbar select {
  padding: 0.625rem 1rem;
  border: 1px solid #c5cdd6;
  border-radius: 8px;
  font: inherit;
}

.blog-toolbar input {
  flex: 1;
  min-width: 200px;
}

/* Article page */
.article-header {
  margin-bottom: 1.5rem;
}

.article-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0.75rem 0;
}

.article-hero {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.article-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.375rem;
}

.article-body p {
  margin: 0 0 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-grid img {
  border-radius: 12px;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.values-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eef2f6;
}

.values-list strong {
  color: #0d6e4f;
}

/* Stories */
.story-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.story-age {
  color: #4a5568;
  font-size: 0.875rem;
  margin: 0 0 1rem;
}

/* Game */
.game-intro {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.game-intro h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.game-intro p {
  color: #4a5568;
  margin: 0 0 0.75rem;
}

.game-area {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.game-area.is-idle .game-category,
.game-area.is-idle .game-options,
.game-area.is-idle .game-feedback,
.game-area.is-idle .game-score,
.game-area.is-idle #game-next {
  display: none !important;
}

.game-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d6e4f;
  background: #e6f4ef;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.game-question-text {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem;
  text-align: left;
}

.game-feedback {
  background: #f0f7f4;
  border: 1px solid #c8e6d9;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  text-align: left;
  font-size: 0.9375rem;
}

.game-feedback.is-wrong {
  background: #fef8f0;
  border-color: #f0dcc0;
}

.game-result {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.game-result-type {
  font-size: 1.5rem;
  color: #0d6e4f;
  margin: 0 0 0.5rem;
}

.game-rec-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.game-rec-list li {
  margin-bottom: 0.5rem;
}

.game-faq {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.game-faq details {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.game-faq summary {
  font-weight: 600;
  cursor: pointer;
}

.game-faq p {
  margin: 0.75rem 0 0;
  color: #4a5568;
}

.quiz-cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: #f0f7f4;
  border: 1px solid #c8e6d9;
  border-radius: 12px;
}

.quiz-cta-text h3 {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
}

.quiz-cta-text p {
  margin: 0;
  color: #4a5568;
  font-size: 0.9375rem;
  max-width: 520px;
}

/* Cart toast */
.cart-toast {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  background: #1a2332;
  color: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
  max-width: min(360px, calc(100vw - 2.5rem));
}

.cart-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 640px) {
  .cart-toast {
    left: 50%;
    bottom: auto;
    top: 5.5rem;
    transform: translate(-50%, -120%);
  }

  .cart-toast.is-visible {
    transform: translate(-50%, 0);
  }
}

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.cart-table-wrap {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  overflow: hidden;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
}

.cart-table th {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4a5568;
  background: #f7f9fb;
}

.cart-item-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-item-info img {
  width: 56px;
  height: 84px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-qty-input {
  width: 4rem;
  padding: 0.375rem;
  border: 1px solid #dde3ea;
  border-radius: 6px;
}

.cart-summary {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 5.5rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cart-summary-total {
  font-size: 1.25rem;
  font-weight: 700;
  border-top: 1px solid #dde3ea;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.order-form-wrap {
  max-width: 640px;
  margin: 0 auto 3rem;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 2rem;
}

.order-form-wrap label {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.order-form-wrap input,
.order-form-wrap textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #dde3ea;
  border-radius: 6px;
  margin-top: 0.25rem;
  font-family: inherit;
  font-size: 1rem;
}

.order-form-wrap h2 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.order-success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.order-success h2 {
  color: #0d6e4f;
}

@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.game-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6e4f;
  margin: 1rem 0;
}

.game-options {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

/* Legal */
.legal-content {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto 3rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-of-type {
  margin-top: 1rem;
}

.legal-content p,
.legal-content li {
  color: #4a5568;
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* Footer */
.site-footer {
  background: #1a2332;
  color: #c5cdd6;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h2 {
  color: #fff;
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: #c5cdd6;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2d3a4d;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.6);
}

.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4a5568;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a2332;
  color: #fff;
  padding: 1rem 0;
  z-index: 400;
  transform: translateY(0);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.cookie-banner.is-dismissing {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
}

.cookie-inner a {
  color: #7dd3b0;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #4a5568;
}

.page-title-bar {
  background: #fff;
  border-bottom: 1px solid #dde3ea;
  padding: 2rem 0;
}

.page-title-bar h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.page-title-bar p {
  margin: 0.5rem 0 0;
  color: #4a5568;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner,
  .lead-section,
  .about-grid,
  .book-layout,
  .shop-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 0;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}
