/* Accueil : navigation alignée et illustration conservée sans filtre de flou. */
.home-hero {
  min-height: 100svh;
}

.home-hero__background {
  image-rendering: crisp-edges;
  filter: none;
  background-size: cover;
}

.home-header {
  top: 1rem;
}

.home-mobile-logo {
  width: 5.5rem;
  height: 5.5rem;
}

.home-hero__content {
  padding: 12rem 0 5rem;
}

.home-hero__copy {
  max-width: 78rem;
}

.home-hero__title,
.home-hero__subtitle {
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9), 0 8px 24px rgba(0, 0, 0, 0.7);
}

.home-hero__server {
  margin-top: clamp(2rem, 7svh, 5rem);
}

.home-server-cta__label {
  transition: color 200ms ease;
}

.home-server-cta:hover .home-server-cta__label {
  color: #fde047;
}

.home-feature-card {
  background: linear-gradient(180deg, #6a0094 0%, #460061 100%);
}

.home-feature-card__title {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-inline: auto;
  text-align: center;
}

/* Le menu compact évite la collision entre les boutons et le compte joueur. */
.home-nav {
  display: none;
}

.home-mobile-nav {
  display: flex;
}

#home-mobile-menu:not(.hidden) {
  display: block;
}

@media (min-width: 1200px) {
  .home-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }

  .home-nav__links {
    grid-column: 2;
    gap: 1rem;
  }

  .home-nav .nav-btn-text {
    width: 6.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 1.1rem;
  }

  .home-nav__account {
    grid-column: 3;
    justify-self: end;
    gap: 0.75rem;
    white-space: nowrap;
    transform: translateY(-0.375rem);
  }

  .home-nav__account > div {
    gap: 0.5rem;
  }

  .home-nav__account a {
    font-size: 0.875rem;
  }

  .home-nav__account > div > a {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .home-nav__username {
    display: block;
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-mobile-nav,
  #home-mobile-menu:not(.hidden) {
    display: none;
  }

  .home-hero__content {
    padding-top: 14rem;
  }
}

@media (max-width: 639px) {
  .home-header {
    top: 1rem;
  }

  .home-hero__content {
    padding-top: 10rem;
    padding-bottom: 3rem;
  }
}

/* Recrutement : introduction, parcours et candidatures dans cet ordre. */
.home-server-cta__overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-server-cta__label {
  position: absolute;
  top: 40.4%;
  left: 50%;
  width: max-content;
  max-width: 100%;
  margin: 0;
  transform: translate(-50%, -50%);
  line-height: 1.08;
  text-align: center;
}

.alpha-recruitment {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 2rem;
  padding: clamp(4rem, 7vw, 7rem) 1.5rem 0;
  background: radial-gradient(ellipse at 50% 0%, #40105d 0%, #241330 65%, #100916 100%);
  color: #e9d5ff;
}

.alpha-recruitment__content { max-width: 70rem; margin-inline: auto; padding-bottom: 5rem; }
.alpha-recruitment__intro { max-width: 58rem; margin-inline: auto; text-align: center; }
.alpha-recruitment__eyebrow { margin-bottom: 1rem; color: #fde047; font-size: .85rem; font-weight: 800; letter-spacing: .25em; }
.alpha-recruitment__intro h2 { color: #ebcc5b; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.alpha-recruitment__description { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.8; text-wrap: pretty; }
.alpha-recruitment__gold-rule { width: min(22rem, 75%); height: 1px; margin: 2rem auto; background: linear-gradient(90deg, transparent, #efb241 25%, #ebcc5b 50%, #efb241 75%, transparent); position: relative; }
.alpha-recruitment__gold-rule::after { content: ""; position: absolute; left: calc(50% - 4px); top: -4px; width: 9px; height: 9px; background: #ebcc5b; transform: rotate(45deg); }
.alpha-recruitment__access { line-height: 1.8; font-size: 1.05rem; text-wrap: pretty; }
.alpha-recruitment__access strong { display: block; margin-bottom: .5rem; color: #fff3c4; }
.alpha-recruitment__notice { margin: 1rem auto 0; max-width: 49rem; text-align: center; font-size: .875rem; line-height: 1.7; color: #d8b4fe; }
.alpha-recruitment__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.alpha-recruitment__step { position: relative; padding: 1.75rem 1.25rem; text-align: center; border: 1px solid #c084fc40; border-radius: 1rem; background: #2c0d4080; }
.alpha-recruitment__step-number { position: absolute; top: 1rem; left: 1rem; font-size: 1.6rem; font-weight: 800; line-height: 1; color: #ebcc5b; letter-spacing: .04em; }
.alpha-recruitment__icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border: 1px solid #ebcc5b40; border-radius: 50%; background: #ebcc5b12; color: #ebcc5b; }
.alpha-recruitment__icon svg { width: 1.75rem; height: 1.75rem; }
.alpha-recruitment__step h3 { font-size: 1.05rem; font-weight: 600; color: #fff3c4; }
.alpha-recruitment__step p { margin-top: .65rem; font-size: .9rem; line-height: 1.65; }
.alpha-recruitment__arrow { position: absolute; left: calc(100% + .5rem); top: calc(50% - 1rem); color: #ebcc5b; width: 2rem; height: 2rem; }
.alpha-recruitment__arrow svg { width: 100%; height: 100%; }
.alpha-recruitment__discord { margin-top: 2rem; text-align: center; }
.alpha-recruitment__discord-button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1.25rem; border: 1px solid #a5b4fc66; border-radius: .5rem; background: #1e1b4b; color: white; font-weight: 700; transition: border-color .2s, color .2s; }
.alpha-recruitment__discord-button svg { width: 1.25rem; height: 1.25rem; }
.alpha-recruitment__discord-button:hover { border-color: #ebcc5b; color: #fff3c4; }
.alpha-recruitment__applications { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 58rem; margin: 3.5rem auto 0; }
.alpha-recruitment__application { display: flex; flex-direction: column; align-items: center; padding: 2rem; text-align: center; border: 1px solid #ebcc5b50; border-radius: 1rem; background: #1a1225f2; box-shadow: 0 12px 28px #00000030; }
.alpha-recruitment__icon--application { width: 4rem; height: 4rem; }
.alpha-recruitment__icon--application svg { width: 2rem; height: 2rem; }
.alpha-recruitment__application h3 { color: #ebcc5b; font-size: clamp(1.125rem, 2vw, 1.4rem); font-weight: 700; }
.alpha-recruitment__application p { margin: 1rem 0 1.5rem; font-size: .95rem; line-height: 1.8; }
.alpha-recruitment__apply-button { display: inline-flex; justify-content: center; align-items: center; width: min(100%, 16rem); min-height: 2.875rem; margin-top: auto; padding: .65rem 1rem; border: 1px solid #ebcc5b99; border-radius: .5rem; color: #fef08a; font-weight: 800; letter-spacing: .06em; transition: background .2s, color .2s; }
.alpha-recruitment__apply-button:hover { background: #fde047; color: #3b0764; }
.alpha-recruitment__apply-button:focus-visible, .alpha-recruitment__discord-button:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.alpha-recruitment__separator { margin-inline: -1.5rem; }
.alpha-recruitment__separator img { display: block; width: 100%; image-rendering: pixelated; }

@media (max-width: 699px) {
  .alpha-recruitment__steps, .alpha-recruitment__applications { grid-template-columns: 1fr; }
  .alpha-recruitment__steps { gap: 2.5rem; }
  .alpha-recruitment__arrow { left: calc(50% - 1rem); top: calc(100% + .25rem); transform: rotate(90deg); }
  .alpha-recruitment__application { padding: 1.75rem 1.25rem; }
}
