:root {
  --black: #07070b;
  --dark: #11111a;
  --dark-soft: #191726;
  --purple: #6D1853;
  --purple-light: #b35ad1;
  --white: #f6eef8;
  --muted: #b9aabd;
  --border: rgba(255, 255, 255, 0.12);
  --green: #9dff3f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 11, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header.scrolled {
  background: rgba(7, 7, 11, 0.95);
}

.navbar {
  max-width: 1280px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.1rem;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: 0.25s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active {
  color: var(--white);
  font-weight: 900;
}

.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--purple-light);
}

.admin-logout {
  color: #ff9b9b;
}

.admin-logout:hover {
  color: #ffbcbc;
}

/* BURGER */

.burger-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger-menu span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: 0.25s;
}

.burger-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* BOUTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 16px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
  font-size: 16px;
  cursor: pointer;
  position: relative;
}

/* PRIMARY */

.btn-primary {
  background: linear-gradient(
    160deg,
    #6D1853 0%,
    #8c44a8 55%,
    #a956c7 100%
  );

  color: white;

  border: 1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 5px 0 rgba(44, 11, 34, 0.85),
    0 10px 22px rgba(0, 0, 0, 0.22),
    0 0 16px rgba(179, 90, 209, 0.10);
}

.btn-primary:hover {
  transform: translateY(2px);

  box-shadow:
    0 2px 0 rgba(44, 11, 34, 0.85),
    0 5px 14px rgba(0, 0, 0, 0.18),
    0 0 10px rgba(179, 90, 209, 0.08);

  filter: brightness(0.98);
}

.btn-primary:active {
  transform: translateY(4px);

  box-shadow:
    0 1px 0 rgba(44, 11, 34, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.16);
}

/* SECONDARY */

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);

  border: 1px solid rgba(255,255,255,0.08);

  color: white;

  backdrop-filter: blur(10px);

  box-shadow:
    0 5px 0 rgba(18, 18, 24, 0.85),
    0 10px 22px rgba(0, 0, 0, 0.20);
}

.btn-secondary:hover {
  transform: translateY(2px);

  background: rgba(255,255,255,0.10);

  box-shadow:
    0 2px 0 rgba(18, 18, 24, 0.85),
    0 5px 12px rgba(0, 0, 0, 0.18);
}

.btn-secondary:active {
  transform: translateY(4px);

  box-shadow:
    0 1px 0 rgba(18, 18, 24, 0.85),
    0 2px 6px rgba(0, 0, 0, 0.14);
}

/* ICONES */

.discord-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.10));
}

.discord-big-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 24px;
  filter:
      drop-shadow(0 0 8px rgba(0, 0, 0, 0.90))
      drop-shadow(0 0 8px rgba(35, 0, 70, 0.70))
      drop-shadow(0 0 8px rgba(10, 0, 25, 0.50));
  animation: discordFloat 3s ease-in-out infinite;
}

/* HERO */

.hero {
  max-width: 1180px;
  margin: auto;
  padding: 110px 24px 90px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(179, 90, 209, 0.35),
    rgba(255, 255, 255, 0.14),
    rgba(179, 90, 209, 0.35),
    transparent
  );
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(179, 90, 209, 0.35);
  border-radius: 999px;
  background: rgba(109, 24, 83, 0.22);
  color: var(--purple-light);
  font-weight: 800;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 24px;
  text-shadow: 0 0 24px rgba(179, 90, 209, 0.25);
}

.hero-subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #11111a;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.hero-logo {
  width: 180px;
  margin-bottom: 24px;
  animation: coinSpin 10s linear infinite;
  transform-style: preserve-3d;
  filter:
    drop-shadow(12px 0 0 rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 15px rgba(0, 0, 0, 0.4));
}

.hero-card h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* SECTIONS */

.section {
  max-width: 1180px;
  margin: auto;
  padding: 90px 24px;
  overflow: hidden;
  position: relative;
}

.section:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(179, 90, 209, 0.28),
    rgba(255, 255, 255, 0.12),
    rgba(179, 90, 209, 0.28),
    transparent
  );
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 180px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(179, 90, 209, 0.55);
  box-shadow: 0 0 24px rgba(179, 90, 209, 0.45);
}

.section-title {
  margin-bottom: 34px;
  text-align: center;
}

.section-title span {
  color: var(--purple-light);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 3px;
}

.section-title h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -1px;
}

.section-text {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

/* CARTES */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  transition: 0.3s ease;
  overflow: hidden;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(109, 24, 83, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.card-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-icon {
  width: 100%;
  max-width: 310px;
  height: 310px;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(179, 90, 209, 0.45));
}

.card h3 {
  font-size: 2rem;
  margin-top: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

/* RECRUTEMENT */

.recruitment {
  text-align: center;
}

.recruitment-banner {
  display: block;
  position: relative;
  width: 100%;
  max-width: 525px;
  margin: 50px auto 0;
  padding: 7px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.65),
    0 0 55px rgba(179, 90, 209, 0.5);
  overflow: hidden;
  transition: 0.3s ease;
}

.recruitment-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
  object-fit: cover;
}

.recruitment-banner:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.78),
    0 0 85px rgba(179, 90, 209, 0.65);
}

/* AVIS MEMBRES */

.reviews-carousel {
  width: 100%;
  margin-top: 46px;
  overflow: hidden;
  position: relative;
  padding: 4px 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.reviews-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: reviewsScroll 28s linear infinite;
}

.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

.review-card {
  position: relative;
  flex: 0 0 calc((1180px - 66px) / 4);
  min-height: 310px;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    rgba(17,17,26,0.88);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.36),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  transition: 0.3s ease;
}

.review-card::before {
  content: "";
  position: absolute;
  top: -85px;
  right: -85px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(179, 90, 209, 0.32), transparent 65%);
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(179, 90, 209, 0.42);
  box-shadow:
    0 34px 90px rgba(0,0,0,0.5),
    0 0 48px rgba(179,90,209,0.20);
}

.review-member {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.review-avatar {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(179, 90, 209, 0.55);
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 0 24px rgba(179,90,209,0.32),
    0 12px 30px rgba(0,0,0,0.38);
}

.review-member h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  color: var(--white);
}

.review-stars {
  color: goldenrod;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-comment {
  position: relative;
  z-index: 2;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.review-comment::before {
  content: "“";
  display: block;
  font-size: 3.6rem;
  line-height: 0.7;
  color: rgba(179, 90, 209, 0.32);
  font-family: Georgia, serif;
  margin-bottom: 4px;
}

/* DISCORD */

.discord-section {
  padding-bottom: 110px;
}

.discord-box {
  text-align: center;
  padding: 54px 28px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  background: url("../images/discordbackground.jpg") center/100% 100% no-repeat;
}

.discord-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.16) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

.discord-box h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.discord-box p {
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 28px;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.discord-box .btn {
  position: relative;
  z-index: 2;
}

.discord-big-icon {
  position: relative;
  z-index: 2;
}

/* FOOTER */

.footer {
  text-align: center;
  padding: 28px 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(7, 7, 11, 0.65);
}

/* ANIMATIONS */

.hidden {
  opacity: 0;
  transform: translateY(24px);
}

.visible {
  opacity: 1;
  transform: translateY(0);
  transition: 0.7s ease;
}

@keyframes coinSpin {
  0% {
    transform: perspective(1000px) rotateY(0deg);
  }
  25% {
    transform: perspective(1000px) rotateY(80deg) scaleX(0.25);
  }
  50% {
    transform: perspective(1000px) rotateY(180deg);
  }
  75% {
    transform: perspective(1000px) rotateY(280deg) scaleX(0.25);
  }
  100% {
    transform: perspective(1000px) rotateY(360deg);
  }
}

@keyframes discordFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes reviewsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 11px));
  }
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  .review-card {
    flex-basis: calc((100vw - 70px) / 2);
  }
}

@media (max-width: 850px) {
  .navbar {
    position: relative;
  }

  .burger-menu {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    right: 24px;
    width: min(280px, calc(100vw - 48px));
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(7, 7, 11, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-links a.active::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card-icon {
    max-width: 260px;
    height: 260px;
  }

  .reviews-carousel {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .reviews-track {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    animation: none;
  }

  .review-card {
    flex: none;
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }

  .review-card[aria-hidden="true"] {
    display: none;
  }

  .review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
}