/* ============================================================
   SALIFAR LANDING — CSS
   Colors from Figma design spec
   ============================================================ */

:root {
  --ff-onest: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-display: var(--ff-onest);
  --ff-body: var(--ff-onest);

  /* === COLORS FROM DESIGN === */
  /* Text */
  --text-primary-gold: #ffebb2;
  --text-white: #ffffff;
  --text-light-gray: #e9e9e9;
  --text-medium-gray: #c7c7c7;
  --text-dark-blue: #0c172c;
  --text-dark-blue-btn: #0b172a;
  --text-muted-blue: #727fae;
  --text-muted-dark: #4c567c;
  --text-light-gold: #e8d6a3;

  /* Backgrounds */
  --bg-primary: #0c172b;
  --bg-input: #2c3355;
  --bg-button-disabled: #3c4460;
  --bg-button-inactive: #828282;
  --bg-overlay-dark-60: rgba(12, 19, 33, 0.6);
  --bg-overlay-dark-50: rgba(12, 23, 43, 0.5);
  --bg-overlay-dark-40: rgba(12, 19, 33, 0.4);
  --bg-shadow-top: linear-gradient(to bottom, #030e22, rgba(3, 14, 34, 0));
  --bg-shadow-left: linear-gradient(to right, #0c172b, rgba(12, 23, 43, 0));

  /* Borders */
  --border-gold: #ffebb2;
  --border-white-50: rgba(255, 255, 255, 0.5);

  /* Gradients */
  --gradient-first-place: linear-gradient(97.07deg, rgba(255, 235, 178, 0.4) 5.71%, rgba(255, 255, 255, 0.07) 100%);
  --gradient-second-place: linear-gradient(84.48deg, rgba(204, 204, 204, 0.76) 11.14%, rgba(255, 255, 255, 0.07) 113.29%);
  --gradient-third-place: linear-gradient(84.48deg, rgba(210, 121, 44, 0.5) 11.14%, rgba(255, 255, 255, 0.07) 113.29%);
  --gradient-bonus-card: linear-gradient(83.62deg, rgba(255, 255, 255, 0.2) 11.14%, rgba(255, 255, 255, 0.035) 113.29%);
  --gradient-prize-card: linear-gradient(79.52deg, rgba(255, 255, 255, 0.2) 11.14%, rgba(255, 255, 255, 0.035) 113.29%);
  --gradient-button-gold: linear-gradient(130.59deg, rgb(235, 182, 102) 0.24%, rgb(255, 235, 178) 49.47%, rgb(235, 182, 102) 99.18%);
  --gradient-button-primary: linear-gradient(145.6deg, rgb(211, 172, 99) 0.71%, rgb(245, 216, 143) 52.4%, rgb(207, 169, 99) 100%);

  /* Accents */
  --accent-light-gold: #f8de94;
  --accent-brown: #b16a32;
  --accent-beige: #f4e0aa;

  /* Effects */
  --blur-light: blur(6.655px);
  --blur-medium: blur(8.8px);
  --shadow-card: 0px 1.197px 29.915px 0px rgba(69, 42, 124, 0.1);
  --shadow-button: 3.822px -2.389px 43.238px 0px rgba(0, 0, 0, 0.34);

  /* Layout */
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-block: 28px;
  --page-side-padding: 80px;
  --hero-form-width: 574px;
}

/* ===== FONTS ===== */
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src: url("../fonts/Benzin/benzin-regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src: url("../fonts/Benzin/benzin-medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src: url("../fonts/Benzin/benzin-bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Benzin-Bold";
  src: url("../fonts/Benzin/benzin-bold.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src: url("../fonts/Benzin/benzin-extrabold.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica/coolvetica rg.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica/coolvetica rg.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ===== RESET ===== */
* { box-sizing: border-box; }

html {
  background: var(--bg-primary);
  color: var(--text-light-gray);
  font-family: var(--ff-body);
  line-height: 1.35;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-light-gray);
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 18, 38, 0.28) 0%, rgba(8, 18, 38, 0.18) 100%),
    url("/img/page-bg-soft.png") center top / cover no-repeat;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.16em; }
p, h1, h2, h3, ul { margin: 0; }
button, input, select { font: inherit; }

::selection { background: rgba(255, 235, 178, 0.30); }

.visually-hidden {
  border: 0; clip: rect(0,0,0,0); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px;
}

.skip-link {
  position: absolute; left: 10px; top: 0; padding: 10px 12px; border-radius: 10px;
  background: var(--bg-primary); border: 1px solid var(--border-white-50); color: var(--text-white);
  transform: translateY(-220%); transition: transform 180ms ease; z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

/* ===== LAYOUT ===== */
.page {
  position: relative;
  isolation: isolate;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-block,
.tournament-block,
.bonuses-block {
  width: min(calc(100% - 120px), 1800px);
  margin: 0 auto;
}

.marquee {
  width: 100%;
  margin: 0 auto;
}

/* ===== GRADIENT TEXT ===== */
.grad-text {
  background: linear-gradient(180deg, #ffebb2 30%, #e8d6a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== COMMON ===== */
.hero__title, .section-title, .hero-badge__big, .hero-badge__small,
.bonus-card__title, .tournament__title, .modal__title,
.countdown__value {
  font-family: var(--ff-display);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 18px;
  font-family: var(--ff-body); font-weight: 400; letter-spacing: 0;
  text-decoration: none; cursor: pointer; user-select: none;
  transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(255,235,178,0.35); outline-offset: 3px; }

.btn--primary {
  font-family: var(--ff-body); font-weight: 700;
  background: var(--gradient-button-gold);
  color: var(--text-dark-blue-btn);
  box-shadow: var(--shadow-button);
}
.btn--primary:hover { filter: brightness(1.06); }

.cta-btn {
  justify-content: center; min-height: 52px; padding: 14px 18px;
  border-radius: 14px; font-size: 20px; font-weight: 700; line-height: 1.16;
}

.link { color: var(--text-primary-gold); }
.link:hover { color: #fff; }

.section-title {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: clamp(28px, 4vw, 48px); text-align: center; margin-bottom: 18px;
}

/* ============================================================
   BLOCK 1: HERO
   ============================================================ */
.hero-block {
  position: relative;
  min-height: 708px;
  overflow: hidden;
  background: #08142a;
  isolation: isolate;
  border-radius: 0 0 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 0;
  box-shadow: 0 16px 40px rgba(5, 13, 29, 0.16);
}
.lang-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(8, 20, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}
.lang-switcher__btn {
  min-width: 46px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.lang-switcher__btn.is-active {
  background: linear-gradient(145.6deg, rgba(211, 172, 99, 0.98) 0.71%, rgba(245, 216, 143, 0.98) 52.4%, rgba(207, 169, 99, 0.98) 100%);
  color: var(--text-dark-blue-btn);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.lang-switcher__btn:hover:not(.is-active) { color: #fff; }
.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 43% 4%, rgba(255, 191, 105, 0.48) 0%, rgba(255, 191, 105, 0.2) 20%, rgba(255, 191, 105, 0.05) 36%, rgba(255, 191, 105, 0) 54%),
    linear-gradient(180deg, rgba(3, 14, 34, 0.96) 0%, rgba(3, 14, 34, 0) 16%);
}
.hero-block::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 235, 178, 0.3), rgba(255, 255, 255, 0.12));
  z-index: 4;
}

.hero-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-block__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: brightness(1.14) saturate(1.05);
}

.hero-block__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(12, 23, 43, 0.94) 0%, rgba(12, 23, 43, 0.86) 22%, rgba(12, 23, 43, 0.4) 46%, rgba(12, 23, 43, 0.08) 66%, rgba(12, 23, 43, 0) 80%);
}

.hero-block__content {
  position: relative;
  z-index: 3;
  max-width: 660px;
  padding: 40px 0 0 64px;
}

.hero__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
.hero__logo { width: 162px; height: auto; }

.hero__title {
  margin: 0 auto 18px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}
.hero__title-line1,
.hero__title-line2 {
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-primary-gold);
  text-wrap: nowrap;
}

.hero-form-group {
  width: 100%;
  max-width: 620px;
  margin: 0;
  position: relative;
  z-index: 4;
}

.reg-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 20px;
  background: rgba(12, 23, 43, 0.96);
  box-shadow: 0 22px 54px rgba(5, 13, 29, 0.34);
  padding: 22px 24px 18px;
  display: grid;
  gap: 12px;
}
.reg-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 235, 178, 0.25), rgba(255, 255, 255, 0.08));
}

.reg-card__row {
  display: grid;
  gap: 12px;
  align-items: center;
}
.reg-card__row > * { min-width: 0; }
.reg-card__row--phone-code { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reg-card__row--currency-date,
.reg-card__row--bonus,
.reg-card__row--email-password { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reg-card__row--currency-date { position: relative; z-index: 120; }
.reg-card__row--bonus { position: relative; z-index: 160; }

.reg-card__hint {
  margin: -6px 2px 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary-gold);
}
.reg-card__hint--error {
  margin-top: -8px;
  color: #ff8d72;
}
.reg-card__hint--form { margin-top: 0; }

.reg-field {
  position: relative;
  height: 46px;
  border-radius: 12px;
  padding: 0 14px;
  background: #2c3355;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light-gray);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.reg-field:focus-within {
  border-color: rgba(255, 235, 178, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 235, 178, 0.1);
}

.reg-field--with-action { padding: 0; gap: 0; overflow: hidden; }
.reg-field--with-action .reg-field__input {
  height: 100%;
  padding: 0 14px;
}

.reg-field__input {
  width: 100%;
  background: none;
  border: 0;
  outline: none;
  color: var(--text-white);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
}
.reg-field__input::placeholder { color: #727fae; }

.reg-field__action {
  width: 116px;
  min-width: 116px;
  height: 100%;
  border: 0;
  padding: 0 12px;
  background: #d6d6d6;
  color: var(--text-dark-blue);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: filter 140ms ease, background 140ms ease, color 140ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  align-self: stretch;
  margin-left: auto;
  border-radius: 0 12px 12px 0;
}
.reg-field__action:hover { filter: brightness(1.02); }
.reg-field__action:disabled {
  cursor: not-allowed;
  background: #828282;
  color: #0c172c;
  opacity: 1;
}
.reg-field__action.is-confirmed {
  background: #3ab16b;
  color: #ffffff;
  gap: 6px;
}
.reg-field__action.is-confirmed::before {
  content: "\2713";
  font-size: 14px;
  font-weight: 800;
}

.reg-card__row--phone-code .reg-field__action {
  width: 84px;
  min-width: 84px;
  flex: 0 0 84px;
  font-size: 12px;
}

.reg-field.is-invalid {
  border-color: #ff4f2c;
  box-shadow: 0 0 0 2px rgba(255,79,44,0.25);
}

.reg-field--country-phone { gap: 0; }
.reg-field__country-toggle {
  height: 100%;
  min-width: 36px;
  flex: 0 0 36px;
  border: 0;
  margin: 0;
  padding: 0 4px 0 8px;
  background: transparent;
  color: var(--text-light-gray);
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 12px 0 0 12px;
  font-size: 14px;
  font-weight: 500;
}
.reg-field__country-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.reg-field__country-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.reg-field__country-name { display: none; }
.reg-field__country-arrow { display: none; }
.reg-field__phone-prefix {
  padding-left: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: #727fae;
}

.reg-field__input--phone {
  min-width: 0;
  padding-left: 8px;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.reg-field--select { padding: 0; position: relative; }
.reg-field--select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #4c567c;
  border-bottom: 2px solid #4c567c;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}
.reg-field__select {
  width: 100%;
  height: 100%;
  padding: 0 36px 0 14px;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.reg-field__select option { background: var(--bg-primary); color: var(--text-white); }

.reg-date { position: relative; }
.reg-date.is-open { z-index: 120; }
.reg-field--date { position: relative; }
.reg-field__calendar {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.reg-field__calendar svg {
  width: 100%;
  height: 100%;
  stroke: #727fae;
  stroke-width: 1.7;
}

.date-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 520;
  min-width: 290px;
  padding: 14px;
  background: #08142a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(3, 10, 24, 0.6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
}
.reg-date--top .date-popover {
  top: auto;
  bottom: calc(100% + 6px);
}
.date-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.date-popover__nav {
  width: 34px;
  height: 34px;
  background: rgba(44, 51, 85, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-popover__nav:hover { background: rgba(64, 74, 115, 0.9); }
.date-popover__nav[data-date-prev]::before { content: "\2039"; font-size: 20px; }
.date-popover__nav[data-date-next]::before { content: "\203A"; font-size: 20px; }
.date-popover__title { display: flex; gap: 6px; }
.date-popover__pick-btn {
  background: none;
  border: 0;
  color: var(--text-white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
}
.date-popover__pick-btn:hover { color: var(--text-primary-gold); }
.date-popover__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  color: rgba(199, 199, 199, 0.58);
  margin-bottom: 6px;
}
.date-popover__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.date-popover__grid button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--text-white);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-popover__grid button:hover { background: rgba(255,235,178,0.12); }
.date-popover__grid button.is-today { border: 1px solid rgba(255, 235, 178, 0.5); }
.date-popover__grid button.is-selected { background: var(--text-primary-gold); color: var(--text-dark-blue); }
.date-popover__grid button.is-other { opacity: 0.3; }
.date-popover__grid button:disabled { opacity: 0.2; cursor: not-allowed; }
.date-popover__menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 0;
}
.date-popover__menu button {
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-white);
  cursor: pointer;
  font-size: 13px;
}
.date-popover__menu button:hover { background: rgba(255,235,178,0.12); }
.date-popover__menu button.is-selected { background: rgba(255, 235, 178, 0.16); color: var(--text-primary-gold); }

.reg-field--password { position: relative; }
.reg-field__toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 140ms ease;
}
.reg-field__toggle:hover { opacity: 0.8; }
.reg-field__toggle svg { width: 22px; height: 22px; }
.reg-field__toggle-outline { stroke: currentColor; stroke-width: 1.5; fill: none; }
.reg-field__toggle path:not(.reg-field__toggle-outline) { fill: currentColor; }

.bonus-picker { position: relative; padding: 0; }
.bonus-picker.is-open { z-index: 620; }
.bonus-picker__toggle {
  width: 100%;
  height: 100%;
  background: none;
  border: 0;
  color: var(--text-light-gray);
  cursor: pointer;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.bonus-picker__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  color: #ffffff;
}
.bonus-picker__value.is-placeholder { color: #727fae; }
.bonus-picker__arrow {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-right: 2px solid #4c567c;
  border-bottom: 2px solid #4c567c;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}
.bonus-picker.is-open .bonus-picker__arrow { transform: rotate(225deg); }

.bonus-picker__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0b152a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 8px;
  z-index: 640;
  box-shadow: 0 18px 54px rgba(3,10,24,0.62);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  overflow: visible;
}
.bonus-picker--top .bonus-picker__dropdown {
  top: auto;
  bottom: calc(100% + 6px);
}
.bonus-picker--align-right .bonus-picker__dropdown {
  left: auto;
  right: 0;
}
.bonus-picker__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--text-light-gray);
  cursor: pointer;
  text-align: left;
}
.bonus-picker__option:hover { background: rgba(255,235,178,0.08); }
.bonus-picker__icon { flex-shrink: 0; width: 38px; height: 38px; }
.bonus-picker__icon img { width: 100%; height: 100%; object-fit: contain; }
.bonus-picker__content { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bonus-picker__title { font-size: 13px; font-weight: 700; color: var(--text-primary-gold); }
.bonus-picker__title--later { color: var(--text-light-gray); }
.bonus-picker__desc { font-size: 11px; line-height: 1.35; color: rgba(199, 199, 199, 0.66); }
.bonus-picker__option--later { justify-content: flex-start; }

.reg-field--promo .reg-field__input {
  color: var(--text-primary-gold);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.reg-card__agree {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.28;
  color: var(--text-light-gray);
  cursor: pointer;
}
.reg-card__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.reg-card__checkmark {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(255, 235, 178, 0.9);
  background: rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.reg-card__checkmark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 4px;
  left: 4px;
  top: 5px;
  border-left: 2px solid #0c172b;
  border-bottom: 2px solid #0c172b;
  transform: rotate(-45deg);
  opacity: 0;
}
.reg-card__checkbox:focus-visible + .reg-card__checkmark {
  box-shadow: 0 0 0 3px rgba(255, 235, 178, 0.16);
}
.reg-card__checkbox:checked + .reg-card__checkmark {
  background: #ffebb2;
  border-color: #ffebb2;
}
.reg-card__checkbox:checked + .reg-card__checkmark::after { opacity: 1; }
.reg-card__agree-text { line-height: 1.4; color: var(--text-light-gray); }
.reg-card__agree-text .link { color: var(--text-primary-gold); }

.reg-card__cta { width: 100%; margin-top: 2px; }

.reg-card__login {
  text-align: center;
  font-size: 13px;
  color: rgba(233, 233, 233, 0.92);
  line-height: 1.4;
}
.reg-card__login .link { font-weight: 700; }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 560px;
  margin: 0 auto 0;
  padding: 0 8px 2px;
}
.hero-badge {
  position: relative;
  min-height: 56px;
  padding: 10px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(86.16deg, rgba(255, 255, 255, 0.2) 11.14%, rgba(255, 255, 255, 0.035) 113.29%);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 0.8px;
  border-radius: inherit;
  background: linear-gradient(155.31deg, rgba(255, 255, 255, 0.5) 12.33%, rgba(255, 255, 255, 0) 34.31%, rgba(255, 255, 255, 0) 52.66%, rgba(255, 255, 255, 0.54) 74.67%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.hero-badge__big {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary-gold);
  white-space: nowrap;
  letter-spacing: 0;
}
.hero-badge__small { display: none; }

/* ============================================================
   BLOCK 2: TOURNAMENT
   ============================================================ */
.tournament-block {
  position: relative;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 9%, rgba(255, 207, 144, 0.3) 0%, rgba(255, 207, 144, 0.12) 30%, rgba(255, 207, 144, 0) 68%),
    rgba(24, 36, 63, 0.84);
  box-shadow: 0 1.2px 29.9px rgba(69, 42, 124, 0.1);
  backdrop-filter: blur(35px);
  overflow: hidden;
}

.tournament-block__inner {
  padding: 28px 42px 32px;
}

.tournament-block__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.tournament-pill {
  width: 100%;
  max-width: 470px;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px 9px 12px;
  background: rgba(12, 19, 33, 0.6);
  border: 1.5px solid #ffebb2;
  border-radius: 12px;
  backdrop-filter: blur(8.8px);
}

.tournament-pill__icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  object-fit: contain;
}

.tournament-pill__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tournament-pill__title,
.tournament-pill__subtitle {
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffebb2;
}

.tournament__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
}

.tournament__lead {
  width: 100%;
  max-width: 500px;
  min-height: 392px;
  display: grid;
  align-content: space-between;
  align-items: center;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}

.tournament__hero-amount-image {
  width: min(124%, 560px);
  max-width: none;
  height: auto;
  margin-left: -34px;
  margin-right: -34px;
  clip-path: inset(0 32px 0 32px);
  filter: drop-shadow(0 14px 28px rgba(4, 9, 22, 0.28));
}

.tournament__cta {
  width: 210px;
  min-height: 56px;
  margin-top: 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.tournament__countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}
.tournament__countdown-label {
  font-size: 18px;
  font-weight: 500;
  color: #c7c7c7;
  margin: 0;
}

.countdown {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  min-width: 204px;
  height: 48px;
  background: rgba(12, 19, 33, 0.4);
  border: 2px solid #ffebb2;
  border-radius: 7.56px;
  backdrop-filter: blur(8.8px);
}
.countdown__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.countdown__value {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary-gold);
  min-width: 0;
  text-align: center;
  transition: transform 300ms ease;
}
.countdown__value.flip { animation: countdown-flip 400ms ease; }
@keyframes countdown-flip {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}
.countdown__unit {
  font-size: 11px;
  color: #4c567c;
  margin-top: 2px;
  font-family: var(--ff-body);
}
.countdown__divider {
  width: 2px;
  margin: 8px 0;
  background: #ffebb2;
  opacity: 0.95;
}

.tournament__prize-board {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
  padding-top: 34px;
}

.tournament__prize-trophy {
  position: absolute;
  top: 0;
  left: 50%;
  width: 78px;
  height: 78px;
  object-fit: contain;
  transform: translateX(-50%);
  z-index: 2;
}

.tournament__prize-grid {
  display: grid;
  gap: 10px;
}

.tournament__prize-grid--top {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  margin-bottom: 10px;
}

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

.tournament-card {
  position: relative;
  min-height: 108px;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(86.16deg, rgba(255, 255, 255, 0.2) 11.14%, rgba(255, 255, 255, 0.035) 113.29%);
  box-shadow: 0 1.2px 29.9px rgba(69, 42, 124, 0.1);
  backdrop-filter: blur(35px);
  overflow: hidden;
}

.tournament-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(155.31deg, rgba(255, 255, 255, 0.5) 12.33%, rgba(255, 255, 255, 0) 34.31%, rgba(255, 255, 255, 0) 52.66%, rgba(255, 255, 255, 0.54) 74.67%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.tournament-card--main {
  min-height: 136px;
  padding-top: 22px;
}

.tournament-card--gold { background: var(--gradient-first-place); }
.tournament-card--silver { background: var(--gradient-second-place); }
.tournament-card--bronze { background: var(--gradient-third-place); }

.tournament-card__value {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  color: #ffebb2;
}

.tournament-card__value--small {
  font-size: 23px;
}

.tournament-card__place {
  font-size: 14px;
  line-height: 1.28;
  font-weight: 400;
  color: #ffffff;
}

.tournament-card__note {
  font-size: 11px;
  line-height: 1.28;
  font-weight: 300;
  color: #e9e9e9;
}

.tournament__footnote {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.28;
  text-align: center;
  color: #c7c7c7;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  background: transparent;
  min-height: 36px;
  display: flex;
  align-items: center;
  margin-top: -8px;
  margin-bottom: -10px;
}
.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: max-content;
  padding: 0 14px;
  height: 36px;
  background: #0c172b;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333333%); }
}
.marquee__item {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  color: #ffebb2;
  padding: 0;
}

/* ============================================================
   BLOCK 3: BONUSES
   ============================================================ */
.bonuses-block {
  border-radius: 28px;
  background: rgba(12, 23, 43, 0.92);
  box-shadow: 0 1.2px 29.9px rgba(69, 42, 124, 0.1);
  backdrop-filter: blur(35px);
  overflow: hidden;
}

.bonuses-block__inner {
  padding: 34px 36px 28px;
}

/* Tabs */
.bonuses__switch {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.switch-btn {
  position: relative;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: none;
  color: rgba(255, 255, 255, 0.76);
  transition: color 160ms ease, opacity 160ms ease;
}
.switch-btn + .switch-btn {
  padding-left: 22px;
}
.switch-btn + .switch-btn::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 2px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 235, 178, 0.78);
  transform: translateY(-50%);
  pointer-events: none;
}
.switch-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 235, 178, 0) 0%, rgba(255, 235, 178, 1) 50%, rgba(255, 235, 178, 0) 100%);
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 160ms ease, transform 160ms ease;
}
.switch-btn.is-active {
  color: #ffebb2;
}
.switch-btn.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.switch-btn:hover:not(.is-active) { color: rgba(255, 255, 255, 0.92); }

/* Panels */
.bonuses__panels { position: relative; }
.bonuses-panel { animation: fade-in 300ms ease; }
.bonuses-panel[hidden] { display: none; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bonus grid */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.bonus-grid--all {
  grid-template-columns: repeat(3, 1fr);
}

/* Bonus card */
.bonus-slider {
  padding-top: 0;
  overflow: visible;
}
.bonus-card {
  position: relative;
  min-height: 254px;
  background: var(--gradient-bonus-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
}
.bonus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(155.31deg, rgba(255, 255, 255, 0.5) 12.33%, rgba(255, 255, 255, 0) 34.31%, rgba(255, 255, 255, 0) 52.66%, rgba(255, 255, 255, 0.54) 74.67%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.bonus-card__icon {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: 142px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: none;
  pointer-events: none;
  z-index: 1;
}
.bonus-card__icon img {
  width: auto;
  max-width: min(92%, 216px);
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(3, 10, 24, 0.38));
}
.bonus-card__title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-primary-gold);
  width: 100%;
  max-width: 92%;
  margin-top: auto;
  margin-bottom: 8px;
}
.bonus-card__desc {
  font-size: 13px;
  line-height: 1.28;
  color: #ffffff;
  width: 100%;
  max-width: 92%;
}

.bonuses__note {
  max-width: 1100px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.28;
  color: #ffffff;
}

.bonuses__cta {
  text-align: center;
  margin-top: 24px;
}
.bonuses__cta .cta-btn {
  width: 210px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 15px;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
}
.modal.is-open {
  display: flex;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.70); backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative; z-index: 1;
  background: var(--bg-primary); border: 1px solid var(--border-white-50);
  border-radius: var(--radius-lg); padding: 32px 28px;
  max-width: 420px; width: calc(100% - 40px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: var(--bg-input);
  border: 1px solid transparent; border-radius: 8px;
  color: var(--text-white); cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.modal__close::before { content: "\2715"; }
.modal__close:hover { background: var(--bg-button-disabled); }
.modal__icon {
  text-align: center; margin-bottom: 16px;
}
.modal__icon img { width: 64px; height: 64px; margin: 0 auto; }
.modal__title { font-size: 22px; margin-bottom: 8px; }
.modal__title--center { text-align: center; }
.modal__text { font-size: 14px; color: var(--text-medium-gray); line-height: 1.5; }
.modal__text--center { text-align: center; }

.modal__credentials {
  margin-top: 20px; display: flex; flex-direction: column; gap: 8px;
}
.modal__credential {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-input); border-radius: 10px; padding: 10px 12px;
}
.modal__credential-label { font-size: 13px; color: var(--text-muted-blue); flex-shrink: 0; }
.modal__credential-value { font-size: 14px; font-weight: 700; color: var(--text-white); flex: 1; word-break: break-all; }

.credential-copy-btn {
  width: 32px; height: 32px; background: var(--bg-button-disabled);
  border: 1px solid transparent; border-radius: 8px;
  color: var(--text-white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.credential-copy-btn:hover { background: rgba(255,255,255,0.14); }
.credential-copy-btn__check { display: none; }
.credential-copy-btn.is-copied .credential-copy-btn__icon { display: none; }
.credential-copy-btn.is-copied .credential-copy-btn__check { display: block; color: #4caf50; }

.modal__actions { margin-top: 20px; text-align: center; }
.modal__cta { min-width: 200px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .page { gap: 32px; }
  .hero-block,
  .tournament-block,
  .bonuses-block {
    width: calc(100% - 24px);
  }
  .bonuses-block {
    border-radius: 26px;
  }
  .hero-block__content {
    padding-left: 48px;
    max-width: 760px;
  }
  .hero__logo { width: 188px; }
  .hero__title-line1,
  .hero__title-line2 { font-size: 40px; }
  .hero-form-group,
  .reg-card { max-width: 760px; }
  .hero-badges { max-width: 680px; }
  .bonus-card__title,
  .switch-btn { font-size: 20px; }
  .bonus-card__desc,
  .bonuses__note,
  .marquee__item { font-size: 16px; }
  .bonuses-block__inner {
    padding: 32px 28px 26px;
  }
  .bonus-slider {
    padding-top: 0;
  }
  .bonus-card {
    min-height: 238px;
    padding: 18px 16px 18px;
  }
  .bonus-card__icon {
    width: 100%;
    height: 128px;
    margin-bottom: 14px;
  }
  .bonus-card__icon img {
    max-width: min(90%, 204px);
  }
  .bonus-card__icon img {
    max-width: min(88%, 188px);
  }
}

@media (max-width: 1400px) {
  .tournament-block__inner {
    padding-left: 56px;
    padding-right: 56px;
  }
  .tournament__content {
    gap: 28px;
  }
  .tournament__hero-amount-image {
    width: min(126%, 520px);
    max-width: none;
    margin-left: -30px;
    margin-right: -30px;
    clip-path: inset(0 28px 0 28px);
  }
  .tournament-card__value {
    font-size: 42px;
  }
  .tournament-card__value--small {
    font-size: 28px;
  }
  .tournament__footnote {
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  .page { gap: 24px; }
  .hero-block,
  .tournament-block,
  .bonuses-block {
    width: calc(100% - 16px);
  }
  .hero-block {
    min-height: 860px;
    border-radius: 0 0 28px 28px;
  }
  .hero-block__content {
    max-width: 100%;
    padding-top: 52px;
    padding-left: 40px;
  }
  .hero__logo { width: 168px; }
  .hero__title {
    max-width: 560px;
    margin-left: 0;
    margin-right: 0;
  }
  .hero__title-line1,
  .hero__title-line2 { font-size: 34px; }
  .hero-form-group {
    max-width: 680px;
    margin-left: 0;
  }
  .reg-card {
    max-width: 680px;
    padding: 24px 26px 22px;
  }
  .hero-badges {
    max-width: 628px;
  }
  .hero-badge__big { font-size: 20px; }
  .tournament-block__inner {
    padding: 36px 28px 40px;
  }
  .tournament-block__top,
  .tournament__content {
    grid-template-columns: 1fr;
    display: grid;
    gap: 28px;
  }
  .tournament-pill,
  .tournament__countdown {
    width: 100%;
  }
  .tournament-pill {
    min-height: auto;
  }
  .tournament-pill__title,
  .tournament-pill__subtitle { font-size: 22px; }
  .tournament__lead {
    min-height: auto;
  }
  .tournament__hero-amount-image {
    width: min(122%, 430px);
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    clip-path: inset(0 20px 0 20px);
  }
  .tournament__prize-board {
    max-width: 640px;
    margin: 0 auto;
  }
  .tournament__footnote { font-size: 18px; }
  .bonuses-block__inner {
    padding: 34px 24px 28px;
  }
  .bonus-card {
    min-height: 228px;
    padding: 16px 14px 16px;
  }
  .bonus-card__icon {
    width: 100%;
    height: 104px;
    margin-bottom: 12px;
  }
  .bonus-card__icon img {
    max-width: min(86%, 170px);
  }
  .bonus-card__title { font-size: 20px; }
  .bonus-card__desc { font-size: 15px; }
  .bonuses__cta .cta-btn {
    min-height: 64px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page {
    gap: 16px;
    padding: 0 0 32px;
  }

  .hero-block,
  .tournament-block,
  .bonuses-block {
    width: 100%;
  }

  .hero-block {
    min-height: auto;
    padding-bottom: 18px;
    border-radius: 0 0 24px 24px;
  }
  .lang-switcher {
    top: 12px;
    right: 12px;
    padding: 3px;
  }
  .lang-switcher__btn {
    min-width: 40px;
    height: 30px;
    font-size: 12px;
  }
  .hero-block__bg {
    inset: 0 0 auto;
    height: 420px;
  }
  .hero-block__bg-img {
    object-position: center top;
  }
  .hero-block__content {
    padding: 24px 12px 0;
  }
  .hero__header { margin-bottom: 28px; }
  .hero__logo { width: 136px; }
  .hero__title {
    max-width: 336px;
    margin: 0 auto 18px;
  }
  .hero-block__overlay {
    background:
      radial-gradient(circle at 50% 13%, rgba(255, 190, 110, 0.34) 0%, rgba(255, 190, 110, 0.12) 28%, rgba(255, 190, 110, 0) 56%),
      linear-gradient(180deg, rgba(3, 14, 34, 0.64) 0%, rgba(12, 23, 43, 0.32) 25%, rgba(12, 23, 43, 0.08) 52%, rgba(12, 23, 43, 0.82) 100%);
  }
  .hero__title-line1,
  .hero__title-line2 {
    font-size: 20px;
    line-height: 1.3;
  }
  .hero__title-line2 { white-space: normal; }
  .hero-form-group,
  .reg-card { max-width: 360px; }
  .hero-form-group { margin: 244px auto 0; }
  .reg-card {
    padding: 14px 10px 12px;
    gap: 10px;
    border-radius: 24px;
  }
  .reg-card__row--phone-code,
  .reg-card__row--currency-date,
  .reg-card__row--bonus,
  .reg-card__row--email-password {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .reg-card::after {
    inset: auto 10px 0;
  }
  .reg-card__hint,
  .reg-card__hint--error {
    margin-top: -6px;
    font-size: 10px;
  }
  .reg-field {
    height: 35px;
    padding: 0 10px;
    border-radius: 6px;
  }
  .reg-field__input,
  .reg-field__select,
  .bonus-picker__toggle { font-size: 10px; }
  .reg-field__input::placeholder,
  .bonus-picker__value.is-placeholder { color: #727fae; }
  .reg-field__action,
  .reg-card__row--phone-code .reg-field__action {
    width: 80px;
    min-width: 80px;
    flex-basis: 80px;
    border-radius: 0 6px 6px 0;
    font-size: 10px;
    font-weight: 500;
  }
  .reg-field__country-toggle {
    min-width: 26px;
    flex-basis: 26px;
    padding-left: 6px;
    gap: 0;
    font-size: 10px;
  }
  .reg-field__country-flag img {
    width: 14px;
    height: 14px;
  }
  .reg-field__phone-prefix {
    padding-left: 2px;
    font-size: 10px;
  }
  .reg-field--select::after,
  .bonus-picker__arrow {
    width: 8px;
    height: 8px;
    right: 12px;
  }
  .reg-field__select { padding: 0 28px 0 10px; }
  .reg-field__calendar {
    right: 10px;
    width: 14px;
    height: 14px;
  }
  .reg-field__toggle {
    right: 4px;
    width: 24px;
    height: 24px;
  }
  .reg-card__agree {
    grid-template-columns: 16px 1fr;
    gap: 8px;
    font-size: 10px;
    line-height: 1.2;
  }
  .reg-card__checkmark {
    width: 16px;
    height: 16px;
    border-radius: 3px;
  }
  .reg-card__checkmark::after {
    width: 7px;
    height: 4px;
    left: 4px;
    top: 4px;
  }
  .reg-card__cta {
    min-height: 44px;
    border-radius: 8px;
    font-size: 16px;
  }
  .reg-card__login {
    font-size: 10px;
  }
  .hero-badges {
    max-width: 332px;
    gap: 3px;
    padding: 0 6px 2px;
    margin-top: 8px;
  }
  .hero-badge {
    min-height: 36px;
    padding: 7px 4px;
    border-radius: 0 0 5px 5px;
  }
  .hero-badge::before {
    padding: 1px;
  }
  .hero-badge__big {
    font-size: 11px;
  }
  .date-popover {
    min-width: 240px;
  }

  .tournament-block {
    border-radius: 24px;
  }
  .tournament-block__inner {
    padding: 14px 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .tournament-block__top,
  .tournament__content {
    display: contents;
  }
  .tournament-pill {
    order: 1;
    width: 100%;
    max-width: 334px;
    margin: 0 auto;
    min-height: 59px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 12px;
  }
  .tournament-pill__icon {
    width: 41px;
    height: 41px;
  }
  .tournament-pill__title,
  .tournament-pill__subtitle {
    font-size: 14px;
    line-height: 1.28;
  }
  .tournament__lead {
    order: 2;
    display: contents;
  }
  .tournament__hero-amount-image {
    order: 2;
    margin: 0 auto;
    width: min(118%, 352px);
    max-width: none;
    margin-left: -12px;
    margin-right: -12px;
    clip-path: inset(0 14px 0 14px);
  }
  .tournament__prize-board {
    order: 3;
    max-width: 340px;
    margin: 0 auto;
    padding-top: 20px;
  }
  .tournament__prize-trophy {
    width: 54px;
    height: 54px;
    top: -4px;
  }
  .tournament__prize-grid {
    gap: 8px;
  }
  .tournament__prize-grid--top {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 8px;
  }
  .tournament-card {
    min-height: 74px;
    padding: 9px 6px 6px;
    border-radius: 6px;
    gap: 3px;
  }
  .tournament-card--main {
    min-height: 97px;
    padding-top: 16px;
  }
  .tournament-card__value {
    font-size: 24px;
  }
  .tournament-card__value--small {
    font-size: 16px;
  }
  .tournament-card__place {
    font-size: 10px;
  }
  .tournament-card__note {
    font-size: 8px;
    line-height: 1.2;
  }
  .tournament__footnote {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
  }
  .tournament__countdown {
    order: 4;
    width: 100%;
    justify-content: center;
    gap: 8px;
    text-align: left;
  }
  .tournament__countdown-label {
    font-size: 15.7px;
  }
  .countdown {
    min-width: 241px;
    height: 61.68px;
    border-width: 1.96px;
  }
  .countdown__value {
    font-size: 23.5px;
  }
  .countdown__unit {
    font-size: 15.7px;
    margin-top: 3px;
  }
  .countdown__divider {
    width: 1.96px;
    margin: 10px 0;
  }
  .tournament__cta {
    order: 5;
    width: 334px;
    min-height: 44px;
    margin: 14px auto 0;
    border-radius: 8px;
    font-size: 16.5px;
  }

  .marquee {
    min-height: 34px;
    margin-top: -6px;
    margin-bottom: -8px;
  }
  .marquee__track {
    gap: 22px;
    padding: 0 12px;
    height: 34px;
  }
  .marquee__item {
    font-size: 10px;
  }

  .bonuses-block {
    border-radius: 24px;
  }
  .bonuses-block__inner {
    padding: 18px 10px 20px;
  }
  .section-title {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .bonuses__switch {
    gap: 16px;
    margin-bottom: 14px;
  }
  .switch-btn {
    font-size: 12px;
  }
  .switch-btn + .switch-btn {
    padding-left: 18px;
  }
  .switch-btn + .switch-btn::before {
    left: -10px;
    height: 18px;
  }
  .bonus-slider {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
    padding-bottom: 8px;
  }
  .bonus-grid,
  .bonus-grid--all {
    display: flex;
    gap: 16px;
    min-width: max-content;
  }
  .bonus-card {
    width: 320px;
    min-width: 320px;
    min-height: 208px;
    padding: 16px 16px 18px;
    border-radius: 8px;
  }
  .bonus-card__icon {
    width: 100%;
    height: 94px;
    margin-bottom: 12px;
  }
  .bonus-card__icon img {
    max-width: min(86%, 160px);
  }
  .bonus-card__title {
    font-size: 16px;
    max-width: 94%;
    margin-bottom: 8px;
  }
  .bonus-card__desc {
    font-size: 12px;
    line-height: 1.25;
    max-width: 94%;
  }
  .bonuses__note {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.25;
  }
  .bonuses__cta {
    margin-top: 18px;
  }
  .bonuses__cta .cta-btn {
    width: 334px;
    min-height: 44px;
    border-radius: 8px;
    font-size: 16.5px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero-block__bg {
    height: 446px;
  }
  .hero-form-group,
  .reg-card {
    max-width: 556px;
  }
  .hero-form-group {
    margin-top: 238px;
  }
  .reg-card {
    padding: 16px 12px 14px;
  }
  .reg-card__row--phone-code {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reg-card__row--currency-date,
  .reg-card__row--bonus,
  .reg-card__row--email-password {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reg-field {
    height: 40px;
  }
  .reg-field__input,
  .reg-field__select,
  .bonus-picker__toggle,
  .reg-field__phone-prefix {
    font-size: 12px;
  }
  .reg-card__row--phone-code .reg-field__action {
    width: 90px;
    min-width: 90px;
    flex-basis: 90px;
    font-size: 11px;
  }
  .hero-badges {
    max-width: 520px;
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-badge {
    min-height: 44px;
  }
  .hero-badge__big {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero-block__bg {
    height: 372px;
  }
  .hero-form-group {
    margin-top: 208px;
  }
  .hero__title-line1,
  .hero__title-line2 {
    letter-spacing: -0.01em;
  }
}
