:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #edf3fa;
  --surface-3: #e6f4f1;
  --text: #18253a;
  --muted: #60718b;
  --line: #d4e0ec;
  --brand-1: #1a7f85;
  --brand-2: #4aa3ff;
  --brand-4: #6e5ef8;
  --brand-5: #10233f;
  --good: #20b278;
  --warn: #f3b73d;
  --danger: #e36d64;
  --shadow: 0 18px 45px rgba(13, 33, 66, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6fbff 0%, #edf3f9 100%);
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-topbar {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-4));
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(206, 220, 235, 0.85);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 22px rgba(74, 163, 255, 0.28);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover,
.button-link:hover,
.btn:focus-visible,
.button-link:focus-visible {
  transform: translateY(-1px);
}

.btn-outline {
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--brand-5);
  border: 1px solid #c6d5e4;
  background: rgba(255, 255, 255, 0.82);
}

.btn-primary {
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 10px 22px rgba(26, 127, 133, 0.25);
}

.btn-secondary {
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-4), var(--brand-1));
  box-shadow: 0 10px 20px rgba(110, 94, 248, 0.18);
}

.btn-ghost {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--brand-5);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.header-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.header-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.header-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 64px 0 46px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(rgba(6, 12, 24, 0.45), rgba(6, 12, 24, 0.9)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 155, 84, 0.18), transparent 32%),
    url("accets/img/hero.png") center center / cover no-repeat,
    linear-gradient(135deg, #0f2747 0%, #173968 48%, #1a7f85 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.55;
}

.hero-card::before {
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.08);
  top: -120px;
  right: -120px;
}

.hero-card::after {
  width: 260px;
  height: 260px;
  background: rgba(255, 155, 84, 0.16);
  bottom: -100px;
  left: -60px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 38px;
  align-items: center;
  padding: 52px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero-copy p {
  margin: 0 0 24px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
  line-height: 1.7;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-panel {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(12, 34, 63, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.stat-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.stat-footer {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(12, 34, 63, 0.32);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.section {
  padding: 32px 0 46px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section-header p,
.section-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.reason-card,
.feedback-card,
.plan-card,
.article-card,
.contact-card,
.faq-card,
.notice-card,
.info-panel {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 24px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(255, 155, 84, 0.22), rgba(74, 163, 255, 0.18));
}

.info-card h3,
.reason-card h3,
.plan-card h3,
.article-card h3,
.contact-card h3,
.info-panel h3,
.notice-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.info-card p,
.reason-card p,
.plan-card p,
.article-card p,
.contact-card p,
.info-panel p,
.notice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(235, 242, 250, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-4), var(--brand-2));
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.game-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.game-illustration {
  position: relative;
  min-height: 220px;
  padding: 18px;
  display: flex;
  align-items: end;
  overflow: hidden;
  
}

.game-illustration::before,
.game-illustration::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  opacity: 0.8;
}

.game-illustration::before {
  width: 180px;
  height: 180px;
  top: -30px;
  right: -30px;
  background: rgba(255, 255, 255, 0.14);
}

.game-illustration::after {
  width: 120px;
  height: 120px;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.16);
}

.gorilla {
   background:
    linear-gradient(rgba(6, 12, 24, 0.45), rgba(6, 12, 24, 0.9)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 155, 84, 0.18), transparent 32%),
    url("accets/img/game1.png") center center / cover no-repeat,
    linear-gradient(135deg, #0f2747 0%, #173968 48%, #1a7f85 100%);
}

.octowins {
   background:
    linear-gradient(rgba(6, 12, 24, 0.45), rgba(6, 12, 24, 0.9)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 155, 84, 0.18), transparent 32%),
    url("accets/img/hero.png") center center / cover no-repeat,
    linear-gradient(135deg, #0f2747 0%, #173968 48%, #1a7f85 100%);
}

.thunderball {
   background:
    linear-gradient(rgba(6, 12, 24, 0.45), rgba(6, 12, 24, 0.9)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 155, 84, 0.18), transparent 32%),
    url("accets/img/game3.png") center center / cover no-repeat,
    linear-gradient(135deg, #0f2747 0%, #173968 48%, #1a7f85 100%);
}

.illustration-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.illustration-kicker {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.illustration-title {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.illustration-sub {
  margin-top: 10px;
  max-width: 18ch;
  color: rgba(255, 255, 255, 0.8);
}

.game-body {
  padding: 22px;
}

.game-body h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.game-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #eef5fb;
  color: var(--brand-5);
}

.game-body .btn {
  width: 100%;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feedback-card {
  padding: 24px;
}

.feedback-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-4), var(--brand-1));
}

.feedback-top strong {
  display: block;
}

.feedback-top span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feedback-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.responsible-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.plan-card,
.reason-card,
.contact-card,
.article-card,
.notice-card,
.info-panel {
  padding: 28px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--good), var(--brand-1));
  font-size: 0.88rem;
}

.progress-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1b2750 0%, #253468 45%, #5e5af2 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.progress-card p {
  color: rgba(255, 255, 255, 0.8);
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-top: 18px;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 88%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6ef0b4, #ffe069);
}

.page-hero {
  padding: 54px 0 24px;
}

.page-hero-card {
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, #0f2747 0%, #1b4b7b 55%, #1a7f85 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.page-hero-card h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.page-hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  line-height: 1.7;
}

.page-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
}

.side-nav {
  position: sticky;
  top: 116px;
  align-self: start;
  padding: 24px;
}

.side-nav h3 {
  margin: 0 0 16px;
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav li + li {
  margin-top: 10px;
}

.side-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f9fd;
  color: var(--muted);
  font-weight: 600;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.info-panel h2,
.policy-section h2 {
  margin: 0 0 12px;
  font-size: 1.7rem;
}

.info-panel ul,
.policy-section ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.policy-section {
  padding: 26px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-card {
  overflow: hidden;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 700;
  position: relative;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--brand-1);
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card p {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-footer {
  margin-top: 30px;
  padding-top: 34px;
  background: linear-gradient(180deg, #e9f0f6 0%, #f7fbff 100%);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 22px;
  padding-bottom: 24px;
}

.footer-column h3,
.footer-column h4 {
  margin: 0 0 14px;
}

.footer-column p,
.footer-column li {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column a {
  color: var(--muted);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--brand-1);
}

.disclaimer {
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.disclaimer strong {
  color: var(--text);
}

.tiny-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.age-modal,
.game-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 90;
}

.age-modal.open,
.game-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 19, 37, 0.78);
  backdrop-filter: blur(10px);
}

.age-panel,
.game-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 32, 58, 0.96), rgba(25, 48, 88, 0.94));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.age-panel {
  padding: 32px;
  text-align: center;
}

.age-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  box-shadow: 0 12px 28px rgba(74, 163, 255, 0.28);
}

.age-panel h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.age-panel p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.age-actions {
  display: grid;
  gap: 12px;
}

.age-actions .btn {
  width: 100%;
}

.age-link {
  display: inline-block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.game-modal-panel {
  width: min(100%, 1060px);
  overflow: hidden;
}

.game-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.game-modal-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.game-frame-wrap {
  position: relative;
  background: #090f1b;
  aspect-ratio: 16 / 9;
  max-height: min(82vh, 680px);
}

.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d1625;
}

iframe[hidden] {
  display: none;
}

.game-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  background: radial-gradient(circle at top, rgba(74, 163, 255, 0.16), transparent 40%), linear-gradient(180deg, #0e1930, #111d33);
  color: #fff;
}

.game-placeholder-card {
  max-width: 520px;
}

.game-placeholder h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.game-placeholder p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.game-placeholder code {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7efff;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-grid,
  .responsible-grid,
  .footer-grid,
  .info-grid,
  .steps-grid,
  .feedback-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-grid,
  .footer-grid,
  .responsible-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-topbar .container {
    flex-direction: column;
    text-align: center;
  }

  .header-toggle {
    display: flex;
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    order: 4;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0 4px;
  }

  .site-nav.active {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .btn-outline,
  .header-actions .btn-primary {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid,
  .page-hero-card,
  .reason-card,
  .plan-card,
  .article-card,
  .contact-card,
  .info-card,
  .step-card,
  .feedback-card,
  .policy-section,
  .info-panel {
    padding: 22px;
  }

  .hero-grid {
    gap: 24px;
    padding: 28px;
  }

  .section {
    padding: 22px 0 34px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-grid,
  .steps-grid,
  .feedback-grid,
  .responsible-grid,
  .contact-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }

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

  .game-frame-wrap {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .brand-text span {
    font-size: 0.7rem;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero-copy h1,
  .page-hero-card h1 {
    font-size: 2.25rem;
  }

  .hero-actions,
  .hero-badges,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline,
  .btn-secondary,
  .btn-ghost,
  .button-link {
    width: 100%;
  }

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

  .game-modal-header {
    padding: 14px 16px;
  }

  .game-frame-wrap {
    aspect-ratio: 1 / 1;
  }

  .age-panel {
    padding: 24px;
  }
}
