.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: "Roboto", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a1a1a;
  overflow-x: hidden;
}

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

/* Buttons */
.btn-primary,
.btn-hero,
.btn-game,
.btn-submit {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #00d4aa 0%, #008b7a 100%);
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary:hover,
.btn-hero:hover,
.btn-game:hover,
.btn-submit:hover {
  background: linear-gradient(135deg, #008b7a 0%, #00d4aa 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 212, 170, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #00d4aa;
  text-decoration: none;
  border: 2px solid #00d4aa;
  border-radius: 25px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-secondary:hover {
  background: #00d4aa;
  color: #1a1a1a;
  transform: translateY(-2px);
}

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

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

.popup-content {
  background: #2a2a2a;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

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

.success-popup .success-icon {
  background: #00d4aa;
  font-size: 24px;
}

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

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

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

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

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

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

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

.black-screen-content {
  text-align: center;
}

.black-screen-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
}

.black-screen-content p {
  font-size: 18px;
  color: #cccccc;
}

/* Header */
.header {
  background: #1a1a1a;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #333;
}

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

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

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

.nav-list a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #00d4aa;
}

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

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
}

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

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

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

/* Notice Bar */
.notice-bar {
  background: #00d4aa;
  padding: 15px 0;
  margin-top: 70px;
}

.notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.notice-icon {
  padding: 5px 10px;
  font-weight: bold;
  font-size: 14px;
}

.notice-content p {
  color: #1a1a1a;
  font-weight: 500;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-visual {
  margin-bottom: 40px;
}

.hero-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #00d4aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn-hero {
  font-size: 18px;
  padding: 18px 40px;
  border-radius: 30px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #2a2a2a;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.0001) 0%, #00928f 90.27%);
  padding: 30px;
  border-radius: 15px;
  color: #ffffff;
}

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

.feature-icon img {
  width: 90px;
  height: 90px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Games Section */
.games {
  padding: 80px 0;
  background: #1a1a1a;
}

.games-showcase {
  background: #333333;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.games h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.games p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 40px;
  line-height: 1.6;
}

.game-preview {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.game-iframe {
  width: 100%;
  max-width: 800px;
  height: 600px;
  border: none;
  border-radius: 15px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-preview img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
}

.btn-game {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: #2a2a2a;
}

.testimonials h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

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

.testimonial-card {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.0001) 0%, #00928f 90.27%);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  color: #ffffff;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
}

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

.testimonial-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.stars {
  color: #ffd700;
  margin-bottom: 15px;
  font-size: 16px;
}

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

/* Pure Fun Section */
.pure-fun-section {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.0001) 0%, #00928f 90.27%);
  border-radius: 20px;
  padding: 60px 40px;
}

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

.pure-fun-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #00d4aa;
}

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

.pure-fun-text p,
.pure-fun-text li {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 15px;
}

.pure-fun-text ul {
  margin: 20px 0 30px 20px;
}

.pure-fun-text li {
  margin-bottom: 10px;
}

.pure-fun-visual img {
  width: 100%;
  max-width: 450px;
}

/* Why Play Section */
.why-play {
  padding: 80px 0;
  background: #1a1a1a;
}

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

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

.why-card {
  background: #333333;
  padding: 30px;
  border-radius: 15px;
  border: 2px solid #00d4aa;
}

.why-card h3 {
  font-size: 20px;
  color: #00d4aa;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: #2a2a2a;
}

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

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #ffffff;
}

.contact-info p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.contact-details strong {
  color: #00d4aa;
}

.contact-form {
  background: #333333;
  padding: 40px;
  border-radius: 15px;
  border: 2px solid #00d4aa;
}

.contact-form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: #1a1a1a;
  border: 1px solid #555;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
}

.contact-form input:focus {
  outline: none;
  border-color: #00d4aa;
}

.contact-form input::placeholder {
  color: #888;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 600;
}

/* Disclaimer */
.disclaimer {
  padding: 40px 0;
}

.disclaimer-content {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
}

.disclaimer-icon {
  color: #ffffff;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.disclaimer-text {
  color: #1a1a1a;
}

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

.disclaimer-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #1a1a1a;
  padding: 60px 0 30px;
}

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

.footer-logo h3 {
  font-size: 24px;
  font-weight: bold;
}

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

.age-badge {
  background: #ff4444;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
}

.footer-icons img {
  width: 100%;
  object-fit: contain;
}

.footer-nav {
  margin-bottom: 40px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

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

.footer-nav a:hover {
  color: #00d4aa;
}

.footer-partners {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  background: #fff;
  padding: 30px;
  border-radius: 24px;
}

.footer-partners img {
  height: 40px;
  width: auto;
}

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

.footer-bottom p {
  color: #cccccc;
  font-size: 14px;
}

.footer-right {
  display: flex;
  gap: 25px;
}

.footer-right a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #00d4aa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #1a1a1a;
    transition: left 0.3s ease;
    padding: 50px 20px;
  }

  .nav.active {
    left: 0;
  }

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

  .nav-list a {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

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

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

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

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

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

  .game-iframe {
    height: 400px;
  }

  .footer-content {
    gap: 20px;
  }

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

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

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

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

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

  .notice-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

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

  .hero {
    padding: 40px 0;
  }

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

  .features,
  .testimonials,
  .why-play,
  .contact-section {
    padding: 60px 0;
  }

  .game-iframe {
    height: 300px;
    border-radius: 10px;
  }

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

  .popup-buttons button {
    width: 100%;
  }
}

/* Game iframe loading styles */
.iframe-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 600px;
  background: #333;
  border-radius: 15px;
  color: #ffffff;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #555;
  border-top: 4px solid #00d4aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.iframe-loading p {
  font-size: 16px;
  color: #cccccc;
}

@media (max-width: 768px) {
  .iframe-loading {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .iframe-loading {
    height: 300px;
    border-radius: 10px;
  }
}

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

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
