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

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

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Asul:wght@400;700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter";
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Asul", serif !important;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.cookie-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.cookie-content {
  position: relative;
  background: #f8f9fa;
  padding: 30px 40px;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  z-index: 10001;
}

.cookie-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

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

.cookie-btn {
  width: 100%;
  padding: 12px 24px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Inter", sans-serif;
}

.cookie-accept {
  background: #ff860e;
  color: white;
  margin-bottom: 10px;
}

.cookie-accept:hover {
  background: #ff9d1f;
}

.cookie-decline {
  background: transparent;
  color: #ff860e;
  border: 2px solid #ff860e;
}

.cookie-decline:hover {
  background: #fff5e6;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: transparent;
  margin-top: 20px;
}

.header.fixed {
  position: fixed;
  top: 0;
  margin-top: 0;
  background: rgba(26, 26, 46, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  background: rgba(26, 26, 46, 0.95);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

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

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

.nav-link {
  color: white;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #ff860e;
}

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

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  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: linear-gradient(135deg, #6b46c1 0%, #4338ca 50%, #ff6b6b 100%);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(/wp-content/themes/yomardix.com/img/hero-bg.png) center/cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-title {
  font-size: 56px;
  color: white;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  font-family: "Asul";
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;

  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: #ff860e;
  border: 1px solid #ffffff;
  color: white;
}

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

.btn-secondary {
  background: white;
  color: #000000;
  border: 1px solid #000000;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

/* Popular Games */
.popular-games {
  padding: 80px 20px;
  background: white;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title {
  font-size: 32px;
  color: #333;
}

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

.game-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

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

.game-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.game-title-overlay {
  color: white;
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

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

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

.game-title {
  padding: 15px 20px;
  font-size: 18px;
  color: #333;
}

/* About Section */
.about {
  padding: 80px 0px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/wp-content/themes/yomardix.com/img/about-yomardix-bg.png) center / cover no-repeat;
}

.about-content {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  background-color: #fff;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
}

.about-text h2 {
  color: #000000;
}

.about-text p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #000000;
}

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

/* Why Choose Section */
.why-choose {
  padding: 80px 20px;
  background: white;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  justify-content: space-between;
  gap: 30px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: white;
  border: 1px solid #000000;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #ff860e;
  box-shadow: 0 5px 20px rgba(255, 140, 0, 0.1);
}

.feature-card--orange {
  background: #ff860e;
}

.feature-card--orange .feature-title {
  color: #fff;
}

.feature-card--orange .feature-text {
  color: #fff;
}

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

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.feature-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.why-image {
  overflow: hidden;
}

/* Play Discover Conquer */
.play-discover {
  padding: 80px 0px;
}

.pdc-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.pdc-image,
.pdc-image-right {
  display: flex;
  justify-content: center;

  align-items: center;
  border-radius: 12px;
  overflow: hidden;
}

.pdc-text p {
  margin-bottom: 20px;
  color: #000000;
  font-family: Inter;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

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

/* Contact Form */
.contact-form-section {
  padding: 80px 0px;
  background: white;
}

.contact-form-section .section-title {
  text-align: center;
  margin-bottom: 15px;
}

.form-description {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff860e;
}

.contact-form button {
  width: 100%;
}

/* Footer */
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/wp-content/themes/yomardix.com/img/footer-bg.png) center / cover no-repeat;
  color: white;
  padding: 60px 20px 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-link {
  color: rgb(255, 255, 255);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #ff860e;
}

.footer-info {
  margin-bottom: 30px;
  color: rgb(255, 255, 255);
  font-size: 14px;
}

.footer-info p {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;

  color: rgb(255, 255, 255);
  font-size: 14px;
}

/* Games Page Styles */
.page-header {
  padding-block: 100px 20px;
  text-align: center;
}

.page-title {
  font-size: 48px;
  color: rgb(0, 0, 0);
  margin-bottom: 15px;
}

.page-description {
  color: rgba(0, 0, 0, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

.games-section {
  padding: 80px 20px;
  background: white;
}

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

/* Game Detail Page */
.game-detail {
  padding-block: 120px 0px;
  background: white;
}

.game-detail-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.game-detail-image {

  overflow: hidden;

}

.game-detail-info h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #333;
}

.game-genre {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

.game-description {
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

.game-about {
  background: #f5f5f5;
  padding: 60px 20px;
}

.game-about h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.game-about-text {
  margin-bottom: 30px;
}

.game-about-list {
  list-style: none;
  margin-bottom: 30px;
}

.game-about-list li {
  padding: 10px 0;
  color: #555;
  position: relative;
  padding-left: 25px;
}

.game-about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff8c00;
  font-weight: bold;
}

.game-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.screenshot {
 
  overflow: hidden;
object-fit: contain;
}

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

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

  .pdc-image-right {
    order: 3;
  }
}

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

  .nav {
    position: fixed;
    top: 100px;
    right: -100%;
    width: 100%;

    height: calc(100vh - 60px);
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: right 0.3s;
  }

  .nav.active {
    right: 0;
  }

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

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

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

  .games-grid,
  .games-grid-large {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

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

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 20px;
  }

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

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

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