.policy,
.success {
  padding-block: 100px 60px !important;
  min-height: 92vh;
}

@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: #000000;
}

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

.policy__title {
  color: #000000;
}

.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: 1368px;
  padding-inline: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-yellow: #fbda19;
  --dark-yellow: #f5c400;
  --black: #000000;
  --dark-gray: #1a1a1a;
  --white: #ffffff;
  --gray: #666666;
  --light-gray: #f5f5f5;
}

body {
  font-family: "Anton", sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

.btn {
  display: inline-block;
  padding: 18px 40px;
  font-family: "Anton", sans-serif;
  font-size: 18px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--primary-yellow);
  color: var(--black);
  border: 3px solid #ffffff;
  box-shadow: 0px 5px 20px 0px #fbda19;
}

.btn--primary:hover {
  background: var(--dark-yellow);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--black);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}

.logo__img {
  width: 40px;
  height: 40px;
}

.logo__text {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
}

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

.nav__link {
  text-decoration: none;
  color: var(--black);
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--primary-yellow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger__line {
  width: 30px;
  height: 3px;
  background: var(--black);
  transition: all 0.3s ease;
}

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

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

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

.hero {
  padding: 150px 0 80px;

  position: relative;
  overflow: hidden;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: -400px;
}

@media (max-width: 1268px) {
  .hero__bottom {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .hero__image {
    order: -1;
  }
}

.hero__image {
  width: 100%;
  max-width: 600px;
}

.hero__inner {
  gap: 40px;
}

.hero__subtitle {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: Anton;
  font-weight: 700;
  font-style: Regular;
  font-size: 260px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;

  color: var(--primary-yellow);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 74px;
  }
}

.hero__description {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

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

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

.hero__btn {
  padding: 15px 30px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--black);
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 150px;
}

.hero__btn:hover {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
}

.adventures {
  padding: 100px 0;
}

.adventures__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: flex-end;
  gap: 60px;
}

.adventures__minions {
  width: 100%;
  max-width: 400px;
}

.adventures__title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.adventures__text {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
}

.adventures__text p {
  margin-bottom: 20px;
}

.values {
  padding: 100px 0;
  background: url(/wp-content/themes/vrondelith.com/img/bg.png) center / contain no-repeat,
    linear-gradient(#111, #111);
}

@media (max-width: 1278px) {
  .values {
    background: url(/wp-content/themes/vrondelith.com/img/bg.png) center / cover no-repeat,
      linear-gradient(#111, #111);
  }
}

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

.values__title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 50px;
  color: #fff;
}

.values__title--yellow {
  color: var(--primary-yellow);
}

.values__grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.values__item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  position: relative;
}

.values__icon {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
}

.values__icon-img {
  width: 100%;
  height: 100%;
}

.values__item-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-yellow);
}

.values__item-text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.values__character {
  width: 100%;
  max-width: 400px;
}

.categories {
  position: relative;
  padding: 80px 0;
}

.categories__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.categories__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  border-bottom: 2px solid var(--black);
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
  position: relative;
}

.categories__item:hover {
  background: var(--light-gray);
  padding-left: 80px;
}

.categories__name {
  font-size: 48px;
  letter-spacing: 2px;
}

.categories__arrow {
  width: 40px;
  height: 40px;
}

.categories__potion {
  position: absolute;
  left: 60%;
  top: 60%;
  width: 260px;
  height: 260px;
}

.testimonials {
  padding: 100px 0;
}

.testimonials__title {
  font-size: 56px;
  text-align: center;
  margin-bottom: 60px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonials__item {
  background: var(--black);
  color: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
}

.testimonials__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

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

.testimonials__name {
  font-size: 18px;
  color: var(--primary-yellow);
  margin-bottom: 20px;
}

.testimonials__text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.contacts {
  padding: 100px 0;
  background: url(/wp-content/themes/vrondelith.com/img/bg.png) center / contain no-repeat,
    linear-gradient(#111, #111);

  color: var(--white);
  text-align: center;
  position: relative;
}

@media (max-width: 1278px) {
  .contacts {
    background: url(/wp-content/themes/vrondelith.com/img/bg.png) center / cover no-repeat,
      linear-gradient(#111, #111);
  }
}

.contacts__title {
  font-size: 56px;
  margin-bottom: 30px;
}

.contacts__description {
  font-family: Arial, sans-serif;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.contacts__info {
  margin-bottom: 60px;
}

.contacts__address,
.contacts__phone,
.contacts__email {
  font-size: 18px;
  color: var(--primary-yellow);
  margin-bottom: 10px;
}

.contacts__icon {
  width: 200px;
  height: 200px;
}

.footer {
  background: url(/wp-content/themes/vrondelith.com/img/footer-bg.png) center / contain no-repeat;
  padding: 60px 0 20px;
}

.footer__content {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

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

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

.footer__logo-text {
  font-size: 24px;
}

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

.footer__link {
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--primary-yellow);
}

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

.footer__social-icon {
  width: 30px;
  height: 30px;
  transition: opacity 0.3s ease;
}

.footer__social-link:hover .footer__social-icon {
  opacity: 0.7;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
  position: relative;
}

.footer__copy {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: var(--gray);
}

.footer__minions-img {
  width: 100%;
  min-width: 250px;
  height: auto;
}

.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-popup.active {
  display: flex;
}

.cookie-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}

.cookie-popup__content {
  position: relative;
  background: var(--dark-gray);
  color: var(--white);
  max-width: 600px;
  padding: 60px 50px;
  border-radius: 20px;
  text-align: center;
  z-index: 10001;
}

.cookie-popup__icon {
  margin-bottom: 30px;
}

.cookie-popup__img {
  width: 80px;
  height: 80px;
}

.cookie-popup__title {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--white);
}

.cookie-popup__text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--white);
}

.cookie-popup__buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .hero__buttons {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
  }

  .adventures__inner,
  .values__inner {
    grid-template-columns: 1fr;
  }

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

  .categories__name {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    transition: left 0.3s ease;
    padding: 40px;
  }

  .nav.active {
    left: 0;
  }

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

  .burger {
    display: flex;
  }

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

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

  .hero__buttons {
    flex-direction: column;
  }

  .hero__btn {
    width: 100%;
  }

  .adventures__title,
  .values__title {
    font-size: 32px;
  }

  .categories__item {
    padding: 30px 20px;
  }

  .categories__item:hover {
    padding-left: 30px;
  }

  .categories__name {
    font-size: 24px;
  }

  .categories__potion {
    left: 40%;
    top: 82%;
    width: 130px;
    height: 130px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__nav {
    flex-direction: column;
    gap: 15px;
  }

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

  .cookie-popup__content {
    max-width: 90%;
    padding: 40px 30px;
  }
}

/* Games Page Styles */
.games-hero {
  padding: 150px 0 80px;
  background: var(--light-gray);
}

.games-hero__title {
  font-size: 64px;
  line-height: 1.2;
  margin-bottom: 40px;
}

.games-hero__title-block {
  display: block;
}

.games-hero__text {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
}

.games-hero__text p {
  margin-bottom: 20px;
}

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

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

.game-card {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 1;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

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

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

.game-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card__overlay {
  opacity: 1;
}

.game-card__title {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 5px;
}

.game-card__description {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--primary-yellow);
}

/* Game Detail Page Styles */
.game-detail {
  padding: 150px 0 80px;
  background: var(--white);
}

.game-detail__header {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.game-detail__title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.game-detail__description {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.game-detail__icon-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 30px;
}

.game-features {
  padding: 80px 0;

}

.game-features__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.game-features__img {
  width: 100%;
  border-radius: 20px;
}

.game-features__title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.game-features__title-block {
  display: block;
}

.game-features__text {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.game-features__stages {
  background: var(--black);
  color: var(--white);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.game-features__stages-title {
  font-size: 24px;
  margin-bottom: 20px;
}

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

.game-features__item {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.game-features__item:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-yellow);
  font-size: 20px;
}

.game-features__item strong {
  color: var(--primary-yellow);
}

@media (max-width: 1024px) {
  .games-grid__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-detail__header,
  .game-features__inner {
    grid-template-columns: 1fr;
  }

  .games-hero__title {
    font-size: 48px;
  }

  .game-detail__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .games-grid__inner {
    grid-template-columns: 1fr;
  }

  .games-hero__title {
    font-size: 36px;
  }

  .game-features__title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .testimonials__title,
  .contacts__title {
    font-size: 36px;
  }

  .categories__name {
    font-size: 20px;
  }

  .btn {
    padding: 15px 30px;
    font-size: 16px;
  }

  .games-hero__title {
    font-size: 28px;
  }

  .game-detail__title {
    font-size: 28px;
  }

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

.games-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .games-hero__content {
    grid-template-columns: 1fr;
  }
}
