.policy,
.success {
  padding-block: 100px 60px !important;
  min-height: 92vh;
  background: url(/wp-content/themes/wundarex.com/img/bg-2.png) right / 15% no-repeat;

}

@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: 1200px;
  padding-inline: 20px;
}

@font-face {
  font-family: "Stengazeta";
  src: url(/wp-content/themes/wundarex.com/fonts/Stengazeta-Regular_5.ttf) format("truetype");
  font-weight: 400;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #4a90e2;
  --dark-blue: #1a1d3a;
  --darker-blue: #0d1128;
  --accent-blue: #5dafe4;
  --white: #ffffff;
  --gray: #8892b0;
  --light-gray: #ccd6f6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #010125;
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Protest Guerrilla", sans-serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(180deg, #003FBE 0%, #77A9FF 49.04%, #003FBE 100%);
  border: 3px solid #77a9ff;
box-shadow: 0px 0px 46.2px 1px #0143C5;

  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  background: var(--white);
  color: var(--dark-blue);
  margin: 20px;
  padding: 20px;
  border-radius: 15px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

.cookie-content p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

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

.btn-accept {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-accept:hover {
  background: var(--accent-blue);
}

.btn-decline {
  background: transparent;
  color: var(--dark-blue);
  border: 2px solid var(--gray);
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-decline:hover {
  background: var(--gray);
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 17, 40, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 55px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

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

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(/wp-content/themes/wundarex.com/img/gradient.png) right / contain no-repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.hero-text {
  max-width: 605px;
  width: 100%;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.hero-images {
  position: relative;
}

.hero-images img {
  width: 100%;
  max-width: 550px;
}

.game-card {
  position: absolute;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

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

.card-1 {
  width: 200px;
  height: 200px;
  top: 0;
  left: 0;
  z-index: 3;
}

.card-2 {
  width: 180px;
  height: 180px;
  top: 50px;
  right: 50px;
  z-index: 2;
}

.card-3 {
  width: 160px;
  height: 160px;
  bottom: 0;
  right: 0;
  z-index: 1;
}

/* Stats Section */
.stats {
  padding: 60px 0;
  background: url(/wp-content/themes/wundarex.com/img/bg.png) right / contain no-repeat;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  text-align: center;
}

  .stats-line {
    
  }

@media (max-width: 768px) {
  .stats {
    background: url(/wp-content/themes/wundarex.com/img/bg.png) bottom / contain no-repeat;
  }

  .stats-grid {
    flex-direction: column;
  }

  .stats-line {
    width: 30%;
    display: block;
    margin: 0 auto;
    transform: rotate(180deg);
    height: 70px;
  }
}

.stat-number {
  font-size: 3rem;
  font-family: "Protest Guerrilla", sans-serif;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--light-gray);
}

/* About Section */
.about {
  padding: 80px 0;
  background: url(/wp-content/themes/wundarex.com/img/gradient.png) left / contain no-repeat;

}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-game-card {
  border-radius: 15px;
  overflow: hidden;
}

.about-game-card img {
  width: 100%;

  object-fit: contain;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--light-gray);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Popular Games Section */
.popular-games {
  padding: 80px 0;
  background: url(/wp-content/themes/wundarex.com/img/gradient.png) right / contain no-repeat;
  
}

.popular-games h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.games-carousel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.games-wrapper {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  animation: scroll 20s linear infinite;
}

.games-wrapper:hover {
  animation-play-state: paused;
}

.game-item {
  min-width: 300px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Games Showcase Section */
.games-showcase {
  padding: 100px 0;
  background: url(/wp-content/themes/wundarex.com/img/bg-2.png) right / 15% no-repeat;

}

.showcase-description {
  font-size: 1.1rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

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

.game-showcase-item {
  text-align: center;
  border-radius: 15px;

 
  transition: transform 0.3s ease;
}

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

.game-showcase-item img {

  object-fit: cover;
}

.game-showcase-item h3 {
  padding: 1rem;
  font-size: 1.5rem;
}

/* Join Adventure Section */
.join-adventure {
  padding: 80px 0;
  background: url(/wp-content/themes/wundarex.com/img/bg-2.png) left / contain no-repeat;

}

.join-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.join-image {
  border-radius: 15px;
  overflow: hidden;
}

.join-image img {
  width: 100%;

  object-fit: cover;
}

.join-text p {
  margin-bottom: 2rem;
  color: var(--light-gray);
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

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

.form button {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {

  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  gap: 10px;
  margin-bottom: 1rem;
  color: var(--light-gray);
}

.contact-icon {
  font-size: 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-links ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

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

.footer-links a:hover {
  color: var(--accent-blue);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: var(--accent-blue);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--darker-blue);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-images {
    height: 300px;
  }

  .about-content,
  .join-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .game-item {
    min-width: 250px;
  }

  .footer-links ul {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-content {
    margin: 10px;
    padding: 15px;
  }

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

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

  .hero-images {
    height: 250px;
  }

  .card-1 {
    width: 150px;
    height: 150px;
  }

  .card-2 {
    width: 130px;
    height: 130px;
  }

  .card-3 {
    width: 110px;
    height: 110px;
  }

  .game-item {
    min-width: 200px;
    height: 150px;
  }

  .games-showcase .container,
  .popular-games .container,
  .about .container,
  .join-adventure .container {
    padding: 0 15px;
  }
}

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

}

.games-hero-content h1 {
  margin-bottom: 2rem;
}

.games-hero-description {
  font-size: 1.1rem;
  color: var(--light-gray);
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
}

.games-grid-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.games-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.game-card-large {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card-large:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-card-large img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.game-info {
  padding: 1.5rem;
}

.game-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.game-info p {
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Game Detail Page Styles */
.game-detail-hero {
  padding: 120px 0 80px;
  background: url(/wp-content/themes/wundarex.com/img/bg-2.png) right / 15% no-repeat;

}

.game-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.game-detail-text h1 {
  margin-bottom: 2rem;
}

.game-description {
  font-size: 1.1rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.game-detail-image {
  position: relative;
}

.game-screenshot {
  position: relative;
  border-radius: 15px;
  overflow: hidden;

}

.game-screenshot img {
  width: 100%;

  object-fit: cover;
}

.game-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: var(--white);
}

.game-title-overlay h3 {
  font-size: 1.8rem;
  margin: 0;
}

/* Game Features Section */
.game-features {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.game-features h2 {
  margin-bottom: 3rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2rem;
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary-blue), var(--accent-blue));
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.feature-content p {
  color: var(--light-gray);
  line-height: 1.6;
  margin: 0;
}

/* Mobile Styles for New Pages */
@media (max-width: 768px) {
  .games-grid-large {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .game-card-large img {
    height: 200px;
  }

  .game-info {
    padding: 1rem;
  }

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

  .game-screenshot img {
  
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .feature-icon {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .games-hero-description {
    padding: 0 1rem;
  }

  .game-card-large img {
    height: 180px;
  }

  .game-screenshot img {
    
  }

  .feature-item {
    padding: 1rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--darker-blue);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}
