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

body {
  font-family: 'Khand', sans-serif;
  background: #100425;
  color: white;
  overflow-x: hidden;

}

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

/* Header */
header {
  background: #100425;
  padding: 12px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 400;
  text-decoration: none;
  color: white;
  cursor: pointer;
}



nav {
  display: flex;
  gap: 45px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  cursor: pointer;
}

nav a:hover {
  color: #00d9ff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 5, 20, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  margin-top: 60px;
  padding: 60px 40px 80px;
  background: linear-gradient(180deg, #2563b3 0%, #4c3a8f 50%, #0a0514 100%);
  position: relative;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  background: linear-gradient(135deg, rgba(45, 70, 130, 0.5) 0%, rgba(70, 50, 120, 0.4) 100%);
  border-radius: 25px;
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: url(/wp-content/themes/drexylvania/assets/images/setka.png);
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 38px;
  opacity: 0.95;
  font-weight: 400;
}

.cta-btn {
  background: linear-gradient(90deg, #00d9ff 0%, #b24bf3 100%);
  color: white;
  border: none;
  padding: 16px 48px;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  letter-spacing: 1.5px;
  font-family: 'Khand', sans-serif;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.hero-image {
  width: 100%;
  height: 460px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about-section {
  padding: 90px 40px;
  background: linear-gradient(180deg, #0a0514 0%, #1a0b2e 50%, #2a1a4a 100%);
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
}

.about-container > h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 55px;
  letter-spacing: -0.5px;
}

.about-content {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.about-image {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 22px;
  opacity: 0.92;
  font-weight: 400;
}

.about-footer {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.92;
  font-weight: 400;
}

/* Features Section */
.features-section {
  padding: 90px 40px;
  background: linear-gradient(180deg, #2a1a4a 0%, #3a2a6a 50%, #2a1a4a 100%);
  text-align: center;
  position: relative;
}
.bgleft{
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 0;
}
.bgright{
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 0;
}

.features-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.features-container > h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 55px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 45px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 38px 35px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(100, 80, 200, 0.3);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 1.2px;
}

.feature-card p {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.88;
  font-weight: 400;
}

.features-footer {
  font-size: 18px;
  margin: 38px 0;
  opacity: 0.92;
  font-weight: 400;
}

/* Review Process Section */
.review-section {
  padding: 90px 40px;
  background: linear-gradient(180deg, #2a1a4a 0%, #1a0b2e 100%);
}

.review-container {
  max-width: 1280px;
  margin: 0 auto;
}

.review-container > h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 55px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.review-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.review-image {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 22px;
  opacity: 0.92;
  font-weight: 400;
}

.review-footer {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.92;
  font-weight: 400;
}

/* Testimonials Section */
.testimonials-section {
  padding: 90px 40px;
  background: linear-gradient(180deg, #1a0b2e 0%, #2a1a4a 50%, #3a2a6a 100%);
  text-align: center;
  position: relative;
}
.testimonials-section .bgleft {
  width: 30%;
}
.testimonials-section .bgright {
  width: 30%;
}

.testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonials-container > h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 55px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.testimonials-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px 30px;
  text-align: left;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-stars {
  color: #ffa500;
  font-size: 15px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 400;
}

.testimonials-footer {
  font-size: 18px;
  margin: 40px 0;
  opacity: 0.92;
  font-weight: 400;
}

/* Footer */
footer {
  background: #100425;
  padding: 50px 40px 28px;
  position: relative;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 55px;
  margin-bottom: 32px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  color: #00d9ff;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-contact span {
  font-size: 16px;
  opacity: 0.85;
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 16px;
}



.social-icon:hover {
  border-color: #00d9ff;
  background: rgba(0, 217, 255, 0.1);
}

.footer-copyright {
  text-align: center;
  font-size: 14px;
  opacity: 0.65;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 400;
}

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 4, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 38px 48px;
  max-width: 750px;
  width: 90%;
  z-index: 2000;
  backdrop-filter: blur(12px);
}

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

.cookie-popup h3 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 18px;
}

.cookie-popup p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
  opacity: 0.9;
  font-weight: 400;
}

.cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.cookie-accept {
  background: linear-gradient(90deg, #00d9ff 0%, #b24bf3 100%);
  color: white;
  border: none;
  padding: 14px 42px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s;
  letter-spacing: 1.2px;
  font-family: 'Khand', sans-serif;
}

.cookie-accept:hover {
  transform: translateY(-2px);
}

.cookie-learn {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px 42px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.3s;
  letter-spacing: 1.2px;
  font-family: 'Khand', sans-serif;
}

.cookie-learn:hover {
  border-color: #00d9ff;
}

/* Responsive */
@media (max-width: 968px) {
  .header-container {
      padding: 0 20px;
  }

  nav {
      display: none;
  }

  .mobile-menu-btn {
      display: block;
  }

  .hero-section {
      padding: 40px 20px 60px;
  }

  .hero-container {
      grid-template-columns: 1fr;
      padding: 45px 30px;
      gap: 35px;
  }

  .hero-content h1 {
      font-size: 38px;
  }

  .hero-content p {
      font-size: 17px;
  }

  .hero-image {
      height: 350px;
  }

  .about-section,
  .features-section,
  .review-section,
  .testimonials-section {
      padding: 60px 20px;
  }

  .about-content,
  .review-content {
      grid-template-columns: 1fr;
      gap: 35px;
  }

  .about-image,
  .review-image {
      height: 280px;
  }

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

  .about-container > h2,
  .features-container > h2,
  .testimonials-container > h2,
  .review-container > h2 {
      font-size: 34px;
  }

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

  .footer-links {
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }

  .cookie-popup {
      padding: 28px 24px;
      bottom: 15px;
  }

  .cookie-popup h3 {
      font-size: 26px;
  }

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

@media (max-width: 480px) {
  .hero-content h1 {
      font-size: 32px;
  }

  .cta-btn {
      width: 100%;
  }
}




/* Games Catalog Section */
.games-catalog-section {
  padding: 90px 40px;
  background: linear-gradient(180deg, #2a1a4a 0%, #1a0b2e 50%, #2a1a4a 100%);
}

.games-catalog-container {
  max-width: 1280px;
  margin: 0 auto;
}

.games-catalog-container > h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.games-catalog-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.92;
  font-weight: 400;
}

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

.game-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  aspect-ratio: 1;
}

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

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(100, 80, 200, 0.4);
}

/* Responsive для секции каталога */
@media (max-width: 968px) {
  .games-catalog-section {
      padding: 60px 20px;
  }
  
  .games-grid {
      grid-template-columns: 1fr;
  }
  
  .games-catalog-container > h2 {
      font-size: 34px;
  }
}

/* Game Detail Section */
.game-detail-section {
  padding: 90px 40px;
  background: #100425;
}

.game-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 60px;
}

.game-detail-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
}

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

.play-now-btn {
  background: linear-gradient(90deg, #00d9ff 0%, #b24bf3 100%);
  color: white;
  border: none;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  letter-spacing: 1.5px;
  font-family: 'Khand', sans-serif;
  text-align: center;
  text-decoration: none;
  display: block;
}

.play-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.game-instructions h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  margin-top: 25px;
  letter-spacing: 1px;
}

.game-instructions ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.game-instructions li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
  opacity: 0.9;
  font-weight: 400;
}

.game-instructions p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  font-weight: 400;
}

.game-detail-right h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.game-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 35px;
  opacity: 0.92;
  font-weight: 400;
}

.game-detail-right h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.game-features {
  list-style: none;
  padding: 0;
}

.game-features li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.9;
  font-weight: 400;
  padding-left: 20px;
  position: relative;
}

.game-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00d9ff;
  font-size: 24px;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 968px) {
  .game-detail-section {
      padding: 60px 20px;
  }
  
  .game-detail-container {
      grid-template-columns: 1fr;
      gap: 40px;
  }
  
  .game-detail-right h2 {
      font-size: 36px;
  }
}

footer .bgleft{
  position: absolute;
  left: 0px;
  top: -200%;
  z-index: 0;
  width: 20%;

}
footer .bgright{
  position: absolute;
  right: 0px;
  top: -200%;
  z-index: 0;
  width: 20%;

}