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

body {
  font-family: 'Lato', sans-serif;
  color: #f0f0f0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  min-height: 100vh;
  line-height: 1.6;
}

.page-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  border-right: 2px solid rgba(124, 58, 237, 0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 2rem 2rem;
  border-bottom: 2px solid rgba(124, 58, 237, 0.3);
  margin-bottom: 2rem;
  font-family: 'Cinzel', serif;
}

.logo-icon {
  font-size: 2rem;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(124, 58, 237, 0.8)); }
  50% { filter: drop-shadow(0 0 15px rgba(167, 139, 250, 1)); }
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 1px;
}

.nav-menu {
  list-style: none;
  padding: 0 1rem;
}

.nav-menu li {
  margin-bottom: 0.5rem;
}

.nav-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: #d1d5db;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.nav-menu a:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
  transform: translateX(5px);
}

.nav-menu a.active {
  background: rgba(124, 58, 237, 0.4);
  color: #fff;
  border-left: 4px solid #a78bfa;
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  background: rgba(17, 24, 39, 0.95);
  border: 2px solid rgba(124, 58, 237, 0.5);
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #a78bfa;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.main-content {
  margin-left: 280px;
  flex: 1;
  padding: 2rem;
  width: calc(100% - 280px);
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(17, 24, 39, 0.6);
  border-radius: 20px;
  margin-bottom: 3rem;
  border: 2px solid rgba(124, 58, 237, 0.3);
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #a78bfa;
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #d1d5db;
  max-width: 700px;
  margin: 0 auto;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: rgba(17, 24, 39, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h2 {
  font-family: 'Cinzel', serif;
  color: #a78bfa;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: #d1d5db;
  line-height: 1.8;
}

.game-section {
  margin-bottom: 3rem;
}

.game-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: #a78bfa;
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  color: #d1d5db;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.game-container {
  background: rgba(17, 24, 39, 0.8);
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid rgba(124, 58, 237, 0.3);
}

.game-frame {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
}

.notice-section {
  margin-bottom: 3rem;
}

.notice-box {
  background: rgba(17, 24, 39, 0.9);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid #a78bfa;
}

.notice-box.important {
  border-left-color: #fbbf24;
}

.notice-box h3 {
  font-family: 'Cinzel', serif;
  color: #a78bfa;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.notice-box ul {
  list-style: none;
  padding-left: 0;
}

.notice-box li {
  color: #d1d5db;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.notice-box li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #a78bfa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  background: rgba(17, 24, 39, 0.7);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(124, 58, 237, 0.2);
}

.feature h3 {
  color: #a78bfa;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.feature p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer {
  background: rgba(17, 24, 39, 0.95);
  padding: 2rem;
  border-top: 2px solid rgba(124, 58, 237, 0.3);
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  color: #a78bfa;
  margin-bottom: 0.75rem;
  font-family: 'Cinzel', serif;
}

.footer-section p {
  color: #d1d5db;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #6b7280;
}

.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.age-gate.hidden {
  display: none;
}

.age-gate-content {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  text-align: center;
  border: 3px solid #a78bfa;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.6);
}

.age-gate-content h2 {
  font-family: 'Cinzel', serif;
  color: #a78bfa;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.age-gate-content p {
  color: #d1d5db;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Lato', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: rgba(107, 114, 128, 0.5);
  color: #d1d5db;
}

.btn-secondary:hover {
  background: rgba(107, 114, 128, 0.8);
}

.hero-small {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.hero-small h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: #a78bfa;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(124, 58, 237, 0.8);
}

.hero-small p {
  color: #d1d5db;
  font-size: 1.2rem;
}

.content-section {
  background: rgba(17, 24, 39, 0.8);
  padding: 3rem;
  border-radius: 15px;
  border: 2px solid rgba(124, 58, 237, 0.3);
  margin-bottom: 2rem;
}

.content-section h1 {
  font-family: 'Cinzel', serif;
  color: #a78bfa;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.content-section h2 {
  font-family: 'Cinzel', serif;
  color: #c4b5fd;
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-section p {
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-section ul {
  color: #d1d5db;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.update-date {
  color: #9ca3af;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.play-section {
  margin-bottom: 3rem;
}

.play-info {
  background: rgba(17, 24, 39, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid rgba(124, 58, 237, 0.3);
  margin-bottom: 2rem;
}

.play-info h2 {
  font-family: 'Cinzel', serif;
  color: #a78bfa;
  margin-bottom: 1rem;
}

.play-info p {
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.play-instructions {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.play-instructions li {
  color: #d1d5db;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.play-instructions li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a78bfa;
  font-weight: bold;
}

.play-notice {
  background: rgba(124, 58, 237, 0.2);
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #a78bfa;
  margin-top: 1.5rem;
}

.play-notice p {
  margin: 0;
  color: #e0e7ff;
}

.game-container-full {
  background: rgba(17, 24, 39, 0.8);
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid rgba(124, 58, 237, 0.3);
}

.game-frame-full {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 10px;
}

.disclaimer-box {
  background: rgba(17, 24, 39, 0.9);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 5px solid #a78bfa;
}

.disclaimer-box.warning {
  border-left-color: #f59e0b;
}

.disclaimer-box.info {
  border-left-color: #3b82f6;
}

.disclaimer-box.success {
  border-left-color: #10b981;
}

.disclaimer-box h2 {
  font-family: 'Cinzel', serif;
  color: #a78bfa;
  margin-bottom: 1rem;
}

.disclaimer-box p {
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.disclaimer-box ul {
  color: #d1d5db;
  margin-left: 1.5rem;
}

.disclaimer-box li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.active {
    transform: translateX(0);
  }

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

  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 5rem 1rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

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

  .game-frame {
    height: 400px;
  }

  .game-frame-full {
    height: 500px;
  }

  .age-gate-content {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }

  .age-gate-buttons {
    flex-direction: column;
  }

  .content-section {
    padding: 2rem 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
