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

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

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

:root {
  --primary-color: #fd2efd;
  --secondary-color: #8b00ff;
  --dark-bg: #0a0015;
  --dark-purple: #1a0a2e;
  --text-white: #ffffff;
  --text-gray: #b8b8b8;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

.cookie-content {
  background: linear-gradient(180deg, #1a0a2e 0%, #0a0015 100%);
  border: 3px solid var(--primary-color);
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  text-align: center;
  position: relative;
}

.cookie-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.cookie-content h2 {
  font-size: 32px;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cookie-content p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.cookie-accept,
.cookie-manage {
  padding: 15px 50px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px;
  letter-spacing: 1px;
}

.cookie-accept {
  background: var(--primary-color);
  color: var(--text-white);
}

.cookie-accept:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.cookie-manage {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--primary-color);
}

.cookie-manage:hover {
  background: var(--primary-color);
  transform: scale(1.05);
}

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

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

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo img {
  width: 35px;
  height: 35px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-white);
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

/* Burger Menu - Updated */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

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

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

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

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }
}
/* Hero Section */
.hero {
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;

  margin-bottom: 60px;
}

.hero-decoration {
  position: absolute;
  width: 100px;
  opacity: 0.8;
}

.hero-decoration-1 {
  top: -20px;
  left: 10%;
}

.hero-decoration-2 {
  bottom: -20px;
  right: 10%;
}

.hero h1 {
  font-size: 56px;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.hero h2 {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: normal;
}

.hero p {
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text-gray);
  font-size: 14px;
}

.hero-decor-1 {
  position: absolute;
  width: 100%;
  max-width: 180px;
  left: 10%;
  top: 5%;
  height: 180px;
  background: url(/wp-content/themes/tryvernos.com/img/arrow-1.png) center / contain no-repeat;
}

.hero-decor-2 {
  position: absolute;
  width: 100%;
  max-width: 180px;
  right: 10%;
  bottom: 0;
  height: 180px;
  background: url(/wp-content/themes/tryvernos.com/img/arrow-2.png) center / contain no-repeat;
}

@media (max-width: 768px) {
  .hero-decor-2 {
    left: 0;
  }

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

.btn-primary {
  display: inline-block;
  padding: 15px 50px;
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  box-shadow: 0px 4px 20px 0px #fd2efdb2;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.6);
}

.hero-image {
  text-align: center;
  margin: 60px 0;
}

.hero-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 50%;
}

.stats-content {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 10px;
}

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

.stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .stats {
    flex-direction: row;
  }
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about h2 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.about h3 {
  font-size: 24px;
  margin-bottom: 40px;
}

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

.about-text p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 14px;
}

.about-text .btn-primary {
  margin-top: 20px;
}

.about-image img {
  width: 100%;
}

/* Categories Section */
.categories {
  padding: 80px 0;
}

.categories h2 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.categories h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.categories > .container > p {
  color: var(--text-gray);
  margin-bottom: 60px;
  max-width: 800px;
}

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

.categories-image img {
  width: 100%;
  max-width: 400px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-card {
  background: #ffffff12;
  border: 2px solid #ffffff4d;
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.category-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.category-card h4 {
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.category-card p {
  color: var(--text-gray);
  font-size: 13px;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
}

.gallery h2 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.gallery h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.gallery > .container > p {
  color: var(--text-gray);
  margin-bottom: 60px;
  max-width: 900px;
}

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

.gallery-item img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contacts Section */
.contacts {
  padding: 80px 0;

}

.contacts h2 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.contacts h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

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

.contacts-text p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 14px;
}

.contact-info {
  margin-top: 40px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 10px;
}

.contacts-image img {
  width: 100%;
  max-width: 400px;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 25px;
  background: rgba(26, 10, 46, 0.5);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  color: var(--text-white);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-gray);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* Footer */
footer {

  padding: 60px 0 20px;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.footer-logo img {
  width: 35px;
  height: 35px;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-white);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 0, 255, 0.2);
  color: var(--text-gray);
  font-size: 14px;
}

.footer-characters {
  margin-top: 40px;
  text-align: center;
}

.footer-characters img {
  width: 100%;
}

/* Games Page */
.games-page {
  padding: 150px 0 80px;
}

.games-page h1 {
  font-size: 56px;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-align: center;
}

.games-page h2 {
  font-size: 24px;
  margin-bottom: 40px;
  text-align: center;
}

.games-description {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.games-description p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 14px;
  text-align: justify;
}

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

.game-card {
  text-decoration: none;
  display: block;
}

.game-card-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(255, 0, 255, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
}

.game-title {
  color: var(--text-white);
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

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

.game-card:hover img {
  transform: scale(1.1);
}

/* Game Page */
.game-hero {
  padding: 150px 0 80px;
  text-align: center;
}

.game-hero h1 {
  font-size: 56px;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.game-hero h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.game-hero p {
  max-width: 1000px;
  margin: 0 auto 40px;
  color: var(--text-gray);
  font-size: 14px;
  text-align: justify;
}

.game-icon {
  margin: 40px 0;
}

.game-icon img {
  width: 200px;
  height: 200px;
  border-radius: 20px;
}

.game-about {
  padding: 80px 0;

}

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

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

.game-about-text h2 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.game-about-text p {
  color: var(--text-gray);
  margin-bottom: 30px;
  font-size: 14px;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content,
  .categories-content,
  .contacts-content,
  .game-about-content {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero h2 {
    font-size: 18px;
  }

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

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

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

  .footer-top {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

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

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

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

  .cookie-content {
    padding: 30px 20px;
  }

  .cookie-content h2 {
    font-size: 24px;
  }

  .cookie-accept,
  .cookie-manage {
    padding: 12px 30px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .about h2,
  .categories h2,
  .gallery h2,
  .contacts h2,
  .game-hero h1,
  .game-about-text h2,
  .games-page h1 {
    font-size: 32px;
  }

  .stat-item h3 {
    font-size: 36px;
  }
}

.decoration {
  width: 100%;
  max-width: 270px;
  height: 50px;
}
