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

:root {
  --bg:        #08080f;
  --bg-2:      #0e0e1a;
  --bg-3:      #13131f;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f0;
  --text-muted:#7a7a9a;
  --accent:    #6c63ff;
  --accent-2:  #a78bfa;
  --gold:      #f5c842;
  --radius:    16px;
  --font:      'Space Grotesk', sans-serif;
  --mono:      'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  transition: opacity .2s, transform .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: .85; transform: translateY(-2px); }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.btn-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: opacity .2s;
}
.btn-discord svg { width: 16px; height: 16px; }
.btn-discord:hover { opacity: .85; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #6c63ff, transparent 70%);
  top: -200px; left: -200px;
  opacity: .35;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #f5c842, transparent 70%);
  bottom: -100px; right: -100px;
  opacity: .2;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50% { opacity: .9; box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

.hero-logo {
  width: 100%;
  max-width: 560px;
  margin-bottom: 24px;
  /* remove white background of PNG via multiply blend */
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 60px rgba(108,99,255,.4));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); }

/* ─── PLATFORM CARDS ─── */
.hero-platforms {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  min-width: 260px;
  transition: transform .25s, border-color .25s, background .25s;
  cursor: pointer;
}
.platform-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); }

.platform-discord { border-color: rgba(88,101,242,0.3); }
.platform-discord:hover { border-color: #5865F2; }
.platform-ts { border-color: rgba(108,99,255,0.3); }
.platform-ts:hover { border-color: var(--accent-2); }

.platform-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-discord .platform-icon {
  background: rgba(88,101,242,0.2);
  color: #5865F2;
}
.platform-ts .platform-icon {
  background: rgba(108,99,255,0.2);
  color: var(--accent-2);
}
.platform-icon svg { width: 28px; height: 28px; }

.platform-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}
.platform-text strong {
  font-size: 16px;
  font-weight: 700;
}
.platform-text span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--mono);
}

.platform-arrow {
  width: 18px; height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .25s, color .25s;
}
.platform-card:hover .platform-arrow { transform: translateX(4px); color: var(--text); }

/* ─── HERO CHAR ─── */
.hero-char {
  position: absolute;
  right: clamp(-40px, 3vw, 80px);
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  animation: float 5s ease-in-out infinite;
  animation-delay: .5s;
}
.hero-char::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
  background: radial-gradient(ellipse at center bottom,
    rgba(74, 222, 128, 0.25) 0%,
    rgba(108, 99, 255, 0.15) 50%,
    transparent 75%);
  filter: blur(18px);
  z-index: -1;
}
.hero-char img,
.hero-char canvas {
  height: clamp(220px, 32vw, 460px);
  width: auto;
  image-rendering: auto;
  mix-blend-mode: screen;
}

.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
}
.scroll-down svg { width: 24px; height: 24px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── ABOUT ─── */
#about {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}
#about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

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

.about-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .3s, transform .3s;
}
.about-card:hover {
  border-color: rgba(108,99,255,.35);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(108,99,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-2);
}
.card-icon svg { width: 24px; height: 24px; }
.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.about-card p strong.highlight {
  color: var(--accent-2);
  font-weight: 700;
}

/* ─── GAMES (CATEGORIES) ─── */
#games {
  padding: 120px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cat);
  opacity: 0;
  transition: opacity .3s;
}
.category-card:hover {
  border-color: color-mix(in srgb, var(--cat) 40%, transparent);
  transform: translateY(-4px);
}
.category-card:hover::before { opacity: 1; }

.cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.cat-icon {
  font-size: 1.8rem;
  line-height: 1;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--cat) 15%, transparent);
  border-radius: 12px;
  flex-shrink: 0;
}
.cat-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cat-games {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-games span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  transition: background .2s, color .2s, border-color .2s;
}
.category-card:hover .cat-games span {
  border-color: color-mix(in srgb, var(--cat) 30%, transparent);
  color: var(--text);
}

/* Twitch category */
.category-card-twitch .cat-icon {
  background: rgba(145,70,255,0.2);
  color: #9146FF;
}
.game-ico {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: contain;
  flex-shrink: 0;
}

.cat-sublabel {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ─── TEAMSPEAK ─── */
#ts {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}
#ts::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.ts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ts-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.ts-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.ts-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ts-feature-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.ts-feature strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ts-feature span { font-size: 13px; color: var(--text-muted); }

/* ─── TEAMSPEAK MOCKUP ─── */
.ts-card {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}

.ts-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.ts-server-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-server-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.ts-server-name { font-size: 13px; font-weight: 700; color: var(--text); }
.ts-server-addr { font-size: 11px; color: var(--text-muted); font-family: var(--mono); margin-top: 1px; }
.ts-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.ts-online-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
}
.status-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
.ts-uptime { font-size: 11px; color: var(--text-muted); font-family: var(--mono); }

/* Tree */
.ts-tree {
  padding: 8px 10px;
  font-size: 12.5px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(108,99,255,.3) transparent;
}
.ts-tree::-webkit-scrollbar { width: 4px; }
.ts-tree::-webkit-scrollbar-thumb { background: rgba(108,99,255,.3); border-radius: 4px; }

.ts-root {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.ts-root-name { flex: 1; }
.ch-icon { font-size: .85rem; }
.ch-sofa { font-size: .85rem; opacity: .7; }

.ts-section-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-2);
  opacity: .8;
}
.ts-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ts-channel-group {
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.06);
  margin: 0 0 2px 14px;
}

.ts-channel {
  display: flex;
  flex-direction: column;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: background .15s;
  cursor: default;
  gap: 0;
}
.ts-channel > *:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ts-channel:hover { background: rgba(255,255,255,.04); }
.ts-channel span { font-size: 12.5px; }

.ts-ch-svg {
  width: 13px; height: 13px;
  opacity: .5;
  flex-shrink: 0;
}
.ts-channel-active {
  background: rgba(108,99,255,.12) !important;
  border: 1px solid rgba(108,99,255,.18);
  border-radius: 6px;
  color: var(--text);
}
.ts-channel-active .ts-ch-svg { opacity: 1; color: var(--accent-2); }
.ts-channel-muted { opacity: .35; }

.ts-users-row { padding-left: 20px; padding-top: 4px; display: flex; flex-direction: column; gap: 3px; }
.ts-user-inline {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
}
.ts-user-inline img { width: 18px; height: 18px; border-radius: 4px; }
.ts-user-inline span:first-of-type { font-size: 11.5px; color: var(--text); font-weight: 500; flex: 1; }
.user-badge { font-size: 9px; padding: 2px 6px; border-radius: 100px; font-weight: 700; letter-spacing: .04em; }
.user-badge.staff {
  background: rgba(245,200,66,.15);
  color: var(--gold);
  border: 1px solid rgba(245,200,66,.3);
}

/* ─── CONTACT ─── */
#contact {
  padding: 120px 0;
}
.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
  transition: border-color .25s, transform .25s, background .25s;
}
.contact-email svg { width: 22px; height: 22px; color: var(--accent-2); flex-shrink: 0; }
.contact-email:hover {
  border-color: var(--accent-2);
  background: rgba(108,99,255,0.08);
  transform: translateY(-4px);
}

/* ─── FOOTER ─── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-avatar { width: 40px; height: 40px; border-radius: 10px; }
.footer-left strong { display: block; font-size: 15px; font-weight: 700; }
.footer-left span { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ─── TS WIDGET PHP (viewer réel) ─── */

/* Masquer tous les connecteurs d'arbre (JS gère l'indentation via data-depth) */
.ts-tree img[src*="tree_blank"],
.ts-tree img[src*="tree_end"],
.ts-tree img[src*="tree_mid"],
.ts-tree img[src*="tree_line"] { display: none; }
/* Masquer la ligne serveur root (redondant avec l'en-tête de la carte) */
.ts-tree .ts3_viewer.server { display: none; }
/* Masquer icônes spacer uniquement */
.ts-tree .ts3_viewer.spacer .corpus img { display: none; }
/* Icônes canal (channel_open, channel_pass…) */
.ts-tree .ts3_viewer.channel .corpus img {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Structure générale ── */
.ts-tree .ts3_viewer { display: block; }
.ts-tree .ts3_viewer > div {
  display: flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  width: 100%;
  min-width: 0;
  transition: background .15s;
  gap: 6px;
}
.ts-tree .ts3_viewer > div:hover { background: rgba(255,255,255,.04); }

/* ── Préfixe ── */
.ts-tree .prefix { display: inline-flex; align-items: center; flex-shrink: 0; gap: 2px; }
.ts-tree .prefix img { width: 14px; height: 14px; vertical-align: middle; opacity: .75; }

/* ── Indentation via JS (data-depth) ── */
.ts-tree .ts3_viewer[data-depth="0"] > div { padding-left:  6px; }
.ts-tree .ts3_viewer[data-depth="1"] > div { padding-left: 14px; }
.ts-tree .ts3_viewer[data-depth="2"] > div { padding-left: 26px; }
.ts-tree .ts3_viewer[data-depth="3"] > div { padding-left: 38px; }
.ts-tree .ts3_viewer[data-depth="4"] > div { padding-left: 50px; }
/* Fallback sans JS */
.ts-tree .ts3_viewer.server  > div { padding-left:  6px; }
.ts-tree .ts3_viewer.channel > div,
.ts-tree .ts3_viewer.spacer  > div { padding-left: 14px; }
.ts-tree .ts3_viewer.client  > div { padding-left: 26px; }

/* ── Corps ── */
.ts-tree .corpus {
  flex: 1;
  padding: 0 4px;
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.9;
}
.ts-tree .corpus img {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
  opacity: 0.55;
  flex-shrink: 0;
}

/* ── Suffixe (badges de groupe) ── */
.ts-tree .suffix { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; }
.ts-tree .suffix img { width: 16px; height: 16px; vertical-align: middle; }

/* ── Serveur root ── */
.ts-tree .ts3_viewer.server .corpus {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

/* ── Spacers : séparateurs visuels ── */
.ts-tree .ts3_viewer.spacer > div { padding-top: 2px; padding-bottom: 0; }
/* Texte (center / left / right) */
.ts-tree .corpus.spacer.center,
.ts-tree .corpus.spacer.left,
.ts-tree .corpus.spacer.right {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-2);
  opacity: .75;
}
/* Ligne pleine */
.ts-tree .ts3_viewer.spacer .corpus.spacer.solidline {
  font-size: 0;
  border-top: 1px solid var(--border);
  margin: 4px 0 2px;
  padding: 0;
  opacity: 1;
}

/* ── Client connecté ── */
.ts-tree .ts3_viewer.client .corpus {
  color: var(--text);
  font-weight: 500;
}
.ts-tree .ts3_viewer.client > div {
  background: rgba(108,99,255,.06);
  margin: 1px 0;
}
.ts-tree .ts3_viewer.client > div:hover { background: rgba(108,99,255,.12); }
/* Icône statut client (micro muted, idle…) — dans le corpus */
.ts-tree .ts3_viewer.client .corpus img {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
  opacity: 0.85;
  flex-shrink: 0;
}
/* Flag pays */
.ts-tree .ts3_viewer.client .suffix img[src*="flags"] { border-radius: 2px; }

/* ── Hors ligne ── */
.ts-offline-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: #f87171;
}
.ts-unavailable {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 40px 20px;
  color: var(--text-muted); font-size: 14px;
}
.ts-unavailable svg { opacity: .4; }

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ts-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .hero-char { display: none; }
}

@media (max-width: 640px) {
  .nav-links, .btn-discord { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(8,8,15,.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero-platforms { flex-direction: column; width: 100%; }
  .platform-card { min-width: 0; width: 100%; }

  .categories-grid { grid-template-columns: 1fr; }

  .contact-email { font-size: 14px; padding: 16px 24px; }

  .footer-inner { flex-direction: column; }
  .footer-links { gap: 16px; }
}
