:root{
  --bg1:#05060a;
  --bg2:#0b1020;
  --neon:#00f7ff;
  --neon2:#7c3aed;
  --text:#e7fbff;
  --muted:rgba(231,251,255,.72);
  --card:rgba(10,12,20,.72);
  --stroke:rgba(0,247,255,.28);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(0,247,255,.12), transparent 55%),
    radial-gradient(900px 600px at 80% 20%, rgba(124,58,237,.14), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x:hidden;
}

/* fond grille futuriste */
.bg-grid{
  position:fixed; inset:0;
  background-image:
    linear-gradient(to right, rgba(0,247,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,247,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 35%, black 0%, black 40%, transparent 78%);
  opacity:.55;
  pointer-events:none;
}

/* petites particules */
.bg-noise{
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity:.10;
  pointer-events:none;
  mix-blend-mode:overlay;
}

.wrapper{
  min-height:100%;
  display:flex;
  flex-direction:column;
}

.nav{
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background: rgba(5,6,10,.58);
  border-bottom:1px solid rgba(0,247,255,.12);
  z-index:10;
}
.nav-inner{
  max-width:1100px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:var(--text);
}
.logo-dot{
  width:12px;height:12px;border-radius:999px;
  background:var(--neon);
  box-shadow:0 0 18px rgba(0,247,255,.75);
}
.brand span{
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:13px;
  opacity:.92;
}
.nav-actions{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
  border:1px solid rgba(0,247,255,.24);
  background: rgba(0,247,255,.08);
  color: var(--text);
}
.btn:hover{border-color:rgba(0,247,255,.55); background:rgba(0,247,255,.12)}
.btn-primary{
  background: linear-gradient(90deg, rgba(0,247,255,.95), rgba(124,58,237,.92));
  border:0;
  color:#081018;
  box-shadow:0 10px 30px rgba(0,247,255,.20);
}
.btn-primary:hover{filter:brightness(1.05)}
.btn-link{
  border-color:transparent;
  background:transparent;
  color:var(--muted);
}
.btn-link:hover{color:var(--text); border-color:rgba(0,247,255,.20); background:rgba(0,247,255,.06)}

.hero{
  max-width:1100px;
  margin:0 auto;
  padding:44px 18px 18px;
}
.hero h1{
  margin:0 0 10px;
  font-size:42px;
  line-height:1.05;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-shadow: 0 0 18px rgba(0,247,255,.18);
}
.hero p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
  font-size:16px;
}

.content{
  max-width:1100px;
  width:100%;
  margin:0 auto;
  padding:18px 18px 70px;
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}

.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(0,247,255,.08),
    0 22px 70px rgba(0,0,0,.55);
}
.card-head{
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid rgba(0,247,255,.12);
  background:
    linear-gradient(90deg, rgba(0,247,255,.10), rgba(124,58,237,.08));
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(0,247,255,.24);
  background:rgba(0,247,255,.06);
  color:var(--muted);
  font-weight:800;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.pill .dot{
  width:7px;height:7px;border-radius:99px;background:var(--neon);
  box-shadow:0 0 14px rgba(0,247,255,.7);
}

.reglement{
  padding:18px 16px 22px;
  color:rgba(231,251,255,.92);
  line-height:1.65;
  font-size:16px;
  white-space:pre-wrap;
}

/* pages admin */
.form{
  padding:18px 16px 22px;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,247,255,.22);
  background: rgba(5,8,14,.68);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color:rgba(0,247,255,.6);
  box-shadow:0 0 0 3px rgba(0,247,255,.12);
}
textarea{min-height:320px; resize:vertical}

.note{color:var(--muted); font-size:13px}
.error{color:#ff6b6b; font-weight:800}
.ok{color:#5cffc7; font-weight:800}

@media (max-width:700px){
  .hero h1{font-size:32px}
}