:root {
  --bg: #0a0a15;
  --text: #f0f0ff;
  --accent: #a78bfa;
  --gray: #7a8299;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

header {
  margin-bottom: 3rem;
}

header img {
  max-width: 110px;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  /* pour indiquer que c'est cliquable */
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--gray);
  font-size: 1.1rem;
}

.wip {
  color: #ff6b6b;
  font-style: italic;
  margin-top: 1rem;
}

/* Sélecteur langue */
.lang-selector {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.lang-selector.visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.lang-flag:hover,
.lang-flag.active {
  border-color: var(--accent);
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(167, 139, 250, 0.4);
}

/* Vidéo */
.video-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.video-wrapper {
  display: none;
  justify-content: center;
  margin: 2rem auto;
}

.video-wrapper.visible {
  display: flex;
}

video {
  width: 100%;
  max-width: 960px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  background: #000;
}

.protected-notice {
  margin: 5rem auto;
  max-width: 700px;
  padding: 2.5rem;
  font-size: 1.3rem;
  color: var(--gray);
  border: 2px dashed var(--accent);
  border-radius: 16px;
  background: rgba(20, 20, 40, 0.4);
}