/* ===========================
   FRANCE-MULTIGAMING — STYLE
   Discord x Opera GX Aesthetic
   =========================== */

:root {
  --accent: hsl(191, 96%, 36%);
  --accent-glow: hsl(191, 96%, 36%, 0.25);
  --accent-dim: hsl(191, 60%, 20%);
  --accent-bright: hsl(191, 100%, 55%);

  --bg: #0b0c0e;
  --bg-2: #111316;
  --bg-3: #16181d;
  --bg-4: #1c1f26;
  --bg-hover: #1e2229;

  --sidebar-w: 220px;
  --sidebar-collapsed: 60px;

  --text: #e0e4ef;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;

  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(0, 185, 220, 0.2);

  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;

  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  --topbar-h: 52px;
  --transition: 0.18s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image:
    linear-gradient(rgba(0,185,220,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,185,220,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================
   SCROLLBAR
   ============================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================
   SIDEBAR
   ============================ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: width 0.25s ease;
  overflow: hidden;
}

/* --- BOUTON COLLAPSE --- */
.collapse-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  z-index: 1;
}

.collapse-btn:hover { background: var(--bg-hover); color: var(--accent-bright); }
/* --- COLLAPSED STATE --- */
.sidebar.collapsed {
  width: var(--sidebar-collapsed);
  overflow: visible;
}

.sidebar.collapsed .sidebar-nav,
.sidebar.collapsed .sidebar-bottom {
  overflow: visible;
}

.sidebar.collapsed .sidebar-logo {
  position: relative;
  justify-content: center;
  padding: 14px 0;
  cursor: pointer;
}

.sidebar.collapsed .sidebar-logo-img {
  height: 32px;
  transition: opacity 0.2s ease;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .logo-dot,
.sidebar.collapsed .collapse-btn { display: none; }

/* Overlay expand au survol du logo quand réduit */
.sidebar.collapsed .sidebar-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 185, 220, 0.07);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: var(--radius-sm);
}

.sidebar.collapsed:hover .sidebar-logo-img { opacity: 0.15; }
.sidebar.collapsed:hover .sidebar-logo::after { opacity: 1; }

.expand-icon { display: none; }

.sidebar.collapsed .sidebar-logo .expand-icon {
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-bright);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.sidebar.collapsed:hover .expand-icon { opacity: 1; }

.sidebar.collapsed .sidebar-nav li { margin: 2px 4px; }

.sidebar.collapsed .nav-link {
  justify-content: center;
  padding: 10px;
  gap: 0;
}

.sidebar.collapsed .nav-link span { display: none; }
.sidebar.collapsed .nav-link i    { width: auto; }

/* Tooltips au survol quand réduit */
.sidebar.collapsed .nav-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-4);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sidebar.collapsed .nav-link:hover::after { opacity: 1; }

body.sidebar-collapsed .main-content { margin-left: var(--sidebar-collapsed); }
body.sidebar-collapsed .footer       { margin-left: var(--sidebar-collapsed); }

.sidebar-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-bright);
  white-space: nowrap;
}

.logo-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

.sidebar-nav {
  list-style: none;
  padding: 12px 0;
  flex: 1;
  overflow-y: auto;
}

.sidebar-nav li { margin: 2px 8px; }

.sidebar-bottom {
  padding: 8px 8px 16px;
  border-top: 1px solid var(--border);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link i {
  font-size: 17px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.nav-link span { overflow: hidden; }

.nav-link:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.nav-link.active {
  background: var(--accent-dim);
  color: var(--accent-bright);
  border-left: 3px solid var(--accent);
}

/* ============================
   TOPBAR (mobile)
   ============================ */
.topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  z-index: 200;
}

.topbar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 1px;
  flex: 1;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* ============================
   MAIN CONTENT
   ============================ */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 60px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}


.hero-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, hsl(191,96%,36%,0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-4);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title .accent { color: var(--accent-bright); display: block; }

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ============================
   BUTTONS
   ============================ */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}

.btn-accent:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-accent.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-accent.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-dim);
}

.btn-ghost.btn-full { width: 100%; justify-content: center; }

/* ============================
   SECTIONS
   ============================ */
.section {
  padding: 60px;
}

.section-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  flex: 1;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 4px;
  width: 100%;
}

.section-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}

.section-link:hover { color: var(--accent-bright); }

/* ============================
   CARDS
   ============================ */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover {
  border-color: var(--border-accent);
  background: var(--bg-4);
}

.card-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-top: 16px;
  transition: color var(--transition), gap var(--transition);
}

.card-link:hover { color: var(--accent-bright); gap: 8px; }

/* ============================
   SERVERS GRID (home preview)
   ============================ */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.server-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}

.server-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.server-img {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(255,255,255,0.15);
}

.server-card span {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ============================
   SERVER DETAIL CARDS
   ============================ */
.servers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.server-detail-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}

.server-detail-card { text-decoration: none; color: inherit; }
.server-detail-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
a.server-detail-card { transition: border-color var(--transition), transform var(--transition); }

.sdc-banner {
  width: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sdc-icon { font-size: 48px; color: rgba(255,255,255,0.12); }

.sdc-body { padding: 20px 24px; flex: 1; }

.sdc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sdc-title-row h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.server-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

.server-status.online {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}

.server-status.online i { font-size: 7px; }

.server-status.offline {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
}

.server-status.offline i { font-size: 7px; }

.sdc-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.sdc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sdc-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

/* ============================
   PARTNERS
   ============================ */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
}

.partner-badge:hover { border-color: var(--border-accent); color: var(--accent-bright); }

/* ============================
   PAGE HEADER
   ============================ */
.page-header {
  padding: 60px 60px 40px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-inner { position: relative; z-index: 1; }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin: 8px 0 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
}

/* ============================
   JOIN PAGE
   ============================ */
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.join-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
}

.join-card.discord:hover { border-color: rgba(88,101,242,0.4); }
.join-card.facebook:hover { border-color: rgba(24,119,242,0.4); }

.join-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.join-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.discord .join-icon { background: rgba(88,101,242,0.15); color: #7289da; }
.facebook .join-icon { background: rgba(24,119,242,0.15); color: #1877f2; }

.join-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.join-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.join-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.join-features {
  list-style: none;
  margin-bottom: 24px;
}

.join-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
  padding: 5px 0;
}

.join-features li i { color: var(--accent); }

.copy-feedback {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--accent);
  margin-top: 8px;
  height: 18px;
  transition: opacity 0.3s;
}

/* STEPS */
.join-steps {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.join-steps h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  opacity: 0.6;
}

.step-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.step-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.step-arrow {
  padding-top: 12px;
  color: var(--text-muted);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================
   MEMBRES PAGE
   ============================ */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  flex: 1;
  min-width: 200px;
  transition: border-color var(--transition);
}

.search-box:focus-within { border-color: var(--accent); }

.search-box i { color: var(--text-muted); font-size: 15px; }

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  flex: 1;
}

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

.filter-select {
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.filter-select:focus { border-color: var(--accent); }

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.member-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: pointer;
}

.member-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-4);
  transform: translateY(-1px);
}

.member-card.admin { border-color: rgba(0,185,220,0.15); }
.member-card.admin:hover { border-color: var(--accent); }

.member-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.member-card.admin .member-avatar {
  background: var(--accent-dim);
  color: var(--accent-bright);
  border-color: var(--border-accent);
}

.member-info { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }

.member-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-rank {
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-badge { color: var(--accent-bright); }
.member-badge { color: var(--text-muted); }

.members-count {
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
}

.members-count span { color: var(--accent); font-weight: 600; }

.members-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.members-empty i { font-size: 48px; display: block; margin-bottom: 12px; opacity: 0.4; }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

.contact-form-wrap h2,
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.form-input {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; }

.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #4ade80;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 12px;
}

.contact-methods { display: flex; flex-direction: column; gap: 12px; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.contact-method:hover { border-color: var(--border-accent); background: var(--bg-4); }

.cm-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.cm-body h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cm-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }

.cm-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

.response-time { color: var(--text-muted); }

/* ============================
   ECO SERVER PAGE
   ============================ */
.eco-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.eco-rule-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition);
}

.eco-rule-card:hover { border-color: var(--border-accent); }

.eco-rule-card.eco-rule-warn { border-color: rgba(250,170,50,0.2); }
.eco-rule-card.eco-rule-warn:hover { border-color: rgba(250,170,50,0.5); }
.eco-rule-card.eco-rule-warn .eco-rule-num { color: hsl(38,95%,60%); }

.eco-rule-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  flex-shrink: 0;
  min-width: 28px;
}

.eco-rule-body p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 6px;
}

.eco-rule-body p strong { color: var(--text); }

.eco-rule-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.eco-jobs-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.eco-jobs-intro i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.eco-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.eco-job-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.eco-job-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-4);
  transform: translateY(-2px);
}

.eco-job-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eco-job-emoji { font-size: 22px; line-height: 1; }

.eco-job-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.eco-job-skills {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.eco-job-skills li {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.eco-job-skills li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-dim);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  margin-top: auto;
  margin-left: var(--sidebar-w);
  background: var(--bg-2);
  border-top: 2px solid var(--accent-dim);
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 44px 60px 36px;
  border-bottom: 1px solid var(--border);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}

.footer-col:first-child { padding-left: 0; }
.footer-col:last-child  { padding-right: 0; border-right: none; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col-link:hover {
  color: var(--accent-bright);
  padding-left: 6px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 60px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 12px; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ============================
   OVERLAY (mobile sidebar)
   ============================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99;
}

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

.hero-content { animation: fadeInUp 0.5s ease forwards; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.25s ease; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: block; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  .sidebar-overlay.active { opacity: 1; pointer-events: all; }
  .topbar { display: flex; }
  .main-content { margin-left: 0; width: 100%; padding-top: var(--topbar-h); }
  .footer { margin-left: 0; }
  .footer-sections { grid-template-columns: 1fr; padding: 32px 24px 24px; }
  .footer-col { padding: 0 0 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .footer-col:last-child { border-bottom: none; padding-bottom: 0; }
  .footer-legal { padding: 14px 24px; flex-direction: column; align-items: flex-start; }
  .hero { padding: 40px 24px; min-height: 70vh; }
  .section { padding: 40px 24px; }
  .page-header { padding: 40px 24px 28px; }
  .footer-inner { padding: 16px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sdc-banner { width: 80px; }
  .sdc-icon { font-size: 32px; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .btn-accent, .btn-ghost { width: 100%; justify-content: center; }
  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }
  .join-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
