

/* Start:/local/templates/game8.0/styles.css?177681446633710*/
:root {
  --bg: #ededed;
  --surface: #ffffff;
  --text: #111111;
  --muted: #696969;
  --accent: #ff7800;
  --line: #dedede;
}

/* «Победители»: ссылка в шапке, в подвале и секция #winners — снова показать: уберите класс page--hide-winners с .page */
.page--hide-winners .nav a[href="/#winners"],
.page--hide-winners .nav a[href="#winners"],
.page--hide-winners .footer-links a[href="/#winners"],
.page--hide-winners .footer-links a[href="#winners"],
.page--hide-winners #winners {
  display: none !important;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

.container {
  width: min(1372px, calc(100% - 40px));
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hero {
  position: relative;
  min-height: 810px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(45, 16, 6, 0.38) 0%, rgba(45, 16, 6, 0) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(320px, 58vh, 640px);
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 120, 0, 0) 0%,
    rgba(255, 132, 0, 0.12) 18%,
    rgba(255, 168, 72, 0.35) 40%,
    rgba(255, 214, 170, 0.72) 66%,
    rgba(255, 247, 240, 0.92) 86%,
    #ffffff 100%
  );
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg img:last-child {
  opacity: 0.95;
}

.topbar {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 6;
  color: #ffffff;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logos {
  height: 34px;
  width: auto;
  max-width: min(280px, 100%);
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  gap: 52px;
  font-size: 14px;
  font-weight: 500;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hero {
  border-radius: 10px;
  color: #fff;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #ff8422, #ff6900);
}

.btn-user {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-user img {
  display: block;
  width: 28px;
  height: 28px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  color: #222;
}

.hero-content {
  min-height: 560px;
  display: flex;
  align-items: end;
  position: relative;
  z-index: 5;
  padding-bottom: 52px;
}

.btn-primary {
  min-width: 255px;
  width: fit-content;
  max-width: 100%;
  height: 54px;
  border-radius: 7px;
  background: #ffffff;
  color: #1c1c1c;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
}

.btn-primary-icon {
  display: block;
  flex: 0 0 auto;
}

.section {
  padding: 52px 0 64px;
}

.subtitle {
  margin: 0 0 28px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
}

.centered { text-align: center; }

.rule-grid {
  display: grid;
  gap: 14px;
}

.rule-grid {
  margin-top: -132px;
  position: relative;
  z-index: 4;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

#rules.section {
  position: relative;
  z-index: 9;
  margin-top: -168px;
  padding-top: calc(40px + 168px);
  background: transparent;
}

#rules.section > .container {
  position: relative;
  z-index: 1;
}

.card {
  border-radius: 7px;
  padding: 20px 19px 18px;
  min-height: 298px;
  background: #1f1f21;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.card .num {
  color: var(--accent);
  font-size: 56px;
  font-weight: 700;
  line-height: 0.92;
  flex: 0 0 auto;
}

.card h3 {
  margin: 0;
  padding-top: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.12;
  flex: 1 1 auto;
}

.card p {
  margin: 0;
  color: #e4e4e4;
  font-size: 14px;
  line-height: 1.42;
  flex: 1 1 auto;
}

.btn-card {
  margin-top: 16px;
  align-self: center;
  min-width: 200px;
  height: 44px;
  padding: 0 22px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.section-muted {
  background: #ffffff;
}

.section-head {
  margin-bottom: 18px;
}

/* «Повысь свои шансы…» — карточки категорий + табы (макет) */
.chances-section .section-head {
  margin-bottom: 22px;
}

.chances-section .tabs {
  width: auto;
  max-width: 420px;
  margin: 0 auto 32px;
  padding: 0 8px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 8vw, 56px);
  border-bottom: 1px solid #d0d0d0;
}

.chances-section .tab {
  position: relative;
  padding: 0 2px 10px;
  background: transparent;
  border: 0;
  color: #6a6a6a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.chances-section .tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 3px;
  border-radius: 2px;
  background: transparent;
  transition: background-color 140ms ease;
}

.chances-section .tab.active {
  color: var(--accent);
  font-weight: 700;
}

.chances-section .tab.active::after {
  background: var(--accent);
}

.chances-section .chances-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.chances-section .chances-grid.hidden {
  display: none;
}

.chances-section .chances-grid .product:nth-child(5) {
  grid-column: 2;
}

.chances-section .chances-grid .product:nth-child(6) {
  grid-column: 3;
}

.chances-section .product {
  position: relative;
  min-height: 168px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  padding: 38px 14px 12px 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.chances-section .product:hover {
  background: #fff3e8;
  border-color: #ff8a26;
  box-shadow: 0 12px 30px rgba(255, 120, 0, 0.16);
}

.chances-section .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 26px;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 26px;
}

.chances-section .product-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  min-height: 108px;
}

.chances-section .product-inner h3 {
  margin: 0;
  max-width: 46%;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
  color: #111111;
}

.chances-section .product-visual {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100px;
  max-width: 52%;
}

.chances-section .product-visual img {
  display: block;
  max-width: 100%;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center right;
}

.hidden {
  display: none;
}

/* Призы: Figma 0:230 — верх 676+20+676 ×350, низ 444+20+444+20+444 ×290 */
.prizes-section {
  padding-top: 34px;
  padding-bottom: 58px;
}

.prizes-heading {
  margin: 0 auto 18px;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1a1a1a;
}

.prizes-board {
  width: 100%;
  max-width: 1372px;
  margin: 0 auto;
}

.prize-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.prize-row--hero {
  margin-bottom: 12px;
}

.prize-top-card {
  position: relative;
  box-sizing: border-box;
  flex: 1 1 676px;
  max-width: 676px;
  min-width: min(100%, 676px);
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(70% 160% at 55% -10%, rgba(255, 203, 130, 0.6) 0%, rgba(255, 150, 60, 0.22) 30%, transparent 66%),
    linear-gradient(115deg, #221019 0%, #7f1521 34%, #e64f16 70%, #ff9c30 100%);
}

.prize-top-card--car {
  background:
    radial-gradient(16% 86% at 52% -2%, rgba(155, 10, 8, 0.78) 0%, rgba(155, 10, 8, 0) 100%),
    radial-gradient(18% 88% at 84% -4%, rgba(160, 12, 10, 0.72) 0%, rgba(160, 12, 10, 0) 100%),
    radial-gradient(32% 100% at 66% -6%, rgba(255, 199, 22, 0.42) 0%, rgba(255, 199, 22, 0) 76%),
    radial-gradient(88% 94% at 18% 94%, rgba(50, 20, 31, 0.58) 0%, rgba(50, 20, 31, 0) 72%),
    linear-gradient(114deg, #ff6110 0%, #ff6c17 60%, #ff871f 100%);
}

.prize-top-card::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  right: 12px;
  bottom: 10px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(130% 100% at 18% 100%, rgba(9, 8, 18, 0.62), transparent 56%);
}

.prize-top-card--car::before {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 25%);
}

.prize-top-card--money {
  background:
    radial-gradient(18% 92% at 48% -2%, rgba(150, 12, 14, 0.82) 0%, rgba(150, 12, 14, 0) 100%),
    radial-gradient(18% 92% at 82% -2%, rgba(154, 12, 14, 0.82) 0%, rgba(154, 12, 14, 0) 100%),
    radial-gradient(36% 112% at 66% -10%, rgba(255, 198, 18, 0.5) 0%, rgba(255, 198, 18, 0) 76%),
    radial-gradient(82% 96% at 8% 94%, rgba(32, 12, 28, 0.88) 0%, rgba(32, 12, 28, 0) 74%),
    linear-gradient(114deg, #230f1a 0%, #6f1422 40%, #e15216 74%, #ff9029 100%);
}

.prize-top-card--money::before {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 25%);
}

.prize-top-badge {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 3;
  height: 35px;
  min-width: 112px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(20, 22, 32, 0.62);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 35px;
}

.prize-top-badge--car {
  left: 12px;
  top: 10px;
  height: 33px;
  min-width: 138px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #1b1e28;
  font-size: 12px;
  font-weight: 700;
  line-height: 33px;
}

.prize-top-badge--money {
  left: 12px;
  top: 10px;
  height: 33px;
  min-width: 138px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #1b1e28;
  font-size: 12px;
  font-weight: 700;
  line-height: 33px;
}

.prize-top-title {
  position: absolute;
  left: 12px;
  top: 66px;
  z-index: 3;
  color: #fff;
}

.prize-top-title--car {
  top: 52px;
}

.prize-top-title p {
  margin: 0;
  line-height: 1.06;
}

.prize-top-title p:first-child {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.prize-top-title p:last-child {
  font-size: 52px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.prize-top-image {
  position: absolute;
  z-index: 2;
  object-fit: contain;
}

.prize-top-lasers {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

.prize-top-image--car {
  right: -20px;
  bottom: -3px;
  width: 550px;
  height: 370px;
}

.prize-top-image--money {
  left: 14px;
  top: -31px;
  width: 660px;
  height: 450px;
  z-index: 2;
}

.prize-image {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.prize-image--hero {
  flex: 1 1 676px;
  max-width: 676px;
  min-width: min(100%, 676px);
  height: 350px;
}

.prize-image--cert {
  flex: 1 1 444px;
  max-width: 444px;
  min-width: min(100%, 444px);
  height: 290px;
}

.prize-cert-badge {
  position: absolute;
  top: 9px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(160deg, #3a3e4a, #222631);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.42);
  z-index: 3;
}

.prize-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Партнёры: Figma frame «партнеры» 0:527 — ячейки 155×156, шаг 20px (x: 0, 175, 350…) */
.partners {
  overflow-x: hidden;
}

.partners-title {
  margin-bottom: 28px;
}

.partners-slider-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.partners-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 156px;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.partners-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  height: 156px;
  padding: 0 24px;
  animation: partners-loop 45s linear infinite;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

.partner-item {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 155px;
  height: 156px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.partner-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.partner-item:hover {
  opacity: 0.92;
}

@keyframes partners-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.table-wrap {
  overflow: auto;
  border-radius: 6px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 18px;
  font-size: 12px;
  text-align: left;
  border-bottom: 1px solid #ededed;
}

th {
  background: #f57900;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

/* Вопросы и ответы — как в Figma: иконка Vector.svg справа в каждой строке, пагинация 1–3 */
.faq-section {
  padding-top: 56px;
  padding-bottom: 64px;
}

.faq-section .faq-heading {
  margin: 0 0 26px;
  text-align: left;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  color: #111111;
}

.faq-panels {
  margin-bottom: 28px;
}

.faq-section .faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-section details.faq-item {
  margin: 0;
  background: #f2f2f2;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.faq-section details.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px 17px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #111111;
}

.faq-section details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-section .faq-summary-text {
  flex: 1 1 auto;
  min-width: 0;
}

.faq-section .faq-chevron {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.faq-section .faq-chevron img {
  display: block;
  width: 18px;
  height: auto;
  max-height: 18px;
  object-fit: contain;
}

.faq-section details.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-section .faq-answer {
  padding: 0 22px 18px 22px;
}

.faq-section .faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #696969;
}

.faq-section .faq-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.faq-section .faq-page {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #1a1a1a;
  background: #e6e6e6;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.faq-section .faq-page:hover {
  background: #dcdcdc;
}

.faq-section .faq-page--active {
  background: var(--accent);
  color: #ffffff;
}

.faq-section .faq-page--active:hover {
  background: #ff6a0a;
  color: #ffffff;
}

.footer {
  margin-top: 36px;
  padding: 56px 0 40px;
  color: #fff;
  /* Figma: сверху #1A1A1A → снизу #575757 */
  background: linear-gradient(180deg, #1a1a1a 0%, #575757 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.footer-col--brand {
  padding-top: 4px;
}

.footer-logo {
  margin-bottom: 26px;
  line-height: 0;
}

.footer-logo-img {
  display: block;
  width: min(280px, 100%);
  height: auto;
}

.footer-links {
  margin-top: 0;
  display: grid;
  gap: 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a {
  transition: color 0.15s ease, opacity 0.15s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-past-label {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  color: #9a9a9a;
  letter-spacing: 0.02em;
}

.footer-past-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.footer-past-link {
  display: block;
  transition: opacity 0.15s ease;
}

.footer-past-link:hover {
  opacity: 0.88;
}

.footer-past-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.footer-past-arrow {
  display: inline;
  margin-left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.footer-past-dates {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9a9a9a;
  font-weight: 400;
}

.footer-contact-card {
  background: rgba(0, 0, 0, 0.52);
  border-radius: 18px;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.footer-contact-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.footer-contact-lead,
.footer-contact-hours {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #ffffff;
}

.footer-contact-hours {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-phone-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.footer-phone-main,
.footer-phone-short {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-phone-main:hover,
.footer-phone-short:hover {
  color: var(--accent);
}

.footer-phone-emoji {
  font-size: 1.05em;
  line-height: 1;
  user-select: none;
}

.footer-social-label {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.footer-social:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.footer-social svg {
  flex-shrink: 0;
}

.footer-legal-wrap {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: left;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1200px) {
  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chances-section .chances-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chances-section .chances-grid .product:nth-child(5),
  .chances-section .chances-grid .product:nth-child(6) {
    grid-column: auto;
  }

  .prizes-heading {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .prize-top-card {
    height: 320px;
  }

  .prize-top-badge--car {
    height: 28px;
    min-width: 114px;
    line-height: 28px;
    font-size: 11px;
    top: 9px;
  }

  .prize-top-badge--money {
    height: 30px;
    min-width: 120px;
    line-height: 30px;
    font-size: 11px;
    top: 9px;
  }

  .prize-top-title--car {
    top: 45px;
  }

  .prize-top-title p:first-child {
    font-size: 30px;
  }

  .prize-top-title p:last-child {
    font-size: 42px;
  }

  .prize-top-image--car {
    width: 500px;
    height: 260px;
    right: -20px;
    bottom: -2px;
  }

  .prize-top-image--money {
    left: 14px;
    top: -26px;
    width: 600px;
    height: 408px;
  }

  .prize-image--hero {
    height: 320px;
  }

  .prize-image--cert {
    height: 260px;
  }

  .prize-cert-badge {
    top: 8px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .partner-item {
    width: 140px;
    height: 141px;
  }

  .partners-slider,
  .partners-track {
    height: 141px;
  }
}

@media (max-width: 900px) {
  .hero::before {
    height: 100px;
  }

  .hero-fade {
    height: clamp(280px, 54vh, 520px);
  }

  #rules.section {
    margin-top: -120px;
    padding-top: calc(36px + 120px);
  }

  .rule-grid {
    margin-top: -96px;
  }

  .container {
    width: min(1372px, calc(100% - 28px));
  }

  .menu-toggle { display: inline-block; }
  .nav, .actions { display: none; }

  .topbar.open {
    height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .topbar.open .nav,
  .topbar.open .actions {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    min-height: 430px;
    padding-bottom: 28px;
  }

  .subtitle {
    font-size: 28px;
  }

  .card {
    min-height: 220px;
  }

  .card .num {
    font-size: 42px;
  }

  .card h3 {
    font-size: 18px;
  }

  .chances-section .product {
    min-height: 156px;
    padding: 34px 12px 12px 14px;
  }

  .chances-section .product-inner h3 {
    font-size: 17px;
  }

  .chances-section .product-visual img {
    max-height: 102px;
  }

  .prizes-heading {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .prize-top-card {
    height: 280px;
  }

  .prize-top-badge {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
  }

  .prize-top-badge--car {
    height: 30px;
    min-width: 116px;
    line-height: 30px;
    font-size: 11px;
  }

  .prize-top-badge--money {
    height: 30px;
    min-width: 116px;
    line-height: 30px;
    font-size: 11px;
  }

  .prize-top-title {
    top: 52px;
  }

  .prize-top-title--car {
    top: 50px;
  }

  .prize-top-title p:first-child {
    font-size: 34px;
  }

  .prize-top-title p:last-child {
    font-size: 42px;
  }

  .prize-top-image--car {
    width: 470px;
    height: 244px;
    right: -34px;
    bottom: -6px;
  }

  .prize-top-image--money {
    left: 12px;
    top: -18px;
    width: 520px;
    height: 354px;
  }

  .prize-image--hero {
    height: auto;
    min-height: 280px;
  }

  .prize-image--cert {
    height: auto;
    min-height: 220px;
  }

  .prize-cert-badge {
    top: 8px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .faq-section .faq-heading {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .faq-section details.faq-item summary {
    font-size: 14px;
    padding: 15px 16px 15px 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.desctop{display: block!important;}
.mobile{display: none!important;}
@media (max-width: 620px) {
  .hero::before {
    height: 88px;
  }

  .hero-fade {
    height: clamp(240px, 50vh, 440px);
  }

  #rules.section {
    margin-top: -96px;
    padding-top: calc(32px + 96px);
  }

  .rule-grid {
    grid-template-columns: 1fr;
  }

  .chances-section .chances-grid {
    grid-template-columns: 1fr;
  }

  .chances-section .chances-grid .product:nth-child(5),
  .chances-section .chances-grid .product:nth-child(6) {
    grid-column: auto;
  }

  .prizes-heading {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .prize-row--hero,
  .prize-row--certs {
    /*flex-direction: column;*/
    align-items: center;
  }

  .prize-top-card {
    min-width: 100%;
    max-width: 100%;
    height: 240px;
  }

  .prize-top-title p:first-child {
    font-size: 34px;
  }

  .prize-top-title p:last-child {
    font-size: 40px;
  }

  .prize-top-badge--car {
    height: 28px;
    min-width: 102px;
    line-height: 28px;
    font-size: 10px;
    padding: 0 12px;
  }

  .prize-top-badge--money {
    height: 28px;
    min-width: 102px;
    line-height: 28px;
    font-size: 10px;
    padding: 0 12px;
  }

  .prize-top-title--car {
    top: 44px;
  }

  .prize-top-image--car {
    width: 410px;
    height: 216px;
    right: -24px;
    bottom: -6px;
  }

  .prize-top-image--money {
    left: 10px;
    top: -10px;
    width: 100%;
    height: 100%;
  }

  .desctop{display: none!important;}
  .mobile{display: block!important;}

  .hero-bg img{
    object-fit: cover;
  }
  .prize-image--hero,
  .prize-image--cert {
    min-width: 100%;
    max-width: 100%;
  }

  .prize-cert-badge {
    top: 8px;
    right: 14px;
    width: 44px;
    height: 38px;
    font-size: 20px;
  }

  .rule-grid {
    margin-top: -72px;
  }

  .btn-primary {
    min-width: 220px;
    width: fit-content;
    max-width: 100%;
  }

  .chances-section .tabs {
    width: 100%;
    max-width: 360px;
    gap: 28px;
  }

  .chances-section .product-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }

  .chances-section .product-inner h3 {
    max-width: 100%;
  }

  .chances-section .product-visual {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    min-height: 100px;
  }

  .chances-section .product-visual img {
    max-height: 112px;
  }

  .faq-section .faq-heading {
    font-size: 24px;
  }

  .faq-section details.faq-item summary {
    font-size: 13px;
    gap: 12px;
  }

  .faq-section .faq-page {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .partners-track {
    gap: 14px;
    padding: 0 16px;
  }

  .partner-item {
    width: 124px;
    height: 125px;
  }

  .partners-slider,
  .partners-track {
    height: 125px;
  }

  #regModal .modal__content {
    padding: 72px 22px 20px;
  }
}

/* ---------- Регистрация: модальное окно (логика как в PI6, /ajax/check.php) ---------- */
body.fixed-content {
  overflow: hidden;
}

#regModal.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.67);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#regModal.modal.modal_active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#regModal .modal__content {
  width: 100%;
  max-width: 630px;
  position: relative;
  padding: 88px 40px 24px;
  border: 1px solid #d0d0d0;
  background: #d9d9d9;
  border-radius: 20px;
  max-height: min(96vh, 720px);
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

#regModal .modal_row {
  max-width: 780px;
  margin: 0 auto;
}

#regModal .reg-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  background: rgba(255, 255, 255, 0.65);
  transition: background-color 0.15s ease, color 0.15s ease;
}

#regModal .reg-modal-close:hover {
  background: #fff;
  color: #000;
}

#regModal .input_row .label-item {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  width: 100%;
  margin: 0 0 8px 16px;
  display: block;
}

#regModal .input_row input {
  width: 100%;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #111;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  display: block;
  min-height: 48px;
  padding: 10px 18px;
  margin-bottom: 8px;
  outline: none;
}

#regModal .input_row input::placeholder {
  color: #a8a8a8;
  font-weight: 400;
}

#regModal .input_row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 120, 0, 0.2);
}

#regModal .txt-modal {
  font-size: 12px;
  line-height: 1.35;
  color: #b00020;
  text-align: center;
  margin: 0 0 10px;
  min-height: 1.35em;
}

#regModal .txt-modal a {
  color: inherit;
  pointer-events: none;
  text-decoration: none;
}

#regModal .reg-form .form_groop {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #fff;
}

#regModal .reg-form .form_groop:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

#regModal .btn_item {
  display: flex;
  justify-content: center;
}

#regModal .btn.sendSMS,
#regModal .btn.checkCode {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #ff8422 0%, var(--accent) 100%);
  border-radius: 12px;
  padding: 12px 28px;
  min-width: 200px;
  border: 0;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

#regModal .btn.sendSMS:hover,
#regModal .btn.checkCode:hover {
  filter: brightness(1.05);
}

#regModal .btn.sendSMS:active,
#regModal .btn.checkCode:active {
  transform: scale(0.98);
}

#regModal .btn.sendSMS:disabled,
#regModal .btn.checkCode:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.cabinet_wrap {
  flex: 1 1 auto;
  background: #ffffff;
  margin-bottom: 50px;
}

.cabinet_row {
  padding: 0 35px;
  margin-bottom: 25px;
}

.data_tit {
  font-family: 'Geometria Bold';
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  color: #FF6900;
  width: 100%;
  margin: 0 0 5px 25px;
}

.data_txt {
  font-family: 'Geometria';
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  color: #000000;
  padding: 10px 25px;
}

.data_body {
  background: #F5F5F5;
  border-radius: 20px;
  padding: 25px 0;
  margin-bottom: 20px;
}

.data-block {
  display: grid;
  column-gap: 20px;
  row-gap: 50px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 45px;
}

.data-block:last-child {
  margin-bottom: 0;
}

.code-tit {
  font-family: 'Geometria Bold';
  font-size: 14px;
  font-weight: 700;
  line-height: 11px;
  color: #ffffff;
  max-width: 132px;
  margin-bottom: 5px;
  min-width: 145px;
}

.code-txt {
  font-family: 'Geometria';
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  color: #ffffff;
}

.code-txt.txt-max {
  font-size: 24px;
}

.code-row {
  display: flex;
  align-items: center;
  justify-content: end;
}

.code-item {
  background: #FF6900;
  border-radius: 20px;
  min-height: 63px;
  padding: 5px 25px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.code-item:first-child {
  margin-left: 0;
}



/* End */
/* /local/templates/game8.0/styles.css?177681446633710 */
