:root {
  --brand: #e32636;
  --brand-dark: #b61624;
  --accent: #f6b60b;
  --accent-soft: #fff7d6;
  --ink: #172033;
  --muted: #667085;
  --line: #e6e9ef;
  --surface: #ffffff;
  --canvas: #f6f7fb;
  --success: #087e5b;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(23, 32, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(23, 32, 51, 0.16);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(227, 38, 54, 0.32);
  outline-offset: 3px;
}

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

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

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

.topbar {
  background: #101729;
  color: #e9edf5;
  font-size: 0.78rem;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(230, 233, 239, 0.85);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-main {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand-logo {
  width: 176px;
  height: auto;
}

.search-box {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f9fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: rgba(227, 38, 54, 0.55);
  box-shadow: 0 0 0 4px rgba(227, 38, 54, 0.08);
}

.search-box svg {
  flex: 0 0 auto;
  margin-left: 16px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 16px 0 10px;
}

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

.icon-button,
.menu-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover,
.menu-button:hover {
  border-color: #cdd2dc;
  background: #f8f9fc;
}

.favorite-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.menu-button {
  display: none;
}

.primary-nav {
  border-top: 1px solid #f0f1f4;
}

.nav-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #3f4758;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
}

.nav-status {
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 800;
}

.nav-status::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: #16b981;
  box-shadow: 0 0 0 4px rgba(22, 185, 129, 0.12);
}

.hero {
  padding: 30px 0 16px;
}

.hero-card {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 14% 10%, rgba(246, 182, 11, 0.18), transparent 30%),
    linear-gradient(135deg, #141d34 0%, #202b45 100%);
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  align-self: center;
  padding: clamp(36px, 6vw, 76px);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff2b9;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

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

.hero-copy > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d8deea;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(227, 38, 54, 0.25);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-accent {
  background: var(--accent);
  color: #281d00;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  color: #cdd4e2;
  font-size: 0.82rem;
}

.hero-proof span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
  font-weight: 900;
}

.hero-media {
  position: relative;
  min-height: 100%;
  background: #090d18;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 29, 52, 0.48), transparent 40%);
  pointer-events: none;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

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

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

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

.trust-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #8b6200;
  font-weight: 900;
}

.trust-item strong,
.trust-item span {
  display: block;
}

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

.trust-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  padding: 78px 0;
}

.section-compact {
  padding: 54px 0;
}

.section-white {
  background: #fff;
}

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

.section-heading h2,
.page-hero h1,
.legal-content h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 590px;
  margin: 8px 0 0;
  color: var(--muted);
}

.text-link {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 172px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 38, 54, 0.24);
  box-shadow: var(--shadow-sm);
}

.category-card::after {
  content: attr(data-symbol);
  position: absolute;
  right: 12px;
  bottom: -24px;
  color: rgba(227, 38, 54, 0.07);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
}

.category-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #785400;
  font-weight: 900;
}

.category-card h3 {
  margin: 18px 0 4px;
  font-size: 1rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

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

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #50586a;
  padding: 8px 15px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.catalog-result {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 30px rgba(23, 32, 51, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

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

.game-art {
  min-height: 168px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.game-art::before,
.game-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.game-art::before {
  width: 150px;
  height: 150px;
  left: -45px;
  top: -60px;
}

.game-art::after {
  width: 105px;
  height: 105px;
  right: -26px;
  bottom: -40px;
}

.art-purple { background: linear-gradient(135deg, #6b39c8, #2d1b69); }
.art-red { background: linear-gradient(135deg, #e13a4a, #79101d); }
.art-blue { background: linear-gradient(135deg, #2374d1, #12385f); }
.art-green { background: linear-gradient(135deg, #0a9c78, #075040); }
.art-orange { background: linear-gradient(135deg, #f28c28, #8f3e08); }
.art-slate { background: linear-gradient(135deg, #4a5772, #20283a); }
.art-pink { background: linear-gradient(135deg, #e24f8c, #76224f); }
.art-gold { background: linear-gradient(135deg, #c68a0a, #644500); }

.game-monogram {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  backdrop-filter: blur(8px);
}

.card-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  background: rgba(16, 23, 41, 0.84);
  color: #fff;
  padding: 5px 9px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(16, 23, 41, 0.58);
  color: #fff;
  cursor: pointer;
}

.favorite-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #342600;
}

.game-body {
  padding: 18px;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.game-body h3 {
  margin: 5px 0 2px;
  font-size: 1rem;
}

.game-body p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.game-cta {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border-radius: 10px;
  background: #f1f3f7;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.game-cta:hover {
  background: var(--brand);
  color: #fff;
}

.empty-state {
  display: none;
  border: 1px dashed #cbd1dc;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 38px;
  text-align: center;
  color: var(--muted);
}

.empty-state.is-visible {
  display: block;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 50px);
}

.promo-main {
  min-height: 350px;
  background:
    radial-gradient(circle at 85% 30%, rgba(246, 182, 11, 0.24), transparent 28%),
    #151d31;
  color: #fff;
}

.promo-secondary {
  min-height: 350px;
  background: linear-gradient(135deg, #ffe7e7, #fff8db);
}

.promo-kicker {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promo-main .promo-kicker {
  color: #ffd86e;
}

.promo-card h2 {
  max-width: 530px;
  margin: 12px 0;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.promo-card p {
  max-width: 540px;
  margin: 0;
  color: inherit;
  opacity: 0.78;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.payment-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

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

.step-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 28px;
  counter-increment: step;
}

.step-card::before {
  content: "0" counter(step);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.step-card h3 {
  margin: 12px 0 7px;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f2f6;
  color: var(--brand);
  font-size: 1.15rem;
}

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

.faq-item p {
  margin: -4px 0 20px;
  color: var(--muted);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand), #a90e1a);
  color: #fff;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 24px 55px rgba(183, 22, 35, 0.2);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.14;
}

.cta-panel p {
  margin: 8px 0 0;
  color: #ffdfe2;
}

.site-footer {
  margin-top: 76px;
  background: #101729;
  color: #aeb7c8;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
  gap: 50px;
  padding: 58px 0 38px;
}

.footer-brand img {
  width: 174px;
  filter: saturate(0.9) brightness(1.08);
}

.footer-brand p {
  max-width: 400px;
  margin: 18px 0 0;
  font-size: 0.86rem;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.92rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
}

.footer-links li + li {
  margin-top: 9px;
}

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

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #283147;
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.age-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.age-badge {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #4c566d;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.page-hero {
  padding: 70px 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(246, 182, 11, 0.18), transparent 24%),
    #151d31;
  color: #fff;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  max-width: 700px;
  margin: 15px 0 0;
  color: #cbd2df;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: #aeb8ca;
  font-size: 0.78rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
}

.legal-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 144px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 16px;
}

.side-nav strong {
  display: block;
  padding: 8px 10px 12px;
  font-size: 0.82rem;
}

.side-nav a {
  display: block;
  border-radius: 9px;
  color: var(--muted);
  padding: 9px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.side-nav a:hover,
.side-nav a[aria-current="page"] {
  background: #fff1f2;
  color: var(--brand);
}

.legal-content,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: clamp(24px, 4vw, 44px);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 1.28rem;
}

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

.legal-content p,
.legal-content li {
  color: #4f586a;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.updated-note {
  display: inline-block;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #f0f2f6;
  color: var(--muted);
  padding: 6px 11px;
  font-size: 0.76rem;
  font-weight: 700;
}

.notice {
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
  padding: 16px 18px;
  color: #5c480f;
}

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

.contact-options {
  display: grid;
  gap: 14px;
}

.contact-option {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 22px;
}

.contact-option strong,
.contact-option span {
  display: block;
}

.contact-option span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

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

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

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #d9dde6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(227, 38, 54, 0.08);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-help {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.form-status {
  display: none;
  margin-top: 15px;
  border-radius: 10px;
  background: #eaf8f2;
  color: #076148;
  padding: 12px 14px;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(246, 182, 11, 0.18), transparent 26%),
    #11182a;
  color: #fff;
}

.error-card {
  max-width: 680px;
  text-align: center;
}

.error-logo {
  display: block;
  width: fit-content;
  margin: 0 auto 48px;
}

.error-actions {
  justify-content: center;
}

.error-code {
  margin: 0;
  color: var(--accent);
  font-size: clamp(6rem, 24vw, 13rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.error-card h1 {
  margin: 28px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.error-card p {
  margin: 0 auto;
  color: #cbd2df;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  max-width: min(380px, calc(100vw - 36px));
  transform: translateY(140%);
  border-radius: 12px;
  background: #11182a;
  color: #fff;
  padding: 13px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.24s ease;
}

.toast.is-visible {
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translateY(90px);
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(227, 38, 54, 0.28);
  cursor: pointer;
  transition: transform 0.22s ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

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

  .hero-copy {
    padding: 44px;
  }

  .category-grid,
  .game-grid {
    grid-template-columns: repeat(2, 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-main {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 780px) {
  .topbar-list li:not(:first-child),
  .topbar .topbar-link,
  .search-box,
  .nav-status,
  .header-actions .button {
    display: none;
  }

  .header-main {
    min-height: 66px;
    grid-template-columns: 1fr auto;
  }

  .brand-logo {
    width: 152px;
  }

  .header-actions {
    display: flex;
  }

  .menu-button {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 100px 0 auto;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    border-top: 0;
    background: #fff;
    box-shadow: 0 16px 30px rgba(23, 32, 51, 0.12);
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-inner,
  .nav-links {
    display: block;
  }

  .nav-links {
    padding: 10px 0 18px;
  }

  .nav-links a {
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid #f0f1f4;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 34px 24px 38px;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(20, 29, 52, 0.25), transparent 46%);
  }

  .trust-strip {
    margin-top: 16px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading,
  .catalog-tools,
  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-grid,
  .steps,
  .legal-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 26px;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 20px 0;
  }
}

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

  .topbar-inner {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-actions .button,
  .cta-panel .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 8px;
  }

  .trust-grid,
  .category-grid,
  .game-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item,
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading {
    align-items: flex-start;
  }

  .game-art {
    min-height: 190px;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }
}

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