/* ==========================
   GLOBAL STYLES
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0b0b0b, #161616);
  color: #f5f5f5;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================
   HEADER
========================== */
header {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  animation: fadeDown 0.8s ease forwards;
}
header .name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(90deg, #00fff7, #a970ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================
   PRESENTATION
========================== */
.presentation {
  height: 90vh;
  background: url('https://www.ateijelo.com/assets/img/botw-01-hateno.jpg') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  position: relative;
}
.presentation .overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 3rem 4rem;
  border-radius: 30px;
  backdrop-filter: blur(15px);
  text-align: center;
  animation: fadeUp 1s ease forwards;
  max-width: 750px;
  position: relative;
}
.presentation .overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: radial-gradient(circle at top left, rgba(0,255,247,0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(169,112,255,0.25), transparent 60%);
  z-index: -1;
}
.presentation h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00fff7, #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.presentation p {
  font-size: 1.2rem;
  color: #dcdcdc;
}

/* ==========================
   CAROUSEL SECTION
========================== */
.carousel-section {
  padding: 6rem 2rem;
  text-align: center;
}
.carousel-section h2 {
  margin-bottom: 3rem;
  font-size: 2rem;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(90deg, #a970ff, #00fff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.carousel-container {
  position: relative;
  width: 95%;
  margin: auto;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  will-change: transform;
  align-items: flex-start;
}

.video-block {
  flex: 0 0 320px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.video-block.visible {
  transform: translateY(0);
  opacity: 1;
}
.video-block:hover {
  transform: translateY(-10px) scale(1.03);
}
.video-block iframe {
  width: 100%;
  height: 200px;
  border: none;
}
.description {
  padding: 1rem;
  font-weight: 600;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.35);
  color: #ededed;
}

/* ==========================
   BUTTONS
========================== */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #00fff7, #a970ff);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(0, 255, 247, 0.5);
}
.carousel-btn.prev { 
  left: 10px;   /* au lieu de -50px */
}

.carousel-btn.next { 
  right: 10px;  /* au lieu de -50px */
}

.carousel-btn.hidden { 
  display: none; 
}

/* ==========================
   FOOTER
========================== */
footer {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer a {
  color: #00fff7;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
footer a:hover {
  color: #a970ff;
  text-shadow: 0 0 10px rgba(169, 112, 255, 0.6);
}

/* ==========================
   ANIMATIONS
========================== */
@keyframes fadeUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeDown {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}