/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* On verrouille le viewport et on centre tout */
html, body {
  height: 100%;
}

.youtube-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.youtube-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 100vh * 16/9 */
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none; /* empêche de cliquer dessus */
}

/* Si l'écran est plus large que 16/9 */
@media (min-aspect-ratio: 16/9) {
  .youtube-bg iframe {
    width: 100vw;
    height: 56.25vw; /* 100vw * 9/16 */
  }
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #F1F1F1;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;        /* 🔥 Pas de scroll */
}

/* FOND FIXE PLEIN ÉCRAN */
.background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
}

/* LOGO au dessus des liens, centré */
.logo {
  width: 400px;
  max-width: 60vw;
  height: auto;
  position: relative;   /* plus de absolute */
  top: auto;
  left: auto;
  transform: none;
}

/* WRAPPER = bloc qui contient liens + réseaux */
.wrapper {
  width: 100%;
  max-width: 420px;
  padding: 0 1rem;
}

/* MAIN BLOCK */
.container {
  width: 100%;
}

/* LIENS STACKÉS */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  backdrop-filter: blur(3px);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.link:hover {
  transform: translateY(-2px);
  background: rgba(0,0,0,0.7);
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.4);
}

/* RÉSEAUX SOCIAUX */
.RSS {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.8rem;
}

.RSS ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vh;
  list-style: none;
}

.RSS li {
  margin: 0;
}

.RSS i {
  font-size: 2.5rem;
}

/* Responsive léger */
@media (min-width: 768px) {
  .logo {
    width: 300px;
    max-width: 300px;
  }

  .link {
    font-size: 1.05rem;
  }

  .RSS i {
    font-size: 3rem;
  }
}
