/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  line-height: 1.6;
  padding-top: 80px;
  transition: background 0.4s ease-in-out;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.7s ease-out;
}

header h1 {
  font-size: 24px;
  color: #38bdf8;
}

nav button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  margin-left: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

nav button:hover {
  color: #38bdf8;
}

/* Sections */
section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 1s ease-in-out;
}

.title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #38bdf8;
}

.intro-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

/* Bouton Discord */
.center-btn {
  text-align: center;
  margin-top: 20px;
}

.invite-btn {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #38bdf8;
  border: none;
  border-radius: 25px;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.5);
}

.invite-btn:hover {
  background-color: #0ea5e9;
  transform: scale(1.05);
}

/* Activités */
.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.activities li {
  list-style: none;
  background-color: #1e293b;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  text-align: center;
  margin: 40px 0;
  color: #ccc;
  font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-in {
  animation: fadeIn 1s ease-in-out;
}
