:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #fbfbfc;
  --text: #141414;
  --muted: #616161;
  --line: #e6e7eb;
  --red: #c91818;
  --red-hover: #a90f0f;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --header-height: 96px;
  --footer-height: 64px;
  --content-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

html.modal-open,
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.modal-open {
  width: 100%;
}

html,
body,
button,
a,
canvas,
.btn,
.fwGameTile,
.fwModalOkBtn {
  touch-action: manipulation;
}

a {
  color: inherit;
}

@supports (-webkit-touch-callout: none) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select {
    font-size: 16px !important;
  }
}

.page-shell {
  min-height: 100vh;
}

.site-header,
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.site-header {
  top: 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  bottom: 0;
  border-top: 1px solid var(--line);
}

.brand-wrap,
.footer-inner {
  width: min(calc(100% - 24px), var(--content-width));
  margin: 0 auto;
}

.brand-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 72px;
  border-radius: 18px;
  display: block;
}

.brand-text {
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.brand-title,
.brand-subtitle {
  line-height: 1;
  display: flex;
  align-items: center;
}

.brand-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #000000;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: #1e1e1e;
  margin-top: -1px;
}

.site-main {
  width: min(calc(100% - 24px), var(--content-width));
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: calc(var(--footer-height) + 32px);
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.hero-card {
  margin-top: 8px;
}

.card-title {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
  font-weight: 800;
}

.card-title-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag-icon {
  font-size: 1.3em;
  line-height: 1;
}

.card-text {
  margin: 0 0 14px 0;
  font-size: 1.04rem;
  line-height: 1.6;
  color: #1f1f1f;
}

.card-text:last-of-type {
  margin-bottom: 18px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, opacity 0.16s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--red-hover);
}

.btn-full {
  width: 100%;
}

.btn-linklike {
  width: fit-content;
}

.footer-inner {
  min-height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.footer-copy {
  font-size: 0.95rem;
  color: #1d1d1d;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a {
  color: #1d1d1d;
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .site-footer {
    overflow: hidden !important;
  }

  .site-footer .footer-inner {
    min-height: 44px !important;
    width: min(calc(100% - 24px), var(--content-width)) !important;
    margin: 0 auto !important;
    padding: 6px 0 !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: normal !important;
    gap: 8px !important;
  }

  .site-footer .footer-copy {
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    font-size: 0.78rem !important;
    line-height: 1.1 !important;
    flex: initial !important;
  }

  .site-footer .footer-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .site-footer .footer-nav a {
    font-size: 0.78rem !important;
    line-height: 1.1 !important;
    flex: 0 0 auto !important;
  }
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.overlay.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-modal {
  width: min(100%, 620px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  padding: 28px;
}

.gate-title {
  margin: 0 0 14px 0;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #000000;
}

.gate-text {
  margin: 0 0 14px 0;
  line-height: 1.65;
  color: #1f1f1f;
}

.gate-small {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.newsletter-form {
  margin-top: 18px;
}

.newsletter-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d8d9de;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 1rem;
  outline: none;
  background: #ffffff;
  margin-bottom: 12px;
}

.newsletter-input:focus {
  border-color: #999;
}

.gate-status {
  min-height: 1.5em;
  margin: 8px 0 0 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.gate-status.is-success {
  color: #0f7a24;
}

.gate-status.is-error {
  color: #b31212;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 640px) {
  :root {
    --header-height: 92px;
    --footer-height: 56px;
  }

  .brand-wrap {
    gap: 12px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    border-radius: 15px;
  }

.brand-text {
  height: 60px;
  gap: 2px;
}

  .brand-title {
    font-size: 1.42rem;
  }

.brand-subtitle {
    font-size: 0.92rem;
    margin-top: -1px;
  }

  .content-card {
    padding: 20px;
  }

.footer-inner {
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
  }

  .footer-copy {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .footer-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
  }

  .footer-nav a {
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .gate-modal {
    padding: 22px;
  }
}


.brand-home-link {
  display: inline-flex;
  text-decoration: none;
}

.legal-main {
  display: block;
}

.legal-card {
  margin-top: 8px;
}

.back-link-row {
  margin: 0 0 10px 0;
}

.page-title {
  margin: 0 0 16px 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #000;
}

.section-title {
  margin: 22px 0 10px 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}

.inline-link {
  color: var(--red);
  font-weight: 700;
}

.inline-link:hover {
  color: var(--red-hover);
}

.fwModalList {
  font-size: 14px;
  line-height: 1.5;
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  color: #111111;
  border: 1px solid rgba(243, 236, 236, 0.18);
  overflow: hidden;
}

.fwModalCard.fwGamesCardLight {
  background: #f3f4f6;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.fwGamesSub {
  opacity: 0.72;
  font-size: 13px;
  line-height: 1.35;
}

.fwGamesWrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.fwGameTile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  text-align: left;
  font: inherit;
}

.fwGameTile:active {
  transform: scale(0.99);
}

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

.fwGameIcon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 40, 40, 0.10);
  border: 1px solid rgba(214, 40, 40, 0.22);
  font-size: 22px;
  flex: 0 0 auto;
}

.fwGameTexts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fwGameTitle {
  font-weight: 900;
  font-size: 16px;
  line-height: 1.15;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fwGameHint {
  opacity: 0.75;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.2;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fwGameArrow {
  opacity: 0.35;
  font-weight: 900;
  font-size: 18px;
  color: #111111;
  flex: 0 0 auto;
}
