/* ===== SocialMooseGames THEME ===== */
:root {
  --bg: #f6f2ff;
  --bg-2: #edf7f2;
  --ink: #1b1336;
  --ink-soft: #4a3d6b;
  --ink-muted: #6c5a92;
  --purple: #6a4cff;
  --purple-2: #8b6bff;
  --green: #2fd47b;
  --green-2: #7de7b2;
  --white: #ffffff;
  --line: rgba(53, 33, 105, 0.12);
  --shadow: 0 14px 40px rgba(46, 27, 97, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 10% -10%, rgba(106, 76, 255, 0.18), transparent 60%),
    radial-gradient(900px 520px at 100% 10%, rgba(47, 212, 123, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ===== RIBBON + HEADER ===== */
.top-ribbon {
  background: linear-gradient(90deg, var(--purple), var(--green));
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-ribbon .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.ribbon-note {
  opacity: 0.95;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 242, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.site-header .container {
  width: min(1360px, 96%);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--purple), var(--green));
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 18px;
  box-shadow: var(--shadow);
  animation: glow 6s ease-in-out infinite;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text span {
  font-size: 18px;
}

.brand-text small {
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 600;
  color: var(--ink-muted);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(106, 76, 255, 0.12);
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
  border-radius: 999px;
  position: relative;
  transition: 0.2s;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: 0.2s;
}

.nav-burger span::before {
  transform: translateY(-7px);
}

.nav-burger span::after {
  transform: translateY(7px);
}

.nav-cta {
  display: inline-flex;
  gap: 10px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--purple), var(--green));
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn.ghost:hover {
  border-color: rgba(106, 76, 255, 0.4);
}

.btn.dark {
  background: var(--ink);
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  padding: 70px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--purple);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.lead {
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

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

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(106, 76, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  animation: pulse 4s ease-in-out infinite;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% -30%;
  height: 60%;
  background: radial-gradient(circle, rgba(106, 76, 255, 0.15), transparent 70%);
}

.hero-card img {
  border-radius: var(--radius-md);
}

.hero-float {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow);
}

.hero-float strong {
  font-size: 18px;
}

.hero.hero-cover {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  isolation: isolate;
}

.hero.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 8, 27, 0.65), rgba(18, 12, 42, 0.45)),
    url("../img/image.jpg") center / cover no-repeat;
  filter: brightness(0.52) saturate(1.05);
  transform: scale(1.03);
  z-index: -2;
}

.hero.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(650px 250px at 50% 0%, rgba(125, 231, 178, 0.22), transparent 70%),
    radial-gradient(800px 320px at 50% 100%, rgba(106, 76, 255, 0.2), transparent 75%);
  z-index: -1;
}

.hero-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  background: rgba(16, 11, 37, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero.hero-cover .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.hero.hero-cover h1 {
  margin-bottom: 14px;
}

.hero.hero-cover .lead {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 26px;
  max-width: 680px;
}

.hero-main-btn {
  padding: 14px 24px;
}

.hero.hero-cover .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero.hero-cover .hero-copy {
  width: min(860px, 100%);
  text-align: center;
  color: var(--white);
  background: rgba(16, 11, 37, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero.hero-cover .hero-actions,
.hero.hero-cover .hero-badges {
  justify-content: center;
}

.hero.hero-cover .hero-card {
  display: none;
}

.legal-section {
  padding-top: 44px;
}

.legal-stack {
  width: min(940px, 100%);
}

.legal-block {
  padding: 34px;
}

.legal-block h2 {
  font-size: 28px;
  margin: 26px 0 12px;
}

.legal-block h2:first-child {
  margin-top: 0;
}

.legal-block p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.8;
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 0;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-title h2 {
  font-size: 30px;
}

.section-title p {
  color: var(--ink-soft);
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(47, 212, 123, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(46, 27, 97, 0.18);
}

.card p {
  color: var(--ink-soft);
}

.safe-lab {
  background: linear-gradient(180deg, rgba(106, 76, 255, 0.08), rgba(47, 212, 123, 0.06));
}

.safe-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

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

.safe-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 18px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.safe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(46, 27, 97, 0.16);
}

.safe-card.active {
  border-color: rgba(106, 76, 255, 0.6);
  box-shadow: 0 14px 40px rgba(106, 76, 255, 0.2);
}

.safe-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(106, 76, 255, 0.18), rgba(47, 212, 123, 0.24));
}

.safe-card strong {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.safe-console {
  display: grid;
  align-content: start;
  gap: 12px;
  background: linear-gradient(170deg, rgba(27, 19, 54, 0.97), rgba(63, 35, 121, 0.95));
  color: var(--white);
}

.safe-console p {
  color: rgba(255, 255, 255, 0.88);
}

.safe-console .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.safe-console-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.safe-meter {
  display: grid;
  gap: 8px;
}

.safe-meter span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.safe-meter-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

#safeMeterFill {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  transition: width 0.3s ease;
}

.play-lab {
  background: linear-gradient(180deg, rgba(47, 212, 123, 0.05), rgba(106, 76, 255, 0.06));
}

.play-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.play-check h3,
.play-coach h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.play-sub {
  margin-bottom: 16px;
}

.play-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(106, 76, 255, 0.04);
}

.play-item input {
  width: 18px;
  height: 18px;
}

.play-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(47, 212, 123, 0.2);
}

.play-progress {
  margin-top: 14px;
}

.play-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(27, 19, 54, 0.12);
  overflow: hidden;
}

#playProgressFill {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--green));
  transition: width 0.3s ease;
}

#playProgressText {
  margin-top: 8px;
  font-size: 13px;
}

.play-coach {
  background: linear-gradient(160deg, rgba(255, 255, 255, 1), rgba(240, 248, 255, 0.9));
  display: grid;
  align-content: start;
  gap: 12px;
}

.play-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.play-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(106, 76, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== TIMELINE ===== */
.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(106, 76, 255, 0.08);
  border: 1px solid var(--line);
}

.timeline-step {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* ===== GAME CARDS ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(46, 27, 97, 0.18);
}

.game-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(106, 76, 255, 0.06);
}

.game-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

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

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 212, 123, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

/* ===== CATALOG ALT ===== */
.catalog-shell {
  padding-top: 30px;
}

.catalog-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  align-items: start;
}

.catalog-aside {
  position: sticky;
  top: 100px;
}

.catalog-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.filter-stack {
  display: grid;
  gap: 10px;
}

.filter-stack button {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.filter-stack button.active,
.filter-stack button:hover {
  background: rgba(106, 76, 255, 0.12);
  border-color: rgba(106, 76, 255, 0.3);
}

.catalog-note {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(106, 76, 255, 0.35);
  color: var(--ink-soft);
  background: rgba(106, 76, 255, 0.06);
}

.catalog-grid-alt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 18px;
}

.game-card-alt {
  padding: 0;
  overflow: hidden;
}

.game-card-alt .game-media img {
  height: 200px;
}

.game-card-alt .card-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.game-card-alt .game-media img {
  height: 200px;
}

.filter-bar button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.filter-bar button.active {
  background: rgba(106, 76, 255, 0.12);
  border-color: rgba(106, 76, 255, 0.3);
}

/* ===== REVIEWS ===== */
.review-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(46, 27, 97, 0.18);
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--green));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.review-meta small {
  color: var(--ink-muted);
}

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 16px 18px;
}

.faq-item button {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item p {
  color: var(--ink-soft);
  margin-top: 10px;
  display: none;
}

.faq-item.open p {
  display: block;
}

/* ===== FORMS ===== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-muted);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  font-family: inherit;
}

.form-grid .full {
  grid-column: 1 / -1;
}

/* ===== MODAL ===== */
.catalog-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 35, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.catalog-modal.open {
  display: flex;
}

.catalog-modal-card {
  width: min(1240px, 98%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.catalog-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.catalog-frame-wrap {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0f0b1f;
}

.catalog-frame-wrap iframe {
  width: 100%;
  height: clamp(620px, 78vh, 860px);
  border: 0;
}

.catalog-frame-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(15, 10, 35, 0.6);
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

.catalog-frame-status.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.footer p {
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

/* ===== OVERLAYS ===== */
.overlay,
.cookie-box {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.overlay {
  background: rgba(15, 10, 35, 0.45);
}

.cookie-box {
  background: transparent;
  align-items: flex-end;
  justify-content: flex-end;
}

.overlay.show,
.cookie-box.show {
  display: flex;
}

.overlay-card,
.cookie-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--line);
  width: min(560px, 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.cookie-card {
  position: relative;
  margin: 0 20px 20px 0;
  text-align: left;
}

.cookie-box {
  display: none !important;
}

/* ===== ANIMATIONS ===== */
.floaty {
  animation: float 6s ease-in-out infinite;
}

.rise {
  animation: rise 0.7s ease both;
}

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

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 10px 30px rgba(106, 76, 255, 0.35); }
  50% { box-shadow: 0 14px 40px rgba(47, 212, 123, 0.35); }
}

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

@media (prefers-reduced-motion: reduce) {
  .floaty,
  .rise,
  .brand-mark,
  .badge {
    animation: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1020px) {
  .hero.hero-cover {
    padding: 96px 0 80px;
  }

  .hero-center {
    max-width: 100%;
  }

  .hero.hero-cover .hero-copy {
    width: min(100%, 820px);
  }

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

  .safe-layout,
  .play-layout {
    grid-template-columns: 1fr;
  }

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

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

  .grid-3,
  .game-grid,
  .review-wall,
  .catalog-grid-alt {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .nav-wrap {
    grid-template-columns: auto auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px;
    display: none;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

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

  .catalog-split {
    grid-template-columns: 1fr;
  }

  .catalog-aside {
    position: static;
  }

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

@media (max-width: 520px) {
  .hero.hero-cover {
    padding: 78px 0 62px;
  }

  .hero-center {
    padding: 28px 18px;
  }

  .hero.hero-cover .hero-copy {
    padding: 28px 18px;
  }

  .legal-block {
    padding: 22px 18px;
  }

  .legal-block h2 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .play-check h3,
  .play-coach h3,
  .safe-card strong {
    font-size: 22px;
  }

  .play-item {
    grid-template-columns: auto 1fr;
  }

  .play-item input {
    grid-row: span 2;
    align-self: center;
  }
}
