:root {
  --main-color: #6f3214;
  --main-section-background: #380000;
  --bg-color: #160b07;
  --card-background: #f6c344;
  --card-color: #f8fafc;
  --footer-special-background: #380000;
  --glossary-background: #380000;
  --icon-background: #6f3214;
  --icon-background-hover: #f6c344;
  --mainBtn-background: #f6c344;
  --mainBtn-color: #10131a;
  --offer-color: #e93737;
  --pulse-box-shadow: #ba7d5f;
  --pulse-color-first: #f6c344;
  --pulse-color-second: #6f3214;
  --text-color: #f8fafc;
  --title-color: #f6c344;
  --title-color-hover: #fff0a8;
  --white-color: #ffffff;
}
.mainBtn.offerBtn { background: var(--offer-color) !important; color: #fff !important; }
.mainBtn.offerBtn:hover { filter: brightness(1.08); }

/* Shared layout extracted from the saved reference template. */
:root {
  --main-border-radius: 4px;
  --mainBtn-border: none;
  font-family: Anybody, Arial, sans-serif;
}

* {
  scroll-behavior: smooth;
  transition: all 0.5s;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--bg-color);
  color: var(--card-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.12;
}

main {
  min-height: 95vh;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

nav ul {
  list-style: none;
  padding: 0;
}

h1 {
  font-size: 44px;
}

h2 {
  text-align: center;
  font-size: 36px;
}

h3 {
  font-size: 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

p {
  margin: 15px 0 0;
  text-align: center;
}

.aboutBlock p a {
  font-weight: bold;
}

.aboutBlock p a:hover {
  opacity: 0.8;
}

.mainSection {
  padding-top: 70px !important;
}

.hero-list {
  display: flex;
  gap: 70px;
  justify-content: center;
  text-align: center;
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
}

.hero-list__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-list__title {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--card-background);
}

.mainImage {
  display: block;
  margin: 10px auto;
  width: min(100%, 950px);
  height: auto;
  max-height: 100%;
  border-radius: var(--main-border-radius);
  object-fit: contain;
}

.mainBlock,
.headerBlock,
.aboutBlock,
.footerBlock {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 20px;
}

.mainBtn {
  display: inline-block;
  margin: 0;
  padding: 14px 45px;
  border: var(--mainBtn-border);
  border-radius: 14px;
  background: var(--mainBtn-background);
  color: var(--mainBtn-color);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s linear;
  font-size: 18px;
  text-align: center;
}

.mainBtn:hover {
  opacity: 0.8;
}

.mainBtnSpecial {
  position: relative;
  overflow: hidden;
  text-shadow: none;
  background: unset;
  color: var(--white-color);
}

.mainBtnSpecial:hover {
  background: var(--mainBtn-background);
  opacity: 1;
}

.mainBtnSpecial:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 400%;
  rotate: 90deg;
  background: linear-gradient(0deg, #fff0, #fff9, #fff0);
  animation: specialBtn 5s linear infinite;
}

.contentSection__actions .mainBtn:last-child {
  background: transparent;
  color: var(--white-color);
  border: 2px solid var(--mainBtn-background);
}

.contentSection__actions .mainBtn:last-child:hover {
  border-color: transparent;
  opacity: 1;
}

@keyframes specialBtn {
  0% {
    translate: -300% -50%;
  }

  100% {
    translate: 150% -50%;
  }
}

@keyframes rotateCoin {

  0%,
  100% {
    transform: rotateY(-20deg) rotate(5deg);
    translate: 5px -5px;
    box-shadow:
      inset 0 0 20px #ffdf0099,
      0 8px 20px #0009,
      0 0 15px #ffd70066;
  }

  50% {
    transform: rotateY(25deg) rotate(-5deg);
    translate: -5px 5px;
    box-shadow:
      inset 0 0 25px #ffdf00b3,
      0 5px 15px #00000080,
      0 0 20px #ffdf0099;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    background-color: var(--pulse-color-first);
    box-shadow: 0 0 6px rgba(var(--pulse-box-shadow), 0.7);
  }

  50% {
    transform: scale(1.02);
    background-color: var(--pulse-color-second);
    box-shadow: 0 0 12px rgba(var(--pulse-box-shadow), 0.9);
  }
}

@keyframes specialBtn {
  0% {
    translate: -300% -50%;
  }

  100% {
    translate: 150% -50%;
  }
}

.mainBlock__img a:hover img {
  transform: scale(1.05);
}

.link {
  color: #ab823f;
  text-decoration: none;
}

/* header */
.headerLogo {
  display: flex;
}

.headerLogo:last-child {
  display: flex;
  justify-content: center;
}

.headerLogo a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.headerBlock nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

header {
  width: 100%;
  z-index: 2000;
  display: flex;
  background: var(--main-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.headerBlock {
  width: min(100%, 1420px);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 20px;
}

.headerBlock ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

.headerBlock ul li a {
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding: 4px 2px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: 0.4s ease color;
  color: var(--title-color);
}

.headerBlock ul li a.link,
.headerBlock ul li a:hover {
  color: var(--title-color-hover);
}

.headerBlock ul li a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: 0.4s ease;
}

.headerBlock ul li a:hover:before {
  left: 0;
  width: 100%;
  background: var(--title-color-hover);
}

.header-toggler {
  display: none;
  color: #ffffff;
  font-size: 35px;
  height: 30px;
}

.header-menu-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.header-toggler::after {
  content: "\f0c9";
  font-family: "FontAwesome", sans-serif;
}

.header-toggler--open::after {
  content: "\f00d";
  font-family: "FontAwesome", sans-serif;
}

.header-menu-toggle:checked~.headerLogo .header-toggler::after {
  content: "\f00d";
  font-family: "FontAwesome", sans-serif;
}

header .mainBtn {
  padding: 7px 10px;
  font-size: 14px;
  border-radius: 8px;
}

.headerLogo img {
  width: 80px;
  object-fit: contain;
  border-radius: 4px;
}

.headerLogo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.headerLogo-div {
  display: flex;
  gap: 10px;
}

.dropdown {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.language {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language__flag {
  width: 20px;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  overflow: hidden;
}

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

.dropdown .dropdown__arrow::after {
  content: "\f107";
  font-family: "FontAwesome", sans-serif;
  font-size: 25px;
}

.dropdownActive .dropdown__arrow {
  transform: rotate(180deg);
}

.dropdownList {
  display: none;
  position: absolute;
  top: 25px;
  right: 0;
  margin: 0;
  padding: 20px 25px;
  border-radius: 4px;
  background: #2e3d35;
  color: #ffffff;
  z-index: 9999;
  list-style-type: none;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.dropdownActive .dropdownList {
  display: block;
}

/* aboutSection */
.aboutSection {
  position: relative;
  padding: 40px 0;
}

.aboutBlock p {
  font-weight: 600;
}

.contentSection__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

/* footer */
footer {
  position: relative;
  padding: 30px 0;
  color: #ffffff;
  overflow: hidden;
  background: var(--main-color);
  width: 100%;
  bottom: 0;
  left: 0;
}

.footerBlock {
  width: min(100%, 1420px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__copyright {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  text-align: center;
}

.footer__copyright p {
  margin: 0;
  padding: 0;
  font-weight: 400;
  line-height: 1.12;
}

.footer__group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
}

.footer__col {
  flex: 1 0 auto;
  width: clamp(240px, 33.33% - 20px, 450px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.logo {
  display: block;
  text-decoration: none;
  color: inherit;
}

.logo_large .logo__img {
  width: 120px;
  object-fit: contain;
  border-radius: 4px;
}

.footerNav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px 5px;
}

.footerNav__item {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

.footerNav__link {
  color: inherit;
  padding: 2px 4px;
  text-decoration: none;
  transition: 0.4s ease color;
}

.footerNav__link:hover,
.footerNav__link.link {
  color: var(--title-color-hover);
}

.iconCards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
}

.iconCards__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: var(--icon-background);
  overflow: hidden;
  aspect-ratio: 90 / 48;
  height: 48px;
  padding: 5px 15px;
  transition: 0.4s ease background;
}

.iconCards__icon_circle {
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  padding: 12px;
}

.iconCards__icon:hover {
  background: var(--icon-background-hover);
}

.iconCards__icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

.footer__title {
  font-size: 26px;
  text-transform: uppercase;
  text-align: center;
}

.footer__certifications {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px 15px;
}

.footerAge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-direction: column;
  text-align: center;
}

.footerAge__icon {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.footerAge__text {
  width: min(100%, 340px);
  font-size: 16px;
  font-weight: 700;
}

.footerAge div {
  font-size: 16px;
}

.footerAge p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 17.92px;
}

.footerGambling {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footerGambling__item {
  width: min(100%, 100px);
}

.footerGambling__link {
  display: block;
}

.footerTrust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 16px;
}

.footerTrust__link {
  display: inline-block;
  width: 80px;
  overflow: hidden;
}

.footerAge__img_white {
  filter: brightness(0) invert(1);
  width: 44px;
  object-fit: contain;
}

.footerGambling__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footerTrust__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.faqBlock__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 35px;
}

/* Основной контейнер */
.faqBlock__listItem {
  overflow: hidden;
  width: 100%;
  position: relative;
  border: 1px solid var(--card-color);
  border-radius: 10px;
  padding: 4px 6px;
  cursor: pointer;
  /* Анимируем общую высоту контейнера, если браузер поддерживает interpolate-size */
  transition: background-color 0.3s ease;
}

/* Заголовок */
.faqBlock__listItem summary {
  list-style: none;
  padding: 12px;
  font-weight: 500;
  outline: none;
  display: block;
  position: relative;
  padding-right: 40px;
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  visibility: hidden;
}

.faqBlock__listItem[open] .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
}

.faq-content {
  min-height: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  padding: 0 12px 16px 12px;
}

.faqBlock__listItem[open] .faq-content {
  opacity: 1;
  transition-delay: 0.1s;
}

.faq-answer>div {
  overflow: hidden;
}

.faqBlock__listItem summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.faqBlock__listItem[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faqBlock__list--5 .faqBlock__listItem {
  background: rgba(139, 139, 139, 0.616);
  box-shadow: 3px 3px 3px rgba(139, 139, 139, 0.616);
  border: 2px solid var(--footer-special-background);
  border-radius: 10px;
  padding: 12px 20px;
}

.faqBlock__list--5 .faq-answer {
  padding-bottom: 20px;
}

.mainSection {
  width: 100%;
  padding: 40px 0;
  background-color: var(--main-section-background);
}

.mainBlock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.mainBlock .mainBlock__btns {
  margin-bottom: 20px;
}

.mainBlock__img {
  flex-shrink: 0;
  display: block;
  width: min(100%, 350px);
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 100%;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  scale: 0.9;
  box-shadow:
    inset 0 0 10px #0009,
    0 5px 15px #00000080;
  background: linear-gradient(145deg, gold, #e6b800);
  background-color: gold;
  animation: rotateCoin 5s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: 0.4s scale ease;
}

.mainBlock__img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 100%;
  background: #b8860b;
  transform: translate(-50%) rotateY(90deg);
}

.mainBlock__img:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e6b800, #b8860b);
  border-radius: 50%;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.mainBlock__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backface-visibility: hidden;
}

.mainBlock__content {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.mainBlock__content .mainBtn {
  padding: 5px 10px;
  font-size: 14px;
}

.mainBlock__content .mainBtn:hover {
  background-color: #3c4b41;
  border-color: #3c4b41;
}

.mainBlock__desc p {
  font-size: clamp(1.125rem, 0.9801rem + 0.7246vw, 1.75rem);
  text-align: left;
}

.mainBlock__btns {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.mainBlock__advantages {
  margin: 20px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 15px;
}

.mainBlock__advantages li {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: min(100%, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.mainBlock__advantages-number {
  font-size: 24px;
  color: #8acc25;
  font-weight: 700;
}

.mainBlock__advantages-label {
  font-size: 16px;
}

.mainBlock--2 {
  flex-direction: row-reverse;
  padding: 40px 20px !important;
}

.mainBlock--3 {
  flex-direction: column;
  margin-top: -10px !important;
  text-align: center;
}

.mainBlock--3 .mainBlock__btns {
  justify-content: center;
}

.mainBlock--4 {
  display: grid !important;
  grid-template-columns: 2fr 1fr;
}

.mainBlock--5 {
  flex-direction: column !important;
  text-align: center;
}

.mainBlock--5 .mainBlock__desc {
  gap: 15px;
}

.mainBlock--5 p {
  text-align: center;
}

.mainBlock--5 .mainBlock__btns {
  justify-content: center;
}

@media (max-width: 900px) {
  .mainBlock--5 .mainBlock__desc {
    gap: 0;
  }

  .mainBlock--5 .top-title--wrapper {
    order: 0;
  }

  .mainBlock--5 .mainBlock__btns {
    order: 1;
  }

  .mainBlock--5 .bottom-hero--wrapper {
    order: 2;
  }

  .mainBlock--3 .mainBlock__img {
    order: 4;
  }

  .mainBlock--3 h1 {
    order: 1;
  }

  .mainBlock--3 p {
    order: 3;
  }

  .mainBlock--3 .mainBlock__btns {
    order: 2;
  }

  .mainBlock__desc {
    display: flex;
    flex-direction: column;
  }

  .mainBlock__desc h1 {
    order: 1;
  }

  .mainBlock__desc .mainBlock__btns {
    order: 2;
  }

  .mainBlock__desc p {
    order: 3;
  }

  .hero-info-list {
    order: 4;
  }
}

@media (max-width: 850px) {
  .mainBlock--4 {
    grid-template-columns: 1fr;
  }

  .mainBlock--4 .mainBlock__img {
    margin: 0 auto;
  }
}

.cardsList {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex-grow: 1;
  flex-basis: auto;
  width: clamp(220px, 25% - 20px, 300px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: var(--glossary-background);
  color: var(--card-color);
  background-size: 200%;
  text-align: center;
  transition: all 0.3s linear;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  background-position: 100% 100%;
}

.card.card_large {
  width: clamp(240px, 33.33% - 20px, 450px);
}

.card p {
  font-weight: 400;
  margin: 0;
}

.card-img {
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s scale cubic-bezier(0.39, 0.575, 0.565, 1);
  cursor: pointer;
}

.card:hover .card-img img {
  scale: 1.05;
}

/* cardsList--1 */

.cardsList--1 .card {
  width: calc(25% - 20px);
  padding: 15px;
}

.cardsList--1 h3 {
  position: relative;
  text-transform: uppercase;
}

.cardsList--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  > :nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
  }

  @media (max-width: 720px) {
    grid-template-columns: 1fr;
  }
}

.cardsList--2 .card {
  width: 100%;
  padding: 0;
  background: unset;
  border-radius: 0;
}

.cardsList--2 h3 {
  position: relative;
  text-transform: uppercase;
  background: var(--main-color);
  width: fit-content;
  padding: 5px 10px;
  border-radius: 10px;
}

.cardsList.cardsList--2.list-large {
  display: flex;
  flex-direction: column;
}

.cardsList.cardsList--2.list-large .card:hover {
  transform: none;
}

.cardsList.cardsList--2.list-large .card p,
.cardsList.cardsList--2.list-large .card h3 {
  text-align: left;
}

@media (max-width: 900px) {
  .cardsList--1.cardsList {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  ul.hero-list {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  span.hero-list__text {
    width: 100%;
  }
}

/* media */
@media (max-width: 1084px) {
  .header {
    padding: 0 10px;
    position: fixed;
    top: 0;
    left: 0;
  }

  .headerMenu {
    position: fixed;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    right: 0;
    top: 0;
    transform: translateX(200%);
    width: min(100%, 320px);
    height: 100%;
    background-color: var(--main-color);
    transition: 0.3s ease-in-out;
    z-index: 1002;
    padding: 100px 30px 30px 30px;
    align-items: baseline;
  }

  .headerBlock {
    z-index: 2;
  }

  .header-menu--open {
    opacity: 1;
    transform: translateX(0);
  }

  .header-menu-toggle:checked~.headerMenu {
    opacity: 1;
    transform: translateX(0);
  }

  header nav ul {
    flex-direction: column;
  }

  .header-toggler {
    display: flex;
    padding-right: 15px;
    z-index: 1003;
    align-items: center;
  }

  .headerBlock__logo::before {
    display: none;
  }

  .headerBlock__logo {
    justify-content: space-between;
  }

  .headerBlock ul {
    padding: 80px 20px;
    align-items: flex-end;
  }

  .header-menu--open+span {
    position: fixed;
  }

  .mainSection {
    padding: 135px 0 55px !important;
  }
}

@media (max-width: 900px) {
  .mainBlock {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mainBlock--style2 {
    flex-direction: column-reverse;
  }

  .mainBlock__btns,
  .mainBlock__content {
    justify-content: center;
  }

  .mainBlock__desc p {
    text-align: center;
  }

  .cardsList--1 .card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 520px) {

  header .mainBtn {
    display: none;
  }

  h1 {
    font-size: 36px;
    word-break: break-word;
  }

  h2 {
    font-size: 24px;
  }

  .special-footer-link {
    font-size: 18px;
  }

  .cardsList--1 .card {
    width: 100%;
  }

}

@media (max-width: 392px) {
  .footer__special {
    height: 145px;
  }
}

.lang-dropdown {
  position: relative;
  font-family: sans-serif;
  z-index: 1001;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-current:hover {
  border-color: #555;
  background: #252525;
}

.flag-img {
  width: 24px!important;
  height: auto;
  border-radius: 2px;
  display: block;
}

.flag-img-sm {
  width: 20px!important;
  height: auto;
  border-radius: 2px;
}

.arrow-icon {
  font-size: 10px;
  transition: transform 0.3s;
  margin-left: 5px;
}

.arrow-icon.open {
  transform: rotate(180deg);
}
 

.lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.lang-item:hover {
  background: var(--card-background);
}

.lang-item.active {
  background: var(--mainBtn-background);
  pointer-events: none;
 }
.lang-item.active span,.lang-item:hover span,.country-quick-link:hover span { 
  color: #1a1a1a;
}
.lang-info {
  display: flex;
  flex-direction: column;
}

.lang-label {
  font-size: 14px;
  font-weight: 500;
}

.country-name {
  font-size: 11px;
  color: #777;
}

/* Стилизация скроллбара */
.lang-list::-webkit-scrollbar {
  width: 6px;
}
.lang-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.section-title {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  padding: 8px 15px 4px;
  margin: 0;
  font-weight: bold;
}

.divider {
  height: 1px;
  background: #eee;
  margin: 5px 0;
}

.other-countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 флага в ряд */
  gap: 8px;
  padding: 10px;
}

.country-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 10px;
  gap: 4px;
  padding: 5px;
  border-radius: 4px;
}

.country-quick-link:hover {
  background: var(--card-background);
}

.flag-mini {
  width: 20px!important;
  border: 1px solid #ddd;
}
.lang-item span {
   font-size: 14px;
   color: #fff;
}













.lang-list {
  position: absolute;
  top: 50px;
  right: -20px;
  background: var(--main-color);
  width: 240px;  
  max-height: 450px;
  overflow-y: auto;
   padding: 8px;
  border-top: 1px solid #ddd;
}

.country-group {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.country-group:last-child {
  border-bottom: none;
}

.country-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.country-options {
  display: flex;
  flex-wrap: wrap; /* Чтобы языки шли в ряд, если их много */
  gap: 4px;
  margin-top: 4px;
}

.lang-option {
  flex: 1;
  min-width: 100px;
  padding: 8px 10px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
  transition: all 0.2s;
  background: #f8f9fa;
  text-align: center;
}

.lang-option:hover {
  background: #007bff;
  color: #fff;
}

.lang-option.active {
  background: #e3f2fd;
  color: #007bff;
  font-weight: 600;
  pointer-events: none;
}

@media (max-width: 520px) {
  .lang-current span {
    display: none;
  }
 
}

.lang-dropdown summary {
  list-style: none;
}

.lang-dropdown summary::-webkit-details-marker {
  display: none;
}

.lang-dropdown[open] .lang-current {
  border-color: #555;
  background: #252525;
}


/* Exported-site visual fixes. These rules intentionally come after the
   reference template so its old coin animation cannot deform hero artwork. */
.header {
  position: relative;
  z-index: 2000;
  overflow: visible;
}
.lang-current {
  display: grid;
  grid-template-columns: 30px 8px;
  gap: 8px;
  place-items: center;
  width: 62px;
  min-width: 62px;
  height: 40px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: #151515;
  cursor: pointer;
}
.lang-current::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.lang-dropdown[open] .lang-current::after {
  transform: translateY(2px) rotate(225deg);
}
.lang-current .flag-icon {
  display: block;
  width: 30px;
  height: 20px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 3px 8px rgba(0, 0, 0, .28);
}
.lang-current .flag-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lang-list {
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  max-height: none;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: #151515;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  z-index: 2002;
}
.lang-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
}
.lang-item:hover {
  background: color-mix(in srgb, var(--card-background) 22%, #151515);
}
.lang-item.active {
  background: color-mix(in srgb, var(--card-background) 32%, #151515);
  color: #fff;
}
.lang-item .flag-icon {
  display: block;
  width: 28px;
  height: 19px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .24);
}
.lang-item .flag-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lang-item .lang-label {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}
.lang-item.active .lang-label,
.lang-item:hover .lang-label {
  color: #fff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.headerBlock {
  min-height: 78px;
  padding: 13px 20px;
  gap: 24px;
  align-items: center;
}
.headerBlock > .headerLogo:first-of-type {
  min-width: 180px;
}
.headerBlock > .headerLogo:first-of-type img {
  width: min(190px, 25vw);
  height: 52px;
  border-radius: 10px;
  object-fit: contain;
}
.headerMenu {
  justify-content: center;
  flex: 1;
}
.mainSection {
  padding: 64px 0 58px !important;
}
.mainBlock--4 {
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr);
  gap: clamp(34px, 5vw, 76px);
}
.mainBlock__desc {
  min-width: 0;
}
.mainBlock__desc h1 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
}
.mainBlock__desc p {
  max-width: 760px;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.42;
}
.mainBlock__img.hero__img {
  display: block;
  width: min(100%, 500px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--card-background) 62%, transparent);
  border-radius: 28px;
  overflow: hidden;
  scale: 1;
  animation: none;
  transform: none;
  transform-style: flat;
  perspective: none;
  background: var(--bg-color);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38), 0 0 0 7px rgba(255, 255, 255, .035);
}
.mainBlock__img.hero__img:hover {
  scale: 1;
  transform: translateY(-3px);
}
.mainBtnSpecial:hover {
  height: auto;
  font-size: 18px;
  color: #fff;
}
footer {
  padding: 0;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--card-background) 12%, transparent), transparent 34%),
    linear-gradient(135deg, var(--main-color), var(--main-section-background));
  border-top: 1px solid color-mix(in srgb, var(--card-background) 35%, transparent);
}
.footerBlock {
  width: min(100%, 1180px);
  padding: 46px 24px 26px;
  gap: 26px;
}
.footer-brand-row {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 154px;
  height: 44px;
  object-fit: contain;
  border-radius: 9px;
}
.footer-brand-copy {
  min-width: 0;
}
.footer__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
}
.footer-brand-copy p {
  margin: 8px 0 0;
  max-width: 580px;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  opacity: .78;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  margin: 0;
}
.footer-links a {
  color: var(--title-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.footer-links a:hover {
  color: var(--title-color-hover);
}
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 36px;
  align-items: center;
  font-size: 13px;
}
.footer-meta,
.footer-copyright {
  margin: 0;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  opacity: .72;
}
.footerAge {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 285px;
  flex-direction: row;
  justify-content: flex-end;
  text-align: left;
}
.footerAge__text {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--card-background);
  border-radius: 50%;
  color: var(--card-background);
  font-size: 15px;
}
.footerAge p {
  max-width: 290px;
  text-align: left;
  line-height: 1.4;
  opacity: .8;
}
@media (max-width: 900px) {
  .headerBlock > .headerLogo:first-of-type img {
    width: 150px;
    height: 44px;
  }
  .mainSection {
    padding: 42px 0 48px !important;
  }
  .mainBlock--4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mainBlock__img.hero__img {
    width: min(100%, 560px);
    margin: 0 auto;
  }
  .footer-brand-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-links {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  .headerBlock {
    min-height: 68px;
    padding: 10px 16px;
  }
  .headerBlock > .headerLogo:first-of-type {
    min-width: 0;
  }
  .headerBlock > .headerLogo:first-of-type img {
    width: 132px;
    height: 40px;
  }
  .mainBlock__desc h1 {
    font-size: clamp(32px, 10vw, 42px);
  }
  .mainBlock__img.hero__img {
    border-radius: 20px;
  }
  .footerBlock {
    padding: 36px 20px 24px;
  }
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
  }
  .footerAge {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
}
