/* GLOBAL */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0d0d0d;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 80%; /* 100% = 16px → 85% = ~13.6px */
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body > header,
body > section,
body > footer {
  flex-shrink: 0;
}

body > main, /* si tu as un <main> sinon enlève cette ligne */
.services-section {
  flex: 1;
}

/* NAVBAR */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #111;
  border-bottom: 1px solid #222;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
}

.logo {
  height: 35px;
  margin-left: -22px;
  transform: scale(1.5);
  transform-origin: left center;
  position: relative;
  top: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem; /* ← augmente ici (ex : 1.1rem = ~17.5px) */
  text-transform: uppercase; /* ← optionnel si tu veux TOUT EN MAJUSCULE */
  letter-spacing: 0.5px; /* ← optionnel pour + d’espace entre lettres */
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffd807;
}

/* SECTIONS */
.section {
  padding: 100px 10%;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
}

.section h1, .section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffd807;
}

.section p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
  color: #ccc;
}

/* ACCUEIL VIDEO */
.accueil-section {
  position: relative;
  padding: 0;
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  /* SUPPRIME transform: scale */
}

.bg-video {
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  aspect-ratio: 16/9;
  transform: scale(1.2); /* ou ajuster selon besoin */
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px 10%;
  background: linear-gradient(to top, rgba(00, 00, 00, 0.8), rgba(0, 0, 0, 0));
}

/* TALENTS */
.talents-section {
  padding: 100px 10%;
  box-sizing: border-box;
}

.talents-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  width: 100%;
}

@media (max-width: 1280px) {
  .talents-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .talents-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .talents-container {
    grid-template-columns: 1fr;
  }
}

.talent-card {
  width: 100%; /* au lieu de 250px */
  aspect-ratio: 3 / 4; /* garde des proportions clean */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px #000000;
  transition: transform 0.3s;
}

.talent-card:hover {
  transform: scale(1.05);
}

.talent-card .card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0));
  color: #fff;
}

.card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

.talent-card h3 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.7); /* 👈 ombre douce */
}

.talent-card p {
  margin-top: 5px;
  font-size: 1.2rem; /* avant c'était 0.9rem */
  color: #fff; /* passe en blanc */
  margin-bottom: -4px;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.7); /* 👈 ombre douce */
}

.talent-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-box {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 20px rgba(0, 255, 231, 0.05);
}

.service-box i {
  font-size: 2rem;
  color: #ffd807;
  margin-bottom: 15px;
}

.service-box h3 {
  margin: 0 0 10px;
  color: #fff;
}

.service-box p {
  font-size: 0.95rem;
  color: #bbb;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 255, 231, 0.2);
}

/* FORMULAIRE */
.rejoindre-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 10%;
  text-align: center;
}
.join-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  width: 100%;
}

.join-form input,
.join-form textarea {
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: #1f1f1f;
  color: #fff;
  font-size: 1.3rem;
}

.join-form button {
  padding: 15px;
  border: none;
  background-color: "#ffdd807";
  font-size: 1.3rem;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.join-form button:hover {
  background-color: #ffd807;
}

/* FOOTER */
footer {
  background-color: #111;
  padding: 40px 10%;
  text-align: center;
  border-top: 1px solid #222;
}

footer img {
  height: 40px;
  margin-bottom: 20px;
}

footer p {
  color: #888;
  font-size: 0.9rem;
}

footer .socials {
  margin: 20px 0;
}

footer .socials a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.3s;
}

footer .socials a:hover {
  color: #ffd807;
}
.services-section{
  margin-top: -15px;
}
/* SERVICES TABS */
.services-tabs {
  margin-top: 30px;
}

.tab-nav {
  display: flex;
  justify-content: space-around;
  border-bottom: 2px solid #333;
  padding-bottom: 0px;
  margin-bottom: 30px;
  list-style: none;
  padding-left: 0;
  background-color: #1a1a1a; /* ← ajoute un fond très léger */
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* ← ombre discrète */
}

.tab-nav li {
  cursor: pointer;
  color: #aaa; /* ← plus clair */
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 20px 20px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.tab-nav li:hover {
  background-color: #2a2a2a;
  color: #ffd807;
}

.tab-nav li.active {
  color: #ffd807;
  background-color: #222; /* petit fond actif */
}

.tab-nav li.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffd807;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.tab-content .tab-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-content .tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-section {
  padding: 200px 10%;
  text-align: center;
  background: #0d0d0d; /* ou transparent si tu veux garder comme les autres */
}

.quote-section blockquote {
  font-size: 4rem;
  font-weight: 600;
  font-style: italic;
  color: white;
  line-height: 1.5;
  max-width: 1500px;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.service-flex {
  display: flex;
  flex-wrap: wrap; /* ← remplace "nowrap" par "wrap" */
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.service-media {
  flex: 1 1 50%;
  max-width: 50%;
}

.service-media,
.service-text {
  width: 50%;
  max-width: 50%;
  box-sizing: border-box;
}

.service-text {
  flex: 1 1 50%;
  max-width: 50%;
  font-size: 1.2rem;
  color: #fff;
  padding-left: 40px; /* ← ajoute ça */
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .service-flex {
    flex-direction: column;
    gap: 30px;
  }

  .service-media,
  .service-text {
    width: 100%;
    max-width: 100%;
  }

  .service-text {
    text-align: center;
  }
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  margin-bottom: 0px;
  left: 50%;
  transform: translate(-50%, 0); /* ← attention ici, pas juste translateX */
  font-size: 3rem;
  color: white;
  animation: bounce 2s infinite;
  z-index: 10;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.3s;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 70%;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .section h1, .section h2 {
    font-size: 2rem;
    text-align: center;
  }

  .section p {
    font-size: 1rem;
    text-align: center;
  }

  .quote-section blockquote {
    font-size: 2.2rem;
    padding: 0 10px;
  }

  .join-form input,
  .join-form textarea,
  .join-form button {
    font-size: 1rem;
    padding: 12px;
  }

  .scroll-indicator {
    font-size: 2rem;
    bottom: 20px;
  }
}

.pricing-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.card {
  width: 340px;
  background: #1a1a1a;
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.card h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.card ul {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  line-height: 2;
  color: #eee;
  margin-bottom: 20px;
}

.card .price {
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 20px;
}

.join-button {
  display: inline-block;
  background-color: #ffd807;
  color: #000;
  padding: 16px 32px;
  font-size: 1.4rem;  /* ⬅️ Plus grand texte */
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  margin: 0 auto;               /* ⬅️ centre le bouton */
  text-align: center;
}

.join-button:hover {
  background-color: #e6c406;
}

.card.silver {
  border-color: #bbbbbb;
  background: #262626;
}

.card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  position: relative;
  /* z-index inutile ici */
}

.creatorkit-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0px auto 0;
  margin-top: -55px;
  justify-content: center;
}

.creator-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  padding: 18px 24px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  outline: none;
  border: none;
}

.creator-btn i {
  font-size: 1.4rem;
}

/* Hover effet */
.creator-btn:hover {
  transform: scale(1.05);
}

/* Couleurs spécifiques */
.btn-brainstorm { background-color: #FFD807; }
.btn-audio      { background-color: #2282DC; color: #fff; }
.btn-download   { background-color: #EB1A1A; color: #fff; }
.btn-tools      { background-color: #9F37E1; color: #fff; }
.btn-like       { background-color: #45FF3B; }

.btn-disabled {
  background-color: #aaa;
  color: #222;
  cursor: not-allowed;
  pointer-events: none;
}

.replay-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.replay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  background-color: #ffd807;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}

.replay-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.replay-card span {
  display: block;
  font-weight: bold;
  color: #000;
  font-size: 1.2rem;
  padding: 18px 10px;
  text-align: center;
  background-color: #ffd807;
  width: 100%;
}

.replay-card:hover {
  transform: scale(1.03);
}

.replay-card span {
  display: block;
  font-weight: 800;            /* + gras */
  color: #000;
  font-size: 1.4rem;           /* + grand */
  padding: 14px 10px;          /* - de padding vertical */
  text-align: center;
  background-color: #ffd807;
  width: 100%;
}

.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.login-gate {
  text-align: center;
  padding: 80px 5vw;
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.login-gate h2 {
  color: #ffd807;
  font-size: 3.5rem;
  margin-bottom: 25px;
  margin-top: 0px;
}

.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.google-login-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.separator {
  font-size: 1rem;
  color: #888;
  margin: 25px 0;
}

.not-member {
  font-size: 1.1rem;
  color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.join-button.alt {
  background-color: transparent;
  border: 2px solid #ffd807;
  color: #ffd807;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  margin-bottom: 40px;
}

.join-button.alt:hover {
  background-color: #ffd807;
  color: #111;
}

.creator-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.creator-card:hover {
  transform: scale(1.05);
}

.creator-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.creator-card span {
  font-weight: 800;
  font-size: 1.2rem;
  text-align: center;
  display: block;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* SQUIDUUVERS SECTION */
.squiduuverse-section {
  text-align: center;
  background-color: #111; /* 🌑 fond légèrement plus clair que #0d0d0d */
  padding: 100px 10%;
}

.squiduuverse-section h2 {
  margin-top: 0px;
}

.squiduuverse-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.squiduuverse-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 30px 20px;
  width: 260px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.squiduuverse-card:hover {
  transform: translateY(-5px);
}

.squiduuverse-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 5px;
  margin-top: 20px;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.squiduuverse-card:hover h3 {
  color: #ffd807; /* 🔥 change le texte en jaune */
}

.squiduuverse-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 3px;
  width: 100%;
  background-color: #ffd807;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.squiduuverse-card:hover h3::after {
  transform: scaleX(1);
}

.squiduuverse-card {
  user-select: none;
}


.squiduuverse-card p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 13px;
  margin-bottom: 0px;
}

.card-image {
  width: 100%;
  height: 120px; /* ajuste selon ce que tu préfères */
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  margin-top: -10px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
}

.disabled-tab {
  pointer-events: none; /* bloque le clic */
  color: #555 !important; /* grisé */
  background-color: #222 !important; /* couleur fond désactivée */
  cursor: not-allowed; /* curseur interdit */
  opacity: 0.6;
}

.titletool{
  margin: -20px;
}

#profile-picture {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #333;
  margin-right: -15px;
}

#profile-wrapper {
  position: relative;
}

#profile-menu {
  position: absolute;
  top: 50px;
  right: -20px;
  background-color: #222;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  display: none; /* ⬅️ caché par défaut */
  flex-direction: column;
  min-width: 180px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

#profile-menu a {
  padding: 12px 16px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: background-color 0.2s;
}

#profile-menu i {
  margin-right: 3px;
}

#profile-menu a:hover {
  background-color: #444;
}

#profile-picture:hover {
  box-shadow: 0 0 0 2px white;
}

#profile-menu.active {
  display: flex; /* ⬅️ affiche quand on clique */
}

.hidden {
  display: none;
}

#site-logo {
  cursor: pointer;
}

#settings-icon {
  font-size: 22px;
  color: white;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
  margin-right: 8px;
}

#settings-icon:hover {
  transform: rotate(20deg);
  color: #ffd807;
}

.settings-page {
  padding: 120px 10% 60px;
}

.settings-container {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.settings-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-link {
  background: #1a1a1a;
  color: white;
  padding: 12px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
  text-align: left;
}

.sidebar-link:hover {
  background-color: #333;
}

.sidebar-link.active {
  background-color: #ffd807;
  color: #000;
}

.settings-content {
  flex: 1;
}

.settings-content button{
  margin-top: 5px;
}

.settings-panel {
  display: none;
}

.settings-panel.active {
  display: block;
}

#user-picture {
  width: 100px;
  height: 100px;
  background-color: #333;
  border-radius: 50%;
  margin-top: 10px;
  overflow: hidden;
}

#user-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.danger-button {
  background-color: #d9534f;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.danger-button:hover {
  background-color: #c9302c;
}

.neutral-button {
  background-color: #333;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.neutral-button:hover {
  background-color: #444;
}

.settings-content {
  flex: 1;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  transition: background 0.3s, transform 0.3s;
}

.settings-panel {
  display: none;
}

.settings-panel.active {
  display: block;
  animation: fadeInCard 0.4s ease;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.settings-page h1{
  font-size: 30px;
  margin-top: -10px;
}

.settings-content h2{
  margin-top: 5px;
  margin-bottom: 10px;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

#user-picture {
  width: 70px;
  height: 70px;
  background-color: #333;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

#user-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-text p {
  margin: 0;
}

#back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px; /* (Pas besoin de 32px, 28px est suffisant) */
  color: white;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  height: 100%; /* Important pour bien prendre toute la hauteur */
}

#back-button i {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.settings-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.settings-header h1 {
  font-size: 2.2rem;
  margin: 0;
  line-height: 1; /* Pour que le texte soit parfaitement centré lui aussi */
}

#back-button:hover {
  color: #ffd807;
  transform: translateX(-5px);
}
/* Media Queries */
@media (max-width: 1200px) {
  .creatorkit-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .quote-section blockquote {
    font-size: 3rem;
  }
  
  .squiduuverse-cards {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .creatorkit-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .settings-container {
    flex-direction: column;
  }
  
  .settings-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .settings-content {
    padding: 20px;
  }

  .tab-nav {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    border-bottom: none;
    box-shadow: none;
    padding-bottom: 0;
  }

  .tab-nav li {
    border-radius: 8px;
    border-bottom: 2px solid #222;
    padding: 14px 16px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .squiduuverse-cards {
    gap: 15px;
  }
  
  .squiduuverse-card {
    width: calc(50% - 15px);
  }
  
  .replay-cards {
    gap: 20px;
  }

  .tab-nav {
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    border-bottom: none;
    box-shadow: none;
    padding-bottom: 0;
  }

  .tab-nav li {
    border-radius: 8px;
    border-bottom: 2px solid #222;
    padding: 12px 12px;
    text-align: left;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .creatorkit-buttons {
    grid-template-columns: 1fr;
  }
  
  .squiduuverse-card {
    width: 100%;
  }
  
  .settings-header h1 {
    font-size: 1.8rem;
  }
  
  .profile-info {
    flex-direction: column;
    text-align: center;
  }

  .tab-nav {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    border-bottom: none;
    box-shadow: none;
    padding-bottom: 0;
  }

  .tab-nav li {
    border-radius: 8px;
    border-bottom: 1px solid #222;
    padding: 10px 8px;
    text-align: left;
    font-size: 0.95rem;
  }
}

/* SCROLLBAR CUSTOM STYLE */
::-webkit-scrollbar {
  width: 10px;
  background: #181818;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 8px;
  border: 2px solid #181818;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffd807;
}
::-webkit-scrollbar-corner {
  background: #181818;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #333 #181818;
}

.rulelink{
  color: white;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  flex: 1 0 auto;
}

main, .services-section {
  flex: 1 0 auto; /* ← fait prendre toute la hauteur restante */
}

footer {
  flex-shrink: 0; /* ← le footer ne grossit jamais */
}

/* ============================== */
/* 📱 RESPONSIVE MOBILE COMPLET */
/* ============================== */
@media (max-width: 768px) {
  .login-gate {
    padding: 30px 5% !important;
    margin: 0 !important;
    max-width: 100%;
  }

  .login-gate h2 {
    font-size: 2.2rem;
    margin: 15px;
    margin-top: 25px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .login-gate p,
  .login-gate .separator,
  .login-gate .not-member {
    font-size: 1.2rem;
    margin: 10px 0;
  }

  .google-login-wrapper {
    margin: 20px 0;
  }

  .join-button.alt {
    padding: 8px 16px;
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .navbar {
    justify-content: center;
    padding: 10px 10px;
  }

  .squiduuverse-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .squiduuverse-card {
    width: 100%;
    max-width: 160px;
    padding: 20px 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .squiduuverse-section h2 {
    margin: 0 40px; /* ⬅️ ajoute de l’air sur les côtés */
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
  }

  .squiduuverse-card p {
    font-size: 0.7rem;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    text-align: center;
  }

  .card-image {
    height: 70px;
    width: 100%;
    overflow: hidden;
  }

  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #site-logo {
    margin: 0;
    transform: none;
    position: static;
    justify-content: center;
  }

  .nav-links {
    display: none !important;
  }

  html {
    font-size: 70%;
  }

    .nav-links {
    display: none !important;
  }

  .navbar {
    justify-content: center;
  }
  .video-wrapper {
    position: relative;
    width: 100%;
    max-height: 20px; /* 👈 C'est ICI que tu changes la hauteur de la section */
    overflow: hidden;
  }

  .bg-video {
    width: 100%;
    height: 130%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: -1;
  }

  .accueil-section {
    height: auto;
    min-height: unset;
    padding-top: 56.25%; /* 16:9 aspect ratio fallback */
  }

  .overlay {
    display: none !important;
  }

  /* ✅ SECTIONS */
  .section {
    padding: 60px 5%;
  }

  .section h1, .section h2 {
    font-size: 2rem;
    text-align: center;
  }

  .section p {
    font-size: 1rem;
    text-align: center;
  }

  /* ✅ QUOTE */
  .quote-section blockquote {
    font-size: 2rem;
    padding: 0 10px;
  }

  /* ✅ SQUIDUUVERSE CARDS */
  .squiduuverse-cards {
    flex-direction: column;
    align-items: center;
  }

  .squiduuverse-card {
    width: 100%;
    max-width: 320px;
  }

  /* ✅ LOGIN */
  .login-gate {
    padding: 60px 5%;
    margin-bottom: 40px;
  }

  /* ✅ SCROLL INDICATOR */
  .scroll-indicator {
    font-size: 2rem;
    bottom: 20px;
  }
}

/* Bloc Notes */
#note-container {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #333;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

#note {
    width: 100%;
    height: 500px;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    resize: none;
    outline: none;
}

.replay-tab-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.replay-tab-nav li {
  padding: 12px 24px;
  background: #222;
  color: #aaa;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.replay-tab-panel h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #ffd807;
  margin-bottom: 13px;
}

.replay-tab-nav li.active {
  background: #ffd807;
  color: #000;
}

.replay-tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.replay-tab-panel.active {
  display: block;
}

.replay-tab-panel p {
  margin-top: 15px;
  max-width: 800px;
  color: #ccc;
  font-size: 1.2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.replay-tab-panel .video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.video-wrapper-with-comments {
  position: relative;
  max-width: 800px;
  margin: 0 auto 0px auto;
  margin-bottom: -7px;
}

.video-centered {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.comment-floating {
  position: absolute;
  top: 0;
  right: -330px;
  width: 300px;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  max-height: 100%;
  overflow-y: auto;
}

.comment-floating h3 {
  color: #ffd807;
  font-size: 1.4rem;
  margin-bottom: 15px;
  margin-top: 0px;
}

.comment-floating .comment {
  background-color: #222;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 10px;
  color: #eee;
  font-size: 1rem;
}

/* Cacher les commentaires sur petits écrans */
@media (max-width: 1200px) {
  .comment-floating {
    display: none;
  }
}

.comment a {
  color: #4faeff !important; /* bleu clair */
  text-decoration: underline;
}

.comment a:hover {
  color: white !important; /* jaune au survol */
}

.tag {
  display: inline-block;
  background: #222;
  color: #aaa;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: 8px;
  vertical-align: middle; /* 🔥 ça le remonte */
  text-transform: uppercase;
}

#notification-wrapper {
  position: relative;
  margin-right: 10px;
}

#notification-icon {
  font-size: 22px;
  color: white;
  cursor: pointer;
}

#notification-icon:hover {
  color: #FFD807;
}

#notification-dropdown {
  position: absolute;
  top: 30px;
  right: 0;
  background: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 10px;
  width: 340px;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

#notification-dropdown.hidden {
  display: none;
}

#notification-dropdown h4 {
  color: #ffd807;
  margin-bottom: 10px;
  margin-top: 5px;
  margin-left: 5px;
  font-size: 1.8rem;
}

#notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#notification-list li {
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 1rem;
}

.hidden {
  display: none;
}

#notification-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: red;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  display: inline-block;
}

#notification-count.hidden {
  display: none;
}

.notification-close {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  color: #aaa;
  font-size: 0.9rem;
}

.notification-close:hover {
  color: #fff;
}

#notification-list li {
  position: relative; /* 👈 nécessaire pour positionner la croix */
}

#reset-notifications {
  background: none;
  border: none;
  color: #ffd807;
  font-size: 4rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-right: 8px;
}

#reset-notifications:hover {
  text-decoration: underline;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 101vh;
    background: black;
    overflow: hidden;
}

.carousel-layer {
    height: 100%;
    width: 100%;
    transform: rotate(-5deg) scale(1.2); /* ← Zoom ici */
    transform-origin: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 10px;
    padding: 30px 0;
}


.carousel-row {
    display: flex;
    width: max-content;
    gap: 20px;
}

.carousel-row img {
    height: 22vh; /* 4 images ≈ 88% de la hauteur */
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
}

.scroll-left {
    animation: scroll-left 600s linear infinite;
}

.scroll-right {
    animation: scroll-right 150s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-row img {
    height: 22vh;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;

    user-select: none;
    -webkit-user-drag: none;

    transition: transform 0.3s ease;
    transform-origin: center;
}

.carousel-row img:hover {
    transform: scale(1.02);
    z-index: 2;
}

.overlay {
    pointer-events: none;
}

.quote-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 3vw;
    color: white;
    text-align: center;
    font-weight: 700;
    z-index: 20;
    pointer-events: none;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
    pointer-events: auto;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    z-index: 30;
    cursor: pointer;
}


.carousel-row img.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: miniaFadeIn 0.6s ease forwards;
}

@keyframes miniaFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ÉDITEUR DE NOTES === */

#note-container {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #333;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

#note-toolbar {
  display: flex;
  justify-content: left;
  gap: 15px;
  padding: 10px;
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

#note-toolbar button,
#note-toolbar select {
  background: #333;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

#note-toolbar button:hover,
#note-toolbar select:hover {
  background: #444;
}

#note-toolbar i {
  pointer-events: none;
}

#note {
  min-height: 500px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  outline: none;
  overflow-y: auto;
  white-space: pre-wrap;
}

#note-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.note-tab {
  background-color: #1a1a1a;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}

.note-tab.active {
  background-color: #ffd807;
  color: black;
}

.note-tab input {
  background: transparent;
  border: none;
  color: white;
  font-weight: bold;
  width: 100px;
  outline: none;
}

.note-tab.add-tab {
  background-color: #333;
  font-weight: normal;
}

.note-tab.dragging {
  opacity: 0.5;
}

.note-tab.drag-over {
  outline: 2px dashed #ffd807;
}

.join-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap; /* ✅ empêche le wrap */
  max-width: 1200px;
  margin: 0 auto;
}

.join-image {
  flex: 1;
  max-width: 500px;
}

.join-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.join-content {
  flex: 1;
  max-width: 500px;
  text-align: center;
}
 .aucourant{
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 1.3rem;
 }

 .join-button-glow {
  display: inline-block;
  background-color: #ffd807;
  color: #000;
  padding: 15px 30px;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 216, 7, 0.6);
  transition: all 0.3s ease;
  animation: pulse-glow 2s infinite;
  margin-top: 20px;
}

.join-button-glow:hover {
  background-color: #ffe74f;
  color: #000;
  box-shadow: 0 0 30px rgba(255, 216, 7, 0.9);
  transform: scale(1.05);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 20px rgba(255, 216, 7, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 216, 7, 1);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 216, 7, 0.5);
  }
}

.custom-separator {
  width: 50%;
  height: 0.5px;
  background-color: white;
  margin-top: 10px;
  margin-bottom: 25px;
}

.nav-socials-toggle {
  font-size: 1.4rem;
  color: white;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-socials-toggle:hover {
  color: #ffd807;
}

.socials-modal {
  position: relative;
  text-align: center;
}

.socials-icons {
  display: flex;
  gap: 30px;
  font-size: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.socials-icons a {
  color: white;
  transition: transform 0.3s, color 0.3s;
}

.socials-icons a:hover {
  transform: scale(1.1);
  color: #ffd807;
}

.close-socials {
  position: fixed;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s, transform 0.2s;
}

.close-socials:hover {
  color: #ffd807;
}

.hidden {
  display: none;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Animation d'opacité pour l'overlay réseaux */
.socials-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}


.socials-overlay.show {
  opacity: 1;
  visibility: visible;
}

.socials-modal {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.socials-overlay.show .socials-modal {
  opacity: 1;
  transform: scale(1);
}

.join-button-glow-accueil {
  display: inline-block;
  background-color: transparent; /* ✅ fond transparent */
  color: #ffd807;                /* ✅ texte jaune */
  border: 3px solid #ffd807;     /* ✅ contour jaune */
  padding: 15px 30px;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.join-button-glow-accueil:hover {
  background-color: #ffd807;    /* ✅ fond jaune au hover */
  color: black;                  /* ✅ texte noir au hover */
  transform-origin: center;
}


.join-button-wrapper {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 5;
  pointer-events: auto;
  transition: transform 0s; /* pas d'animation, car le scroll gère ça */
}

.quote-section {
  position: relative;
  z-index: 10;
}

.game-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
}

.game-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}

.snake-game {
  border: 2px solid #fff;
  margin: 20px auto;
}

.close-game {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}

