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

html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f5f5f5;
}
body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "EB Garamond", serif;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 0.5em;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  background-color: #2c3e50;
  padding: 15px 0;
  color: #ecf0f1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: block;
  flex-shrink: 0;
  z-index: 101;
}
.header__logo-img {
  height: 40px;
  width: auto;
}
.header__nav {
  display: none;
}
@media (min-width: 768px) {
  .header__nav {
    display: block;
  }
}
.header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}
.header__menu-item {
  display: inline-block;
}
.header__menu-link {
  font-family: "EB Garamond", serif;
  font-size: 1.15rem;
  color: #ecf0f1;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}
.header__menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #e74c3c;
  transition: width 0.3s ease;
}
.header__menu-link:hover {
  color: #e74c3c;
}
.header__menu-link:hover::after {
  width: 100%;
}
.header__menu-link--active {
  color: #e74c3c;
}
.header__menu-link--active::after {
  width: 100%;
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  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: 2px;
  background-color: #ecf0f1;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
    overflow-y: auto;
  }
  .header__nav--open {
    transform: translateX(0);
  }
  .header__menu {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .header__menu-link {
    font-size: 1.8rem;
    padding: 10px 0;
  }
  .header__burger.is-active .header__burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .header__burger.is-active .header__burger-line:nth-child(2) {
    opacity: 0;
  }
  .header__burger.is-active .header__burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
@media (min-width: 1024px) {
  .header__logo-img {
    height: 50px;
  }
  .header__menu {
    gap: 35px;
  }
  .header__menu-link {
    font-size: 1.25rem;
  }
}
@media (max-width: 767px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
  }
  .header__nav--open {
    transform: translateX(0);
  }
  .header__menu {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .header__menu-link {
    font-size: 1.8rem;
    padding: 10px 0;
  }
  .header__burger.is-active .header__burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .header__burger.is-active .header__burger-line:nth-child(2) {
    opacity: 0;
  }
  .header__burger.is-active .header__burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
@media (min-width: 1024px) {
  .header__logo-img {
    height: 50px;
  }
  .header__menu {
    gap: 35px;
  }
  .header__menu-link {
    font-size: 1.25rem;
  }
}
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background-color: #e74c3c;
  color: #ecf0f1;
}
.btn--primary:hover {
  background-color: #d62c1a;
  transform: translateY(-2px);
}
.btn--secondary {
  background-color: #2c3e50;
  color: #ecf0f1;
  border: 2px solid #2c3e50;
}
.btn--secondary:hover {
  background-color: #3e5871;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: #ecf0f1;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}
.hero__wrapper {
  max-width: 600px;
}
.hero__title {
  font-family: "EB Garamond", serif;
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ecf0f1;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 5.5rem;
  }
}
.hero__text {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .hero__text {
    font-size: 1.15rem;
  }
}

.features {
  padding: 60px 0;
  background-color: #f5f5f5;
}
@media (min-width: 768px) {
  .features {
    padding: 80px 0;
  }
}
.features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}
@media (min-width: 768px) {
  .features__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.features__item {
  background-color: #ecf0f1;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.features__item-num {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}
.features__item-title {
  font-family: "EB Garamond", serif;
  font-size: 1.7rem;
  color: #2c3e50;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .features__item-title {
    font-size: 2rem;
  }
}
.features__item-text {
  font-size: 0.95rem;
  color: #2c3e50;
  line-height: 1.7;
}

.description {
  position: relative;
  padding: 60px 0;
  text-align: center;
  color: #ecf0f1;
  overflow: hidden;
}
.description__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}
.description .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}
.description__wrapper {
  max-width: 800px;
  background-color: rgba(44, 62, 80, 0.8);
  padding: 40px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .description__wrapper {
    padding: 50px 40px;
  }
}
.description__title {
  font-family: "EB Garamond", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ecf0f1;
}
@media (min-width: 768px) {
  .description__title {
    font-size: 3.5rem;
  }
}
.description__text {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #ecf0f1;
}
@media (min-width: 768px) {
  .description__text {
    font-size: 1.1rem;
  }
}
.description__img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about {
  padding: 60px 0;
  background-color: #f5f5f5;
}
@media (min-width: 768px) {
  .about {
    padding: 80px 0;
  }
}
.about__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 768px) {
  .about__wrapper {
    flex-direction: row;
    gap: 60px;
  }
}
.about__block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about__item {
  background-color: #ecf0f1;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.about__item-title {
  font-family: "EB Garamond", serif;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .about__item-title {
    font-size: 2.2rem;
  }
}
.about__item-text {
  font-size: 0.95rem;
  color: #2c3e50;
  line-height: 1.7;
}
.about__img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.disclaimer {
  position: relative;
  padding: 60px 0;
  text-align: center;
  color: #ecf0f1;
  overflow: hidden;
}
.disclaimer__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  filter: brightness(0.65);
}
.disclaimer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}
.disclaimer__wrapper {
  max-width: 800px;
  background-color: rgba(44, 62, 80, 0.75);
  padding: 40px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .disclaimer__wrapper {
    padding: 50px 40px;
  }
}
.disclaimer__title {
  font-family: "EB Garamond", serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ecf0f1;
}
@media (min-width: 768px) {
  .disclaimer__title {
    font-size: 3rem;
  }
}
.disclaimer__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ecf0f1;
}
.disclaimer__text strong {
  color: #e74c3c;
}
@media (min-width: 768px) {
  .disclaimer__text {
    font-size: 1.05rem;
  }
}

.footer {
  background-color: #2c3e50;
  padding: 30px 0;
  color: #ecf0f1;
  text-align: center;
}
@media (min-width: 768px) {
  .footer {
    padding: 40px 0;
  }
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
@media (min-width: 768px) {
  .footer .container {
    gap: 35px;
  }
}
.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (min-width: 768px) {
  .footer__menu {
    flex-direction: row;
    gap: 30px;
  }
}
.footer__menu-item {
  display: inline-block;
}
.footer__menu-link {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  color: #ecf0f1;
  transition: color 0.3s ease;
}
.footer__menu-link:hover {
  color: #e74c3c;
}
@media (min-width: 768px) {
  .footer__menu-link {
    font-size: 1rem;
  }
}
.footer__description {
  max-width: 800px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .footer__description {
    margin-bottom: 30px;
  }
}
.footer__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(236, 240, 241, 0.8);
  margin-bottom: 15px;
}
.footer__text:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .footer__text {
    font-size: 0.95rem;
  }
}
.footer__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
@media (min-width: 768px) {
  .footer__wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(236, 240, 241, 0.6);
}
@media (min-width: 768px) {
  .footer__copy {
    font-size: 0.9rem;
  }
}
.footer__parners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer__parners {
    gap: 20px;
  }
}
.footer__parners-item {
  display: inline-block;
}
.footer__parners-img {
  width: auto;
  max-height: 84px;
}
.game {
  padding: 40px 0;
  width: 100%;
  height: auto;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.game iframe {
  width: 940px;
  height: 520px;
  display: block;
}

.rules {
  padding: 60px 0;
  background-color: #f5f5f5;
}
@media (min-width: 768px) {
  .rules {
    padding: 80px 0;
  }
}
.rules__head {
  text-align: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .rules__head {
    margin-bottom: 60px;
  }
}
.rules__head-title {
  font-family: "EB Garamond", serif;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .rules__head-title {
    font-size: 3.5rem;
  }
}
.rules__head-text {
  font-size: 1rem;
  color: #2c3e50;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .rules__head-text {
    font-size: 1.1rem;
  }
}
.rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}
@media (min-width: 768px) {
  .rules__list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
.rules__item {
  background-color: #ecf0f1;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.rules__item-title {
  font-family: "EB Garamond", serif;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .rules__item-title {
    font-size: 2.2rem;
  }
}
.rules__item-text {
  font-size: 0.95rem;
  color: #2c3e50;
  line-height: 1.7;
  margin-bottom: 15px;
}
.rules__item-text:last-child {
  margin-bottom: 0;
}

.legal {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #2c3e50;
}
@media (min-width: 768px) {
  .legal {
    padding: 80px 0;
  }
}
.legal__title {
  font-family: "EB Garamond", serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}
@media (min-width: 768px) {
  .legal__title {
    font-size: 4rem;
  }
}
.legal__section {
  margin-bottom: 40px;
}
.legal__section:last-child {
  margin-bottom: 0;
}
.legal__section-title {
  font-family: "EB Garamond", serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #e74c3c;
  border-bottom: 2px solid #7f8c8d;
  padding-bottom: 10px;
}
@media (min-width: 768px) {
  .legal__section-title {
    font-size: 2.5rem;
  }
}
.legal__text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}
.legal__text:last-child {
  margin-bottom: 0;
}
.legal__text strong {
  color: #2c3e50;
}
@media (min-width: 768px) {
  .legal__text {
    font-size: 1.05rem;
  }
}
.legal__list {
  padding-left: 20px;
  margin-bottom: 20px;
}
.legal__list li {
  list-style: disc inside;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .legal__list li {
    font-size: 1.05rem;
  }
}
.legal__contact {
  font-size: 1rem;
  font-weight: bold;
  color: #e74c3c;
  text-align: center;
  margin-top: 30px;
}
.legal__contact a {
  color: #e74c3c;
  text-decoration: underline;
}
.legal__contact a:hover {
  color: #d62c1a;
}

.age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 62, 80, 0.9); /* Darker, more opaque overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* High z-index to be on top of everything */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.age-verification-overlay--active {
  opacity: 1;
  visibility: visible;
}

.age-verification-modal {
  background-color: #ecf0f1;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.age-verification-overlay--active .age-verification-modal {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .age-verification-modal {
    padding: 40px;
    max-width: 500px;
  }
}
.age-verification-modal__title {
  font-family: "EB Garamond", serif;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .age-verification-modal__title {
    font-size: 2.5rem;
  }
}
.age-verification-modal__text {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 25px;
}
.age-verification-modal__text strong {
  color: #e74c3c;
}
@media (min-width: 768px) {
  .age-verification-modal__text {
    font-size: 1.1rem;
  }
}
.age-verification-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (min-width: 768px) {
  .age-verification-modal__buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}
.age-verification-modal .btn {
  width: 100%;
}
@media (min-width: 768px) {
  .age-verification-modal .btn {
    width: auto;
    min-width: 150px;
  }
}