/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a0d2e;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Age Verification Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  margin: 15% auto;
  padding: 30px;
  /* border: 2px solid #d4af37; */
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-header h2 {
  color: #d4af37;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.modal-body p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.age-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-confirm,
.btn-deny {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-confirm {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
}

.btn-confirm:hover {
  background: linear-gradient(135deg, #b8941f, #d4af37);
  transform: translateY(-2px);
}

.btn-deny {
  background: #8b0000;
  color: white;
}

.btn-deny:hover {
  background: #a00000;
  transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  border-top: 2px solid #d4af37;
  padding: 15px;
  z-index: 999;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-content a {
  color: #d4af37;
  text-decoration: none;
}

.btn-accept {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept:hover {
  background: linear-gradient(135deg, #b8941f, #d4af37);
  transform: translateY(-1px);
}

/* Header */
.header {
  background: linear-gradient(135deg, #8b0000, #a00000);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #d4af37;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: #8b0000;
  padding: 10px 0;
  text-align: center;
}

.disclaimer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.age-badge {
  background: white;
  color: #8b0000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.disclaimer-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2d1b4e 0%, #4a1a2e 50%, #8b0000 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.moon {
  position: absolute;
  top: 50px;
  right: 100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0.6;
}

.buildings {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.btn-primary {
  background: linear-gradient(135deg, #2d1b4e, #4a1a2e);
  color: white;
  /* border: 2px solid #d4af37; */
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-frame {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.character-frame::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 25px;
  z-index: -1;
}

.character {
  font-size: 8rem;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

/* About Section */
.about {
  background: #2d1b4e;
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.section-subtitle {
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.7;
}

/* Games Section */
.games {
  position: relative;
  background: linear-gradient(135deg, #2d1b4e 0%, #4a1a2e 50%, #8b0000 100%);
  padding: 80px 0;
  overflow: hidden;
}

.games-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.games-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.games-header .section-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.game-card {
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  /* border: 2px solid #d4af37; */
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.game-card:hover::before {
  left: 100%;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
  border-color: #b8941f;
}

.game-image {
  width: 200px;
  height: 155px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
}

.game-image-img {
  width: 100%;
  height: 100%;
  /* object-fit: cover;
  border-radius: 50%; */
}

/* Game iframe styles */
.game-iframe {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
}

.game-iframe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(138, 43, 226, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.game-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  position: relative;
  z-index: 2;
}

/* Loading state for iframe */
.game-iframe.loading {
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-iframe.loading::after {
  content: "Loading Game...";
  color: #d4af37;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  z-index: 3;
}

/* Responsive iframe */
@media (max-width: 768px) {
  .game-iframe {
    height: 70vh;
    min-height: 500px;
    margin: 20px auto;
    border-radius: 10px;
  }

  .game-iframe iframe {
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .game-iframe {
    height: 60vh;
    min-height: 400px;
    margin: 15px auto;
    border-radius: 8px;
  }

  .game-iframe iframe {
    border-radius: 8px;
  }
}

.game-character {
  font-size: 3rem;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.btn-game {
  background: linear-gradient(135deg, #1a0d2e, #2d1b4e);
  color: white;
  /* border: 2px solid #d4af37; */
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.btn-game:hover {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
  transform: translateY(-2px);
}

/* Disclaimer Section */
.disclaimer {
  background: #8b0000;
  padding: 60px 0;
}

.disclaimer-content {
  /* display: grid; */
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.disclaimer-title {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: white;
}

.disclaimer-info p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.disclaimer-info ul {
  list-style: none;
  margin-top: 20px;
}

.disclaimer-info li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 1rem;
}

.disclaimer-info li::before {
  content: "•";
  color: #d4af37;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.responsible-gaming {
  text-align: center;
}

.rg-banner {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.rg-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  /* border: 2px solid #d4af37; */
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-align: center;
}

.rg-link:hover {
  background: #d4af37;
  color: #1a0d2e;
}

.age-icon {
  background: #d4af37;
  color: #1a0d2e;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: #660000;
  padding: 40px 0;
  border-top: 2px solid #d4af37;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-left p {
  margin-bottom: 5px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-right a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #d4af37;
}

/* Footer Resources */
.footer-resources {
  border-top: 1px solid #d4af37;
  padding-top: 20px;
}

.responsible-gaming-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.rg-link {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  /* width: 50px; */
  height: 71px;
  text-decoration: none;
  /* border: 2px solid #d4af37; */
  border-radius: 50%;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1));
  /* overflow: hidden; */
}

.rg-link:hover {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  border-color: #b8941f;
}

.rg-link img {
  /* width: 30px;
  height: 30px; */
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.rg-link:hover img {
  filter: brightness(0) invert(0);
}

.age-badge-footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-icon {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.age-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .disclaimer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .nav {
    flex-direction: column;
    gap: 15px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 20% auto;
    width: 95%;
  }

  .age-buttons {
    flex-direction: column;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .responsible-gaming-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .rg-link {
    width: 55px;
    height: 55px;
  }

  .rg-link img {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .character-frame {
    width: 250px;
    height: 250px;
  }

  .character {
    font-size: 6rem;
  }

  .responsible-gaming-links {
    gap: 15px;
  }

  .rg-link {
    width: 60px;
    height: 60px;
  }

  .rg-link img {
    width: 40px;
    height: 40px;
  }
}
