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

html {
  scroll-behavior: smooth;
}

body {
  background: #06060b;
  color: #c8c8d4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(108, 92, 231, 0.4);
  color: #fff;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

nav, section, footer {
  position: relative;
  z-index: 1;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e8e8f0;
}

.logo span {
  color: #6c5ce7;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: #8888a0;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #e8e8f0;
}

.discord-link {
  padding: 0.4rem 1rem;
  border: 1px solid #2a2a3e;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.discord-link:hover {
  border-color: #6c5ce7;
  background: rgba(108, 92, 231, 0.08);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f0f0f8;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #f0f0f8 0%, #a88cf0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: #8888a0;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: #6c5ce7;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #7d6ff0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.35);
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 1px solid #2a2a3e;
  color: #c8c8d4;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: #6c5ce7;
  color: #e8e8f0;
}

.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.features h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #f0f0f8;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

.features h2 .accent {
  color: #6c5ce7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(20, 20, 40, 0.6) 0%, rgba(12, 12, 24, 0.8) 100%);
  border: 1px solid #1e1e32;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: #3a3a5e;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 10px;
  color: #6c5ce7;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e8e8f0;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #8888a0;
  line-height: 1.6;
}

.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #f0f0f8;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(20, 20, 40, 0.4) 0%, rgba(12, 12, 24, 0.6) 100%);
  border: 1px solid #1e1e32;
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s;
}

.step:hover {
  border-color: #3a3a5e;
  transform: translateX(4px);
}

.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #6c5ce7;
  font-variant-numeric: tabular-nums;
  min-width: 3rem;
  line-height: 1.4;
}

.step p {
  font-size: 0.95rem;
  color: #a0a0b4;
  line-height: 1.7;
}

.step code {
  background: rgba(108, 92, 231, 0.12);
  color: #a88cf0;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 0.85rem;
}

footer {
  border-top: 1px solid #18182a;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666680;
}

.footer-brand {
  font-weight: 600;
  color: #8888a0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #c8c8d4;
}

.footer-copy {
  color: #555568;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
