.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;
}

:root {
  --primary-green: #82f306;
  --dark-bg: #030e14;
  --dark-card: #151925;
  --white: #ffffff;
  --text-gray: #b0b0b0;
}

html {
  scroll-behavior: smooth;
}

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

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

/* Cookie Popup */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 998;
  transition: opacity 0.3s ease;
}

.cookie-overlay.hidden {
  display: none;
}

.cookie-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--dark-bg);
  border: 2px solid var(--primary-green);
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  width: 90%;
  z-index: 999;
  text-align: center;
  transition: opacity 0.3s ease;
}

.cookie-popup.hidden {
  display: none;
}

.cookie-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.cookie-popup h2 {
  color: var(--primary-green);
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cookie-popup p {
  color: var(--white);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
}

.cookie-btn {
  width: 100%;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.cookie-accept {
  background-color: var(--primary-green);
  color: var(--dark-bg);
}

.cookie-accept:hover {
  background-color: #a8e600;
}

.cookie-essential {
  background-color: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.cookie-essential:hover {
  background-color: rgba(191, 255, 11, 0.1);
}

/* Header */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: var(--dark-bg);
  z-index: 100;
  border-bottom: 1px solid rgba(191, 255, 11, 0.1);
}

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

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

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

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

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

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

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

.burger span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  padding: 80px 0;
  position: relative;
  background: url(/wp-content/themes/qamirexos.com/img/hero.png) center / contain no-repeat,
    linear-gradient(
      180deg,
      #000000 0%,
      #030e14 38.8%,
      #134b3e 65.87%,
      #92c61c 100%
    );
}

@media (max-width: 768px) {
  .hero {
    background: url(/wp-content/themes/qamirexos.com/img/hero.png) center / cover no-repeat,
      linear-gradient(
        180deg,
        #000000 0%,
        #030e14 38.8%,
        #134b3e 65.87%,
        #92c61c 100%
      );
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

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

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--dark-bg);
}

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

.hero-image {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

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

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 30px;
  padding: 30px;
  width: 100%;
  max-width: 326px;
}

.stat-card {
  margin-bottom: 15px;

  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
}

.hero-description {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 326px;
}

.hero-description p {
  font-size: 14px;
  color: #fff;
  text-align: center;
}

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

.section-title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
}

.about-text {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about .btn {
  display: block;
  margin: 40px auto;
  width: fit-content;
}

.about-images {
  gap: 20px;
  margin-top: 60px;
}

.about-images img {
  width: 100%;
  border-radius: 16px;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.about-images img:nth-child(2) {
  transform: rotate(0deg);
}

.about-images img:nth-child(3) {
  transform: rotate(5deg);
}

.about-images img:hover {
  transform: rotate(0deg) scale(1.05);
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
  position: relative;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

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

    flex-direction: column;
  }
}

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

.feature-card {
  background-color: var(--dark-card);
  padding: 30px;
  border-radius: 16px;
}

.feature-card--transparent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
}

.feature-card-arrow-1 {
  align-self: flex-end;
}

.feature-card-arrow-2 {
  align-self: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 100%;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

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

.phone-mockup {
  text-align: center;
}

.phone-mockup img {
  max-width: 400px;
  width: 100%;
}

/* Journey Section */
.journey {
  padding: 80px 0;
}

.journey-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 60px;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.journey-step {
  background-color: var(--dark-card);
  padding: 30px;
  border-radius: 16px;
}

.step-number {
  font-size: 46px;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 15px;
}

.journey-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.journey-step p {
  font-size: 14px;
  color: var(--text-gray);
}

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

.games-description {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: #82f306;
  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;
}

/* Blog Section */
.blog {
  padding: 80px 0;
}

.blog-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 60px;
}

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

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

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

.blog-card {
  text-decoration: none;
  color: var(--white);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Contact Section */
.contact {
  background: linear-gradient(180deg, #030e14 0%, #134b3e 50.48%, #92c61c 100%);
}

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

.contact-content h2 {
  text-align: left;
  margin-bottom: 20px;
}

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

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

.contact-info p {
  font-size: 14px;
  color: var(--primary-green);
  margin-bottom: 10px;
}

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

/* Footer */
.footer {
  padding: 40px 0 20px;
  margin-top: 80px;
}

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

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

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

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

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

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(191, 255, 11, 0.1);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-gray);
}

/* Games Page */
.games-hero {
  padding: 80px 0 40px;
  text-align: center;
}

.games-hero h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
}

.games-hero p {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
}

.games-list {
  padding: 40px 0 80px;
}

.games-list .games-grid {
  margin-top: 0;
}

.games-list .game-card {
  position: relative;
  overflow: hidden;
}

.games-list .game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(191, 255, 11, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 16px;
}

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

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

.game-header h1 {
  font-size: 56px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
}

.game-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  align-items: start;
  margin-bottom: 50px;
}

.game-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.game-image img {
  border-radius: 16px;
}

.game-image .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.game-info h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 30px;
}

.game-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.game-features {
  margin-bottom: 30px;
}

.game-features h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.game-features p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

.game-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

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

.game-screen {
  width: 100%;
}

.advantages-list {
  margin-top: 20px;
}

.advantages-list p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.advantages-list p::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }

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

  .hero-stats,
  .features,
  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .game-image {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--dark-card);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transition: left 0.3s ease;
  }

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

  .burger {
    display: flex;
  }

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

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

  .hero-stats,
  .features,
  .journey-steps,
  .about-images,
  .games-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact .container {
    grid-template-columns: 1fr;
  }

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

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

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

  .game-header h1 {
    font-size: 32px;
  }

  .games-hero h1 {
    font-size: 32px;
  }
}

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

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

  .stat-number {
    font-size: 36px;
  }

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

  .game-header h1 {
    font-size: 24px;
  }

  .games-hero h1 {
    font-size: 24px;
  }

  .game-info h2 {
    font-size: 24px;
  }
}
