@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  --primary-dark: #0a0a12;
  --secondary-dark: #12121f;
  --accent-purple: #7b2cbf;
  --accent-pink: #e040fb;
  --text-light: #f0f0f5;
  --text-muted: #9e9eb8;
  --gradient-1: linear-gradient(135deg, #7b2cbf 0%, #e040fb 100%);
  --shadow-glow: 0 0 40px rgba(123, 44, 191, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--secondary-dark);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(123, 44, 191, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  margin-right: 10px;
  vertical-align: middle;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

nav ul li a:hover {
  color: var(--accent-pink);
}

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

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--accent-purple);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Main Content */
main {
  margin-top: 80px;
  min-height: calc(100vh - 180px);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(123, 44, 191, 0.15) 0%, transparent 70%);
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 3.5rem;
  margin-bottom: 25px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Notices */
.notices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 50px 0;
}

.notice-card {
  background: var(--secondary-dark);
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(123, 44, 191, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.notice-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.notice-card h3 {
  font-family: 'Cinzel', serif;
  margin-bottom: 12px;
  color: var(--accent-pink);
}

.notice-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Game Section */
.game-section {
  padding: 60px 0;
}

.game-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 35px;
  color: var(--accent-pink);
}

.game-wrapper {
  background: var(--secondary-dark);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(123, 44, 191, 0.3);
  box-shadow: var(--shadow-glow);
}

.game-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 12px;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--secondary-dark);
}

.features h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
}

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

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-item .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-item h4 {
  margin-bottom: 10px;
  color: var(--accent-purple);
}

/* Page Content */
.page-content {
  padding: 80px 0;
}

.page-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: var(--accent-pink);
}

.page-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--accent-purple);
}

.page-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.page-content ul {
  margin: 20px 0 20px 40px;
  color: var(--text-muted);
}

.page-content ul li {
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: var(--secondary-dark);
  padding: 50px 0 30px;
  border-top: 1px solid rgba(123, 44, 191, 0.3);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-family: 'Cinzel', serif;
  margin-bottom: 20px;
  color: var(--accent-pink);
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-purple);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(123, 44, 191, 0.2);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Age Verification Popup */
.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 18, 0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.age-popup-content {
  background: var(--secondary-dark);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  border: 2px solid var(--accent-purple);
  box-shadow: var(--shadow-glow);
}

.age-popup-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-pink);
}

.age-popup-content p {
  margin-bottom: 30px;
  color: var(--text-muted);
}

.age-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.age-buttons button {
  padding: 15px 45px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.age-buttons .yes-btn {
  background: var(--gradient-1);
  color: white;
}

.age-buttons .no-btn {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--text-muted);
}

.age-buttons button:hover {
  transform: scale(1.05);
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .notices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary-dark);
    padding: 20px;
    display: none;
    border-bottom: 1px solid rgba(123, 44, 191, 0.3);
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .game-wrapper iframe {
    height: 400px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .age-popup-content {
    margin: 20px;
    padding: 30px;
  }
}
