* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Age Modal */
.age-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-modal.visible {
  display: flex;
}

.age-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.age-modal-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 50px;
  border-radius: 25px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.age-modal-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #667eea;
  font-weight: 600;
}

.age-modal-card p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #555;
}

.modal-note {
  font-weight: 600;
  color: #764ba2;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-accept, .btn-decline {
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.btn-accept {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-decline {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-decline:hover {
  background: rgba(102, 126, 234, 0.1);
}

/* Top Navigation */
.top-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: #667eea;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: #667eea;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Menu Button */
.menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.menu-btn span {
  width: 25px;
  height: 3px;
  background: #667eea;
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  padding: 120px 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
  padding: 80px 30px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 50px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.intro-section {
  background: transparent;
}

.intro-card {
  padding: 50px;
}

.intro-card h2 {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 25px;
  font-weight: 700;
}

.intro-card p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: #555;
}

/* Notices Section */
.notices-section {
  background: transparent;
}

.notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.notice-item {
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease;
}

.notice-item:hover {
  transform: translateY(-10px);
}

.notice-symbol {
  font-size: 3rem;
  margin-bottom: 20px;
}

.notice-item h3 {
  font-size: 1.6rem;
  color: #667eea;
  margin-bottom: 15px;
  font-weight: 600;
}

.notice-item p {
  font-size: 1.05rem;
  color: #555;
}

/* Game Section */
.game-section {
  background: transparent;
}

.game-wrapper {
  padding: 40px;
}

.game-description {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555;
}

.game-player {
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.game-frame {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Features Section */
.features-section {
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-box {
  padding: 35px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
}

.feature-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 1.5rem;
  color: #667eea;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-box p {
  font-size: 1.05rem;
  color: #555;
}

/* Play Page */
.play-hero, .legal-hero {
  padding: 80px 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.play-hero h1, .legal-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.play-hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
}

.legal-date {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* Play Instructions */
.play-instructions {
  background: transparent;
}

.play-instructions .glass-card {
  padding: 40px;
}

.play-instructions h2 {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 20px;
  font-weight: 600;
}

.play-instructions p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #555;
}

/* Legal Content */
.legal-content {
  background: transparent;
}

.legal-text {
  padding: 50px;
}

.legal-text h2 {
  font-size: 1.9rem;
  color: #667eea;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

.legal-text p, .legal-text li {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #555;
}

.legal-text ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: white;
  padding: 60px 30px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-column p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.support-links, .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-links a, .footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.support-links a:hover, .footer-nav a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  opacity: 0.85;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    padding: 30px;
    transition: left 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    gap: 20px;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .game-frame {
    height: 400px;
  }
  
  .notices-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  
  .age-modal-card, .intro-card, .game-wrapper, .legal-text {
    padding: 30px 20px;
  }
}
