:root {
  --bg: #05010a;
  --text: #e0e0ff;
  --muted: #888aa5;
  --accent: #ff007c;   /* magenta néon */
  --accent2: #00ffe0;  /* cyan néon */
  --panel: rgba(15, 10, 25, 0.7);
  --border: rgba(255,255,255,0.15);
  --radius: 12px;
  --max: 1100px;
}

/* Reset */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  font-family: "Orbitron", "Share Tech Mono", monospace, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #030008, #0a0a12 80%, #000);
  background-attachment: fixed;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Effet pluie (overlay) */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("https://i.ibb.co/ypXFYcJ/rain-overlay.gif");
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.wrap { max-width: var(--max); margin: 0 auto; padding: 1rem; position: relative; z-index: 1; }

/* Header */
.site-header {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--accent2);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--accent2);
  text-decoration: none;
  text-shadow: 0 0 8px var(--accent2), 0 0 15px var(--accent);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: 6px;
  transition: all .3s ease;
}
.site-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent), 0 0 12px var(--accent2);
}
.nav-toggle {
  display: none;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  font-size: 1.3rem;
  padding: .4rem;
  cursor: pointer;
  color: white;
  box-shadow: 0 0 10px var(--accent);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
}
.hero-text h1 {
  font-size: 2.6rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent2);
  animation: glow 2s infinite alternate;
}
@keyframes glow {
  from { text-shadow: 0 0 15px var(--accent); }
  to   { text-shadow: 0 0 25px var(--accent2), 0 0 50px var(--accent); }
}
.hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--accent2);
  box-shadow: 0 0 25px var(--accent2);
}
.pitch {
  background: var(--panel);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(0,255,224,0.3);
}
.cta {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}
.btn {
  display: inline-block;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 15px var(--accent);
  transition: all .25s ease;
}
.btn:hover {
  background: var(--accent2);
  box-shadow: 0 0 20px var(--accent2);
  transform: scale(1.08);
}
.btn.outline {
  background: transparent;
  color: var(--accent2);
  border: 2px solid var(--accent2);
  box-shadow: 0 0 10px var(--accent2);
}
.btn.outline:hover {
  background: var(--accent2);
  color: black;
}

/* Journal / Cards */
.journal-entry {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 15px rgba(0,255,224,0.4);
  transition: all .3s;
}
.journal-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--accent);
}
.journal-entry h2 {
  color: var(--accent2);
  text-shadow: 0 0 8px var(--accent2);
}
.journal-entry time { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: rgba(0,0,0,0.8);
  border-top: 1px solid var(--accent);
  color: var(--muted);
  padding: 1.2rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .site-nav ul { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open ul {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    position: absolute;
    right: 1rem;
    top: 60px;
    padding: .8rem;
    border-radius: var(--radius);
    border: 1px solid var(--accent2);
    box-shadow: 0 0 20px var(--accent);
    animation: fadeIn .3s ease-in-out;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Boutons Cyberpunk Futuristes — bleu cyan + glow pulsant === */
.button-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 3rem 0;
}

.button-container a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45%;
  padding: 90px 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent2); /* texte bleu cyan */
  background: rgba(0,255,224,0.05); /* fond flou bleu cyan */
  border: 1px solid var(--accent2); /* contour bleu cyan */
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 15px var(--accent2),
    0 0 40px var(--accent2),
    inset 0 0 30px rgba(0,255,224,0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.4s ease, color 0.3s ease;
  z-index: 1;
  animation: pulse-glow 2.5s infinite alternate;
}

.button-container a::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--accent2),
    rgba(0,255,224,0.7),
    var(--accent2)
  );
  animation: rotate-glow 6s linear infinite;
  opacity: 0.2;
  z-index: -1;
}

.button-container a:hover {
  transform: translateY(-12px) scale(1.08) perspective(600px) rotateX(5deg);
  color: #fff;
  box-shadow:
    0 0 25px var(--accent2),
    0 0 60px var(--accent2),
    inset 0 0 30px rgba(0,255,224,0.3);
}

.button-container a::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0,255,224,0.4), transparent);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

/* Animations */
@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes shine {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px var(--accent2), 0 0 40px var(--accent2), inset 0 0 30px rgba(0,255,224,0.2); }
  50% { box-shadow: 0 0 25px var(--accent2), 0 0 50px var(--accent2), inset 0 0 40px rgba(0,255,224,0.3); }
  100% { box-shadow: 0 0 20px var(--accent2), 0 0 45px var(--accent2), inset 0 0 35px rgba(0,255,224,0.25); }
}
