.policy,
.success {
  padding-block: 120px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 27px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
}

.policy__text h2 {
  text-align: left;
  font-size: 22px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 19px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

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

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

body {
  font-family: "DM Serif Display", serif;
  line-height: 1.6;
  color: #ffffff;
  background: url("../img/bg.png") center / cover no-repeat,
    linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
  overflow-x: hidden;
}

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

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #241e8f, #4e1aa8);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
  font-family: "DM Serif Display", serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: "DM Serif Display", serif;
}

.btn-secondary:hover {
  background: white;
  color: #1a0b2e;
}

/* Popups */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(0px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

.age-popup .age-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

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

.popup-content h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.popup-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.popup-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.popup-buttons button {
  flex: 1;
  min-width: 120px;
}

/* Black Screen */
.black-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.black-screen.active {
  display: flex;
}

.black-content {
  text-align: center;
  color: white;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 11, 46, 0.95);
  backdrop-filter: blur(10px);
}

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

.logo h1 {
  font-size: 32px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.desktop-nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.desktop-nav a:hover {
  color: #7c3aed;
}

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
}

.info-banner {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  padding: 10px 0;
}

.info-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.info-icon {
  font-size: 20px;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Play Anywhere Section */
.play-anywhere {
  padding: 100px 0;
}

.play-anywhere h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 20px;
}

.play-anywhere > .container > p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  padding: 40px;
  border-radius: 20px;
  text-align: left;
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.feature-card p {
  opacity: 0.9;
  line-height: 1.6;
}

/* Pure Fun Section */
.pure-fun {
  padding: 100px 0;
}

.pure-fun-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pure-fun-text h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.pure-fun-text h3 {
  font-size: 24px;
  margin: 30px 0 20px;
}

.pure-fun-text p {
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.pure-fun-text ul {
  list-style: none;
  margin: 20px 0;
}

.pure-fun-text li {
  padding: 8px 0;
  position: relative;
  padding-left: 20px;
}

.pure-fun-text li:before {
  content: "•";
  color: #7c3aed;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.dice-image {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Games Section */
.games-section {
  padding: 100px 0;
}

.games-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 10px;
}

.games-section h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
  color: #7c3aed;
}

.games-section p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.game-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.game-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* Reviews Section */
.reviews {
  padding: 100px 0;
}

.reviews h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 30px;
}

.reviews > .container > p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

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

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.rating {
  color: #ffd700;
  font-size: 16px;
}

.testimonial p {
  font-style: italic;
  opacity: 0.9;
}

/* Why Play Section */
.why-play {
  padding: 100px 0;
}

.why-play h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
}

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

.why-play-card {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.why-play-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.why-play-card p {
  opacity: 0.9;
  line-height: 1.6;
}

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

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-details p {
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-family: "DM Serif Display", serif;
}

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

/* Footer */
.footer {
  background: #0a0a0a;
  padding: 60px 0 20px;
}

.disclaimer {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclaimer h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.disclaimer p {
  opacity: 0.9;
  line-height: 1.6;
}

.age-badge {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-brand h3 {
  font-size: 28px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platform-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.platform-icons img {
  height: 56px;
  object-fit: contain;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #7c3aed;
}

.footer-certifications {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 20px;
  background: white;
  border-radius: 15px;
}

.cert-logo {
  height: 40px;
  width: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.footer-policies {
  display: flex;
  gap: 20px;
}

.footer-policies a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-policies a:hover {
  color: #7c3aed;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(26, 11, 46, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: none;
    transition: transform 0.3s ease;
  }

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

  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
  }

  .mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .pure-fun-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .footer-links {
    grid-template-columns: 1fr;
  }

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

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

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

  .why-play-grid {
    grid-template-columns: 1fr;
  }

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

  .game-container iframe {
    height: 400px;
  }

  .age-badge {
    position: static;
    margin: 20px auto 0;
  }

  .disclaimer {
    text-align: center;
  }

  .footer-certifications {
    flex-wrap: wrap;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

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

  .hero-content p,
  .pure-fun-text p,
  .reviews > .container > p {
    font-size: 16px;
  }

  h2 {
    font-size: 32px !important;
  }

  .feature-card,
  .why-play-card {
    padding: 30px;
  }

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

  .game-container iframe {
    height: 300px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.testimonial,
.why-play-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles */
button:focus,
input:focus {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}
