:root {
  --violet-fonce: #4A148C;
  --violet-clair: #B39DDB;
  --rose: #F8EAF6;
  --fond: #FFF8F5;
  --texte: #2B2B2B;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background-color: var(--fond);
  color: var(--texte);
}

/* --- HEADER --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--violet-fonce), var(--violet-clair));
  color: white;
  padding: 15px 40px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
}

.nav-links a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.8;
}

/* --- INTRO --- */
.intro {
  text-align: center;
  padding: 100px 20px;
  background: url("assets/img/bg-sakura-discord.jpg") center/cover no-repeat;
  color: white;
  position: relative;
  background-attachment: fixed;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 20, 140, 0.55);
}

.intro h1,
.intro p {
  position: relative;
  z-index: 1;
}

.intro h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* --- VN SECTION --- */
.vn-section {
  text-align: center;
  padding: 70px 40px;
}

.vn-section h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-bottom: 40px;
}

.vn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.vn-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.vn-card:hover {
  transform: translateY(-6px);
}

.vn-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.vn-info {
  padding: 20px;
}

.vn-info h3 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-top: 0;
}

.vn-info p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.btn {
  background-color: var(--violet-fonce);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--violet-clair);
}

/* --- TEAM --- */
.team {
  padding: 70px 40px;
  background: linear-gradient(180deg, var(--rose) 0%, var(--fond) 100%);
  text-align: center;
}

.team h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
}

.member-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 20px;
  width: 230px;
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-6px);
}

.member-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
}

.member-card h3 {
  margin: 10px 0 5px;
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
}

/* --- DISCORD --- */
.discord {
  text-align: center;
  padding: 80px 20px;
  background: var(--violet-fonce);
  color: white;
}

.discord-btn {
  background: var(--violet-clair);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.discord-btn:hover {
  background: #d0b4ff;
}

/* --- Twitter --- */
.twitter {
  text-align: center;
  padding: 80px 20px;
  background: var(--violet-fonce);
  color: white;
}

.twitter-btn {
  background: var(--violet-clair);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.twitter-btn:hover {
  background: #d0b4ff;
}


:root {
  --violet-fonce: #4A148C;
  --violet-clair: #B39DDB;
  --fond: #FFF8F5;
  --texte: #2B2B2B;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background-color: var(--fond);
  color: var(--texte);
  scroll-behavior: smooth;
}

.kofi {
  margin-bottom: 15px;
  text-align: center;
  padding-bottom: 10px;
}

.hr {
  border: none;
  margin: 20px 0;
}

/* --- Header --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--violet-fonce), var(--violet-clair));
  color: white;
  padding: 15px 40px;
  position: relative;     
  z-index: 10;           
}

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
}

.nav-links a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.8;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: url("assets/img/bg-sakura.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(74, 20, 140, 0.4);
  pointer-events: none;  /* ✅ empêche la couche de bloquer les clics */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  background-color: var(--rose);
  color: var(--violet-fonce);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

/* --- INTRO --- */
.intro {
  text-align: center;
  padding: 120px 20px 60px;
  background: url("assets/img/bg-sakura-soft.jpg") center/cover no-repeat;
  color: white;
  position: relative;
  background-attachment: fixed;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 20, 140, 0.45);
  pointer-events: none;
}

.intro h1,
.intro p {
  position: relative;
  z-index: 1;
}

.intro h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1rem;
  opacity: 0.9;
}

/* --- MENTIONS --- */
.mentions {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.mentions h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-top: 40px;
  font-size: 1.4rem;
}

.mentions p {
  margin-bottom: 15px;
  text-align: justify;
}

.mentions a {
  color: var(--violet-clair);
  text-decoration: none;
}

.mentions a:hover {
  text-decoration: underline;
}

/* --- FOOTER GLOBAL --- */
.footer-global {
  background: linear-gradient(90deg, var(--violet-fonce), var(--violet-clair));
  color: white;
  padding: 50px 20px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.footer-content {
  display: flex;
  justify-content: center; /* ✅ centré (plus besoin d'espace pour la navigation) */
  flex-wrap: wrap;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.footer-section h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--rose);
}

/* --- RÉSEAUX --- */
.socials a {
  color: white;
  font-size: 1.6rem;
  margin: 0 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  color: var(--rose);
  transform: scale(1.1);
}

/* --- BAS DE PAGE --- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-bottom a {
  color: var(--rose);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}


/* --- HOVER POPUP MEMBRE --- */
.hover-popup {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-popup img {
  display: block;
  width: 220px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hover-popup:hover img {
  transform: scale(1.05);
  filter: blur(2px) brightness(0.7);
}

/* --- POPUP AU SURVOL --- */
.hover-info {
  position: absolute;
  inset: 0;
  background: rgba(74, 20, 140, 0.85);
  color: white;
  border-radius: 15px;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  transition: opacity 0.3s ease;
  pointer-events: none; /* évite cliquables avant hover */
}

.hover-popup:hover .hover-info {
  opacity: 1;
  pointer-events: auto;
}

.hover-info h3 {
  margin-bottom: 8px;
  font-family: "Poppins", sans-serif;
}

.hover-info p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* --- BOUTON --- */
.hover-info .btn.violet {
  background: var(--violet-clair);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hover-info .btn.violet:hover {
  background: var(--violet-fonce);
}

/* --- ANIMATION ENTRÉE --- */
.hover-popup:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* --- Video Section --- */
.video-section {  
  text-align: center; 
  padding: 70px 40px; 
}
.video-section h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-bottom: 40px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.video-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.video-card:hover {
  transform: translateY(-6px);
}
.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
}
.video-info {
  padding: 20px;
}
.video-info h3 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-top: 0;
}
.video-info p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.video-pagination {
  margin-top: 30px;
}




/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .intro h1 {
    font-size: 2rem;
  }
  .mentions {
    margin: 40px auto;
  }
}

@media (max-width: 768px) {
  .intro h1 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1rem;
  }
}

/*video section responsive*/

@media screen {
  .vn-section, .team, .video-section {
    padding: 50px 20px;
  }
}
@media screen and (max-width: 768px) {
  .nav-links a {
    margin-left: 10px;
    font-size: 0.9rem;
  }
  
}

/*team grid responsive*/

@media screen {
  .vn-section, .team, .video-section {
    padding: 50px 20px;
  }
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* --- NAVBAR RESPONSIVE --- */

@media (max-width: 1040px) {
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 0.9rem; }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }

  .nav-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}