* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
body {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: currentColor;
}

button {
  font-family: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 24px;
  height: 24px;
  display: block;
}

address {
  font-style: normal;
}

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

body {
  font-family: "Roboto", sans-serif;
  color: #333;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  color: #4b0082;
  margin-bottom: 0.5em;
}

a {
  text-decoration: none;
  color: #00bfff;
  transition: color 0.3s ease;
}
a:hover {
  color: #4dd2ff;
}

.container {
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }
}

.header {
  background-color: #4b0082;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .header .container {
    padding: 0 20px;
  }
}
@media (min-width: 1024px) {
  .header .container {
    max-width: 1200px;
    margin: 0 auto;
  }
}
.header__logo {
  display: block;
  flex-shrink: 0;
}
.header__logo-img {
  max-height: 100px;
}
.header__nav {
  display: none;
}
@media (min-width: 768px) {
  .header__nav {
    display: block;
  }
}
.header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}
.header__menu-item {
  display: inline-block;
}
.header__menu-link {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffd700;
  padding: 5px 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 5px;
}
.header__menu-link:hover {
  background-color: #ffd700;
  color: #4b0082;
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 100;
}
@media (min-width: 768px) {
  .header__burger {
    display: none;
  }
}
.header__burger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffd700;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}
.header__burger.open .header__burger-line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.header__burger.open .header__burger-line:nth-child(2) {
  opacity: 0;
}
.header__burger.open .header__burger-line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
@media (max-width: 767px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(75, 0, 130, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
  }
  .header__nav.open {
    transform: translateX(0);
  }
  .header__nav .header__menu {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .header__nav .header__menu-link {
    font-size: 1.5rem;
    padding: 10px 20px;
    display: block;
  }
}

body.no-scroll {
  overflow: hidden;
}

main {
  padding-top: 0;
}

.hero {
  background-image: url("/img/hero-bg-768.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    background-image: url("/img/hero-bg-1024.webp");
  }
}
@media (min-width: 1024px) {
  .hero {
    background-image: url("/img/hero-bg-1440.webp");
  }
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 0, 130, 0.5);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero__wrapper {
  padding: 20px;
}
.hero__title {
  font-size: 2.5rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 4rem;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 5.5rem;
  }
}

.features {
  padding: 40px 0;
  background-color: #d59cff;
}
@media (min-width: 768px) {
  .features {
    padding: 60px 0;
  }
}
.features__head {
  text-align: center;
  margin-bottom: 40px;
}
.features__head-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: #4b0082;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .features__head-subtitle {
    font-size: 1.2rem;
  }
}
.features__head-title {
  font-size: 2rem;
  color: #4b0082;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .features__head-title {
    font-size: 3rem;
  }
}
.features__head-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #333;
}
@media (min-width: 768px) {
  .features__head-text {
    font-size: 1rem;
  }
}
.features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .features__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.features__list-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}
.features__item-img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.features__item-content {
  padding: 0 20px;
}
.features__item-title {
  font-size: 1.5rem;
  color: #4b0082;
  margin-bottom: 10px;
}
.features__item-text {
  font-size: 0.9rem;
  color: #333;
}

.jungle {
  padding: 40px 0;
  background-color: #4b0082;
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) {
  .jungle {
    padding: 60px 0;
  }
}
.jungle__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
@media (min-width: 1024px) {
  .jungle__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    text-align: left;
  }
}
.jungle__title {
  font-size: 2rem;
  color: #ffd700;
}
@media (min-width: 768px) {
  .jungle__title {
    font-size: 3rem;
  }
}
.jungle__text {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .jungle__text {
    font-size: 1rem;
  }
}
.jungle__img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
@media (min-width: 1024px) {
  .jungle__img {
    order: -1;
  }
}

.about {
  padding: 40px 0;
  background-color: #e0b5ff;
}
@media (min-width: 768px) {
  .about {
    padding: 60px 0;
  }
}
.about__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  .about__wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.about__left {
  flex: 1;
}
.about__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}
.about__list-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
.about__item-title {
  font-size: 1.8rem;
  color: #4b0082;
  margin-bottom: 15px;
}
.about__item-text {
  font-size: 0.9rem;
  color: #333;
}
.about__item-text a {
  color: #00bfff;
  font-weight: 700;
}
.about__item-text a:hover {
  text-decoration: underline;
}
.about__right {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) {
  .about__right {
    width: 40%;
  }
}
.about__img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.disclaimer {
  padding: 40px 0;
  background-color: #4b0082;
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) {
  .disclaimer {
    padding: 60px 0;
  }
}
.disclaimer .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .disclaimer .container {
    grid-template-columns: repeat(2, 1fr);
  }
}
.disclaimer__block {
  background-color: #6800b5;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.disclaimer__title {
  font-size: 1.8rem;
  color: #ffd700;
  margin-bottom: 15px;
}
.disclaimer__text {
  font-size: 0.9rem;
  line-height: 1.8;
}

.game {
  padding: 30px 0;
  background-color: #3c0069;
}
@media (min-width: 768px) {
  .game {
    padding: 50px 0;
  }
}
.game__wrapper {
  height: calc(100vh - 100px);
  background-color: #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  padding-top: 56.25%;
}
@media (min-width: 768px) {
  .game__wrapper {
    padding-top: 40%;
  }
}
@media (min-width: 1024px) {
  .game__wrapper {
    padding-top: 30%;
  }
}
.game__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.rules {
  padding: 40px 0;
  background-color: #d59cff;
}
@media (min-width: 768px) {
  .rules {
    padding: 60px 0;
  }
}
.rules__head {
  text-align: center;
  margin-bottom: 40px;
}
.rules__head-title {
  font-size: 2rem;
  color: #4b0082;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .rules__head-title {
    font-size: 3rem;
  }
}
.rules__head-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #333;
}
@media (min-width: 768px) {
  .rules__head-text {
    font-size: 1rem;
  }
}
.rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .rules__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .rules__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.rules__list-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.rules__list-title {
  font-size: 1.5rem;
  color: #4b0082;
  margin-bottom: 10px;
}
.rules__list-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}

.footer {
  background-color: #4b0082;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
@media (min-width: 768px) {
  .footer .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .footer .container {
    padding: 0 20px;
  }
}
.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .footer__menu {
    flex-direction: row;
    gap: 20px;
    order: 1;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }
}
@media (min-width: 1024px) {
  .footer__menu {
    order: unset;
    width: auto;
    justify-content: flex-start;
    margin-bottom: 0;
  }
}
.footer__menu-item {
  display: block;
}
.footer__menu-link {
  color: #ffd700;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer__menu-link:hover {
  color: #ffe34d;
  text-decoration: underline;
}
.footer__partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
@media (min-width: 768px) {
  .footer__partners {
    order: 3;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .footer__partners {
    order: unset;
    width: auto;
    margin-top: 0;
    justify-content: flex-end;
  }
}
.footer__partners-item {
  flex-shrink: 0;
}
.footer__partners-img {
  max-height: 80px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.footer__partners-img:hover {
  opacity: 1;
}
.footer__text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer__text {
    order: 2;
    width: 100%;
    text-align: center;
  }
}
@media (min-width: 1024px) {
  .footer__text {
    order: unset;
    text-align: left;
    margin: 0;
  }
}
.footer__text-link {
  color: #00bfff;
  font-weight: 700;
}
.footer__text-link:hover {
  text-decoration: underline;
}
.footer__copy {
  font-size: 0.75rem;
  color: white;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .footer__copy {
    order: 4;
    width: 100%;
    text-align: center;
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .footer__copy {
    order: unset;
    text-align: left;
    margin-top: 0;
  }
}

.legal {
  padding: 40px 0;
  background-color: #e0b5ff;
  color: #333;
}
@media (min-width: 768px) {
  .legal {
    padding: 60px 0;
  }
}
.legal .container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
@media (min-width: 768px) {
  .legal .container {
    padding: 50px;
  }
}
.legal__title {
  font-size: 2.2rem;
  color: #4b0082;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .legal__title {
    font-size: 3rem;
  }
}
.legal__last-updated {
  font-size: 0.85rem;
  color: gray;
  text-align: center;
  margin-bottom: 40px;
  display: block;
}
.legal__section {
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .legal__section {
    margin-bottom: 40px;
  }
}
.legal__section-title {
  font-size: 1.8rem;
  color: #4b0082;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #ffd700;
  display: inline-block;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .legal__section-title {
    font-size: 2.2rem;
  }
}
.legal__section-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
}
.legal__section-text p {
  margin-bottom: 1em;
}
.legal__section-text p:last-child {
  margin-bottom: 0;
}
.legal__section-text ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.legal__section-text ul li {
  list-style: disc inside;
  margin-bottom: 0.5em;
}
.legal__section-text ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.legal__section-text ol li {
  list-style: decimal inside;
  margin-bottom: 0.5em;
}
.legal__section-text strong {
  color: #4b0082;
}
.legal__section-text a {
  color: #00bfff;
  font-weight: 700;
}
.legal__section-text a:hover {
  text-decoration: underline;
}

.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 0, 130, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.age-modal.active {
  opacity: 1;
  visibility: visible;
}
.age-modal__content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  max-width: 450px;
  width: 90%;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.age-modal.active .age-modal__content {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .age-modal__content {
    padding: 40px;
  }
}
.age-modal__title {
  font-size: 2rem;
  color: #4b0082;
  margin-bottom: 20px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .age-modal__title {
    font-size: 2.5rem;
  }
}
.age-modal__text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .age-modal__text {
    font-size: 1.1rem;
  }
}
.age-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}
@media (min-width: 768px) {
  .age-modal__actions {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}
.age-modal__btn {
  display: block;
  width: 100%;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
@media (min-width: 768px) {
  .age-modal__btn {
    width: auto;
    min-width: 160px;
    font-size: 1.2rem;
  }
}
.age-modal__btn--confirm {
  background-color: #ffd700;
  color: #4b0082;
}
.age-modal__btn--confirm:hover {
  background-color: #ccac00;
  transform: translateY(-2px);
}
.age-modal__btn--decline {
  background-color: #9f1cff;
  color: #fff;
}
.age-modal__btn--decline:hover {
  background-color: #8600e8;
  transform: translateY(-2px);
}
.age-modal__warning {
  font-size: 0.85rem;
  color: gray;
  line-height: 1.4;
}