/**
 * Communauté publique (annonce, pages, live)
 */

.site-announce {
  position: relative;
  z-index: 40;
  padding: 10px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-announce--info { background: rgba(59, 130, 246, 0.18); }
.site-announce--update { background: rgba(34, 211, 238, 0.16); }
.site-announce--wipe { background: rgba(232, 72, 85, 0.18); }
.site-announce--event { background: rgba(245, 158, 11, 0.16); }
.site-announce-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  justify-content: center;
  text-align: center;
}
.site-announce-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.site-announce-text { color: #f1f5f9; font-weight: 600; }
.site-announce-link { color: #7dd3fc; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-announce-link:hover { text-decoration: underline; }

.hero-live {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-bottom: 8px;
}
.hero-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.72);
}
.hero-live-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
}
.hero-live-chip strong { color: #f8fafc; font-weight: 700; }
.hero-live-chip.is-full { border-color: rgba(245, 158, 11, 0.4); color: #fbbf24; }

/* Pages community */
.pub-page {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}
.pub-hero { margin-bottom: 28px; max-width: 640px; }
.pub-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin: 0 0 8px;
}
.pub-hero h1 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.pub-lead { color: var(--text2, #94a3b8); line-height: 1.55; margin: 0; }

.pub-grid { display: grid; gap: 12px; }
.pub-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12, 16, 24, 0.72);
  backdrop-filter: blur(12px);
}
.pub-card h2, .pub-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 750;
}
.pub-meta { font-size: 0.78rem; color: #94a3b8; margin-bottom: 8px; }
.pub-body { color: #e2e8f0; font-size: 0.92rem; line-height: 1.6; }
.pub-empty {
  padding: 28px;
  text-align: center;
  color: #94a3b8;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 14px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.status-card .status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block; margin-right: 8px;
}
.status-dot--ok { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.status-dot--ko { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.2); }
.status-dot--unk { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.2); }

.hof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.hof-card { text-align: center; }
.hof-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 10px;
  border: 2px solid rgba(255,255,255,0.12);
  background: #111;
}
.hof-rank { color: #fbbf24; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.08em; }

.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.gal-item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,16,24,.8);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s ease;
}
.gal-item:hover { transform: translateY(-2px); border-color: rgba(96,165,250,.4); }
.gal-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #0a0e14;
}
.gal-cap { padding: 12px 14px; }
.gal-cap strong { display: block; margin-bottom: 4px; }
.gal-cap span { font-size: 0.8rem; color: #94a3b8; }

.wiki-search {
  margin-bottom: 18px;
}
.wiki-search form {
  display: flex;
  gap: 8px;
}
.wiki-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: #f1f5f9;
  font: inherit;
}
.wiki-search button {
  padding: 11px 16px;
  border-radius: 10px;
  border: 0;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.wiki-search-hit {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 8px;
}

/* Équipe / fondateurs — page d'accueil */
.section--team {
  padding-top: 20px;
}
.team-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.team-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e84855;
  margin: 0 0 8px;
}
.team-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: #f8fafc;
}
.team-subtitle {
  color: var(--text2, #94a3b8);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.team-card {
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(12, 16, 24, 0.72);
  backdrop-filter: blur(14px);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 72, 85, 0.35);
}
.team-avatar-wrap {
  margin-bottom: 14px;
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.team-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #e84855, #8b5cf6);
}
.team-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #f1f5f9;
}
.team-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.team-badge--founder {
  background: rgba(232, 72, 85, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(232, 72, 85, 0.35);
}
.team-badge--cofounder {
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.team-badge--staff {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.team-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

.team-admin-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
  background: linear-gradient(145deg, #e84855, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
}
.team-admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Discord widget */
.section--discord { padding-top: 20px; }
.discord-panel {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 16, 24, 0.82);
  backdrop-filter: blur(14px);
}
.discord-panel-copy .team-title { text-align: left; }
.discord-panel-copy .team-subtitle {
  text-align: left;
  margin-bottom: 20px;
  color: #d5dde8;
}
.discord-widget-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e1f22;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.discord-widget-wrap iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

/* Workshop page */
.workshop-page { padding-top: 32px; }
.workshop-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 22px;
}
.workshop-hero h1 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: #fff;
}
.workshop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.workshop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(12, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.workshop-bar h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
  color: #fff;
}
.workshop-count {
  color: #cbd5e1;
  font-size: 0.9rem;
}
.workshop-count strong { color: #e84855; font-weight: 800; }

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ws-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 16, 24, 0.88);
  display: flex;
  flex-direction: column;
}
.ws-thumb {
  aspect-ratio: 16 / 10;
  background: #0a0e14;
  overflow: hidden;
}
.ws-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ws-thumb-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-weight: 700;
}
.ws-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ws-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 750;
  color: #f8fafc;
  line-height: 1.3;
}
.ws-desc {
  margin: 0;
  font-size: 0.78rem;
  color: #c5cfdb;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ws-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 0.72rem;
  color: #e84855;
  font-weight: 650;
}
.ws-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.ws-actions a,
.ws-actions button {
  flex: 1;
  text-align: center;
  padding: 7px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: #e84855;
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
}
.ws-actions a:hover,
.ws-actions button:hover {
  border-color: rgba(232, 72, 85, 0.45);
  background: rgba(232, 72, 85, 0.12);
}

.workshop-how {
  margin-top: 40px;
  padding: 28px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 16, 24, 0.82);
}
.workshop-how h2 {
  text-align: center;
  margin: 0 0 22px;
  font-size: 1.35rem;
  color: #fff;
}
.workshop-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.workshop-how-grid h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
  color: #fff;
}
.workshop-how-grid p {
  margin: 0;
  font-size: 0.88rem;
  color: #d0d8e4;
  line-height: 1.5;
}
.workshop-how-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.workshop-how-icon--star { background: rgba(232, 72, 85, 0.18); color: #fca5a5; }
.workshop-how-icon--user { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.workshop-how-icon--dl { background: rgba(59, 130, 246, 0.18); color: #93c5fd; }

.team-subtitle,
.team-desc { color: #d0d8e4; }
.team-card {
  background: rgba(12, 16, 24, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}
.pub-lead,
.pub-meta { color: #d0d8e4; }
.pub-card {
  background: rgba(12, 16, 24, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}
.pub-body { color: #e8eef6; }

@media (max-width: 1100px) {
  .workshop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .discord-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .discord-panel-copy .team-title,
  .discord-panel-copy .team-subtitle { text-align: center; }
  .workshop-grid { grid-template-columns: repeat(2, 1fr); }
  .workshop-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-hero-actions { width: 100%; }
  .workshop-hero-actions .btn { flex: 1; justify-content: center; }
}

