/* TeamKit - Dark Futuristic Gaming Theme */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  --bg-card: #15151f;
  --bg-card-hover: #1c1c2a;
  
  --accent-primary: #00f0ff;
  --accent-secondary: #7b2cbf;
  --accent-tertiary: #ff006e;
  --accent-success: #00ff88;
  --accent-warning: #ffaa00;
  --accent-danger: #ff4444;
  
  --text-primary: #ffffff;
  --text-secondary: #b8b8c8;  /* Amélioré pour contraste */
  --text-muted: #8a8a9a;      /* Amélioré pour contraste WCAG AA */
  
  --border-color: #2a2a3a;
  --border-glow: rgba(0, 240, 255, 0.3);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #7b2cbf 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
  --gradient-card: linear-gradient(145deg, #15151f 0%, #1a1a25 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  
  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(123, 44, 191, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 0, 110, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Grid Pattern Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--space-md); }

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-primary);
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-3xl) 0;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }

.glow-text {
  text-shadow: 
    0 0 10px var(--accent-primary),
    0 0 20px rgba(0, 240, 255, 0.5),
    0 0 40px rgba(0, 240, 255, 0.3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-discord {
  background: #5865F2;
  color: white;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(88, 101, 242, 0.5);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Menu déroulant "Plus" */
.nav-dropdown-container {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-sm) 0;
}

.nav-dropdown-btn:hover {
  color: var(--accent-primary);
}

.nav-dropdown-btn .dropdown-arrow {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown-container:hover .dropdown-arrow,
.nav-dropdown-container.active .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.nav-dropdown-container:hover .nav-dropdown,
.nav-dropdown-container.active .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.nav-dropdown .dropdown-item:hover {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Menu déroulant mobile */
  .nav-dropdown-container {
    width: 100%;
  }
  
  .nav-dropdown-btn {
    width: 100%;
    justify-content: center;
  }
  
  .nav-dropdown {
    position: static;
    transform: none;
    min-width: 100%;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height var(--transition-base);
  }
  
  .nav-dropdown-container.active .nav-dropdown {
    max-height: 300px;
    transform: none;
  }
  
  .nav-dropdown-container:hover .nav-dropdown {
    max-height: 0;
    transform: none;
  }
  
  .nav-dropdown-container.active:hover .nav-dropdown {
    max-height: 300px;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-3xl) + 80px) var(--container-padding) var(--space-3xl);
  position: relative;
  overflow: hidden;
}

/* Mobile: plus de padding pour éviter chevauchement avec header */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--space-3xl) + 100px);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--accent-primary);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CARDS ===== */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.card:hover::before {
  transform: scaleX(1);
}

/* Server Cards */
.server-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.server-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.server-game {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.server-name {
  font-size: 1.25rem;
  margin: var(--space-xs) 0;
}

.server-mode {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(123, 44, 191, 0.2);
  border: 1px solid var(--accent-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--accent-secondary);
  text-transform: uppercase;
}

.server-status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.server-status.online {
  background: rgba(0, 255, 136, 0.1);
  color: var(--accent-success);
  border: 1px solid var(--accent-success);
}

.server-status.offline {
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-danger);
  border: 1px solid var(--accent-danger);
}

.server-status.maintenance {
  background: rgba(255, 170, 0, 0.1);
  color: var(--accent-warning);
  border: 1px solid var(--accent-warning);
}

.server-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.server-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Styles pour le rendu Markdown dans les descriptions */
.server-description-content.md-rendered,
.md-rendered {
  line-height: 1.6;
}

.md-rendered h1,
.md-rendered h2,
.md-rendered h3 {
  color: var(--accent);
  margin: 1rem 0 0.5rem;
}
.md-rendered h1 { font-size: 1.4rem; }
.md-rendered h2 { font-size: 1.2rem; }
.md-rendered h3 { font-size: 1.1rem; }
.md-rendered p { margin: 0.5rem 0; }
.md-rendered a {
  color: var(--accent);
  text-decoration: none;
}
.md-rendered a:hover { text-decoration: underline; }
.md-rendered ul,
.md-rendered ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}
.md-rendered li { margin: 0.25rem 0; }
.md-rendered blockquote {
  border-left: 3px solid var(--accent);
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 0 8px 8px 0;
}
.md-rendered code {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
}
.md-rendered img {
  max-width: 100%;
  border-radius: 8px;
  margin: 0.5rem 0;
}
.md-rendered hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 1rem 0;
}

.server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.server-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.server-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FEATURES ===== */
.feature-card {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== STATUS PAGE ===== */
.status-overview {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.status-stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  min-width: 150px;
}

.status-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

.status-stat-value.online { color: var(--accent-success); }
.status-stat-value.offline { color: var(--accent-danger); }

.status-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.status-item:hover {
  border-color: var(--accent-primary);
}

.status-item-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.status-item-game {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.status-item-name {
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
}

/* ===== FORMS ===== */
.form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  font-size: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}

.footer-contact a {
  color: var(--accent-primary);
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-nav {
    align-items: center;
  }
}

/* ===== SERVER DETAIL PAGE ===== */
.server-detail-header {
  padding: calc(var(--space-3xl) + 100px) 0 var(--space-2xl);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%);
}

.server-detail-title {
  margin-bottom: var(--space-md);
}

.server-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.server-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 900px) {
  .server-detail-content {
    grid-template-columns: 1fr;
  }
}

.server-detail-main h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.server-detail-main ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.server-detail-main li {
  padding-left: var(--space-lg);
  position: relative;
  color: var(--text-secondary);
}

.server-detail-main li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.server-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.sidebar-card h4 {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  color: var(--accent-primary);
}

.connect-box {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  word-break: break-all;
  margin-bottom: var(--space-md);
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.rate-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm);
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.rate-label { color: var(--text-muted); }
.rate-value { color: var(--accent-success); font-weight: 600; }

.mods-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.mod-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered animations */
.stagger > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ===== ALERT/NOTICE ===== */
.notice {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.notice-info {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
}

.notice-warning {
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid var(--accent-warning);
  color: var(--accent-warning);
}

.notice-success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--accent-success);
  color: var(--accent-success);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: var(--bg-primary);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5);
}

/* ===== PAGE HEADER (for sub-pages) ===== */
.page-header {
  padding: calc(var(--space-3xl) + 100px) 0 var(--space-2xl);
  text-align: center;
  background: linear-gradient(180deg, rgba(123, 44, 191, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  margin-bottom: var(--space-md);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
}

.legal-content ul {
  list-style: none;
  margin: var(--space-md) 0;
}

.legal-content li {
  padding-left: var(--space-lg);
  position: relative;
  margin-bottom: var(--space-sm);
}

.legal-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
  :root {
    --container-padding: 1rem;
  }
  
  .hero {
    min-height: auto;
    padding-top: calc(var(--space-2xl) + 100px);
    padding-bottom: var(--space-2xl);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  justify-content: center;
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-page {
  padding: 120px 0 60px;
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-update {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.legal-section h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.legal-section h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.legal-section a {
  color: var(--accent-blue);
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.legal-card p {
  margin-bottom: 0.5rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--border-color);
}

.legal-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.legal-table td {
  color: var(--text-secondary);
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.right-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
}

.right-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.right-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-banner-text a {
  color: var(--accent-blue);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2rem;
  }
  
  .legal-table {
    font-size: 0.8rem;
  }
  
  .legal-table th,
  .legal-table td {
    padding: 0.5rem;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   USER MENU IN HEADER
   ========================================= */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}

.user-menu-btn .user-avatar {
  font-size: 1.1rem;
}

.user-menu-btn .dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  min-width: 200px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.user-dropdown .dropdown-item:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.user-dropdown hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 0.5rem 0;
}

/* =========================================
   SERVER CARD - CLAIM & COMMUNITY BUTTONS
   ========================================= */
.btn-claim {
  background: linear-gradient(135deg, #7b2cbf, #5a189a);
  color: #fff;
  border: none;
  font-size: 0.8rem;
}

.btn-claim:hover {
  background: linear-gradient(135deg, #9b4dca, #7b2cbf);
  transform: translateY(-1px);
}

/* Bouton "Géré" - serveur réclamé */
.btn-managed {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  border: none;
  font-size: 0.8rem;
}

.btn-managed:hover {
  background: linear-gradient(135deg, #10b981, #059669);
  transform: translateY(-1px);
}

/* Badge "Géré" dans le header */
.server-managed-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-community {
  background: linear-gradient(135deg, #1a1a25, #12121a);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  font-size: 0.75rem;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-community:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* Section communauté améliorée sur fiche serveur */
.community-card-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.community-info-detailed {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.community-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.community-logo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.community-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.community-name {
  font-size: 1.1rem;
  color: #fff;
}

.badge-managed {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  width: fit-content;
}

.community-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.community-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.community-links .btn {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  border: none;
}

.btn-discord:hover {
  background: #4752C4;
}

.server-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.server-actions .btn {
  flex: 0 0 auto;
}

/* ===== BOUTONS DE PARTAGE ===== */
.footer-share {
  margin-top: 1rem;
}

.footer-share .share-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-share .share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-share .share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.footer-share .share-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--accent-success);
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  font-family: var(--font-body);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Period Selector Buttons */
.period-selector .period-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.period-selector .period-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.period-selector .period-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}

/* ===== SERVERS SECTIONS (Active vs Dormant) ===== */
.servers-section {
  margin-bottom: var(--space-3xl);
}

.servers-section:last-child {
  margin-bottom: 0;
}

.section-header-inline {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.section-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Status dots */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.status-dot.online {
  background: var(--accent-success);
  box-shadow: 0 0 10px var(--accent-success);
}

.status-dot.waiting {
  background: var(--accent-warning);
  box-shadow: 0 0 10px var(--accent-warning);
  animation: pulse-waiting 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes pulse-waiting {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* Server count badges */
.server-count {
  background: rgba(0, 255, 136, 0.15);
  color: var(--accent-success);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  margin-left: var(--space-xs);
}

.server-count.dormant {
  background: rgba(255, 170, 0, 0.15);
  color: var(--accent-warning);
}

/* Dormant section styling */
.servers-dormant {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.03) 0%, transparent 50%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px dashed rgba(255, 170, 0, 0.2);
}

.servers-dormant .section-header-inline {
  border-bottom-color: rgba(255, 170, 0, 0.2);
}

.servers-dormant .server-card {
  border: 1px dashed rgba(255, 170, 0, 0.3);
  position: relative;
}

.servers-dormant .server-card::before {
  content: '🏴 Cherche Admin';
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--accent-warning);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 1;
}

/* Hover effect sur serveurs dormants */
.servers-dormant .server-card:hover {
  border-color: var(--accent-warning);
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.2);
}

/* Active servers highlight */
.servers-active .server-card {
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.servers-active .server-card:hover {
  border-color: var(--accent-success);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

/* Grid inside sections */
.servers-section .grid {
  margin-top: var(--space-md);
}

/* Button claim styling */
.btn-claim {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.2), rgba(255, 170, 0, 0.1)) !important;
  border: 1px solid var(--accent-warning) !important;
  color: var(--accent-warning) !important;
  transition: all 0.3s ease;
}

.btn-claim:hover {
  background: var(--accent-warning) !important;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.3);
}

/* Button managed styling */
.btn-managed {
  background: rgba(0, 255, 136, 0.1) !important;
  border: 1px solid rgba(0, 255, 136, 0.3) !important;
  color: var(--accent-success) !important;
  cursor: default;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .servers-dormant {
    padding: var(--space-md);
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    flex-wrap: wrap;
  }
  
  .servers-dormant .server-card::before {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
}

/* ===== STATUS PAGE SECTIONS ===== */
.status-section {
  margin-bottom: var(--space-2xl);
}

.status-section:last-child {
  margin-bottom: 0;
}

.status-section-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.status-section-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0;
}

.status-section-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: var(--space-xs) 0 0 0;
}

.status-section-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Dormant section on status page */
.status-section-dormant {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.03) 0%, transparent 50%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px dashed rgba(255, 170, 0, 0.2);
  margin-top: var(--space-xl);
}

.status-section-dormant .status-section-header {
  border-bottom-color: rgba(255, 170, 0, 0.2);
}

/* Dormant status item styling */
.status-item-dormant {
  border: 1px dashed rgba(255, 170, 0, 0.3) !important;
  opacity: 0.85;
}

.status-item-dormant:hover {
  border-color: var(--accent-warning) !important;
  opacity: 1;
}

/* Active section styling */
.status-section-active .status-item {
  border-left: 3px solid var(--accent-success);
}

/* Bouton Adopter pour serveurs dormants */
.btn-adopt {
  background: linear-gradient(135deg, var(--accent-warning) 0%, #ff8c00 100%);
  color: #000;
  font-weight: 600;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.75rem;
  white-space: nowrap;
  animation: pulse-adopt 2s ease-in-out infinite;
}

.btn-adopt:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.4);
  animation: none;
}

@keyframes pulse-adopt {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 170, 0, 0); }
}

/* ===== LANDING PAGE STYLES ===== */

/* Hero Landing */
.hero-landing {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.hero-badge-free {
  background: linear-gradient(135deg, var(--accent-success) 0%, #00c853 100%);
  color: #000;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(0, 200, 83, 0); }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Button glow effect */
.btn-glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.6); }
}

/* Steps Container */
.steps-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--accent-primary);
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  padding: 0 var(--space-sm);
}

@media (max-width: 900px) {
  .step-arrow {
    display: none;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card {
    max-width: 100%;
  }
}

/* Section Highlight */
.section-highlight {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(123, 44, 191, 0.05) 100%);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

/* Why Free Section */
.why-free-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.why-free-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s ease;
}

.why-free-card:hover {
  border-color: var(--accent-success);
  transform: translateY(-3px);
}

.why-free-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.why-free-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.why-free-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Games Showcase */
.games-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.game-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  cursor: default;
}

.game-tag:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 240, 255, 0.05);
  transform: scale(1.05);
}

.game-tag-more {
  background: transparent;
  border: 1px dashed var(--border-color);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Section CTA */
.section-cta {
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.15) 0%, rgba(0, 240, 255, 0.1) 100%);
  padding: var(--space-3xl) var(--space-lg);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* FAQ Quick */
.faq-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.faq-quick-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.faq-quick-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.faq-quick-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Server Card Simple (for landing) */
.server-card-simple {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.server-simple-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.server-simple-icon {
  font-size: 2.5rem;
}

.server-simple-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.server-simple-game {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.server-simple-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border-color);
}

.btn-full {
  width: 100%;
}

/* Skeleton Loading */
.skeleton-loading {
  padding: var(--space-lg);
}

.skeleton-box {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-card) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile adjustments for landing */
@media (max-width: 768px) {
  .hero-landing {
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
  }
  
  .hero-stat-value {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: var(--space-lg);
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-desc {
    font-size: 1rem;
  }
}

/* ===== COMMUNITY CARDS FOR HOME ===== */

.community-card-home {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.community-card-home:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

.community-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.community-logo-home {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.community-logo-placeholder-home {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.community-card-info {
  flex: 1;
  min-width: 0;
}

.community-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-card-stats {
  display: flex;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.community-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.community-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-badge {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 50px;
  font-weight: 500;
  white-space: nowrap;
}

.community-badge-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.community-badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.community-badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.community-badge-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.community-badge-orange {
  background: rgba(255, 170, 0, 0.15);
  color: var(--accent-warning);
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.community-badge-purple {
  background: rgba(123, 44, 191, 0.15);
  color: var(--accent-secondary);
  border: 1px solid rgba(123, 44, 191, 0.3);
}

.community-card-games {
  font-size: 1.5rem;
  letter-spacing: 4px;
  opacity: 0.8;
}

/* No communities yet message */
.no-communities-yet {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
}

.no-communities-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.no-communities-yet h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.no-communities-yet p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Badge "Disponible" pour serveurs */
.badge-available {
  color: var(--accent-success);
  font-weight: 500;
}

/* ===== GAMIFICATION BADGES ===== */

.badge-pioneer {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #000;
}

.badge-builder {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #000;
}

.badge-veteran {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  color: #fff;
}

