/* =============================================
   CREATORS — mur des créateurs de contenu (/creators.html)
   ---------------------------------------------
   Se charge PAR-DESSUS studios.css : la page réutilise l'ossature
   sombre de l'espace pro (body.studios-page, .studios-section,
   .offer-grid, .steps, .block-cta) et n'ajoute ici que ce qui lui
   est propre : le mur de cartes créateurs, les pastilles de rang,
   les liens plateformes et le bloc de candidature.

   Identité : le citron reste la couleur maison, mais on ajoute un
   rose « créateur » (clin d'œil TikTok) réservé aux éléments qui
   parlent des créateurs eux-mêmes — jamais sur le contenu éditorial,
   pour que la page reste clairement LemonArcade.
   ============================================= */

.creators-page {
  --creator-pink: #ff2e7e;
  --creator-cyan: #21e6d4;
}

/* Deuxième lueur, rose, en bas de page : la lueur citron de
   studios.css reste en haut, le dégradé raconte « on descend vers
   la scène ». */
body.creators-page::before {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(215,242,5,0.13) 0%, rgba(215,242,5,0) 52%),
    radial-gradient(90% 40% at 50% 100%, rgba(255,46,126,0.10) 0%, rgba(255,46,126,0) 60%),
    linear-gradient(180deg, #16170a 0%, #101100 45%, #0a0208 100%) !important;
}

/* ── Hero ──────────────────────────────────── */
.creators-hero .hero-cta { margin-top: 26px; }

/* Le surligneur du titre passe en dégradé citron → rose : c'est le
   seul endroit où les deux couleurs se touchent. */
.creators-hero h1 mark {
  background: linear-gradient(100deg, var(--primary) 30%, #ffd44d 65%, var(--creator-pink) 130%);
}

/* ── Le mur ────────────────────────────────── */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 30px 0 6px;
}

.creator-card {
  position: relative;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 26px 20px 22px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215,242,5,0.45);
  background: rgba(255,255,255,0.07);
}

/* Emplacements libres : bordure en pointillés, comme un cadre qui
   attend sa photo. C'est le vide qui fait envie, pas le plein. */
.creator-card.is-open {
  border-style: dashed;
  border-color: rgba(255,255,255,0.16);
}

.creator-card.is-open:hover { border-color: rgba(215,242,5,0.55); }

/* Carte n°1 : pleine largeur et halo qui respire. C'est la promesse
   principale de la page, elle doit se voir depuis le hero. */
.creator-card.is-spotlight {
  grid-column: 1 / -1;
  padding: 36px 28px 30px;
  border-color: rgba(215,242,5,0.30);
  animation: spotlightGlow 3.2s ease-in-out infinite;
}

@keyframes spotlightGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215,242,5,0.0),  0 0 34px rgba(215,242,5,0.10); }
  50%      { box-shadow: 0 0 0 1px rgba(215,242,5,0.25), 0 0 54px rgba(215,242,5,0.20); }
}

@media (prefers-reduced-motion: reduce) {
  .creator-card.is-spotlight { animation: none; box-shadow: 0 0 44px rgba(215,242,5,0.16); }
}

/* Pastille de rang, en médaille : or / argent / bronze pour le
   podium, translucide ensuite. */
.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #ffe45c, #d7a900);
  border-color: #ffe45c;
  color: #3a2c00;
  box-shadow: 0 3px 14px rgba(255,214,64,0.35);
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #e8eef2, #9aa7b0);
  border-color: #e8eef2;
  color: #232b30;
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #e8a366, #a05a24);
  border-color: #e8a366;
  color: #2e1703;
}

/* ── Avatar ────────────────────────────────── */
.creator-avatar {
  width: 84px;
  height: 84px;
  margin: 6px auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(215,242,5,0.5);
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.is-spotlight .creator-avatar { width: 116px; height: 116px; }

/* Avatar fantôme des emplacements libres : un « ? » qui scintille
   doucement, silhouette en attente. */
.creator-avatar.is-ghost {
  border: 2px dashed rgba(255,255,255,0.25);
  background: linear-gradient(110deg,
    rgba(255,255,255,0.05) 40%,
    rgba(215,242,5,0.14) 50%,
    rgba(255,255,255,0.05) 60%);
  background-size: 300% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  color: rgba(255,255,255,0.30);
  animation: ghostShimmer 2.8s linear infinite;
}

.is-spotlight .creator-avatar.is-ghost { font-size: 42px; }

@keyframes ghostShimmer {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .creator-avatar.is-ghost { animation: none; }
}

.creator-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.is-spotlight .creator-name { font-size: 22px; }

.is-open .creator-name { color: rgba(255,255,255,0.55); }

.creator-tagline {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
  margin: 0 auto;
  max-width: 420px;
}

/* ── Liens plateformes ─────────────────────── */
.creator-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.plat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

/* Point coloré aux couleurs de la plateforme, sans images. */
.plat::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.plat-tiktok::before  { background: var(--creator-pink); box-shadow: -2px 0 0 rgba(33,230,212,0.8); }
.plat-youtube::before { background: #ff3d3d; }
.plat-twitch::before  { background: #9146ff; }

a.plat:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

/* Version fantôme des emplacements libres : on montre CE QUI sera
   promu (tes comptes), grisé tant que la place est vide. */
.creator-links.is-ghost .plat {
  border-style: dashed;
  color: rgba(255,255,255,0.35);
  background: transparent;
}

.claim-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary) !important;
  text-decoration: none !important;
  transition: transform var(--transition);
}

.claim-link:hover { transform: translateX(3px); }

/* ── Bande CTA du mur (creators.html → become-a-creator.html) ── */
.wall-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border-color: rgba(215,242,5,0.30);
}

.wall-cta-band .wall-cta-text { max-width: 520px; }
.wall-cta-band .block-cta { margin-top: 0; flex-shrink: 0; }
.wall-cta-band p { margin: 0; }

/* ── Avantage principal : la promotion, chiffrée ──
   Une seule grande carte, le chiffre à gauche en énorme : c'est LE
   argument de la page, tout le reste est du bonus. */
.benefit-main {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
  margin: 30px 0 14px;
  padding: 30px 32px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(215,242,5,0.13) 0%, rgba(255,255,255,0.05) 55%);
  border: 1px solid rgba(215,242,5,0.45);
  box-shadow: 0 0 40px rgba(215,242,5,0.08);
}

.benefit-stat {
  text-align: center;
  padding-right: 30px;
  border-right: 1px solid rgba(215,242,5,0.25);
}

.benefit-number {
  display: block;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-shadow: 0 0 30px rgba(215,242,5,0.35);
}

.benefit-unit {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.6);
}

.benefit-text h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.benefit-text p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.benefit-text strong { color: var(--primary); }

/* Sous-avantages : deux cartes plus discrètes sous la grande. */
.benefit-subs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.offer-badge.sub-badge {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.14);
}

/* ── Paliers de récompense ──────────────────
   Quatre cartes en échelle : montants volontairement énormes à
   l'écran, le palier 100K en citron pour tirer l'œil vers le haut. */
.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 20px;
}

.reward-card {
  position: relative;
  text-align: center;
  padding: 24px 12px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  transition: transform var(--transition), border-color var(--transition);
}

.reward-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.3);
}

.reward-views {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.55);
}

.reward-amount {
  display: block;
  margin-top: 8px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.reward-card.is-top {
  background: rgba(215,242,5,0.09);
  border-color: rgba(215,242,5,0.5);
}

.reward-card.is-top:hover { border-color: var(--primary); }

.reward-card.is-top .reward-amount {
  color: var(--primary);
  text-shadow: 0 0 24px rgba(215,242,5,0.35);
}

.reward-rules {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
}

.reward-rules li { margin-bottom: 5px; }
.reward-rules strong { color: rgba(255,255,255,0.8); }

/* ── Bloc candidature ──────────────────────── */
.apply-card { scroll-margin-top: 80px; }

.apply-card .apply-intro {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 26px;
}

.apply-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.apply-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  text-decoration: none !important;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.apply-btn:hover { transform: translateY(-3px); }

.apply-btn .icon { font-size: 26px; line-height: 1; flex-shrink: 0; }

.apply-btn strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 3px;
}

.apply-btn small {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  opacity: 0.75;
}

/* Bouton Discord : blurple plein, c'est l'action principale. */
.apply-btn-discord {
  background: #5865F2;
  color: #fff !important;
}

.apply-btn-discord .icon { color: #fff; }

.apply-btn-discord:hover { box-shadow: 0 8px 26px rgba(88,101,242,0.4); }

/* Bouton mail : secondaire, cerné citron. */
.apply-btn-mail {
  background: rgba(215,242,5,0.08);
  border: 1px solid rgba(215,242,5,0.4);
  color: #fff !important;
}

.apply-btn-mail:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 26px rgba(215,242,5,0.18);
}

.apply-note {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  margin: 18px 0 0;
  line-height: 1.6;
  max-width: 560px;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 700px) {
  .apply-actions { grid-template-columns: 1fr; }
  .benefit-subs { grid-template-columns: 1fr; }
  .benefit-main { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .benefit-stat { padding-right: 0; border-right: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(215,242,5,0.25); }
  .benefit-number { font-size: 46px; }
  .wall-cta-band .block-cta { width: 100%; justify-content: center; }
  .reward-grid { grid-template-columns: 1fr 1fr; }
  .creator-grid { grid-template-columns: 1fr 1fr; }
  .creator-card.is-spotlight { padding: 28px 18px 24px; }
}

@media (max-width: 430px) {
  .creator-grid { grid-template-columns: 1fr; }
}
