/* --- STRUCTURE GLOBALE POUR FOOTER EN BAS --- */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/* --- IMAGES --- */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* --- FOND VIDÉO --- */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
  filter: brightness(0.6);
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.logo {
  width: 90px;
  transition: transform 0.4s ease, filter 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 15px #00bfff);
}

/* --- NAVIGATION --- */
nav {
  margin-right: 60px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.3s, text-shadow 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #00bfff;
  text-shadow: 0 0 8px #00bfff;
}

/* --- CONTENU PRINCIPAL --- */
main {
  padding-top: 140px;
  text-align: center;
}

h1 {
  font-size: 3rem;
  color: #00bfff;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

/* --- BOUTONS --- */
.btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00bfff;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1rem;
  height: 50px;
  min-width: 200px;
}

.btn:hover {
  transform: scale(1.05);
  background: white;
  color: #00bfff;
}

/* --- COULEURS SPÉCIFIQUES --- */
.youtube { background: #FF0000; color: white; }
.youtube:hover { background: #cc0000; }

.twitch { background: #9146FF; color: white; }
.twitch:hover { background: #7b2cff; }

.tiktok { background: #010101; color: #00f2ea; border: 1px solid #00f2ea; }
.tiktok:hover { background: #00f2ea; color: black; }

.discord { background: #5865F2; color: white; }
.discord:hover { background: #4752C4; }

.icon {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* --- TERMINAL --- */
#terminal {
  position: fixed;
  bottom: -400px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 700px;
  height: 200px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #00bfff;
  border-radius: 8px;
  box-shadow: 0 0 15px #00bfff55;
  font-family: "Courier New", monospace;
  color: #00ffcc;
  font-size: 0.95rem;
  padding: 15px;
  overflow-y: auto;
  z-index: 9999;
  opacity: 0;
  transition: bottom 0.8s ease, opacity 0.6s ease;
}

#terminal.active {
  bottom: 30px;
  opacity: 1;
}

#terminal-content {
  white-space: pre-wrap;
}
