:root {
  --bg-dark: #080911;
  --bg-darker: #05070d;
  --bg-soft: #121827;
  --card-bg: rgba(18, 24, 39, 0.8);
  --card-border: rgba(0, 210, 255, 0.18);
  --primary: #8b5cf6;
  --primary-2: #00d2ff;
  --accent: #ec4899;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --success: #22c55e;
  --warning: #f59e0b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(circle at 50% 15%, rgba(59, 35, 96, 0.9), var(--bg-dark) 55%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 17, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-2);
  background: rgba(0, 210, 255, 0.08);
}

.nav-links .btn-login {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #030712;
  font-weight: 800;
}

.nav-links .user-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  overflow: hidden;
}

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.hero {
  padding: 72px 0 32px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.warning-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 22px;
  padding: 10px 18px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  color: #f7d38a;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 760px;
}

.hero-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.3), 0 0 22px rgba(139, 92, 246, 0.25);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary-2), var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.ip-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(0, 210, 255, 0.12));
  border: 1px solid var(--card-border);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
}

.ip-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(0, 210, 255, 0.5);
}

.ip-text {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.copy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-2);
  color: #020817;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 999px;
}

.page-section {
  padding: 40px 0 20px;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 28px;
  font-weight: 800;
}

.platform-grid,
.stats-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 255, 0.45);
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: var(--primary-2);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 800;
}

.card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.port-tag {
  width: 100%;
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'Courier New', monospace;
  color: white;
  margin-bottom: 14px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-2);
  font-weight: 700;
}

.stats-grid .stat {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 26px 18px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  color: var(--muted);
  font-weight: 600;
}

.value-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px 18px;
}

.value-item h3 {
  margin-bottom: 10px;
}

.value-item p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.about-grid .panel,
.faq-item,
.auth-card,
.auth-preview,
.profile-card,
.link-panel,
.chat-panel,
.sidebar-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 24px 20px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
}

.faq-item summary,
.server-rule summary,
.join-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker,
.server-rule summary::-webkit-details-marker,
.join-detail summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
.server-rule summary::after,
.join-detail summary::after {
  content: '+';
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 50%;
  color: var(--primary-2);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after,
.server-rule[open] summary::after,
.join-detail[open] summary::after {
  content: '−';
  background: rgba(0, 210, 255, 0.1);
}

.faq-item summary:focus-visible,
.server-rule summary:focus-visible,
.join-detail summary:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-answer {
  padding-top: 12px;
}

.faq-answer p + p {
  margin-top: 10px;
}

.server-rules .section-title {
  margin-bottom: 20px;
}

.server-rule {
  padding: 20px 22px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(18, 24, 39, 0.9));
}

.server-rule summary {
  color: #fde68a;
}

.server-rule-content {
  padding-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.cheat-policy-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.cheat-policy-badge.allowed {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.cheat-policy-badge.prohibited {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.cheat-sanctions {
  margin-top: 18px;
}

.cheat-sanctions h3 {
  margin-bottom: 12px;
  color: #fde68a;
  font-size: 0.98rem;
}

.cheat-sanctions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.cheat-sanction-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.cheat-sanction-card h4 {
  color: var(--text);
  font-size: 0.92rem;
}

.cheat-severity {
  margin: 4px 0 8px;
  color: var(--warning);
  font-size: 0.78rem;
  font-weight: 700;
}

.cheat-sanction-card ol {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cheat-sanction-card li + li {
  margin-top: 5px;
}

.join-detail {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 15px;
  background: rgba(0, 210, 255, 0.04);
}

.cta-box {
  margin: 40px auto 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(0, 210, 255, 0.12));
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 28px;
  padding: 28px 20px;
  text-align: center;
}

.cta-box h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #020817;
}

.btn-secondary {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.025);
  color: var(--text);
}

.page-shell {
  padding: 48px 0 80px;
}

.page-shell .container {
  max-width: 980px;
}

.page-header {
  text-align: center;
  margin-bottom: 26px;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  color: var(--muted);
}

.info-card,
.step-card,
.panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px 22px;
  margin-bottom: 22px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-2);
  color: #020817;
  font-weight: 900;
}

.step-card p,
.info-card p,
.panel p,
.step-card li,
.panel li {
  color: var(--muted);
  line-height: 1.7;
}

.step-card ul,
.panel ul {
  padding-left: 20px;
}

.dns-box,
.code-box {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px dashed rgba(0, 210, 255, 0.5);
  font-family: 'Courier New', monospace;
  color: white;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.back-link:hover {
  color: var(--primary-2);
}

.auth-panel,
.profile-layout,
.chat-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.auth-card, .auth-preview, .profile-card, .link-panel, .chat-panel, .sidebar-panel {
  height: 100%;
}

.google-btn {
  width: 100%;
  margin: 18px 0 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f5f5, #dfe7ff);
  color: #111827;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
}

.demo-info {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px dashed rgba(0, 210, 255, 0.5);
  color: var(--muted);
}

.mini-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
}

.mini-avatar,
.profile-avatar,
.message-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
}

.mini-profile span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.profile-grid label,
.link-panel label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.profile-field {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: white;
}

.profile-field:has(.profile-skin) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-skin {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  border-radius: 6px;
}

.online-player {
  display: flex;
  align-items: center;
  gap: 9px;
}

.player-skin {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
  border-radius: 4px;
}

.link-panel form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-panel input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
  color: white;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill.online {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.status-pill.download-placeholder {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 440px;
  overflow: auto;
  padding-right: 8px;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.message-row.self {
  justify-content: flex-end;
}

.message-row.self .message-content {
  background: rgba(0, 210, 255, 0.08);
}

.message-content {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  max-width: 80%;
}

.message-content strong {
  display: block;
  margin-bottom: 5px;
}

.message-content span {
  color: var(--muted);
}

.chat-form {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.chat-form input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: white;
  padding: 12px 14px;
}

.players-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.players-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.online { background: #22c55e; }
.dot.offline { background: #94a3b8; }

.api-box {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: -80px;
  transform: translateX(-50%);
  background: var(--primary-2);
  color: #020817;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  transition: bottom 0.35s ease;
  z-index: 40;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.toast.show {
  bottom: 28px;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 28px 12px 42px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 760px) {
  .site-nav .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .ip-card {
    flex-direction: column;
    border-radius: 24px;
  }
}

/* ==========================================================================
   NOUVEAUX COMPOSANTS : STATUT SERVEUR, CHAT DÉSACTIVÉ, RÉCUPÉRATION MDP & DOWNLOADS
   ========================================================================== */

/* Badges de désactivation */
.badge-disabled {
  display: inline-block;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links a.nav-disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.feature-state {
  color: #fca5a5;
  font-size: 0.84rem;
  font-weight: 700;
}

.feature-disabled {
  border-color: rgba(239, 68, 68, 0.35);
}

.guide-steps {
  padding-left: 22px;
  color: var(--muted);
}

.guide-steps li {
  margin: 9px 0;
}

.guide-note {
  margin-top: 14px;
  color: var(--muted);
}

.guide-warning {
  padding: 16px 18px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
}

.guide-warning p {
  margin-top: 8px;
  color: inherit;
}

.guide-subtitle {
  margin: 18px 0 8px;
}

.join-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.join-page {
  font-size: 0.94rem;
}

.join-page .page-header p {
  font-size: 0.92rem;
}

.join-guide-card {
  padding: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
}

.join-guide-summary,
.join-info-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
}

.join-guide-summary::-webkit-details-marker,
.join-info-accordion > summary::-webkit-details-marker {
  display: none;
}

.join-guide-summary::after,
.join-info-accordion > summary::after,
.join-detail > summary::after {
  content: '›';
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 50%;
  color: var(--primary-2);
  font-size: 1.5rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.2s ease, background 0.2s ease;
}

.join-guide-card[open] > .join-guide-summary::after,
.join-info-accordion[open] > summary::after,
.join-detail[open] > summary::after {
  transform: rotate(90deg);
  background: rgba(0, 210, 255, 0.1);
}

.join-guide-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.join-guide-heading .card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 13px;
  font-size: 1.25rem;
}

.join-guide-heading strong,
.join-guide-heading small {
  display: block;
}

.join-guide-heading strong {
  font-size: 0.98rem;
}

.join-guide-heading small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.join-guide-content {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.join-guide-content > p {
  margin: 0 0 12px;
}

.join-guide-content .guide-steps {
  padding-left: 20px;
}

.join-guide-content .guide-steps li {
  margin: 6px 0;
}

.join-info-accordion {
  margin-bottom: 16px;
  padding: 0;
  border-radius: 18px;
}

.join-info-accordion > summary h2 {
  margin: 0;
  font-size: 1rem;
}

.join-info-accordion .join-guide-content ul {
  padding-left: 20px;
}

.join-detail {
  padding: 12px;
}

.join-detail > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.join-detail > summary::-webkit-details-marker {
  display: none;
}

.join-page summary:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: -3px;
}

.join-caution {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
  font-size: 0.84rem;
}

@media (max-width: 600px) {
  .join-guide-grid {
    grid-template-columns: 1fr;
  }

  .join-guide-summary,
  .join-info-accordion > summary {
    min-height: 68px;
    padding: 12px 14px;
  }

  .join-guide-content {
    padding: 0 14px 15px;
  }
}

.disabled-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.disabled-banner i {
  font-size: 1.6rem;
  color: #f87171;
  flex-shrink: 0;
}

.disabled-banner p {
  margin: 5px 0 14px;
  color: var(--muted);
}

/* Statut dynamique du serveur */
.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 20px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.server-status-pill.online {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.server-status-pill.offline {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.server-status-pill.unknown {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

.server-status-pill.maintenance {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
}

.status-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.server-status-pill.online .status-pulse {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite ease-in-out;
}

.server-status-pill.offline .status-pulse {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.server-status-pill.maintenance .status-pulse {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Récupération de mot de passe (Login) */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  padding: 0 14px;
}

.password-recovery-card {
  margin-top: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.password-recovery-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.password-recovery-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-note[data-error="true"] {
  color: #fca5a5;
}

.auth-note[data-error="false"] {
  color: #86efac;
}

.auth-note a {
  color: var(--primary-2);
  font-weight: 700;
}

.profile-recovery {
  margin-top: 24px;
}

.profile-recovery h2 {
  font-size: 1.2rem;
}

.profile-recovery > p {
  margin-bottom: 16px;
}

.reset-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font: inherit;
}

.reset-form input:focus {
  outline: none;
  border-color: var(--primary-2);
}

.reset-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.reset-form label {
  font-size: 0.84rem;
  color: var(--muted);
  text-align: left;
}

.reset-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease;
}

.reset-form input:focus {
  outline: none;
  border-color: var(--primary-2);
}

.reset-btn {
  width: 100%;
  cursor: pointer;
  padding: 12px 18px;
  font-weight: 700;
}

/* Page Téléchargements */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.downloads-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
}

.downloads-notice i {
  margin-top: 4px;
}

.downloads-notice p {
  color: inherit;
}

.download-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.download-search:focus-within {
  border-color: var(--primary-2);
}

.download-search input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.download-search input::placeholder {
  color: var(--muted);
}

.downloads-empty {
  margin: 0 0 32px;
  color: var(--muted);
  text-align: center;
}

.download-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.download-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.45);
}

.download-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-2);
  flex-shrink: 0;
}

.download-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.download-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.download-tag {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.download-tag.version {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--primary-2);
  font-weight: 700;
}

.download-tag.size {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  font-weight: 700;
}

.download-actions {
  display: flex;
  gap: 10px;
}

.download-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.install-guide {
  margin-top: 32px;
}

