/* =========================================================
   LUTRA BUMP : feuille de style principale
   Palette : nuit fluviale + accent sarcelle/indigo
   ========================================================= */

/* polices auto-hébergées, aucune requête vers un service tiers */
@font-face{
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Sora";
  src: url("../assets/fonts/sora-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Sora";
  src: url("../assets/fonts/sora-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Sora";
  src: url("../assets/fonts/sora-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root{
  /* couleurs */
  --bg-0: #0B0F17;
  --bg-1: #10151F;
  --bg-2: #161C29;
  --bg-3: #1D2433;
  --line: #262E40;
  --line-soft: #1C2330;

  --text-0: #EDF0F6;
  --text-1: #B7BFD1;
  --text-2: #7D869C;

  --teal: #2FD3C4;
  --teal-dim: #1C8C82;
  --indigo: #6C7CF0;
  --indigo-dim: #4C58B5;
  --amber: #E8B95C;
  --red: #E5626B;
  --red-dim: #3A1F26;

  --grad-signature: linear-gradient(135deg, var(--teal) 0%, var(--indigo) 100%);

  /* typographie */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* rythme */
  --radius-s: 6px;
  --radius-m: 9px;
  --radius-l: 13px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.03) inset, 0 8px 24px rgba(0,0,0,0.35);
  --container: 1240px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* focus visible partout */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =========================================================
   EN-TETE
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,15,23,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap{
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo-img{
  width: 30px; height: 30px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo .mark{
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad-signature);
  position: relative;
  flex-shrink: 0;
}
.logo .mark::after{
  content: "";
  position: absolute; inset: 7px;
  border-radius: 5px;
  background: var(--bg-0);
  clip-path: path("M2 12 C 2 4, 10 2, 14 6 C 8 6, 6 10, 12 14 C 6 16, 2 18, 2 12 Z");
}
.logo b{ color: var(--text-0); }
.logo span{ color: var(--teal); }

.main-nav{
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  color: var(--text-1);
}

.main-nav .nav-item, .header-actions .nav-item{
  display: flex; align-items: center; gap: 6px;
  padding: 8px 2px;
  cursor: pointer;
  position: relative;
}
.main-nav .nav-item:hover{ color: var(--text-0); }
.main-nav .caret{ font-size: 10px; opacity: 0.7; transition: transform .15s; }
.main-nav .nav-item.open .caret{ transform: rotate(180deg); }

.dropdown{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 8px;
  display: none;
  flex-direction: column;
}
.nav-item.open .dropdown{ display: flex; }
.dropdown a, .dropdown button.d-item{
  padding: 9px 12px;
  border-radius: var(--radius-s);
  color: var(--text-1);
  font-size: 14px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.dropdown a:hover, .dropdown button.d-item:hover{ background: var(--bg-3); color: var(--text-0); }
.dropdown .soon{
  display: flex; align-items: center; justify-content: space-between;
}
.tag-soon{
  font-size: 10.5px;
  color: var(--amber);
  border: 1px solid rgba(232,185,92,0.35);
  padding: 2px 6px;
  border-radius: 999px;
}

.header-actions{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-ghost{
  background: transparent;
  color: var(--text-1);
  border-color: var(--line);
}
.btn-ghost:hover{ color: var(--text-0); border-color: var(--indigo-dim); }

.btn-transparent{
  background: transparent;
  border: none;
  color: var(--text-2);
  padding: 10px 6px;
  font-size: 13.5px;
  font-weight: 500;
}
.btn-transparent:hover{ color: var(--text-0); }


.btn-primary{
  background: var(--indigo);
  color: #fff;
}
.btn-primary:hover{ background: #5c6ce0; }

.btn-signature{
  background: var(--teal);
  color: #06231F;
}
.btn-signature:hover{ background: #29c2b4; }

.btn-outline{
  background: transparent;
  border-color: var(--indigo-dim);
  color: var(--text-0);
}
.btn-outline:hover{ border-color: var(--indigo); }

.btn-danger{
  background: var(--red);
  color: #fff;
}
.btn-danger:hover{ background: #d1505a; }

.btn-block{ width: 100%; justify-content: center; }
.btn-sm{ padding: 7px 12px; font-size: 13px; }
.btn[disabled]{ opacity: .45; cursor: not-allowed; }

.discord-ico{
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.user-chip{
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.user-chip:hover{ border-color: var(--indigo-dim); }
.user-chip img{ width: 30px; height: 30px; border-radius: 50%; }
.user-chip .coins{
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--amber);
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
.user-chip b{ font-size: 13.5px; font-weight: 600; }

/* =========================================================
   HERO / RECHERCHE
   ========================================================= */
.hero{ padding: 64px 0 40px; text-align: center; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(47,211,196,0.28);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow::before{ content: "¤"; }
.eyebrow-trophy{ gap: 6px; }
.eyebrow-trophy::before{ content: none; }

.hero h1{
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.hero h1 .accent{
  color: var(--teal);
}
.hero p.lead{
  color: var(--text-1);
  font-size: 16.5px;
  max-width: 560px;
  margin: 0 auto 34px;
}

.search-panel{
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.search-row{ display: flex; gap: 10px; }
.search-row input[type="search"]{
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 14px 16px;
  color: var(--text-0);
  font-size: 15px;
}
.search-row input[type="search"]::placeholder{ color: var(--text-2); }

.filters-row{
  display: flex; gap: 10px; margin-top: 10px;
}

.select-field{
  position: relative;
  flex: 1;
}
.select-field > button{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 12px 14px;
  color: var(--text-1);
  font-size: 14.5px;
  cursor: pointer;
}
.select-field > button.filled{ color: var(--text-0); }
.select-field .panel{
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 10px;
  z-index: 30;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}
.select-field.open .panel{ display: block; }
.select-field .panel input{
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 9px 11px;
  color: var(--text-0);
  font-size: 13.5px;
  margin-bottom: 8px;
}
.option-list{ display: flex; flex-direction: column; gap: 2px; }
.option-list button{
  text-align: left;
  background: none; border: none;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--text-1);
  font-size: 13.5px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.option-list button:hover{ background: var(--bg-3); color: var(--text-0); }
.option-list button.active{ color: var(--teal); }

.trust-row{
  display: flex; justify-content: center; gap: 22px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13px;
  color: var(--text-2);
}
.trust-row span{ display: flex; align-items: center; gap: 6px; }
.trust-row .dot{ color: var(--teal); }
.trust-icon{ width: 16px; height: 16px; object-fit: contain; }

/* =========================================================
   TOP / PODIUM
   ========================================================= */
.top-toggle{
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 30px;
}
.top-toggle a, .top-toggle button{
  border: none; background: none;
  color: var(--text-1);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}
.top-toggle a.active, .top-toggle button.active{ background: var(--indigo); color: #fff; }

.podium{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: end;
  max-width: 900px;
  margin: 0 auto 46px;
}
.podium-card{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 22px 18px 20px;
  text-align: center;
  position: relative;
}
.podium-card.rank-1{ border-color: rgba(232,185,92,0.4); padding-top: 30px; transform: translateY(-14px); }
.podium-card.rank-2{ border-color: rgba(183,191,209,0.3); }
.podium-card.rank-3{ border-color: rgba(214,132,80,0.3); }
.podium-rank{
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  background: var(--bg-3); border: 1px solid var(--line);
}
.podium-card.rank-1 .podium-rank{ background: var(--amber); color: #241a06; border-color: var(--amber); }
.podium-avatar{
  width: 64px; height: 64px; border-radius: 18px;
  margin: 10px auto 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  object-fit: cover;
}
.podium-card h3{ font-family: var(--font-display); font-size: 16px; margin: 0 0 4px; }
.podium-votes{ color: var(--teal); font-family: var(--font-mono); font-size: 13px; margin-bottom: 14px; }

.rank-row{
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 14px 18px;
  margin-bottom: 10px;
}
.rank-row .rank-num{
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  color: var(--text-2); width: 22px; text-align: center; flex-shrink: 0;
}
.rank-row img{ width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); flex-shrink: 0; object-fit: cover; }
.rank-row .rank-body{ flex: 1; min-width: 0; }
.rank-row h4{ font-family: var(--font-display); font-size: 14.5px; margin: 0 0 3px; }
.rank-row p{ color: var(--text-2); font-size: 12.5px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .rank-votes{ font-family: var(--font-mono); color: var(--amber); font-size: 13px; flex-shrink: 0; }

/* =========================================================
   GRILLE SERVEURS
   ========================================================= */
.section-head{
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 6px 0 22px;
  flex-wrap: wrap; gap: 10px;
}
.section-head h2{
  font-family: var(--font-display);
  font-size: 21px;
  margin: 0;
}
.section-head .hint{ color: var(--text-2); font-size: 13.5px; }

.server-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
@media (max-width: 980px){ .server-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px){ .server-grid{ grid-template-columns: 1fr; } }

.server-card{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px;
  cursor: pointer;
  transition: border-color .15s;
  display: flex;
  flex-direction: column;
}
.server-card:hover{ border-color: var(--indigo-dim); }

.server-card.plan-premium, .podium-card.plan-premium, .rank-row.plan-premium{ border-color: rgba(232,185,92,0.55); box-shadow: 0 0 0 1px rgba(232,185,92,0.12); }
.server-card.plan-premium:hover{ border-color: rgba(232,185,92,0.8); }
.server-card.plan-avance, .podium-card.plan-avance, .rank-row.plan-avance{ border-color: rgba(94,166,255,0.55); box-shadow: 0 0 0 1px rgba(94,166,255,0.12); }
.server-card.plan-avance:hover{ border-color: rgba(94,166,255,0.8); }
.server-card.plan-ultime, .podium-card.plan-ultime, .rank-row.plan-ultime{ border-color: rgba(229,98,107,0.6); box-shadow: 0 0 0 1px rgba(229,98,107,0.14); }
.server-card.plan-ultime:hover{ border-color: rgba(229,98,107,0.85); }

.server-card .top-row{ display: flex; gap: 11px; align-items: flex-start; }
.server-avatar{
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  flex-shrink: 0;
  object-fit: cover;
}
.server-card h3{
  font-family: var(--font-display);
  font-size: 14.5px;
  margin: 0 0 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.server-meta-line{ font-size: 12px; color: var(--text-2); }
.badge-premium{
  font-size: 9.5px; font-weight: 700; letter-spacing: .03em;
  padding: 2px 6px; border-radius: 5px;
  text-transform: uppercase;
  margin-left: 5px;
  vertical-align: middle;
}
.badge-premium.premium{ background: rgba(108,124,240,0.18); color: #A9B2F5; }
.badge-premium.avance{ background: rgba(47,211,196,0.16); color: var(--teal); }
.badge-premium.ultime{ background: rgba(232,185,92,0.18); color: var(--amber); }

.server-card .bump-line{
  font-size: 12px; color: var(--text-1); margin-top: 10px; font-weight: 600;
}
.server-card .owner-line{
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-2); margin-top: 3px;
}
.server-card .owner-line img{ width: 15px; height: 15px; border-radius: 50%; }

.server-card .category-line{ font-size: 12.5px; color: var(--text-0); font-weight: 600; margin-top: 10px; }
.server-card .tags-line{ font-size: 12px; color: var(--text-2); margin-top: 2px; }

.server-card .hook{
  color: var(--text-1);
  font-size: 13px;
  margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.chip-row{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip{
  font-size: 11.5px;
  color: var(--text-1);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 6px;
}

.card-foot{ margin-top: auto; padding-top: 14px; }
.card-foot .btn{ width: 100%; justify-content: center; }

/* etat vide */
.empty-state{
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-l);
  background: var(--bg-1);
}
.empty-state .glyph{
  width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--indigo);
  opacity: 0.85;
}
.empty-state h3{ font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; }
.empty-state p{ color: var(--text-2); font-size: 14px; max-width: 380px; margin: 0 auto 22px; }

/* =========================================================
   MODALE SERVEUR
   ========================================================= */
.modal-backdrop{
  position: fixed; inset: 0;
  background: rgba(6,8,13,0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-backdrop.visible{ display: flex; }

.modal-card{
  width: 100%; max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  background: rgba(22,28,41,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  padding: 26px;
  position: relative;
}
.modal-close{
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text-1);
  cursor: pointer;
  font-size: 15px;
}
.modal-head{ display: flex; gap: 14px; align-items: flex-start; margin-bottom: 4px; }
.modal-head img{ width: 60px; height: 60px; border-radius: 15px; border: 1px solid var(--line); object-fit: cover; }
.modal-head h2{ font-family: var(--font-display); font-size: 18.5px; margin: 0 0 4px; }
.modal-stats{ display: flex; gap: 14px; font-size: 12.5px; color: var(--text-2); }

.modal-hook{ color: var(--text-1); font-size: 13.5px; margin: 10px 0 0; font-style: italic; }

.modal-desc{ color: var(--text-1); font-size: 13.5px; line-height: 1.75; margin: 16px 0; }
.modal-desc h4, .modal-desc h5, .modal-desc h6{ font-family: var(--font-display); color: var(--text-0); margin: 14px 0 6px; }
.modal-desc ul{ margin: 6px 0; padding-left: 20px; }
.modal-desc li{ margin-bottom: 4px; }
.modal-desc code{ background: var(--bg-2); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 12.5px; }
.modal-desc a{ color: var(--teal); }

.info-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 14px 16px;
  margin-bottom: 16px;
}
.info-grid .field span{ display: block; font-size: 11px; color: var(--text-2); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .04em; }
.info-grid .field b{ font-size: 13.5px; font-weight: 600; }

.modal-foot{ display: flex; gap: 10px; margin-top: 20px; }

.classements-section{ margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.classements-section h4{ font-family: var(--font-display); font-size: 13.5px; color: var(--text-1); margin: 0 0 10px; }
.classements-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.classement-box{ background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; }
.classement-box span{ display: block; font-size: 11px; color: var(--text-2); margin-bottom: 4px; }
.classement-box b{ font-family: var(--font-mono); font-size: 18px; }
.classement-box b small{ font-family: var(--font-body); font-size: 11.5px; color: var(--text-2); font-weight: 400; }

/* =========================================================
   PAGE SERVEUR DEDIEE
   ========================================================= */
.breadcrumb{ font-size: 12.5px; color: var(--text-2); margin-bottom: 18px; }
.breadcrumb a{ color: var(--text-2); }
.breadcrumb a:hover{ color: var(--text-0); }
.breadcrumb span{ margin: 0 6px; }

.server-page-card{ position: relative; }
.server-page-head{ display: flex; align-items: flex-start; gap: 16px; margin-bottom: 4px; }
.server-page-avatar{ width: 76px; height: 76px; border-radius: 18px; border: 1px solid var(--line); object-fit: cover; flex-shrink: 0; }
.server-page-name{ font-family: var(--font-display); font-size: 22px; margin: 0 0 6px; }
.server-page-meta{ display: flex; gap: 14px; font-size: 12.5px; color: var(--text-2); flex-wrap: wrap; }
.server-page-actions-corner{ display: flex; gap: 8px; align-items: flex-start; }

.dots-menu{ position: relative; }
.dots-dropdown{
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 200px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 8px; display: none; box-shadow: var(--shadow-card); z-index: 20;
}
.dots-dropdown.open{ display: block; }
.dots-dropdown a{ display: block; padding: 8px 10px; border-radius: 7px; font-size: 13.5px; }
.dots-dropdown a:hover{ background: var(--bg-3); }

.review-summary{ display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 20px 0; }
.review-average-box{
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 16px 22px; text-align: center; min-width: 160px;
}
.review-average-box span{ display: block; font-size: 12px; color: var(--text-2); }
.review-average-box b{ font-family: var(--font-display); font-size: 26px; color: var(--amber); display: block; margin: 6px 0; }
.review-average-box b small{ font-size: 13px; color: var(--text-2); }
.review-bars{ flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.review-bar-row{ display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-2); }
.review-bar-row > span:first-child{ width: 28px; }
.review-bar-row > span:last-child{ width: 20px; text-align: right; }
.review-bar-track{ flex: 1; height: 8px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.review-bar-fill{ height: 100%; background: var(--amber); }

.review-list{ margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-row{ background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; }
.review-row-head{ display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-row-head img{ width: 34px; height: 34px; border-radius: 50%; }
.review-stars{ color: var(--amber); font-size: 13px; }
.review-date{ font-size: 12px; color: var(--text-2); }
.review-content{ font-size: 13.5px; color: var(--text-1); line-height: 1.6; }
.review-report-link{ color: var(--red); font-size: 12px; display: inline-block; margin-bottom: 8px; }
.review-row-actions{ display: flex; gap: 8px; margin-top: 10px; }

.star-picker{ display: flex; gap: 6px; font-size: 30px; cursor: pointer; }
.star-picker span{ color: var(--line); transition: color .1s; }
.star-picker span.active{ color: var(--amber); }

/* =========================================================
   SUPPORT / TICKETS
   ========================================================= */
.support-layout{ display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 900px){ .support-layout{ grid-template-columns: 1fr; } }

.ticket-status{
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; flex-shrink: 0;
}
.status-open{ background: rgba(94,166,255,0.15); color: #7FB4FF; }
.status-progress{ background: rgba(232,185,92,0.15); color: var(--amber); }
.status-closed{ background: rgba(122,132,150,0.18); color: var(--text-2); }

.ticket-list-item{
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px; border-radius: var(--radius-s);
  color: var(--text-1); font-size: 13px;
}
.ticket-list-item:hover{ background: var(--bg-2); }
.ticket-list-item.active{ background: var(--bg-2); }
.ticket-list-item div{ flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.ticket-list-item b{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

.support-discord-cta{
  display: block; margin-top: 16px; padding: 14px 16px;
  background: var(--indigo); border-radius: var(--radius-m); color: #fff; text-decoration: none;
}
.support-discord-cta span{ display: block; font-weight: 600; font-size: 13.5px; }
.support-discord-cta small{ color: rgba(255,255,255,0.75); font-size: 11.5px; }

.ticket-thread{ display: flex; flex-direction: column; gap: 12px; margin-top: 16px; max-height: 420px; overflow-y: auto; }
.ticket-bubble{ display: flex; gap: 10px; }
.ticket-bubble img{ width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--bg-3); }
.ticket-bubble div{ background: var(--bg-2); border-radius: var(--radius-m); padding: 8px 12px; max-width: 80%; }
.ticket-bubble.staff div{ background: rgba(108,124,240,0.14); }
.ticket-bubble b{ font-size: 12px; display: block; margin-bottom: 2px; }
.ticket-bubble p{ margin: 0; font-size: 13px; color: var(--text-1); white-space: pre-wrap; }
.ticket-bubble span{ font-size: 10.5px; color: var(--text-2); display: block; margin-top: 4px; }

/* =========================================================
   PAGES LEGALES
   ========================================================= */
.legal-page{ max-width: 760px; }
.legal-meta{ color: var(--text-2); font-size: 13px; margin: 0 0 30px; }
.legal-page p{ color: var(--text-1); font-size: 14px; line-height: 1.75; margin: 0 0 16px; }
.legal-page h2{ font-family: var(--font-display); font-size: 18px; margin: 34px 0 12px; }
.legal-page ul{ margin: 0 0 16px; padding-left: 22px; }
.legal-page li{ color: var(--text-1); font-size: 14px; line-height: 1.7; margin-bottom: 6px; }
.legal-page a{ color: var(--teal); }

/* =========================================================
   TABLEAU COMPARATIF DES ABONNEMENTS
   ========================================================= */
.compare-table-wrap{
  max-width: 900px; margin: 0 auto 40px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-l); overflow: hidden;
}
.compare-table{ width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td{
  padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line-soft);
}
.compare-table th:first-child, .compare-table td:first-child{ text-align: left; color: var(--text-1); }
.compare-table thead th{
  font-family: var(--font-display); font-size: 14px; color: var(--text-0);
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.compare-table tbody tr:last-child td{ border-bottom: none; }
.compare-table tbody tr:hover{ background: rgba(255,255,255,0.02); }
.compare-table td{ color: var(--text-1); }
.compare-featured{ background: rgba(47,211,196,0.06); position: relative; }
.compare-table thead th.compare-featured{ background: rgba(47,211,196,0.12); color: var(--teal); }
.compare-yes{ color: var(--teal); font-weight: 700; font-size: 16px; }
.compare-no{ color: var(--text-2); font-size: 14px; opacity: .6; }
@media (max-width: 700px){
  .compare-table{ font-size: 12px; }
  .compare-table th, .compare-table td{ padding: 10px 8px; }
}

/* =========================================================
   FORMULAIRES
   ========================================================= */
.field-group{ margin-bottom: 18px; }
.field-group label{
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 8px;
}
.field-group .req{ color: var(--red); }
.field-group input, .field-group select, .field-group textarea{
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  color: var(--text-0);
  font-size: 14px;
  font-family: inherit;
}
.field-group textarea{ min-height: 130px; resize: vertical; }
.field-hint{ font-size: 12px; color: var(--text-2); margin-top: 6px; }
.field-count{ font-size: 11.5px; color: var(--text-2); text-align: right; margin-top: 6px; }

.tag-input{
  display: flex; flex-wrap: wrap; gap: 6px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 8px;
}
.tag-input input{ border: none; background: none; flex: 1; min-width: 120px; padding: 4px; }
.tag-pill{
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 4px 8px 4px 10px; border-radius: 999px; font-size: 12.5px;
}
.tag-pill button{ background: none; border: none; color: var(--text-2); cursor: pointer; font-size: 12px; }

.card-panel{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 24px;
}

/* =========================================================
   TABLEAU DE BORD
   ========================================================= */
.dash-layout{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 40px 0 70px;
}
@media (max-width: 800px){ .dash-layout{ grid-template-columns: 1fr; } }

.dash-side{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 18px;
  height: max-content;
}
.dash-profile{
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.dash-profile img{ width: 42px; height: 42px; border-radius: 12px; }
.dash-profile b{ display: block; font-size: 14.5px; }
.dash-profile span{ font-size: 12px; color: var(--teal); }

.dash-nav a, .dash-nav button{
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 10px 12px; border-radius: var(--radius-s);
  color: var(--text-1); font-size: 14px;
  background: none; border: none; cursor: pointer;
}
.dash-nav a:hover, .dash-nav button:hover{ background: var(--bg-2); color: var(--text-0); }
.dash-nav a.active{ background: var(--indigo); color: #fff; }
.dash-nav .ico{ width: 16px; text-align: center; opacity: .8; }

.stat-grid{
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  margin-bottom: 30px;
}
@media (max-width: 900px){ .stat-grid{ grid-template-columns: repeat(2,1fr); } }
.stat-card{
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 18px;
}
.stat-card span{ display: block; font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.stat-card b{ font-family: var(--font-mono); font-size: 24px; }

.danger-zone{
  border: 1px solid rgba(229,98,107,0.35);
  background: var(--red-dim);
  border-radius: var(--radius-l);
  padding: 20px;
  margin-top: 30px;
}
.danger-zone h3{ color: var(--red); font-family: var(--font-display); font-size: 15px; margin: 0 0 6px; display:flex; align-items:center; gap:8px; }
.danger-zone h3::before{ content: "!"; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #2a0d10; font-size: 12px; font-weight: 800; display:flex; align-items:center; justify-content:center; }
.danger-zone p{ color: var(--text-1); font-size: 13.5px; margin: 0 0 16px; }

.warning-banner{
  display: flex; align-items: center; gap: 12px;
  background: rgba(232,185,92,0.1);
  border: 1px solid rgba(232,185,92,0.3);
  border-radius: var(--radius-m);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text-0);
  margin-bottom: 24px;
}
.warning-banner b{ color: var(--amber); }

/* =========================================================
   ABONNEMENTS
   ========================================================= */
.plan-grid{
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  margin: 34px 0 20px;
}
@media (max-width: 900px){ .plan-grid{ grid-template-columns: 1fr; } }
.plan-card{
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 26px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan-card.featured{ border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.plan-name{ font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.plan-price{ font-family: var(--font-mono); font-size: 30px; margin: 10px 0 20px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price span{ font-size: 13px; color: var(--text-2); }
.price-old{ font-size: 14px !important; color: var(--text-2) !important; text-decoration: line-through; opacity: 0.75; font-weight: 400; }
.price-new{ font-size: 34px; color: var(--red); font-weight: 700; }
.promo-corner-badge{
  position: absolute; top: -12px; right: -12px;
  width: 34px; height: 34px; object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45));
}

.promo-frame{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-1); border: 1px dashed var(--line);
  border-radius: var(--radius-m); padding: 10px 16px;
  font-size: 13.5px; font-weight: 600; color: var(--text-1);
  cursor: pointer; margin-bottom: 14px; width: 100%;
}
.promo-frame:hover{ border-color: var(--indigo-dim); color: var(--text-0); }
.promo-frame-active{
  cursor: default; border-style: solid; border-color: rgba(47,211,196,0.4);
  background: rgba(47,211,196,0.08); color: var(--text-0);
}
.promo-frame-active img{ width: 18px; height: 18px; object-fit: contain; }
.plan-list{ list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan-list li{ display: flex; gap: 9px; font-size: 13.5px; color: var(--text-1); }
.plan-list li::before{ content: "»"; color: var(--teal); flex-shrink: 0; }
.plan-list li.note{ color: var(--text-2); font-size: 12.5px; font-style: italic; }
.plan-list li.note::before{ content: "¤"; color: var(--text-2); }

/* =========================================================
   POP-UPS / TOASTS / NSFW
   ========================================================= */
.toast{
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 13px 18px; border-radius: var(--radius-m);
  font-size: 13.5px; box-shadow: var(--shadow-card);
  opacity: 0; pointer-events: none; transition: all .2s;
  z-index: 200;
}
.toast.visible{ opacity: 1; transform: translateX(-50%) translateY(0); }

.gate-timer{
  font-family: var(--font-mono);
  color: var(--text-2);
  font-size: 12.5px;
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer{
  border-top: 1px solid var(--line-soft);
  margin-top: 60px;
  padding: 40px 0 50px;
  color: var(--text-2);
  font-size: 13px;
}
.site-footer .wrap{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer a{ color: var(--text-2); }
.site-footer a:hover{ color: var(--text-0); }

.container-page{ padding: 44px 0 70px; }

@media (max-width: 860px){
  .main-nav{ display: none; }
  .server-grid{ grid-template-columns: 1fr; }
}
