/* --- GLOBAL --- */
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* --- 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;
}

/* --- SECTION PRINCIPALE --- */
main {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  box-sizing: border-box;
}

/* --- VIDÉO DE FOND --- */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
  filter: brightness(0.6);
}

/* --- CONTENU --- */
.content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding: 20px;
  margin-top: -40px;
}

.content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #00bfff;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
}

.content p {
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* --- BOUTONS --- */
.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00bfff;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
  height: 45px;
}

.btn:hover {
  background: white;
  color: #00bfff;
  transform: scale(1.05);
}

.discord-btn {
  background: #5865F2;
  color: white;
}

.discord-btn:hover {
  background: #4752C4;
  transform: scale(1.05);
}

.discord-icon {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .content h1 {
    font-size: 2.5rem;
  }
  .content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }
  .logo {
    width: 80px;
  }
  nav ul li {
    margin-left: 15px;
  }
  .content h1 {
    font-size: 2rem;
  }
  .content p {
    font-size: 0.95rem;
  }
  .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 1.5rem;
  }
  .content p {
    font-size: 0.9rem;
  }
  .btn {
    padding: 6px 15px;
    font-size: 0.8rem;
  }
}

/* --- TERMINAL (effet console) --- */
#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;
}

