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

body {
  font-family: "Orbitron", monospace;
  line-height: 1.6;
  color: #e0e0e0;
  overflow-x: hidden;
  background: #000000;
}

/* Pixel-style font for headings */
.pixel-font {
  font-family: "Press Start 2P", monospace;
  font-size: 0.6rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* Language Switcher - More Visible */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #1a0033;
  padding: 1rem;
  border-radius: 8px;
  border: 3px solid #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
    inset 0 0 10px rgba(139, 92, 246, 0.2);
}

.lang-label {
  color: #8b5cf6;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  text-align: center;
  letter-spacing: 0.1em;
}

.lang-buttons {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.6rem 1rem;
  background: #000000;
  color: #8b5cf6;
  border: 2px solid #8b5cf6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
  font-family: "Orbitron", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lang-btn:hover {
  background: #2d1b4e;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.lang-btn.active {
  background: #8b5cf6;
  color: #000000;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.8),
    inset 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e0e0e0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #8b5cf6;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 50%
    );
  animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(139, 92, 246, 0.03) 2px,
    rgba(139, 92, 246, 0.03) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: "Press Start 2P", monospace;
  font-size: 3.5rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
  color: #8b5cf6;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5),
    0 0 20px rgba(139, 92, 246, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #3b82f6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-description {
  font-size: 1rem;
  margin-top: 1rem;
  color: #a0a0a0;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: 3px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Orbitron", monospace;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #8b5cf6;
  color: #000000;
  border-color: #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
  background: #a78bfa;
}

.btn-secondary {
  background: transparent;
  color: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
  transform: translateY(-3px);
}

.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #8b5cf6;
  color: #000000;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: 3px solid #8b5cf6;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Orbitron", monospace;
}

.play-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
  background: #a78bfa;
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  background: #0a0a0a;
  border-top: 4px solid #3b82f6;
  border-bottom: 4px solid #3b82f6;
}

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

.section-title {
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #8b5cf6;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

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

.feature-card {
  background: #1a0033;
  padding: 2rem;
  border: 3px solid #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6, #8b5cf6);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.feature-card:hover::before {
  opacity: 0.3;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.5));
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3b82f6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-card p {
  color: #c0c0c0;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Lore Section - Collapsible */
.lore-section {
  padding: 3rem 2rem;
  background: #000000;
  border-top: 4px solid #8b5cf6;
}

.lore-toggle {
  text-align: center;
  margin-bottom: 2rem;
}

.lore-btn {
  background: #1a0033;
  color: #8b5cf6;
  border: 3px solid #8b5cf6;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Orbitron", monospace;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.lore-btn:hover {
  background: #2d1b4e;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
}

.lore-content {
  max-width: 1200px;
  margin: 0 auto;
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.lore-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lore-content .section-title {
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

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

.region-card {
  background: #1a0033;
  padding: 2rem;
  border: 3px solid #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.region-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

.region-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #8b5cf6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.chapters {
  margin-top: 3rem;
}

.chapter {
  background: #1a0033;
  padding: 2rem;
  border-left: 4px solid #8b5cf6;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.chapter h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3b82f6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.chapter p {
  color: #c0c0c0;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* About Section */
.about {
  padding: 5rem 2rem;
  background: #0a0a0a;
  border-top: 4px solid #3b82f6;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  color: #c0c0c0;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: #000000;
  color: #8b5cf6;
  padding: 2rem;
  text-align: center;
  border-top: 4px solid #8b5cf6;
}

.footer p {
  opacity: 0.9;
}

.footer a {
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #8b5cf6;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn,
  .play-store-btn {
    width: 100%;
    max-width: 300px;
  }

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

  .language-switcher {
    top: 10px;
    right: 10px;
    padding: 0.8rem;
  }

  .lang-label {
    font-size: 0.6rem;
  }

  .lang-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}
