:root {
  --primary-purple: #9333EA;
  --primary-blue: #3B82F6;
  --text-color: #FFFFFF;
  --discord-blue: #5865F2;
  --discord-hover: #4752C4;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: white;
  background: linear-gradient(to bottom, #1a103c, #1e1b4b, #1a103c);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/1421903/pexels-photo-1421903.jpeg');
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 16, 60, 0.9), rgba(30, 27, 75, 0.8), rgba(26, 16, 60, 0.9));
  backdrop-filter: blur(4px);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 64rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease-out forwards;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero h1 .emerald {
  color: var(--primary-purple);
}

.hero h1 .gold {
  color: var(--primary-blue);
}

.divider {
  height: 4px;
  width: 6rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
}

.hero h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: var(--primary-blue);
  font-weight: 500;
}

.coming-soon svg {
  animation: pulse 2s infinite;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--discord-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.discord-btn:hover {
  background-color: var(--discord-hover);
}

.discord-logo {
  width: 20px;
  height: 20px;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background-color: rgba(30, 27, 75, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: background-color 0.3s;
}

.feature:hover {
  background-color: rgba(30, 27, 75, 0.6);
}

.feature-icon {
  background: linear-gradient(to bottom right, var(--primary-purple), var(--primary-blue));
  width: fit-content;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin: 0 auto 0.75rem;
  line-height: 0;
}

.feature-icon svg {
  color: #1a103c;
}

.feature h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.feature p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 1rem;
  background: linear-gradient(to top, #1a103c, transparent);
  text-align: center;
}

footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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