@font-face {
  font-family: "Helvetica Bold";
  src: url("../FONT/Helvetica-Bold.ttf") format("truetype");
  font-display: swap;
}

:root {
  --fond: #050505;
  --texte: #ffffff;
  --accent: #FF7900;
  --accent-2: #ff9d42;
  --verre: rgba(255, 255, 255, 0.14);
  --verre-fort: rgba(255, 255, 255, 0.10);
  --bord: rgba(255, 255, 255, 0.12);
  --bord-orange: rgba(255, 121, 0, 0.45);
  --police: "Helvetica Bold", Helvetica, Arial, sans-serif;
  --rayon: 18px;
}

* { box-sizing: border-box; margin: 0; }

body {
  font-family: var(--police);
  background: var(--fond);
  color: #ffffff;
  min-height: 100vh;
  padding: 1.5rem;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
}
body::before {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -120px;
  background: rgba(255, 121, 0, 0.20);
}
body::after {
  width: 480px;
  height: 480px;
  bottom: -160px;
  right: -140px;
  background: rgba(255, 157, 66, 0.12);
}

header {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main { max-width: 640px; margin: 0 auto; display: grid; gap: 1.5rem; }

.logo {
  width: 64px;
  height: 64px;
}

.lien-admin {
  color: #ffffff;
  opacity: 0.65;
  text-decoration: none;
  font-size: 0.9rem;
  background: var(--verre);
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  transition: opacity 0.2s, border-color 0.2s;
}
.lien-admin:hover {
  opacity: 1;
  border-color: var(--bord-orange);
}

section {
  background: var(--verre);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(90deg, #ffffff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; color: #ffffff; }

label { display: block; font-size: 0.9rem; color: #ffffff; margin-bottom: 0.35rem; }

input[type="text"], input[type="password"], textarea, select {
  width: 100%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  font-family: var(--police);
  margin-bottom: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { border-radius: 14px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--bord-orange);
  box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}
select option { background: #111111; }

button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000000;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-family: var(--police);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 121, 0, 0.30);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 121, 0, 0.42);
  filter: brightness(1.05);
}
button:active { transform: translateY(0); }
button.secondaire {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid var(--bord);
  color: #ffffff;
  box-shadow: none;
}
button.secondaire:hover {
  background: rgba(255, 255, 255, 0.26);
  box-shadow: none;
  border-color: var(--bord-orange);
}

.form-vote { display: grid; gap: 0.6rem; }
.form-vote label {
  background: var(--verre);
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  color: #ffffff;
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.form-vote label:hover {
  border-color: var(--bord-orange);
  transform: translateY(-1px);
}
.form-vote label.selectionnee {
  border-color: var(--accent);
  background: rgba(255, 121, 0, 0.14);
  box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.15);
}
.form-vote input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }

.grille-sondages { display: grid; gap: 1.25rem; }
.sondage { border: 1px solid var(--bord); border-radius: 14px; padding: 1.1rem; background: var(--verre-fort); }
.sondage .titre { font-size: 1.05rem; margin-bottom: 0.5rem; }
.sondage .question { font-size: 0.95rem; margin-bottom: 0.5rem; }
.sondage .explication {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.sondage .vote-info { font-size: 0.85rem; margin: 0.6rem 0 0; }

ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
li {
  background: var(--verre);
  border: 1px solid var(--bord);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.message { color: #ffffff; font-size: 0.9rem; margin: 0.5rem 0; }
.message.erreur { color: var(--accent-2); }

a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}