* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  color: #ccc;
  background: #0a0a0a;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(88, 28, 135, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.15) 0%, transparent 50%);
}

/* Age Barrier */
.age-barrier {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-barrier.active {
  display: flex;
}

.barrier-content {
  background: linear-gradient(135deg, #1a0a1a 0%, #2d0a1a 100%);
  padding: 50px;
  border-radius: 15px;
  max-width: 550px;
  width: 100%;
  text-align: center;
  border: 2px solid #8b0000;
  box-shadow: 0 0 50px rgba(139, 0, 0, 0.5);
}

.barrier-skull {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.barrier-content h2 {
  font-family: 'Creepster', cursive;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff4444;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.barrier-content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #ddd;
}

.barrier-warning {
  color: #ff4444;
  font-weight: 600;
}

.barrier-choices {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-enter, .btn-retreat {
  padding: 15px 35px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-enter {
  background: #8b0000;
  color: white;
}

.btn-enter:hover {
  background: #a00000;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.6);
}

.btn-retreat {
  background: transparent;
  color: #fff;
  border: 2px solid #666;
}

.btn-retreat:hover {
  border-color: #888;
  background: rgba(255, 255, 255, 0.05);
}

/* Header */
.main-header {
  background: linear-gradient(135deg, #1a0a1a 0%, #0a0a0a 100%);
  border-bottom: 2px solid #8b0000;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(139, 0, 0, 0.3);
}

.header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: 'Creepster', cursive;
  font-size: 2rem;
  color: #ff4444;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: #ff4444;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4444;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #ff4444;
  border-radius: 3px;
  transition: 0.3s;
}

/* Content Main */
.content-main {
  min-height: calc(100vh - 200px);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Dark Hero */
.dark-hero {
  padding: 120px 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, rgba(88, 28, 135, 0.2) 100%);
  border-bottom: 1px solid #8b0000;
}

.hero-inner h1 {
  font-family: 'Creepster', cursive;
  font-size: 4rem;
  color: #ff4444;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
}

.hero-text {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: #ddd;
}

.play-btn {
  display: inline-block;
  background: #8b0000;
  color: white;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid #8b0000;
}

.play-btn:hover {
  background: #a00000;
  box-shadow: 0 0 25px rgba(139, 0, 0, 0.6);
}

/* Sections */
section {
  padding: 80px 0;
}

.about-realm {
  border-bottom: 1px solid #333;
}

.about-box {
  background: linear-gradient(135deg, #1a0a1a 0%, #0a0a1a 100%);
  padding: 50px;
  border-radius: 15px;
  border: 1px solid #8b0000;
  box-shadow: 0 5px 30px rgba(139, 0, 0, 0.3);
}

.about-box h2 {
  font-family: 'Creepster', cursive;
  font-size: 2.5rem;
  color: #ff4444;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.4);
}

.about-box p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: #ccc;
}

/* Warnings Zone */
.warnings-zone {
  border-bottom: 1px solid #333;
}

.zone-title {
  font-family: 'Creepster', cursive;
  font-size: 2.8rem;
  color: #ff4444;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.warning-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.warning-card {
  padding: 40px;
  border-radius: 15px;
  border: 2px solid;
  transition: transform 0.3s ease;
}

.warning-card:hover {
  transform: translateY(-10px);
}

.card-red {
  background: linear-gradient(135deg, #2d0a0a 0%, #1a0a0a 100%);
  border-color: #8b0000;
}

.card-purple {
  background: linear-gradient(135deg, #1a0a2d 0%, #0a0a1a 100%);
  border-color: #581c87;
}

.card-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-color: #444;
}

.card-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 20px;
}

.warning-card h3 {
  font-family: 'Creepster', cursive;
  font-size: 1.7rem;
  color: #ff4444;
  margin-bottom: 15px;
}

.warning-card p {
  font-size: 1.05rem;
  color: #ccc;
}

/* Game Chamber */
.game-chamber {
  border-bottom: 1px solid #333;
}

.chamber-box {
  background: linear-gradient(135deg, #1a0a1a 0%, #0a0a1a 100%);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid #8b0000;
  box-shadow: 0 5px 30px rgba(139, 0, 0, 0.3);
}

.chamber-intro {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #ccc;
}

.game-enclosure {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(139, 0, 0, 0.5);
}

.game-portal {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Dark Features */
.dark-features {
  border-bottom: 1px solid #333;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-tile {
  background: linear-gradient(135deg, #1a0a1a 0%, #0a0a0a 100%);
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #333;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-tile:hover {
  border-color: #8b0000;
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(139, 0, 0, 0.3);
}

.tile-emoji {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-tile h3 {
  font-family: 'Creepster', cursive;
  font-size: 1.5rem;
  color: #ff4444;
  margin-bottom: 12px;
}

.feature-tile p {
  font-size: 1.05rem;
  color: #ccc;
}

/* Play Page */
.play-intro, .legal-header {
  padding: 80px 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, rgba(88, 28, 135, 0.2) 100%);
  border-bottom: 1px solid #8b0000;
}

.play-intro h1, .legal-header h1 {
  font-family: 'Creepster', cursive;
  font-size: 3.5rem;
  color: #ff4444;
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
}

.play-subtitle {
  font-size: 1.3rem;
  color: #ddd;
}

.legal-timestamp {
  font-size: 1.1rem;
  color: #999;
  font-style: italic;
}

/* Instructions */
.instructions-area {
  border-bottom: 1px solid #333;
}

.instruction-box {
  background: linear-gradient(135deg, #1a0a1a 0%, #0a0a1a 100%);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid #8b0000;
  box-shadow: 0 5px 30px rgba(139, 0, 0, 0.3);
}

.instruction-box h2 {
  font-family: 'Creepster', cursive;
  font-size: 2rem;
  color: #ff4444;
  margin-bottom: 20px;
}

.instruction-box p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #ccc;
}

/* Legal Content */
.legal-body {
  border-bottom: 1px solid #333;
}

.legal-document {
  background: linear-gradient(135deg, #1a0a1a 0%, #0a0a1a 100%);
  padding: 50px;
  border-radius: 15px;
  border: 1px solid #8b0000;
  box-shadow: 0 5px 30px rgba(139, 0, 0, 0.3);
}

.legal-document h2 {
  font-family: 'Creepster', cursive;
  font-size: 1.9rem;
  color: #ff4444;
  margin-top: 35px;
  margin-bottom: 15px;
}

.legal-document p, .legal-document li {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #ccc;
}

.legal-document ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

/* Footer */
.dark-footer {
  background: linear-gradient(135deg, #1a0a1a 0%, #0a0a0a 100%);
  border-top: 2px solid #8b0000;
  padding: 60px 0 30px;
}

.footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-block h4 {
  font-family: 'Creepster', cursive;
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #ff4444;
}

.footer-block p {
  margin-bottom: 15px;
  color: #999;
}

.help-links, .legal-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-links a, .legal-links a {
  color: #ff4444;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.help-links a:hover, .legal-links a:hover {
  opacity: 0.7;
}

.footer-end {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 72px;
    left: -100%;
    flex-direction: column;
    background: #1a0a1a;
    width: 100%;
    padding: 30px;
    transition: left 0.3s ease;
    border-bottom: 2px solid #8b0000;
    gap: 20px;
  }
  
  .main-nav.open {
    left: 0;
  }
  
  .hero-inner h1 {
    font-size: 2.8rem;
  }
  
  .hero-text {
    font-size: 1.1rem;
  }
  
  .zone-title {
    font-size: 2.2rem;
  }
  
  .game-portal {
    height: 400px;
  }
  
  .warning-cards, .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .barrier-content, .about-box, .chamber-box, .instruction-box, .legal-document {
    padding: 30px 20px;
  }
}
