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

.success__text {
  margin-bottom: 30px;
}

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

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

.policy__title {
  margin-bottom: 20px;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 16px;
  color: #fff;
}

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

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  min-height: 100vh;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #000;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffa500 0%, #ffd700 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
}

.btn-secondary:hover {
  background: #ffd700;
  color: #000;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

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

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

.popup-content {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  margin: 20px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-popup .age-icon {
  margin-bottom: 20px;
}

.age-badge {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: #ff4444;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin: 0 auto 20px;
}

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

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

.popup-content p {
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 16px;
}

.popup-content .btn {
  margin: 0 10px;
  min-width: 120px;
}

.black-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  color: #fff;
  font-size: 24px;
  display: none;
}

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

/* Header */
.header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

.logo {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

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

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

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

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

.disclaimer {
  background: rgba(255, 215, 0, 0.1);
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #fff;
}

.disclaimer-icon {
  background: #ffd700;
  color: #000;
  padding: 4px 8px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 12px;
}

/* Main Content */
main {
  margin-top: 120px;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: url("../img/gradient-bg.png") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero .container {
  align-items: center;
}

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  text-align: center;
}

.hero-content .highlight {
  color: #ffd700;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #ccc;
  line-height: 1.6;
  text-align: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 80px 0;
  background: #f8f8f8;
  color: #333;
}

.why-choose-us h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #000;
}

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

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.feature p {
  line-height: 1.7;
  color: #666;
}

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

.games h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #ffd700;
}

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

.game-card {
  background: #ffe9c7;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-image {
  margin-top: 20px;
  height: 300px;
}

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

.game-info {
  padding: 30px;
}

.game-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000000;
}

.game-info p {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #000000;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #ffe9c7;
}

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

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #000;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #666;
  font-size: 16px;
}

/* Responsible Gaming Section */
.responsible-gaming {
  padding: 80px 0;
  background: #1a1a1a;
  color: #fff;
}

.responsible-gaming h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #ffd700;
}

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

.responsible-card {
  background: #ffe9c7;
  padding: 40px;
  border-radius: 15px;
}

.responsible-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #695e05;
}

.responsible-card p {
  line-height: 1.7;
  color: #382e00;
}

/* Registration Section */
.registration {
  padding: 80px 0;
  background: url("../img/gradient-bg-2.png") center / cover no-repeat;
  color: #fff;
}

.registration h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.subtitle {
  font-weight: 400;
  font-size: 24px;
}

.registration-form {
  max-width: 800px;
  margin: 40px auto 0;
  background: #ffe9c7;
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.form-group input {
  padding: 15px;
  border: 2px solid rgba(90, 90, 90, 0.897);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.form-group input::placeholder {
  color: rgba(56, 56, 56, 0.7);
}

.form-group input:focus {
  outline: none;
  border-color: #ffd700;
  background: rgba(255, 255, 255, 0.15);
}

.registration-form .btn {
  width: 200px;
  padding: 15px;
  font-size: 16px;
}

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

.footer-content {
  display: grid;

  gap: 40px;
  margin-bottom: 40px;
}

.footer-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #ccc;
  font-size: 14px;
}

.footer-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-icons img {
  width: 100%;
  max-width: 400px;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 1200px) {
  .footer-middle {
    flex-direction: row;
    align-items: center;
  }
}

.age-rating {
  background: #ffd700;
  color: #000;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: bold;
}

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

.platform-icons img {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

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

.footer-partners {
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  background-color: #fff;
}

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

@media (max-width: 768px) {
  .footer-partners img {
    height: 30px;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  font-size: 12px;
  color: #888;
}

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

  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: height 0.3s ease;
  }

  .nav-menu.active {
    height: 300px;
  }

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

  main {
    margin-top: 100px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

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

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

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

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

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

  .registration-form {
    padding: 30px 20px;
  }
}

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

.game-header {
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background-color: #ffe9c7;
}

.game-logo {
  flex: 1;
  min-width: 250px;
  padding-right: 20px;
}

.game-logo img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 10px;
}

.game-info {
  flex: 1;
  min-width: 300px;
  background-color: #ffe9c7;
}

.game-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #090d06;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.game-subtitle {
  color: #090d06;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.game-description {
  line-height: 1.6;
  color: #090d06;
  font-size: 0.95rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.game-container {
  background: #2a2a2a;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.game-frame {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
  background: #1a1a1a;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

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

@media (max-width: 768px) {
  .game-header {
    flex-direction: column;
    text-align: center;
  }

  .game-logo {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .game-title {
    font-size: 2rem;
  }

  .game-frame {
    height: 450px;
  }

  .game-section {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .game-title {
    font-size: 1.5rem;
  }

  .game-frame {
    height: 350px;
  }
}

/* Legal Pages Styles */
.legal-content {
  padding: 80px 0;
  background: #f8f8f8;
  min-height: calc(100vh - 200px);
}

.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-wrapper h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #000;
  text-align: center;
}

.legal-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px 0;
  color: #000;
}

.legal-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #666;
  font-size: 16px;
}

.legal-text strong {
  color: #000;
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-wrapper {
    margin: 0 20px;
    padding: 40px 30px;
  }

  .legal-wrapper h1 {
    font-size: 28px;
  }

  .legal-text h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .legal-wrapper {
    padding: 30px 20px;
  }

  .legal-wrapper h1 {
    font-size: 24px;
  }

  .legal-text h2 {
    font-size: 18px;
  }
}
