/* nav.ldmstreaming.com — page de Démat's. Couleurs du logo (bleu, violet,
   rouge, orange) sur le fond nuit de ldmstreaming.com. */
@font-face { font-family: 'Bebas Neue'; font-weight: 400; font-display: swap; src: url(/fonts/BebasNeue-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Bebas Neue'; font-weight: 400; font-display: swap; src: url(/fonts/BebasNeue-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-weight: 400; font-display: swap; src: url(/fonts/Rajdhani-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Rajdhani'; font-weight: 400; font-display: swap; src: url(/fonts/Rajdhani-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-weight: 600; font-display: swap; src: url(/fonts/Rajdhani-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Rajdhani'; font-weight: 600; font-display: swap; src: url(/fonts/Rajdhani-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-weight: 700; font-display: swap; src: url(/fonts/Rajdhani-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Rajdhani'; font-weight: 700; font-display: swap; src: url(/fonts/Rajdhani-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: 'Share Tech Mono'; font-weight: 400; font-display: swap; src: url(/fonts/ShareTechMono-400-latin.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #07091A;
  --bg2: #0B0E20;
  --card: #0F1226;
  --line: rgba(140, 150, 255, .12);
  --text: #EEF0FF;
  --soft: #B4B9D6;
  --dim: #8A90B0;
  --blue: #2E6BFF;
  --violet: #7B3BFF;
  --red: #FF2E63;
  --orange: #FF6A1F;
  --cyan: #2EE6FF;
  --brand: linear-gradient(90deg, #2E6BFF, #5B3BFF 35%, #B83BFF 60%, #FF2E63 82%, #FF6A1F);
  --display: 'Bebas Neue', Impact, sans-serif;
  --body: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Share Tech Mono', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(46, 90, 255, .16), transparent 70%),
    radial-gradient(700px 480px at 85% 8%, rgba(255, 46, 99, .12), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 500 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* --- Barre du haut --- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(24px, calc((100% - 1112px) / 2));
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--brand); opacity: .8; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font: 28px/1 var(--display); letter-spacing: .04em; }
.top nav { display: flex; gap: 22px; font-weight: 600; font-size: 16px; }
.top nav a { text-decoration: none; color: var(--soft); transition: color .15s; }
.top nav a:hover { color: var(--text); }
.top nav .ext { color: var(--dim); }

main { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* --- Héros --- */
.hero {
  display: grid; grid-template-columns: minmax(240px, 400px) 1fr; align-items: center; gap: 56px;
  padding: 72px 0 88px;
}
.hero-logo { position: relative; aspect-ratio: 1; animation: float 6s ease-in-out infinite; }
.hero-logo .glitch-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-logo .ghost { opacity: 0; mix-blend-mode: screen; }
.hero-logo .cyan { filter: hue-rotate(160deg) saturate(2); }
.hero-logo .red { filter: hue-rotate(-40deg) saturate(2); }
.hero-logo .ghost.cyan { animation: ghost-a 4.2s steps(1) infinite; }
.hero-logo .ghost.red { animation: ghost-b 4.2s steps(1) infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes ghost-a {
  0%, 88%, 100% { opacity: 0; transform: none; clip-path: none; }
  90% { opacity: .7; transform: translateX(-7px); clip-path: inset(18% 0 52% 0); }
  93% { opacity: .7; transform: translateX(5px); clip-path: inset(60% 0 12% 0); }
  96% { opacity: .5; transform: translateX(-3px); clip-path: inset(34% 0 40% 0); }
}
@keyframes ghost-b {
  0%, 88%, 100% { opacity: 0; transform: none; clip-path: none; }
  90% { opacity: .7; transform: translateX(7px); clip-path: inset(48% 0 22% 0); }
  93% { opacity: .7; transform: translateX(-6px); clip-path: inset(8% 0 70% 0); }
  96% { opacity: .5; transform: translateX(4px); clip-path: inset(70% 0 6% 0); }
}

.kicker {
  display: flex; width: fit-content; align-items: center; gap: 8px; margin: 0 0 6px;
  padding: 4px 12px; border: 1px solid rgba(255, 46, 99, .5); border-radius: 999px;
  background: rgba(255, 46, 99, .1); color: #FFB0C3;
  font: 14px var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Titre au dégradé du logo, avec rafales glitch (décalage RVB et tranches). */
h1.glitch {
  position: relative; display: inline-block; margin: 0; padding-top: .1em;
  font: clamp(84px, 13vw, 168px)/1 var(--display); letter-spacing: .01em;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1.glitch::before, h1.glitch::after {
  content: attr(data-text); position: absolute; inset: 0; padding-top: .1em;
  background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0;
}
h1.glitch::before { text-shadow: -3px 0 rgba(46, 230, 255, .55); animation: title-a 5s steps(1) infinite; }
h1.glitch::after { text-shadow: 3px 0 rgba(255, 46, 99, .55); animation: title-b 5s steps(1) infinite; }
@keyframes title-a {
  0%, 90%, 100% { opacity: 0; transform: none; }
  91% { opacity: 1; transform: translateX(-6px); clip-path: inset(10% 0 62% 0); }
  94% { opacity: 1; transform: translateX(8px); clip-path: inset(58% 0 18% 0); }
  97% { opacity: 1; transform: translateX(-3px); clip-path: inset(36% 0 44% 0); }
}
@keyframes title-b {
  0%, 90%, 100% { opacity: 0; transform: none; }
  91% { opacity: 1; transform: translateX(6px); clip-path: inset(64% 0 8% 0); }
  94% { opacity: 1; transform: translateX(-8px); clip-path: inset(20% 0 56% 0); }
  97% { opacity: 1; transform: translateX(4px); clip-path: inset(46% 0 30% 0); }
}

.tagline { max-width: 560px; margin: 14px 0 30px; color: var(--soft); font-size: 21px; }
.tagline strong { color: var(--text); font-weight: 700; }

.btn-dl {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px; border-radius: 12px; text-decoration: none;
  background: var(--brand); color: #fff;
  font: 30px/1 var(--display); letter-spacing: .04em;
  box-shadow: 0 12px 40px -12px rgba(123, 59, 255, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-dl svg { width: 26px; height: 26px; }
.btn-dl:hover { transform: translateY(-2px); box-shadow: -3px 0 0 rgba(46, 230, 255, .8), 3px 0 0 rgba(255, 46, 99, .8), 0 16px 48px -12px rgba(123, 59, 255, .85); }
.btn-dl:active { transform: translateY(0); }
.btn-dl:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.meta { margin: 12px 0 0; color: var(--dim); font: 15px var(--mono); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.pills li {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .02); color: var(--soft); font-size: 15px; font-weight: 600;
}

/* --- Sections --- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section h2 { margin: 0; font: clamp(44px, 6vw, 64px)/1 var(--display); letter-spacing: .02em; }
.lead { margin: 10px 0 32px; color: var(--dim); font-size: 19px; }
.section > h2 + .steps, .section > h2 + .release { margin-top: 28px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent), var(--card);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(123, 59, 255, .45); transform: translateY(-2px); }
.card::after { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: var(--brand); opacity: 0; transition: opacity .2s; }
.card:hover::after { opacity: 1; }
.ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 12px; background: rgba(123, 59, 255, .14); color: #C9B8FF; font: 20px var(--mono);
}
.card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.card p { margin: 0; color: var(--soft); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.steps .n { font: 40px/1 var(--display); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin: 2px 0 4px; font-size: 21px; }
.steps p { margin: 0; color: var(--soft); font-size: 16.5px; }
.note {
  margin: 20px 0 0; padding: 14px 18px; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0;
  background: rgba(255, 106, 31, .08); color: var(--soft); font-size: 16.5px;
}
.note b { color: var(--text); }

.release { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.release-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font: 15px var(--mono); }
.date { color: var(--dim); font: 15px var(--mono); }
.release p { margin: 0; color: var(--soft); white-space: pre-line; }

.foot {
  max-width: 1160px; margin: 32px auto 0; padding: 28px 24px 40px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 15px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.foot p { margin: 0; }
.foot a { color: var(--soft); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 40px 0 64px; }
  .hero-logo { width: min(260px, 70vw); margin: 0 auto; }
  .kicker { margin-left: auto; margin-right: auto; }
  .tagline { margin-left: auto; margin-right: auto; }
  .pills { justify-content: center; }
  .grid, .steps { grid-template-columns: 1fr; }
  .top nav a:not(.ext) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
