:root { color-scheme: light dark; }

/* --- Base --- */
body {
  margin: 1.5rem;
  font-family: -apple-system, system-ui, sans-serif;
  line-height: 1.6;
  background: #0A0A0A;
  color: #EDEDED;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
a:hover {
  background:#EDEDED;
  color:#0A0A0A;
}

header {
  border-bottom: 3px solid currentColor;
  padding-bottom: .8rem;
  margin-bottom: 2rem;
}

main { max-width: 760px; }

/* --- Effet Reveal --- */
.reveal {
  display: inline-block;
  background: linear-gradient(90deg, #EDEDED, #0000);
  background-size: 200% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  color: transparent;
  animation: revealAnim 2s forwards ease-out;
}
@keyframes revealAnim {
  to { background-position: 0 0; }
}

/* --- Séparateur animé --- */
.separator {
  height: 4px;
  margin: 1.2rem 0 2rem;
  background: linear-gradient(90deg, #EDEDED 0%, #0000 100%);
  background-size: 200% 100%;
  animation: sepMove 2.5s infinite linear;
}
@keyframes sepMove {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

/* --- Carte ID --- */
.id-card {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border: 2px solid #EDEDED;
  border-radius: 10px;
  background: #111;
  position: relative;
  overflow: hidden;
}

.id-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #0000, #ffffff10, #0000);
  animation: glowMove 4s infinite ease-in-out;
  pointer-events: none;
}
@keyframes glowMove {
  0% { opacity: .2; }
  50% { opacity: .45; }
  100% { opacity: .2; }
}

.id-label {
  margin: .8rem 0 .2rem;
  font-size: .85rem;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.id-value {
  font-family: "JetBrains Mono", monospace;
  font-size: .9rem;
  color: #A3FFB3;
  word-break: break-all;
  margin: 0;
}

/* --- Bouton haut de page --- */
.top-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: .6rem 1rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: .9rem;
}
.top-btn:hover {
  background:#EDEDED;
  color:#0A0A0A;
}
.hero-btc {display: block !important;
opacity: 1 !important;
visibility: visible !important;
height: auto !important;
padding: 20px !important;
}

.hero-grid {
display: grid !important;
gap: 20px !important;
opacity: 1 !important;
}

.hero-card .value {
color: #fff !important;
}