:root {
  --bg: #0b0f0e;
  --surface: #101413;
  --surface-low: #181c1b;
  --surface-container: #1c201f;
  --surface-card: #1a211f;
  --surface-highest: #323634;
  --on-surface: #e0e3e1;
  --on-surface-variant: #c1caaf;
  --outline-variant: #424a35;
  --primary-fixed: #aef831;
  --primary-btn: #b4ff39;
  --on-primary: #0b0f0e;
  --tertiary: #ffffff;
  --error: #ffb4ab;
  --margin-page: 16px;
  --section-gap: 32px;
  --stack-sm: 8px;
  --stack-md: 16px;
  --stack-lg: 24px;
  --grid-gutter: 12px;
  --radius-card: 20px;
  --radius-btn: 12px;
  --max-content: 896px;
  --max-wide: 1200px;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-title: "Sora", system-ui, sans-serif;
  --font-label: "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-fixed);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

h1, h2, h3, h4, .brand-name, .section-title {
  font-family: var(--font-title);
  margin: 0;
}

p {
  margin: 0 0 1em;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -44px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--primary-btn);
  color: var(--on-primary);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

::selection {
  background: var(--primary-fixed);
  color: #496f00;
}

/* Header */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 64px;
  height: auto;
  padding: 8px var(--margin-page);
  background: rgba(16, 20, 19, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: clamp(13px, 3.5vw, 16px);
  font-weight: 700;
  color: var(--primary-fixed);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.age-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--outline-variant);
  border-radius: 999px;
  background: var(--bg);
  font-size: 12px;
}

.age-badge strong {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.age-badge span {
  color: var(--on-surface-variant);
  font-size: 12px;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary-fixed);
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle:active {
  transform: scale(0.95);
}

.nav-toggle-icon,
.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.site-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 45;
  flex-direction: column;
  gap: 4px;
  padding: var(--stack-md);
  background: rgba(11, 15, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav.is-open {
  display: flex;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 44;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  color: var(--on-surface);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(180, 255, 57, 0.12);
  color: var(--primary-fixed);
}

/* Main layout */
.site-main {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.inner-page {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--stack-lg) var(--margin-page) var(--section-gap);
}

.prose {
  max-width: 720px;
}

.prose h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--tertiary);
  margin-bottom: 0.5em;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tertiary);
  margin: 1.75em 0 0.5em;
}

.prose h2:first-of-type {
  margin-top: 1.25em;
}

.prose .lead {
  font-size: 1.05rem;
  color: var(--on-surface-variant);
  margin-bottom: 1.5em;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose li:last-child {
  margin-bottom: 0;
}

/* Icons (no external icon font) */
.icon-check,
.style-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--primary-fixed);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.star-row {
  display: inline-flex;
  gap: 1px;
  color: var(--primary-fixed);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1;
}

.star-row .star-half {
  opacity: 0.55;
}

/* Game card backgrounds */
.game-card--funny { background-image: url("/assets/images/bg-block-juggle.webp"); }
.game-card--funny1 { background-image: url("/assets/images/bg-match-out.webp"); }
.game-card--funny2 { background-image: url("/assets/images/bg-voxelator.webp"); }
.game-card--funny3 { background-image: url("/assets/images/bg-pixel-pop.webp"); }
.game-card--funny4 { background-image: url("/assets/images/bg-lights-puzzle.webp"); }
.game-card--funny5 { background-image: url("/assets/images/bg-tropic-match.webp"); }

/* Hero — mobile / tablet default (matches mockup) */
.hero {
  position: relative;
  width: calc(100% - var(--margin-page) * 2);
  min-height: 200px;
  margin: 16px auto 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-card);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 15, 14, 0.95) 0%, rgba(11, 15, 14, 0.55) 45%, rgba(11, 15, 14, 0.2) 100%),
    linear-gradient(to right, rgba(11, 15, 14, 0.85), transparent 70%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  padding: 16px;
  padding-bottom: 14px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--stack-sm);
}

.tag {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(174, 248, 49, 0.3);
  background: rgba(11, 15, 14, 0.5);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--on-surface);
}

.hero-title {
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--tertiary);
  margin-bottom: var(--stack-sm);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-text {
  font-size: clamp(13px, 3.5vw, 16px);
  line-height: 1.45;
  color: var(--on-surface-variant);
  max-width: 36rem;
}

/* Sections */
.section {
  padding: 0 var(--margin-page);
}

.section-header {
  text-align: center;
  padding: 0 16px;
  margin-bottom: var(--stack-lg);
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tertiary);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 14px;
  color: var(--on-surface-variant);
}

/* Game cards */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%),
    rgba(26, 33, 31, 0.88);
  pointer-events: none;
}

.game-card > * {
  position: relative;
  z-index: 1;
}

.game-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--surface-card);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.5);
}

.game-card-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: min(35%, 108px);
  flex-shrink: 0;
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--outline-variant);
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-num {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-fixed);
}

.stars,
.star-row {
  display: inline-flex;
  color: var(--primary-fixed);
  font-size: 11px;
}

.game-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-highest);
  font-family: var(--font-label);
  font-size: 10px;
  color: var(--tertiary);
}

.game-desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-action {
  display: flex;
  justify-content: flex-end;
}

.hidlink {
  position: absolute;
  z-index: -5;
  opacity: 0;
  pointer-events: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--primary-btn);
  color: var(--on-primary);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(180, 255, 57, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.game-action .btn-primary {
  width: auto;
  min-width: 96px;
  padding-inline: 14px;
}

.btn-primary:active {
  transform: scale(0.95);
}

/* Info card */
.info-card {
  position: relative;
  padding: var(--stack-lg);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), var(--surface-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.info-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  background: rgba(174, 248, 49, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--tertiary);
  margin-bottom: var(--stack-sm);
  position: relative;
  z-index: 1;
}

.info-card-title .icon-check {
  color: var(--primary-fixed);
}

.info-card p {
  font-size: 14px;
  color: var(--on-surface-variant);
  position: relative;
  z-index: 1;
}

/* Steps list */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--surface-low);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: rgba(174, 248, 49, 0.3);
  width: 48px;
  flex-shrink: 0;
}

.step-text {
  font-size: 14px;
  color: var(--on-surface);
}

/* Style grid */
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gutter);
}

.style-card {
  padding: 16px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), var(--surface-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.style-card .style-icon {
  margin-bottom: 8px;
}

.style-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--tertiary);
  margin-bottom: 8px;
}

.style-card p {
  font-size: 12px;
  color: var(--on-surface-variant);
}

/* Reviews */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--surface-low);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.review-name {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  color: var(--tertiary);
}

.review-date {
  font-size: 12px;
  color: var(--on-surface-variant);
}

.review-stars {
  display: flex;
  color: var(--primary-fixed);
  font-size: 14px;
}

.review-text {
  font-size: 14px;
  color: var(--on-surface);
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--stack-lg);
  padding-bottom: calc(var(--margin-page) + 72px);
  padding-left: var(--margin-page);
  padding-right: var(--margin-page);
}

.site-footer > .footer-grid,
.site-footer > .footer-disclaimer,
.site-footer > .footer-legal,
.site-footer > .footer-copy {
  width: 100%;
  max-width: var(--max-wide);
  margin-inline: auto;
}

@media (min-width: 801px) {
  .site-footer {
    padding-top: 48px;
    padding-bottom: 32px;
    padding-left: max(var(--margin-page), 32px);
    padding-right: max(var(--margin-page), 32px);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-brand span {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-fixed);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 8px 0 24px;
}

.footer-badges img {
  height: 24px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1) brightness(2);
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-nav a,
.footer-legal a {
  font-size: 14px;
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--primary-fixed);
}

.footer-legal {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(193, 202, 175, 0.7);
}

.footer-copy {
  font-size: 14px;
  color: rgba(193, 202, 175, 0.5);
}

.footer-grid {
  display: grid;
  gap: var(--stack-lg);
  margin-bottom: var(--stack-lg);
}

.footer-col h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--tertiary);
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  color: var(--on-surface-variant);
  margin-bottom: 0.5em;
}

.footer-disclaimer {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-btn);
  background: var(--surface-low);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--on-surface-variant);
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--margin-page);
  background: rgba(26, 33, 31, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 13px;
  color: var(--on-surface-variant);
}

.cookie-bar a {
  color: var(--primary-fixed);
}

.btn-cookie {
  padding: 8px 20px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--primary-btn);
  color: var(--on-primary);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Contact form */
.contact-grid {
  display: grid;
  gap: var(--stack-lg);
  margin-top: var(--stack-lg);
}

.contact-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-fixed);
  box-shadow: 0 0 0 3px rgba(180, 255, 57, 0.15);
}

.send-button {
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--primary-btn);
  color: var(--on-primary);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(180, 255, 57, 0.3);
}

.form-note {
  font-size: 12px;
  color: var(--on-surface-variant);
  margin-top: 12px;
}

.contact-aside {
  padding: var(--stack-lg);
  border-radius: var(--radius-card);
  background: var(--surface-low);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-aside h2 {
  font-size: 18px;
  color: var(--tertiary);
  margin-bottom: 12px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  width: min(100%, 400px);
  padding: var(--stack-lg);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.modal-box h2 {
  color: var(--tertiary);
  margin-bottom: 8px;
}

.modal-box p {
  color: var(--on-surface-variant);
  margin-bottom: 16px;
}

.panel-grid {
  display: grid;
  gap: var(--stack-md);
  margin-top: var(--stack-lg);
}

.panel {
  padding: var(--stack-lg);
  border-radius: var(--radius-card);
  background: var(--surface-low);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel h3 {
  font-size: 16px;
  color: var(--tertiary);
  margin-bottom: 8px;
}

.panel p {
  font-size: 14px;
  color: var(--on-surface-variant);
}

.center-note {
  text-align: center;
  font-size: 14px;
  color: var(--on-surface-variant);
  margin-top: 8px;
  padding: 0 16px;
}

/* Desktop */
@media (min-width: 801px) {
  :root {
    --margin-page: 24px;
    --section-gap: 48px;
  }

  .site-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 32px;
    background: rgba(16, 20, 19, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  }

  .site-header {
    flex: 1;
    min-height: 64px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    border-top: 0;
  }

  body.nav-open::before {
    display: none;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .site-main {
    max-width: var(--max-wide);
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
    align-items: stretch;
    margin-top: 16px;
    aspect-ratio: auto;
    min-height: 260px;
    max-height: none;
    border: 1px solid rgba(174, 248, 49, 0.14);
    box-shadow:
      0 24px 48px -28px rgba(0, 0, 0, 0.65),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    background:
      radial-gradient(ellipse 70% 90% at 82% 58%, rgba(174, 248, 49, 0.12), transparent 58%),
      linear-gradient(135deg, #1a211f 0%, #101614 52%, #0b0f0e 100%);
  }

  .hero-bg {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: contain;
    object-position: center bottom;
    padding: 12px 20px 0 0;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  }

  .hero-overlay {
    grid-column: 1 / -1;
    grid-row: 1;
    background:
      radial-gradient(circle at 78% 62%, rgba(174, 248, 49, 0.1), transparent 42%),
      linear-gradient(to right, rgba(11, 15, 14, 0.96) 0%, rgba(11, 15, 14, 0.88) 42%, rgba(11, 15, 14, 0.35) 68%, transparent 82%);
  }

  .hero-content {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    inset: auto;
    justify-content: center;
    max-width: none;
    width: auto;
    padding: 28px 32px;
  }

  .hero-tags {
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 2.4vw, 2.25rem);
    line-height: 1.12;
    margin-bottom: 10px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.5;
    max-width: 34rem;
  }

  .tag {
    padding: 4px 12px;
    font-size: 11px;
  }

  .section {
    padding-top: 0;
  }

  .section-header {
    margin-bottom: var(--stack-md);
  }

  .site-main {
    gap: var(--stack-lg);
  }

  .game-list {
    gap: 10px;
    max-width: 640px;
    margin-inline: auto;
  }

  .game-card {
    padding: 8px;
  }

  .game-icon {
    width: 56px;
    height: 56px;
  }

  .style-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .panel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 280px;
  }

  .hero-bg {
    min-height: 280px;
    padding-right: 28px;
  }

  .game-list {
    max-width: 720px;
  }
}

@media (max-width: 800px) {
  :root {
    --margin-page: 16px;
    --section-gap: 20px;
  }

  .site-main {
    gap: 20px;
    padding-bottom: 20px;
    max-width: 640px;
  }

  .hero {
    margin-top: 10px;
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(168px, 24vw, 210px);
    max-height: 210px;
    border: 1px solid rgba(174, 248, 49, 0.08);
    box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.55);
  }

  .hero-bg {
    object-fit: cover;
    object-position: center 40%;
  }

  .hero-overlay {
    background:
      linear-gradient(to top, rgba(11, 15, 14, 0.94) 0%, rgba(11, 15, 14, 0.5) 48%, rgba(11, 15, 14, 0.15) 100%),
      linear-gradient(to right, rgba(11, 15, 14, 0.82), transparent 65%);
  }

  .hero-content {
    padding: 12px 16px;
    padding-bottom: 12px;
  }

  .hero-tags {
    gap: 6px;
    margin-bottom: 8px;
  }

  .tag {
    padding: 3px 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: 1.25rem;
    line-height: 1.12;
    margin-bottom: 6px;
  }

  .hero-text {
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-header {
    margin-bottom: 12px;
    padding: 0 8px;
  }

  .section-title {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .section-desc {
    font-size: 13px;
    line-height: 1.4;
  }

  .game-list {
    max-width: 580px;
    margin-inline: auto;
  }

  .game-card {
    padding: 7px;
    gap: 10px;
  }

  .game-card-side {
    width: min(30%, 100px);
    padding-right: 8px;
  }

  .game-icon {
    width: 58px;
    height: 58px;
  }

  .rating-num {
    font-size: 18px;
  }

  .star-row {
    font-size: 10px;
  }

  .game-body {
    gap: 6px;
  }

  .game-desc {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .game-action .btn-primary {
    min-width: 88px;
    padding: 8px 14px;
    font-size: 11.5px;
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  :root {
    --margin-page: 20px;
    --section-gap: 22px;
  }

  .site-main {
    gap: 22px;
    max-width: 680px;
  }

  .hero {
    height: clamp(190px, 22vw, 228px);
    max-height: 228px;
    border-color: rgba(174, 248, 49, 0.12);
    box-shadow:
      0 18px 36px -20px rgba(0, 0, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    background:
      radial-gradient(ellipse 70% 80% at 88% 70%, rgba(174, 248, 49, 0.07), transparent 55%),
      var(--surface-card);
  }

  .hero-bg {
    object-fit: contain;
    object-position: right bottom;
    padding-right: 8px;
  }

  .hero-overlay {
    background:
      linear-gradient(to top, rgba(11, 15, 14, 0.92) 0%, rgba(11, 15, 14, 0.45) 50%, rgba(11, 15, 14, 0.1) 100%),
      linear-gradient(to right, rgba(11, 15, 14, 0.9) 0%, rgba(11, 15, 14, 0.55) 46%, transparent 72%);
  }

  .hero-content {
    max-width: 62%;
    padding: 16px 20px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-text {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .tag {
    font-size: 11px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-desc {
    font-size: 14px;
  }

  .game-list {
    max-width: 620px;
  }

  .game-icon {
    width: 60px;
    height: 60px;
  }

  .rating-num {
    font-size: 19px;
  }

  .game-desc {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  :root {
    --margin-page: 12px;
    --section-gap: 16px;
  }

  .site-main {
    gap: 16px;
    padding-bottom: 16px;
    max-width: none;
  }

  .hero {
    margin-top: 8px;
    height: clamp(148px, 36vw, 168px);
    max-height: 168px;
    box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.5);
    background: var(--surface-card);
  }

  .hero-bg {
    object-fit: cover;
    object-position: center 42%;
    padding-right: 0;
  }

  .hero-overlay {
    background:
      linear-gradient(to top, rgba(11, 15, 14, 0.95) 0%, rgba(11, 15, 14, 0.55) 45%, rgba(11, 15, 14, 0.2) 100%),
      linear-gradient(to right, rgba(11, 15, 14, 0.85), transparent 70%);
  }

  .hero-content {
    max-width: 100%;
    padding: 10px 12px;
    padding-bottom: 10px;
  }

  .hero-tags {
    margin-bottom: 6px;
  }

  .tag {
    padding: 2px 8px;
    font-size: 9px;
  }

  .hero-title {
    font-size: 1.125rem;
    margin-bottom: 4px;
  }

  .hero-text {
    font-size: 11px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .section-header {
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .section-desc {
    font-size: 12px;
    line-height: 1.35;
  }

  .game-list {
    max-width: none;
  }

  .game-card {
    padding: 6px;
    gap: 8px;
  }

  .game-card-side {
    width: min(32%, 92px);
    padding-right: 6px;
  }

  .game-icon {
    width: 54px;
    height: 54px;
  }

  .rating-num {
    font-size: 17px;
  }

  .star-row {
    font-size: 9px;
  }

  .game-body {
    gap: 5px;
  }

  .game-desc {
    font-size: 11px;
    line-height: 1.3;
  }

  .game-action .btn-primary {
    min-width: 84px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .age-badge .age-label {
    display: none;
  }

  .site-nav,
  .site-nav.is-open,
  body.nav-open::before {
    inset: 56px 0 0 0;
  }
}

@media (max-width: 480px) {
  :root {
    --margin-page: 12px;
  }

  .style-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .brand-name {
    max-width: 72px;
  }

  .age-badge {
    padding: 4px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .game-card:hover {
    transform: none;
  }
}
