.policy,
.success {
  padding-block: 80px 60px !important;
  background: #fff;

  min-height: 92vh;
}

@media (max-width: 768px) {
  .policy {
    padding-block: 60px 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__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #000000;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 34px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
  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: #ffffff;
}

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-color: #c8fa05;
  --secondary-color: #3b2a74;
  --dark-purple: #2a1f4e;
  --text-color: #ffffff;
  --accent-purple: #7b5cbf;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(
    180deg,
    #181645 0%,
    #53398e 19.23%,
    #181645 33.65%,
    #53398e 50%,
    #181645 100%
  );

  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.header {
  background-color: var(--primary-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 24px;
}

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

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

.nav-link {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.7;
}

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

.burger span {
  width: 25px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  position: relative;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-title {
  font-family: "Space Mono", monospace;
  font-size: 78px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.robot-green {
  width: 100%;
  max-width: 620px;
  height: auto;
  z-index: 2;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000;
  box-shadow: 0px 0px 33.7px 0px #c8fa05;
}

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

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Section Title */
.section-title {
  font-family: "Space Mono", monospace;
  font-size: 86px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}

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

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-image {
  flex: 0 0 300px;
}

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

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

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

.advantages-decor {
  width: 100%;
  max-width: 210px;
}

.advantages-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.advantages-text {
  flex: 1;
}

.advantages-intro {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.8;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-item h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.advantage-item p {
  font-size: 14px;
}

.advantages-image {
  flex: 0 0 400px;
  display: flex;
  justify-content: center;
}

.advantages-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Games Section */
.games {
  padding: 80px 0;
}

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

.game-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}

.game-card img {
  width: 100%;
  display: block;
}

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

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

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

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

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

.game-card__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-card:hover .game-card__overlay {
  opacity: 1;
}

.game-card__play-text {
  background: #9675DF;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: "Space Mono";
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA Section */
.cta {
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-title {
  font-family: "Space Mono", monospace;
  font-size: 36px;
  margin-bottom: 30px;
  line-height: 1.3;
}

.cta-text {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 32px;
  line-height: 43px;
  margin-bottom: 20px;
}

.cta .btn {
  margin-top: 20px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: center;
  background: #2a135b;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

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

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

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-social a {
  display: block;
}

.footer-social img {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s;
}

.footer-social img:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-popup::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: -1;
}

.cookie-content h3 {
  color: #000;
  font-family: "Space Mono", monospace;
  font-size: 24px;
  margin-bottom: 15px;
}

.cookie-content p {
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

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

.games-page-title {
  font-family: "Space Mono", monospace;
text-align: left;
}

.games-page-intro {

  margin: 0 auto 60px;
  line-height: 1.8;
}

.games-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Game Page */
.game-page {
  padding: 80px 0;
}

.game-header {

  margin-bottom: 60px;
}

.game-title {
  font-family: "Space Mono", monospace;
  margin-bottom: 30px;
  text-align: left;
}

.game-description {
  margin: 0 auto 50px;
  line-height: 1.8;
}

.game-image-container {
  max-width: 460px;
  margin: 0 auto 40px;
  border-radius: 20px;
  overflow: hidden;
}

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

.game-play-button {
  text-align: center;
  margin-bottom: 80px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

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

  .about-content,
  .advantages-content {
    flex-direction: column;
  }

  .advantages-image {
    order: -1;
  }

  .section-title {
    font-size: 44px;
  }

  .cta-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary-color);
    transition: left 0.3s;
    padding: 40px 20px;
  }

  .nav-menu.active {
    left: 0;
  }

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

  .burger {
    display: flex;
  }

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

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

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

  .robot-green {
  }

  .about-image,
  .advantages-image {
    flex: 0 0 auto;
    max-width: 250px;
    margin: 0 auto;
  }

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

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

  .cookie-buttons .btn {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .cta-title {
    font-size: 24px;
  }

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

  .cookie-popup {
    bottom: 10px;
    padding: 20px;
  }

  .cookie-content h3 {
    font-size: 20px;
  }
}
