* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  overflow-x: hidden;
}

/* Lueur souris */
.glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
  pointer-events: none;
  left: 0;
  top: 0;
  will-change: transform;
  z-index: 0;
}

/* Particles */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
  border-bottom: 1px solid rgba(138, 43, 226, 0.15);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #a855f7;
  display: flex;
  align-items: center;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.moon-icon {
  color: #e0e0e0;
  transition: color 0.3s;
}

body.light-mode .moon-icon {
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #a855f7;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6), 0 0 16px rgba(74, 222, 128, 0.3);
  animation: dotPulse 2s ease-in-out infinite;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.accent {
  color: #a855f7;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.2);
  animation: pulseGlow 3s ease-in-out infinite;
}

.hero p {
  font-size: 1.15rem;
  color: transparent;
  background: linear-gradient(90deg, #999 0%, #ccc 50%, #999 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.2s forwards, shimmer 4s ease-in-out infinite 1s;
}

.btn-download {
  display: inline-block;
  padding: 14px 40px;
  background: #a855f7;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.btn-download:hover {
  background: #9333ea;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

/* FAQ */
.faq {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  position: relative;
  z-index: 1;
}

.faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #a855f7;
}

.faq-item {
  border: 1px solid rgba(138, 43, 226, 0.15);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(138, 43, 226, 0.4);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  color: #e0e0e0;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(168, 85, 247, 0.08);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-answer.open {
  max-height: 150px;
  padding: 0 20px 18px;
}

.faq-answer p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 40px;
  color: #555;
  font-size: 0.85rem;
  border-top: 1px solid rgba(138, 43, 226, 0.1);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.2); }
  50% { text-shadow: 0 0 30px rgba(168, 85, 247, 0.7), 0 0 60px rgba(168, 85, 247, 0.35); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(74, 222, 128, 0.6), 0 0 16px rgba(74, 222, 128, 0.3); }
  50% { box-shadow: 0 0 12px rgba(74, 222, 128, 0.8), 0 0 24px rgba(74, 222, 128, 0.5); }
}

/* Light mode */
body.light-mode {
  background: #ffffff;
  color: #1a1a1a;
}

body.light-mode nav {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

body.light-mode .nav-links a {
  color: #333;
}

body.light-mode .nav-links a:hover {
  color: #a855f7;
}

body.light-mode .hero h1 {
  text-shadow: none;
  color: #1a1a1a;
}

body.light-mode .hero p {
  background: linear-gradient(90deg, #666 0%, #888 50%, #666 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

body.light-mode .faq h2 {
  color: #a855f7;
}

body.light-mode .faq-question {
  background: rgba(0, 0, 0, 0.03);
  color: #1a1a1a;
}

body.light-mode .faq-question:hover {
  background: rgba(168, 85, 247, 0.1);
}

body.light-mode .faq-answer p {
  color: #555;
}

body.light-mode footer {
  color: #888;
  border-top: 1px solid rgba(138, 43, 226, 0.15);
}

body.light-mode .glow {
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
}
