/* ============================================================
   SIR BLUE FOG — Global Styles
   ============================================================ */

@font-face {
  font-family: 'Lycanthrope';
  src: url('../fonts/Lycanthrope.woff') format('woff');
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  background: #07090d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: oklch(68% 0.09 235);
  color: #07090d;
}

/* ============================================================
   Keyframe Animations
   ============================================================ */

@keyframes sbfMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes sbfFogDrift {
  from { transform: translateX(-6%); }
  to   { transform: translateX(7%); }
}

@keyframes sbfFogDrift2 {
  from { transform: translateX(5%); }
  to   { transform: translateX(-8%); }
}

/* ============================================================
   Navigation
   ============================================================ */

.sbf-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sbf-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.sbf-nav a {
  color: #8a96a3;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 9px 13px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.sbf-nav a:hover {
  color: #e4ebf2;
  text-shadow: 0 0 14px rgba(140,180,220,0.8);
}

.sbf-nav-cta {
  color: #07090d !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 10px 18px;
  background: oklch(66% 0.09 235);
  border-radius: 3px;
  box-shadow: 0 0 18px oklch(66% 0.09 235 / 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}

.sbf-nav-cta:hover {
  box-shadow: 0 0 28px oklch(66% 0.09 235 / 0.65) !important;
  transform: translateY(-2px) !important;
}

/* ============================================================
   Ticker / Marquee
   ============================================================ */

.sbf-ticker {
  display: flex;
  width: max-content;
  padding: 5px 0;
  animation: sbfMarquee 26s linear infinite;
}

/* ============================================================
   Hero
   ============================================================ */

.sbf-hero {
  position: relative;
  aspect-ratio: 2132 / 789;
  min-height: 420px;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sbf-logo-head {
  height: 140px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(120,160,200,0.45));
}

.sbf-logo-foot {
  height: 164px;
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(110,150,195,0.55));
}

/* ============================================================
   Language switcher
   ============================================================ */

.sbf-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid rgba(160,185,210,0.18);
}

.sbf-lang button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 3px;
  padding: 3px;
  cursor: pointer;
  line-height: 0;
  opacity: 0.45;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

/* ============================================================
   Aurora smoke canvas separators
   ============================================================ */

.sbf-smoke-sep {
  display: block;
  width: 100%;
  height: 120px;
  position: relative;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

/* ============================================================
   Tracklist hover
   ============================================================ */

.sbf-track {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(160,185,210,0.1);
  transition: background 0.2s ease, padding-left 0.2s ease, border-bottom-color 0.2s ease;
}

.sbf-track:hover {
  background: rgba(150,180,210,0.06);
  padding-left: 24px;
  border-bottom-color: oklch(58% 0.14 40 / 0.7);
}

/* ============================================================
   Video card hover
   ============================================================ */

.sbf-video-card {
  margin: 0;
  background: #0e1218;
  padding: 10px 10px 14px;
  border: 1px solid rgba(160,185,210,0.16);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sbf-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.7), 0 0 50px rgba(110,150,195,0.25);
}

/* ============================================================
   Footer social links
   ============================================================ */

.sbf-footer-link {
  color: #8a96a3;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(160,185,210,0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-bottom-color 0.2s ease;
}

.sbf-footer-link:hover {
  color: #e4ebf2;
  border-bottom-color: #e4ebf2;
  text-shadow: 0 0 14px rgba(140,180,220,0.8);
}

/* ============================================================
   Responsive / Mobile
   ============================================================ */

@media (max-width: 760px) {
  /* Logo caché sur mobile — le nav occupe toute la largeur */
  .sbf-logo-head {
    display: none;
  }

  .sbf-nav-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 8px;
    gap: 0;
  }

  .sbf-nav {
    justify-content: center;
    gap: 1px;
  }

  .sbf-nav a {
    font-size: 11px;
    padding: 8px 9px;
    letter-spacing: 0.08em;
  }

  /* Drapeaux compacts, sur la même ligne que le menu */
  .sbf-lang {
    margin-left: 2px;
    padding-left: 8px;
    gap: 3px;
  }

  .sbf-lang button svg {
    width: 18px !important;
    height: 12px !important;
  }

  .sbf-logo-foot {
    height: 128px !important;
  }

  .sbf-hero {
    aspect-ratio: auto;
    min-height: 520px;
    height: 78vh;
  }

  /* Brume lissée : davantage de flou, déplacement réduit via JS */
  .sbf-fog-inner {
    filter: url(#sbfSmoke) blur(20px) !important;
    opacity: 0.52 !important;
  }
}

@media (max-width: 460px) {
  .sbf-nav a {
    font-size: 10px;
    padding: 7px 7px;
    letter-spacing: 0.06em;
  }

  .sbf-lang button svg {
    width: 16px !important;
    height: 11px !important;
  }

  .sbf-ticker span {
    font-size: 10px;
  }

  .sbf-hero {
    min-height: 460px;
    height: 74vh;
  }

  .sbf-logo-foot {
    height: 108px !important;
  }
}
