:root{
  --bg1:#0b1020; --bg2:#141a33;
  --card: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --shadow: 0 16px 40px rgba(0,0,0,.35);
  --radius: 18px;

  --steam:#1b2838; --steam2:#2a475e;
  --discord:#5865F2; --discord2:#4752C4;

  --ok:#2dd4bf;
  --err:#fb7185;
  --info:#93c5fd;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  min-height:100vh;
  padding: 44px 16px;

  position: relative;
  background: transparent;
}

body{ padding-bottom: 90px !important; }


body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(1000px 600px at 15% 10%, rgba(88,101,242,.35), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(45,212,191,.25), transparent 60%),
    radial-gradient(800px 600px at 50% 95%, rgba(251,191,36,.18), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

.container{ width:100%; max-width: 920px; margin: 0 auto; }

.hero{
  width:100%;
  padding: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::after{
  content:"";
  position:absolute;
  inset:-120px -120px auto auto;
  width: 300px; height: 300px;
  background: radial-gradient(circle at 30% 30%, rgba(88,101,242,.55), transparent 60%);
  filter: blur(6px);
  opacity:.7;
  pointer-events:none;
}

.top{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}

.brand{ display:flex; align-items:center; gap:14px; }

.logo{
  width:56px; height:56px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  display:grid; place-items:center;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.logo img{ width:100%; height:100%; object-fit:cover; display:block; }

h1{ margin:0; font-size: 22px; letter-spacing:.2px; }
.subtitle{ margin:4px 0 0; color: var(--muted); font-size: 14px; }

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
@media (min-width: 840px){
  .grid{ grid-template-columns: 1.1fr .9fr; }
}

.card{
  border:1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
}

.card h2{
  margin: 0 0 10px;
  font-size: 15px;
  color: rgba(255,255,255,.90);
}

.muted{ color: var(--muted); font-size: 13px; margin: 6px 0 0; }

.row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  text-decoration:none;
  color: var(--text);
  background: rgba(255,255,255,.06);
  transition: transform .08s ease, filter .15s ease, background .15s ease;
  user-select:none;
  font-weight: 700;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0px); filter: brightness(.98); }

.btn-steam{
  background: linear-gradient(180deg, rgba(27,40,56,.95), rgba(42,71,94,.85));
  border-color: rgba(120,160,200,.25);
}
.btn-discord{
  background: linear-gradient(180deg, rgba(88,101,242,.95), rgba(71,82,196,.92));
  border-color: rgba(150,160,255,.35);
}
.btn-primary{
  background: linear-gradient(180deg, rgba(45,212,191,.95), rgba(16,185,129,.85));
  border-color: rgba(45,212,191,.35);
  color: #06201b;
}
.btn-ghost{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}

/* Font Awesome */
.btn i{ font-size: 18px; line-height: 1; opacity: .95; }

.status{ display:flex; flex-direction:column; gap:10px; }

.line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.15);
}

.label{ font-weight:800; }
.value{ color: var(--muted); font-size: 13px; text-align:right; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.badge.ok{
  border-color: rgba(45,212,191,.55);
  background: rgba(45,212,191,.22);
  color: rgba(220,255,250,.98);
}
.badge.off{
  border-color: rgba(251,113,133,.60);
  background: rgba(251,113,133,.22);
  color: rgba(255,230,235,.98);
}

.notice{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.notice .dot{
  width:10px; height:10px;
  border-radius:999px;
  margin-top:5px;
}

.notice.success{
  border-color: rgba(45,212,191,.35);
  background: rgba(45,212,191,.10);
}
.notice.success .dot{ background: var(--ok); }

.notice.error{
  border-color: rgba(251,113,133,.40);
  background: rgba(251,113,133,.10);
}
.notice.error .dot{ background: var(--err); }

.notice.info{
  border-color: rgba(147,197,253,.35);
  background: rgba(147,197,253,.10);
}
.notice.info .dot{ background: var(--info); }

code{
  background: rgba(255,255,255,.08);
  padding: 2px 8px;
  border-radius: 10px;
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
}

.footer-hint{ margin-top: 10px; color: rgba(255,255,255,.60); font-size: 12px; }

/* Lien Confidentialité en bas à droite */
.privacy-link{
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.privacy-link:hover{ filter: brightness(1.08); }

/* Page texte (privacy) */
.page{
  width:100%;
  max-width: 900px;
  margin: 0 auto;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.page h1{ font-size: 22px; margin: 0 0 10px; }
.page h2{ font-size: 16px; margin: 18px 0 8px; }
.page p, .page li{ color: rgba(255,255,255,.78); line-height: 1.55; }
.page a{ color: rgba(147,197,253,.95); font-weight: 800; text-decoration:none; }
.page a:hover{ text-decoration:underline; }
.small{ font-size: 12px; color: rgba(255,255,255,.60); margin-top: 14px; }

body.privacy .container{
  padding-bottom: 44px;
}
