.policy,
.success {
  padding-block: 100px 60px !important;
  min-height: 92vh;
  background: url(/wp-content/themes/morzilith.com/img/bg-2.png) right / 15% no-repeat;
}

@media (max-width: 768px) {
  .policy {
    padding-block: 100px 60px !important;
  }
}

.success__text {
  margin-bottom: 27px;
}

.success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

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

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
  color: #ffffff;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #ffffff;
}

.policy__title {
  color: #ffffff;
}

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

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

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 22px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

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

@font-face {
  font-family: "Stengazeta";
  src: url(/wp-content/themes/morzilith.com/fonts/Stengazeta-Regular_5.ttf) format("truetype");
  font-weight: 400;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: #131210;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lacquer", cursive;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
}

.btn--primary {
  background: linear-gradient(180deg, #1e6000 0%, #4ef500 49.04%, #1e6000 100%);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 14px;
  border: 3px solid #4ef500;
  box-shadow: 0px 0px 46.2px 1px #4ef50075;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #4ade80;
  padding: 10px 22px;
  font-size: 14px;
}

.btn--secondary:hover {
  background: #4ade80;
  color: #1a1a1a;
}

.btn--large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
}

.cookie-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
}

.cookie-popup__content {
  position: relative;
  background: #2a2a2a;
  border: 2px solid #4ade80;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  margin: 0 20px;
  text-align: center;
}

.cookie-popup__content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #4ade80;
}

.cookie-popup__content p {
  margin-bottom: 25px;
  line-height: 1.5;
}

.cookie-popup__buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #1a3417 0%, #2b8900 100%);

  z-index: 1000;
  border-radius: 0 0 45px 45px;
  transition: transform 0.3s ease;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff !important;
}

.header__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;

}

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

.header__logo-text {
  font-family: "Lacquer", cursive;
  font-size: 20px;
   color: #fff;

}

.header__nav {
  display: flex;
}

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

.nav__link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: #4ade80;
}

.nav__link--active {
  color: #4ade80;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #4ade80;
  margin: 3px 0;
  transition: 0.3s;
}

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

.burger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu__list {
  list-style: none;
  padding: 30px 20px;
}

.mobile-menu__item {
  margin-bottom: 20px;
}

.mobile-menu__link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu__link:hover {
  color: #4ade80;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(/wp-content/themes/morzilith.com/img/bg-stars.png) center / contain no-repeat;
}

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

.hero__title {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #4ade80;
}

.hero__description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #e5e5e5;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-main {
  max-width: 100%;
  height: auto;
}

/* Stats Section */
.stats {
  background: linear-gradient(90deg, #15351e -0.86%, #3f4716 99.72%);
  box-shadow: 0px 0px 24.8px 0px #6aff258a;
  padding: 40px 0;
  transform: rotate(-4deg);
}



.stats__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: center;
}

.stats__number {
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 14px;
  color: #d1fae5;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats {
  transform: rotate(-0);
  }

  .stats__number {
  font-size: 14px;

}

.stats__label {
  font-size: 14px;

}

.stats-decor {
  width: 18px;
  height: 18px;
}
}

/* Story Section */
.story {
  padding: 100px 0;
  background: url(/wp-content/themes/morzilith.com/img/gradient.png) right / contain no-repeat;
}

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

.story__title {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #4ade80;
}

.story__description {
  font-size: 16px;
  line-height: 1.6;
  color: #e5e5e5;
}

.story__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.story__mascot {
  max-width: 100%;
  height: auto;
}

/* Advantages Section */
.advantages {
  padding: 100px 0;
}

.advantages__header {
  text-align: center;
width: 100%;
height: fit-content;
max-height: 200px;
  transform: rotate(-90deg);
  background: linear-gradient(180deg, #34a400 0%, #1a5300 100%);
  box-shadow: 0px 0px 16.3px 0px #4ef500;
  border-radius: 25px;
  padding: 44px;
}

.advantages__title {
  font-size: 40px;
  color: #ffffff;
  position: relative;
}

.advantages .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

@media (max-width: 768px) {
  .advantages .container {
    flex-direction: column;
  }

  .advantages__header {
    margin-bottom: 30px;
    transform: rotate(0);
    padding: 30px;
  }
}

.advantages__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-left: 80px;
  width: 100%;
  max-width: 800px;
}

.advantages__item-title {
  font-size: 24px;
  color: #4ade80;
  margin-bottom: 15px;
}

.advantages__item-text {
  font-size: 14px;
  color: #e5e5e5;
  line-height: 1.5;
}

/* Games Preview Section */
.games-preview {
  padding: 100px 0;


}

.games-preview__title {
  font-size: 40px;
  color: #4ade80;
  text-align: center;
  margin-bottom: 60px;
}

.games-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.game-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
  
}

.game-card__link {
  display: block;
}

.game-card__image {
  width: 100%;
  height: auto;
  display: block;
}

.games-preview__button {
  text-align: center;
}

/* Join Adventure Section */
.join-adventure {
  padding: 100px 0;
   background: url(/wp-content/themes/morzilith.com/img/gradient.png) left / contain no-repeat;
}

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

.join-adventure__title {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #4ade80;
}

.join-adventure__description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #e5e5e5;
}

.join-adventure__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.join-adventure__character {
  max-width: 100%;
  height: auto;
}

.contact__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

/* Footer */
.footer {
  background: #0a0a0a;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(74, 222, 128, 0.2);
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
}

.contact__title {
  font-size: 28px !important;
  color: #4ade80;
  margin-bottom: 25px;
}

.contact__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #e5e5e5;
}

.contact__icon {
  font-size: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-decoration: none;
}

.footer__logo-img {
  width: 48px;
  height: 48px;
}

.footer__logo-text {
  font-family: "Lacquer", cursive;
  font-size: 32px;
  color: #4ade80;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(74, 222, 128, 0.1);
}

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

.footer__nav-link {
  color: #e5e5e5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: #4ade80;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.footer__social-link {
  display: block;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.footer__social-link:hover {
  transform: scale(1.1);
}

.footer__social-link img {
  width: 100%;
  height: 100%;
}

/* Games Page Styles */
.games-header {
  padding: 120px 0 80px;
  text-align: center;
}

.games-header__title {
  font-size: 48px;
  color: #4ade80;
  margin-bottom: 30px;
}

.games-header__description {
  font-size: 16px;
  line-height: 1.6;
  color: #e5e5e5;
  max-width: 800px;
  margin: 0 auto 40px;
}

.games-grid {
  padding: 0 0 100px;
}

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

.game-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}


.game-item:hover::before {
  opacity: 1;
}

.game-item:hover {
  transform: translateY(-10px);

}

.game-item__link {
  display: block;
  position: relative;
  z-index: 3;
}

.game-item__image {
  width: 100%;
  height: auto;
  display: block;
}

.game-item__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-item:hover .game-item__overlay {
  opacity: 1;
}

.game-item__play-text {
  background: #4ade80;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: "Lacquer", cursive;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
    display: flex;
  align-items: center;
  justify-content: center;
}

/* Game Page Styles */
.game-hero {
  padding: 120px 0 80px;
}

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

.game-hero__image {
  border-radius: 20px;
  overflow: hidden;
}

.game-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.game-hero__info h1 {
  font-size: 48px;
  color: #4ade80;
  margin-bottom: 30px;
}

.game-hero__info p {
  font-size: 16px;
  line-height: 1.6;
  color: #e5e5e5;
  margin-bottom: 40px;
}

.game-features {
  padding: 80px 0 100px;
  background: #111111;
}

.game-features__title {
  font-size: 40px;
  color: #4ade80;
  margin-bottom: 50px;
}

.game-features__list {
  list-style: none;
}

.game-features__item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.5;
  color: #e5e5e5;
}

.game-features__icon {
  color: #4ade80;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .advantages__title::before {
    display: none;
  }

  .advantages__content {
    margin-left: 0;
  }

  .hero__content,
  .story__content,
  .join-adventure__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

  .game-hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__title {
    font-size: 36px;
  }

  .story__title,
  .advantages__title,
  .games-preview__title,
  .join-adventure__title,
  .games-header__title,
  .game-features__title {
    font-size: 32px;
  }

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

  .games-preview__grid,
  .games-grid__container {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer__nav-list {
    justify-content: center;
  }

  .cookie-popup__buttons {
    flex-direction: column;
  }

  .game-hero__info h1 {
    font-size: 36px;
  }
}

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

  .hero {
    padding: 100px 0 60px;
  }

  .hero__title {
    font-size: 28px;
  }

  .story,
  .advantages,
  .games-preview,
  .join-adventure,
  .games-grid {
    padding: 60px 0;
  }

  .games-header {
    padding: 100px 0 60px;
  }

  .cookie-popup__content {
    padding: 20px;
    margin: 0 15px;
  }
}
