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

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

.policy__title {
  text-align: center;
}

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

.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: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-img {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.header__nav-list {
  display: flex;
  gap: 40px;
}

.header__nav-link {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: #ff9500;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.header__burger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn--primary {
  background: #ff9500;
  color: #fff;
}

.btn--primary:hover {
  background: #e6840a;
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn--secondary:hover {
  background: #fff;
  color: #000;
}

.btn--small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

.btn__icon {
  font-size: 14px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: url("../img/hero-bg-main.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 50, 100, 0.3),
    rgba(100, 0, 100, 0.3)
  );
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.section-title {
  font-weight: 700;
  font-style: Bold;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;

  margin-bottom: 40px;
  position: relative;
}

@media (min-width: 1200px) {
  .section-title {
    font-size: 40px;
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ff9500;
}

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

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

.about__image {
  border-radius: 15px;
  transition: transform 0.3s;
}

.about__image:hover {
  transform: scale(1.05);
}

.about__image img {
  width: 100%;

  object-fit: contain;
}

.about__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.about__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ff9500;
}

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

.about__features {
  list-style: none;
}

.about__features li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.about__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff9500;
  font-weight: 600;
}

/* Games Section */
.games {
  padding: 100px 0;
  background: #fff;
  color: #111111;
}

.games__title {
  text-align: center;
}

.games__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #ff9500;
}

.games__subtitle {
  text-align: center;
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 60px;
}

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

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 149, 0, 0.2);
  grid-column: span 2;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 149, 0, 0.2);
}

.game-card--wide {
  grid-column: span 3;
}

.game-card--centered {
  grid-column: 3/5;
}

.game-card__image {
  height: 200px;
  overflow: hidden;
}

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

.game-card__content {
  padding: 25px;
}

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

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

.game-card__description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Disclaimer Section */
.disclaimer {
  padding: 80px 0;
  background: #ffac3e;
  color: #000;
}

.disclaimer__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  background: #ffffff33;
}

.disclaimer__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.disclaimer__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #000;
}

.disclaimer__description {
  font-size: 16px;
  line-height: 1.8;
}

.disclaimer__image {
  border-radius: 15px;
  overflow: hidden;
}

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

.game-frame {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 149, 0, 0.2);
    height: auto;
    width: auto;
}

.game-frame__container {
    width: 100%;
    height: 560px;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-frame__iframe {
    max-width: 100%;
    max-height: 100%;
    width: 800px;
    height: auto;
    border-radius: 15px;
    background: #000;
    border: none;
    object-fit: contain;
}

/* Modern browsers with aspect-ratio support */
@supports (aspect-ratio: 16/9) {
    .game-frame__iframe {
        aspect-ratio: 16/9;
        width: min(800px, 90%);
        height: auto;
    }
    
    @media (max-width: 1024px) {
        .game-frame__iframe {
            width: min(700px, 85%);
        }
    }
    
    @media (max-width: 768px) {
        .game-frame__iframe {
            width: min(600px, 85%);
        }
    }
    
    @media (max-width: 480px) {
        .game-frame__iframe {
            width: min(320px, 90%);
        }
    }
}


/* Contact Form Section */
.contact-form {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.contact-form__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-form__subtitle {
  text-align: center;
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form {
  max-width: 600px;
  margin: 0 auto 60px;
  padding: 20px;
  background: #fff;
}

.form__group {
  margin-bottom: 25px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #8a8a8a;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: #ff9500;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info__item {
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-info__message {
  margin-top: 30px;
  padding: 30px;
  background: rgba(255, 149, 0, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(255, 149, 0, 0.2);
}

/* Contact Page */
.contact-page {
  padding: 120px 0 100px;
  background: url("../img/hero-bg-main.png") center / cover no-repeat;
  min-height: 100vh;
}

.contact-page__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-page__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
}

.contact-page__subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 60px;
  line-height: 1.8;
}

/* Game Page */
.game-page {
  padding: 120px 0 50px;
  background: linear-gradient(135deg, #0a1428, #1e3a5f);
  min-height: 100vh;
}

.game-page__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.game-info__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 149, 0, 0.2);
}

.game-info__header {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.game-info__logo img {
  width: 170px;
  height: 170px;
  border-radius: 15px;
  object-fit: cover;
}

.game-info__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.game-info__category {
  color: #ff9500;
  font-size: 16px;
  margin-bottom: 20px;
}

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

.feature-badge {
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.3);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature-badge__icon {
  font-size: 20px;
}

.feature-badge__text {
  font-size: 14px;
  font-weight: 600;
}

.game-info__about-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ff9500;
}

.game-info__about-text {
  margin-bottom: 30px;
  line-height: 1.6;
}

.game-info__disclaimer {
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.disclaimer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.age-badge {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.disclaimer-text {
  font-weight: 600;
}

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




@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}



/* Footer */
.footer {
  background: #000;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

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

.footer__link {
  color: #fff;
  font-size: 14px;
  transition: color 0.3s;
}

.footer__link:hover {
  color: #ff9500;
}

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

.footer__age {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.8;
}

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

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

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

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

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

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.popup__content {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(255, 149, 0, 0.3);
}

.popup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.popup__header h3 {
  color: #ff9500;
  font-size: 24px;
  font-weight: 600;
}

.popup__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.popup__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.header__nav.mobile-open {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px;
  transform: translateY(0);
}

.header__nav.mobile-open .header__nav-list {
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    transform: translateY(-150%);
    transition: transform 0.3s;
  }

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

  .header__burger {
    display: flex;
  }

  .hero__buttons {
    align-items: center;
  }

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

  .about__images {
    order: 2;
  }

  .about__text {
    order: 1;
    text-align: center;
  }

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

  .game-card--wide,
  .game-card--centered {
    grid-column: 1;
  }

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

  .contact-page__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-page__title {
    text-align: center;
  }

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

  .game-info__header {
    flex-direction: column;
    text-align: center;
  }

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

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

  .cookie-popup__buttons {
    justify-content: center;
    width: 100%;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__description {
    font-size: 16px;
  }

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

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .game-info {
    padding: 20px;
  }

   .game-frame {
        padding: 15px;
    }

    .game-frame__container {
        height: 300px;
    }

}

   .game-frame__iframe {
        width: 84vw;
        height: calc(90vw * 9 / 16);
        max-width: 950px;
        max-height: auto;
        object-fit: contain;
    }

.policy__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #ff9500;
}
