@import "./colors/blue.css";

:root {
  --main-border-radius: 4px;
  --mainBtn-border: none;
  font-family: Anybody, Arial, sans-serif;
}

@font-face {
  font-family: Anybody;
  src:
    url(/fonts/Anybody-Regular.woff2) format("woff2"),
    url(/fonts/Anybody-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 26%;
  line-gap-override: 0%;
}

@font-face {
  font-display: swap;
  font-family: MainFont;
  src: url("/fonts/Anybody-VariableFont.ttf") format("truetype");
}

* {
  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;
  }
}