:root {
  --ink: #10213d;
  --muted: #5e6b7e;
  --blue: #176bff;
  --blue-dark: #0b50cc;
  --cyan: #33c8ef;
  --coral: #ff5e69;
  --lime: #b6f23a;
  --paper: #f5f8fc;
  --white: #ffffff;
  --line: #dfe8f2;
  --soft-blue: #eaf4ff;
  --soft-coral: #fff0f1;
  --success: #087e61;
  --shadow: 0 18px 50px rgba(22, 64, 124, 0.12);
  --shadow-sm: 0 10px 28px rgba(22, 64, 124, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(51, 200, 239, 0.10), transparent 25rem),
    radial-gradient(circle at 92% 34%, rgba(23, 107, 255, 0.08), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open { overflow: hidden; }

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.money-notice {
  position: relative;
  z-index: 51;
  color: #fff;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.money-notice .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 34px;
}

.money-notice span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(182, 242, 58, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(203, 217, 233, 0.75);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 18px rgba(23, 107, 255, 0.28);
}

.brand-mark::after {
  position: absolute;
  content: "";
  width: 18px;
  height: 18px;
  top: -6px;
  right: -4px;
  border-radius: 50%;
  background: var(--lime);
}

.brand-mark svg { width: 24px; height: 24px; }

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

.main-nav a {
  position: relative;
  color: #34445c;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  transition: right 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }

.nav-cta {
  padding: 11px 17px;
  color: #fff !important;
  border-radius: 12px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(23, 107, 255, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #dff3ff;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(246, 251, 255, 0.99) 0%, rgba(246, 251, 255, 0.92) 34%, rgba(246, 251, 255, 0.24) 62%, rgba(12, 65, 116, 0.04) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 600px) 1fr;
  align-items: center;
  min-height: 660px;
  padding-block: 82px 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid #c9e3ff;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(21, 96, 171, 0.08);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 94, 105, 0.13);
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6.6vw, 6.15rem);
  font-weight: 950;
}

.hero h1 span { color: var(--blue); }

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 28px;
  color: #3d526d;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(23, 107, 255, 0.24);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(23, 107, 255, 0.3);
}

.button:focus-visible,
.chip:focus-visible,
.favorite:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible,
.icon-button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(23, 107, 255, 0.33);
  outline-offset: 3px;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(161, 187, 215, 0.7);
  box-shadow: 0 10px 25px rgba(22, 64, 124, 0.09);
}

.button-secondary:hover { background: #fff; }

.button-small {
  min-height: 42px;
  padding-inline: 15px;
  border-radius: 12px;
  font-size: 0.86rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #35506e;
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 17px;
  height: 17px;
  color: var(--success);
}

.hero-stamp {
  position: absolute;
  right: 0;
  bottom: 34px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  color: #fff;
  background: rgba(16, 33, 61, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.stamp-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--lime);
}

.stamp-icon svg { width: 24px; }

.hero-stamp strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.hero-stamp small {
  display: block;
  color: #c7d5e6;
  line-height: 1.35;
}

.stamp-score {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1.5rem;
  font-weight: 950;
}

.section { padding-block: 96px; }

.section-tight { padding-block: 68px; }

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.5vw, 4.3rem);
  font-weight: 950;
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--muted);
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 94px;
  padding: 20px;
}

.trust-item + .trust-item { border-left: 1px solid var(--line); }

.trust-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--blue);
  background: var(--soft-blue);
}

.trust-icon svg { width: 22px; }

.trust-item strong {
  display: block;
  font-size: 0.9rem;
}

.trust-item small { color: var(--muted); }

.week-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid #cbdcf0;
  border-radius: var(--radius-xl);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.week-art { position: relative; min-height: 430px; }

.week-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.week-art::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--ink) 100%);
}

.week-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.week-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  color: #fff;
}

.week-copy .section-kicker { color: #75ddff; }

.week-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 950;
}

.week-copy > p { color: #c6d5e8; }

.score-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-block: 12px 26px;
}

.score-orb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 6px solid #27415f;
  border-top-color: var(--cyan);
  border-right-color: var(--cyan);
  border-radius: 50%;
  color: #fff;
  background: #142d4c;
  font-size: 1.4rem;
  font-weight: 950;
}

.score-row strong { display: block; }

.score-row small { color: #9eb1ca; }

.week-copy .button { align-self: flex-start; }

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.search-box {
  position: relative;
  flex: 1 1 330px;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 20px;
  color: #7890aa;
  transform: translateY(-50%);
}

.search-box input,
.sort-select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #ccdaea;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
}

.search-box input { padding: 0 18px 0 48px; }

.sort-select {
  width: auto;
  min-width: 220px;
  padding: 0 42px 0 16px;
  cursor: pointer;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

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

.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d1deed;
  border-radius: 999px;
  color: #53657b;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.chip:hover,
.chip.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.result-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

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

.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(22, 64, 124, 0.16);
}

.game-card[hidden] { display: none; }

.game-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dbe5f0;
}

.game-image::after {
  position: absolute;
  content: "";
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(8, 22, 42, 0.3));
  pointer-events: none;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image img { transform: scale(1.04); }

.free-badge {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 7px 15px rgba(14, 35, 66, 0.15);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 28, 51, 0.58);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.favorite svg { width: 19px; fill: transparent; }

.favorite.is-favorite { color: #fff; background: var(--coral); }

.favorite.is-favorite svg { fill: currentColor; }

.card-body { padding: 20px; }

.card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.card-top h3 {
  margin-bottom: 0;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  color: #895a00;
  font-size: 0.82rem;
  font-weight: 900;
}

.rating svg {
  width: 15px;
  fill: #ffc234;
  color: #ffc234;
}

.card-body > p {
  min-height: 68px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.tag {
  padding: 5px 8px;
  border-radius: 7px;
  color: #50627a;
  background: #eff4f9;
  font-size: 0.68rem;
  font-weight: 800;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid #edf1f6;
}

.platforms {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c7d91;
  font-size: 0.73rem;
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
}

.card-link svg { width: 15px; }

.no-results {
  padding: 48px;
  border: 1px dashed #b9cce0;
  border-radius: 20px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.selection-section {
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.selection-section .section-kicker { color: #6fddff; }

.selection-section .section-heading > p { color: #aebdd0; }

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

.score-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
}

.metric + .metric { margin-top: 23px; }

.metric-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #d5e0ed;
  font-size: 0.85rem;
  font-weight: 800;
}

.metric-head strong { color: #fff; }

.metric-track {
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
}

.metric-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.steps { display: grid; gap: 14px; }

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.step-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 950;
}

.step h3 {
  margin: 3px 0 7px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.step p { margin: 0; color: #aebdd0; font-size: 0.88rem; }

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

.test-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.test-stars {
  margin-bottom: 17px;
  color: #f5ad00;
  letter-spacing: 0.13em;
}

.test-card blockquote {
  margin: 0 0 24px;
  color: #334a65;
  font-size: 0.96rem;
}

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

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  font-size: 0.78rem;
  font-weight: 950;
}

.tester strong { display: block; font-size: 0.85rem; }

.tester small { color: var(--muted); }

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid #d7e2ee;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 850;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft-blue);
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
  max-width: 760px;
  padding: 0 0 24px;
  color: var(--muted);
}

.faq-answer p:last-child { margin-bottom: 0; }

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 48px;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(120deg, var(--blue-dark), var(--blue) 64%, var(--cyan));
  box-shadow: var(--shadow);
}

.cta-panel::after {
  position: absolute;
  content: "";
  width: 220px;
  height: 220px;
  right: -55px;
  top: -100px;
  border: 45px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 950;
}

.cta-panel p { margin-bottom: 0; color: #d9e8ff; }

.cta-panel .button {
  position: relative;
  z-index: 2;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 12px 28px rgba(10, 41, 80, 0.24);
}

.site-footer {
  padding: 64px 0 28px;
  color: #bdcada;
  background: #0b1b33;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: 42px;
}

.site-footer .brand { color: #fff; margin-bottom: 18px; }

.footer-about p {
  max-width: 370px;
  color: #91a4bb;
  font-size: 0.85rem;
}

.footer-title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #91a4bb;
  text-decoration: none;
  font-size: 0.84rem;
}

.footer-links a:hover { color: #fff; }

.footer-alert {
  padding: 18px;
  border: 1px solid rgba(182, 242, 58, 0.25);
  border-radius: 15px;
  color: #d6e3f1;
  background: rgba(182, 242, 58, 0.055);
  font-size: 0.78rem;
}

.footer-alert strong { display: block; margin-bottom: 5px; color: var(--lime); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #71869f;
  font-size: 0.76rem;
}

.footer-bottom p { margin: 0; }

.legal-hero {
  padding: 82px 0 60px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(51, 200, 239, 0.18), transparent 23rem),
    linear-gradient(180deg, #eef8ff, var(--paper));
}

.legal-hero h1 {
  margin: 12px auto 18px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 950;
}

.legal-hero p {
  max-width: 670px;
  margin-inline: auto;
  color: var(--muted);
}

.updated {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid #cfdfef;
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: center;
  gap: 54px;
  padding-block: 70px 100px;
}

.legal-nav {
  position: sticky;
  top: 116px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-nav ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-nav a { text-decoration: none; }

.legal-nav a:hover { color: var(--blue); }

.legal-content {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-content section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid #e6edf5;
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li { color: #4f6177; font-size: 0.94rem; }

.legal-content li + li { margin-top: 8px; }

.legal-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  color: #39506c;
  background: var(--soft-blue);
}

.legal-callout strong { color: var(--ink); }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.83rem;
}

.cookie-table th,
.cookie-table td {
  padding: 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cookie-table th { color: var(--ink); background: #f2f7fc; }

.cookie-table td { color: var(--muted); }

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin-inline: auto;
  padding: 20px 22px;
  border: 1px solid #2b4464;
  border-radius: 20px;
  color: #fff;
  background: rgba(11, 27, 51, 0.97);
  box-shadow: 0 24px 70px rgba(8, 22, 42, 0.38);
  backdrop-filter: blur(16px);
}

.cookie-banner.is-visible { display: flex; }

.cookie-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.cookie-copy svg {
  width: 34px;
  color: var(--lime);
}

.cookie-copy strong { display: block; margin-bottom: 4px; }

.cookie-copy p { margin: 0; color: #aebdd0; font-size: 0.8rem; }

.cookie-copy a { color: #fff; }

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #48617f;
  border-radius: 11px;
  color: #fff;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions .accept { color: var(--ink); border-color: var(--lime); background: var(--lime); }

.modal-backdrop {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 22, 42, 0.62);
  backdrop-filter: blur(7px);
}

.modal-backdrop.is-visible { display: grid; }

.cookie-modal {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(8, 22, 42, 0.35);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.modal-head h2 { margin: 0; font-size: 1.7rem; }

.icon-button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.preference strong { display: block; margin-bottom: 3px; }

.preference small { color: var(--muted); }

.switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #b8c5d3;
  cursor: pointer;
  transition: 0.2s ease;
}

.switch-slider::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s ease;
}

.switch input:checked + .switch-slider { background: var(--blue); }

.switch input:checked + .switch-slider::before { transform: translateX(20px); }

.switch input:disabled + .switch-slider { opacity: 0.6; cursor: not-allowed; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.back-to-top {
  position: fixed;
  z-index: 45;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(23, 107, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
  cursor: pointer;
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.back-to-top svg { width: 20px; }

@media (max-width: 1020px) {
  .main-nav { gap: 17px; }
  .hero-stamp { right: 20px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-alert { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .money-notice span:nth-child(n+3) { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed;
    top: 110px;
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .main-nav a::after { display: none; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero,
  .hero-grid { min-height: 620px; }
  .hero-media img { object-position: 64% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(246, 251, 255, 0.98), rgba(246, 251, 255, 0.88) 55%, rgba(246, 251, 255, 0.22)); }
  .hero-grid { grid-template-columns: 1fr; align-items: start; padding-top: 70px; }
  .hero h1 { font-size: clamp(3rem, 11vw, 5.6rem); }
  .hero-copy { max-width: 590px; }
  .hero-stamp { left: 20px; right: 20px; bottom: 24px; max-width: 500px; }
  .section { padding-block: 74px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .week-card { grid-template-columns: 1fr; }
  .week-art { min-height: 330px; }
  .week-art::after { background: linear-gradient(180deg, transparent 60%, var(--ink)); }
  .week-copy { margin-top: -30px; padding: 35px; z-index: 2; }
  .selection-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 38px; }
  .cta-panel .button { justify-self: start; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; }
  .legal-nav ol { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner { align-items: stretch; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .money-notice .container { justify-content: flex-start; overflow: hidden; }
  .money-notice span:nth-child(n+2) { display: none; }
  .nav-wrap { min-height: 68px; }
  .brand { font-size: 1.2rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .main-nav { top: 103px; left: 14px; right: 14px; }
  .hero,
  .hero-grid { min-height: 690px; }
  .hero-grid { padding-top: 56px; }
  .hero-media img { object-position: 72% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(246, 251, 255, 0.99) 0%, rgba(246, 251, 255, 0.88) 50%, rgba(246, 251, 255, 0.18) 76%); }
  .hero h1 { font-size: 2.8rem; }
  .hero-copy { min-width: 0; }
  .hero h1 { overflow-wrap: anywhere; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { width: 100%; }
  .hero-points li:nth-child(3) { display: none; }
  .hero-stamp { grid-template-columns: auto 1fr; }
  .stamp-score { display: none; }
  .trust-strip { margin-top: 0; padding-top: 14px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 60px; }
  .section-heading h2 { font-size: 2.45rem; }
  .week-art { min-height: 240px; }
  .week-copy { padding: 27px 23px 30px; }
  .week-copy h2 { font-size: 2.5rem; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .search-box { flex-basis: auto; }
  .sort-select { width: 100%; }
  .filter-row { align-items: start; flex-direction: column; }
  .game-grid { grid-template-columns: 1fr; }
  .card-body > p { min-height: 0; }
  .score-panel { padding: 24px; }
  .step { grid-template-columns: 45px 1fr; padding: 17px; }
  .step-number { width: 45px; height: 45px; }
  .cta-panel { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about,
  .footer-alert { grid-column: 1 / -1; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .legal-hero { padding-top: 58px; }
  .legal-layout { padding-block: 40px 70px; }
  .legal-nav ol { grid-template-columns: 1fr; }
  .legal-content { padding: 25px 20px; }
  .cookie-table { display: block; overflow-x: auto; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 17px; }
  .cookie-copy { grid-template-columns: 1fr; }
  .cookie-copy svg { display: none; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions button { min-width: 0; white-space: normal; }
  .cookie-actions .accept { grid-column: 1 / -1; grid-row: 1; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
