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

  border-radius: 0 0 150px 150px;
  border-bottom: 8px solid #8FE649;
  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: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #000000;
}

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

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sarpanch:wght@400;500;600;700;800;900&display=swap");

:root {
  --primary-green: #8fe649;
  --dark-bg: #1a1a1a;
  --darker-bg: #0d0d0d;
  --text-white: #ffffff;
  --text-gray: #cccccc;
  --border-green: #7ed321;
}

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

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

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sarpanch", sans-serif;
  font-weight: 700;
}

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

/* Header */
.header {
  background-color: var(--text-white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1f2937;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
}

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

.logo span {
  font-family: "Sarpanch", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

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

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

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

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

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

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

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

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

/* Hero Section */
.hero {
  background: #fff;
  padding: 80px 0;
  border-radius: 0 0 150px 150px;
  margin-bottom: 60px;
  border-bottom: 8px solid #8fe649;
}

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

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 64px;
  line-height: 1.1;
  color: #000;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-image {
  flex: 0 0 400px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0px 0px 33.7px 0px #c8fa05;
}

.btn-primary {
  background-color: var(--primary-green);
  color: #000;
}

.btn-primary:hover {
  background-color: #6bc019;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(126, 211, 33, 0.3);
}

.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background-color: #d0d0d0;
}

/* Stats Section */
.stats {
  padding: 60px 0;
  margin-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: linear-gradient(135deg, #2a3a2a 0%, #1a2a1a 100%);
  padding: 40px;
  border-radius: 30px;
  border: 2px solid #fff;
}

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

.stat-number {
  font-size: 24px;
  color: var(--text-white);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 24px;
  color: var(--text-white);
}

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

.section-title {
  font-size: 56px;
  margin-bottom: 40px;
  color: var(--text-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 30px;
}

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

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}

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

.games-header {
  position: relative;
  margin-bottom: 60px;
}

.games-character {
  display: flex;
  justify-content: center;
}

.games-character img {
  margin-left: 220px;
  height: auto;
  width: 100%;
  max-width: 480px;
}

.about-decor-1 {
  position: absolute;
  width: 100%;
  height: 100%;
  max-height: 370px;
  max-width: 370px;
  left: 18%;
  top: 30%;
  background: url(/wp-content/themes/krelunara.com/img/star.png) center / contain no-repeat;
  z-index: -1;
}

.about-decor-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  max-height: 730px;
  max-width: 730px;
  object-fit: contain;
  left: 44%;
  top: 24%;
  background: url(/wp-content/themes/krelunara.com/img/star.png) center / contain no-repeat;
  z-index: -1;
}

@media (max-width: 768px) {
  .games-character {
    justify-content: flex-start;
  }

  .games-character img {
    margin-left: 0px;
  }

  .about-decor-1 {
    display: none;
  }

  .about-decor-2 {
    left: 0%;
    top: 40%;
  }
}

.games .section-title {
  text-align: center;
  position: relative;
  z-index: 2;
}

.games-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  grid-template-rows: 2fr 1fr;
  gap: 20px;
  max-height: 450px;
}

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

.game-card:nth-of-type(1) {
  grid-column: 1/2;
  grid-row: 1/3;
}

.game-card:nth-of-type(2) {
  grid-column: 2/3;
  grid-row: 1/2;
}

.game-card:nth-of-type(3) {
  grid-column: 2/3;

  grid-row: 2/3;
}

.game-card:nth-of-type(4) {
  grid-column: 3/4;
  grid-row: 1/3;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-green);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  mix-blend-mode: multiply;
}

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

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(126, 211, 33, 0.3);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-large {
  grid-row: span 2;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  border-radius: 30px;
  margin: 80px 0;
}

.advantages-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 20px 100px;
  border: 2px solid #d1d5db;
  border-radius: 35px;
  background: radial-gradient(
      89.46% 89.46% at 10.54% 30.35%,
      rgba(71, 137, 18, 0.2499) 0%,
      rgba(54, 54, 54, 0.51) 100%
    )
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

@media (max-width: 768px) {
  .advantages-content {
    padding: 20px;
  }
}

.advantages-list {
  flex: 1;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

.advantage-item:hover {
  background-color: rgba(126, 211, 33, 0.2);
}

.advantage-icon {
  font-size: 32px;
}

.advantage-text {
  font-size: 20px;
  font-weight: 600;
}

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

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

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  gap: 50px;
}

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

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-title {
  font-size: 56px;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.contact-content {
  display: flex;
  gap: 60px;
  margin-top: 40px;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 16px;
}

.contact-icon {
  font-size: 24px;
}

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

.contact-form input,
.contact-form textarea {
  padding: 15px 20px;
  border-radius: 10px;
  border: 2px solid #333;
  background-color: #1a1a1a;
  color: var(--text-white);
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

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

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

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

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

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

.social-link {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

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

.social-link img {
  width: 30px;
  height: 30px;
}

.footer-copyright {
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

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

.cookie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(0px);
}

.cookie-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f5f5f5;
  padding: 30px 40px;
  border-radius: 20px;
  max-width: 1100px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-title {
  font-size: 24px;
  color: #000;
  margin-bottom: 15px;
}

.cookie-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.6;
}

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

/* Games Page */
.page-hero {
  background: #fff;
  padding: 60px 0;
  border-radius: 0 0 150px 50px;
  border-bottom: 8px solid #8FE649;
  margin-bottom: 60px;
}

.page-hero-title {
  font-size: 48px;
  color: #000;
  margin-bottom: 30px;
}

.page-hero-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
}

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

.games-page-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  aspect-ratio: 1;
}

.games-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.game-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(126, 211, 33, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.game-card-title {
  font-family: "Sarpanch", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.3s;
}

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

.games-page-card:hover .game-card-title {
  transform: translateY(0);
}

.games-page-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(126, 211, 33, 0.3);
}

.games-page-card:hover img {
  transform: scale(1.05);
}

/* Game Page */
.game-page {
  background: #fff;
  padding: 60px ;
  border-radius: 0 0 150px 150px;
  border-bottom: 8px solid #8FE649
}

.game-hero {
  margin-bottom: 60px;
}

.game-hero-title {
  font-size: 48px;
  color: #000;
  margin-bottom: 30px;
}

.game-hero-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
}

.game-image {
  text-align: center;
  margin-top: 60px;
}

.game-image img {
  max-width: 600px;
  width: 100%;
  border-radius: 30px;
}

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

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

  .games-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
}

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

  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--text-white);
    transition: left 0.3s;
    padding: 40px 20px;
  }

  .nav.active {
    left: 0;
  }

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

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

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

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

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

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

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

  .game-card-large {
    grid-row: span 1;
  }

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

  .advantages-image {
    flex: 0 0 200px;
  }

  .contact-content {
    flex-direction: column;
  }

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

  .cookie-content {
    width: 95%;
    padding: 25px;
  }

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

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