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

.policy {
  background-color: #fff;
  color: #111;
  padding-block: 108px 40px;
}

@media (min-width: 1200px) {
  .policy {
    padding-block: 128px 60px;
  }
}

.policy__title {
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 30px;
}

.policy__text h2 {
  text-align: left;
  font-size: 18px;
}

.policy__text p,
.policy__text ul,
.policy__text ol {
  margin-bottom: 20px;
}

.policy__text ul {
  padding-left: 20px;
  list-style: disc;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Header Styles */
.header {
  max-width: 1200px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 20px;
  width: 100%;
  z-index: 1000;
}

.header__content {
  padding: 0 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(90deg, #ff8000 0%, #990026 100%);
}

.header--game {
  position: relative;
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
  color: white;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav__link {
  color: white;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav__link:hover,
.nav__link--active {
  opacity: 0.8;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav__toggle-line {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 20px;

  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  line-height: 1.1;
  text-align: center;
}

.hero__content {
  padding: 40px 20px;
  background: url("../img/hero-main.png") center / cover no-repeat;
}

.hero__bottom {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1200px) {
  .hero__bottom {
    flex-direction: row;
  }
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.hero__btn {
  padding: 15px 35px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  min-width: 200px;
}

.hero__btn--primary {
  background: linear-gradient(90deg, #ff8000 0%, #990026 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 90, 31, 0.4);
}

.hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 90, 31, 0.6);
}

.hero__btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero__btn--secondary:hover {
  background: white;
  color: #333;
}

.hero__description {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 500px;
}

/* About Section */
.about {
  padding: 100px 0;
  background: #f8f9fa;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__roulette {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.about__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

.about__description {
  margin-bottom: 40px;
}

.about__description p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #666;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature {
  padding: 20px;
  text-align: center;
}

.feature:nth-child(1),
.feature:nth-child(2) {
  background: linear-gradient(90deg, #ff8000 0%, #990026 100%);

  color: white;
}

.feature:nth-child(3),
.feature:nth-child(4) {
  background: linear-gradient(90deg, #ff8000 0%, #990026 100%);
  color: white;
}

.feature__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature__text {
  font-size: 14px;
  opacity: 0.9;
}

/* Games Section */
.games {
  padding: 100px 0;
  background: white;
}

.games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.games__header {
  text-align: center;
  margin-bottom: 60px;
}

.games__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.games__subtitle {
  font-size: 18px;
  color: #666;
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.game-card {
  background: white;

  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.game-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-card__content {
  padding: 25px;
}

.game-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.game-card__category {
  font-size: 14px;
  color: #e85a1f;
  font-weight: 600;
  margin-bottom: 15px;
}

.game-card__description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.game-card__btn {
  background: linear-gradient(135deg, #e85a1f 0%, #d2461a 100%);
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.game-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 90, 31, 0.4);
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-section__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.form-section__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.form-section__text {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #e85a1f;
}

.form-input::placeholder {
  color: #adb5bd;
}

.form-btn {
  background: linear-gradient(90deg, #ff8000 0%, #990026 100%);

  color: white;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 90, 31, 0.4);
}

/* Disclaimer Section */
.disclaimer {
  padding: 60px 0;

  color: white;
}

.disclaimer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.disclaimer__content {
  padding: 40px 20px;
  background: url("../img/hero-main.png") center / cover no-repeat;
}

.disclaimer__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.disclaimer__text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0.9;
}

.age-rating {
  display: flex;
  align-items: center;
}

.age-rating__icon {
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.disclaimer__notice {
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: #000;
  color: white;
  padding: 30px 0;
}

.footer--game {
  position: relative;
  margin-top: 0;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__links {
  display: flex;
  gap: 30px;
}

.footer__link {
  color: white;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 0.8;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ffffff4d;
}

@media (min-width: 1200px) {
  .footer__top {
    flex-direction: row;
  }
}

.footer__disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer__copyright {
  font-size: 14px;
  opacity: 0.8;
}

/* Contacts Page Styles */
.contacts-main {
  margin-top: 70px;
}

.contacts-hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contacts-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contacts-hero__title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.contacts-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contacts-hero__crown {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.contacts-info {
  padding: 80px 0;
  background: white;
}

.contacts-info__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contacts-info__intro {
  margin-bottom: 50px;
}

.contacts-info__text {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.contacts-info__support {
  margin-bottom: 50px;
}

.contacts-info__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.contacts-info__description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.contacts-info__methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-method {
  text-align: center;
  padding: 40px 30px;
  transition: transform 0.3s ease;
  background: linear-gradient(90deg, #ff8000 0%, #990026 100%);
  color: white;
}

.contact-method:hover {
  transform: translateY(-5px);
}

.contact-method__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-method__info {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-method__note {
  font-size: 14px;
  opacity: 0.9;
}

/* Game Page Styles */
.game-body {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  min-height: 100vh;
}

.game-main {
  padding-top: 20px;
}

.game-hero {
  padding: 70px 0px;
}

.game-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 0px;
}

.game-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;

  justify-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.game-hero__info {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.game-hero__image {
  position: relative;
}

.game-hero__logo {
  width: 300px;
  height: auto;
  border-radius: 10px;
}

.game-category {
  background: linear-gradient(135deg, #e85a1f 0%, #d2461a 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

.game-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.game-hero__subtitle {
  color: #ffa726;
  font-size: 18px;
  margin-bottom: 20px;
}

.game-hero__play-btn {
  background: linear-gradient(135deg, #e85a1f 0%, #d2461a 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.game-hero__play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 90, 31, 0.4);
}

.play-icon {
  font-size: 14px;
}

.game-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.game-feature {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.game-feature__icon {
  font-size: 20px;
}

.game-feature__text {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.game-disclaimer {
  background: rgba(139, 21, 56, 0.2);
  border: 1px solid rgba(139, 21, 56, 0.3);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #000;
}

.game-disclaimer__icon {
  font-size: 24px;
}

.game-disclaimer__title {
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
  color: #000;
}

.game-disclaimer__text {
  font-size: 12px;
  opacity: 0.9;
  color: #000;
}

.game-about {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 25px;
  color: #000;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.game-about__icon {
  font-size: 24px;
  margin-top: 5px;
}

.game-about__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
}

.game-about__description {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.game-container {

  padding: 40px 0;
}

.game-frame {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}

.game-frame iframe {
  width: 100%;
  height: 100%;

  border: none;
  display: block;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-popup__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-popup__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-popup__buttons {
  display: flex;
  gap: 10px;
}

.cookie-popup__btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cookie-popup__btn--accept {
  background: #28a745;
  color: white;
}

.cookie-popup__btn--accept:hover {
  background: #218838;
}

.cookie-popup__btn--decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-popup__btn--decline:hover {
  background: white;
  color: #333;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
  display: flex !important;
}

.success-popup__content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.success-popup__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #28a745;
}

.success-popup__text {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.success-popup__btn {
  background: linear-gradient(135deg, #e85a1f 0%, #d2461a 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-popup__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 90, 31, 0.4);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 80px;
    width: 92%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #990026;
    display: none;

    box-shadow: 0px 4px 4px 0px #00000040;

    border-radius: 0 0 20px 20px;
  }

  .nav__menu.show {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 15px;
  }

  .nav__link {
    color: #990026;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__buttons {
    align-items: center;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .games__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacts-hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-info__methods {
    grid-template-columns: 1fr;
  }

  .game-hero__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .game-hero__info {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .game-hero__title {
    font-size: 2rem;
  }

  .game-features {
    grid-template-columns: 1fr;
  }

  .footer__container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__links {
    gap: 20px;
  }

  .cookie-popup__content {
    flex-direction: column;
    text-align: center;
  }

}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .about__title,
  .games__title {
    font-size: 2rem;
  }

  .contacts-hero__title {
    font-size: 2.2rem;
  }
}

/* Utility Classes */
.show {
  display: block !important;
}

.hidden {
  display: none !important;
}
