/* === BASE === */
body {
  margin: 0;
  padding-top: 80px; /* Compense la hauteur du header fixe */
  background-color: #0a0a0a;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}

/* ===== FIX GLOBAL OVERFLOW ===== */
html, body {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* === HEADER FIXE === */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #0a0a0a;
  border-bottom: 3px solid #ff2aa8;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

/* === LOGO === */
.logo {
  height: 40px;
  width: auto;
  display: block;
  max-height: 40px;
}
@media (max-width: 600px) {
  .logo {
    height: 40px;
  }
}

/* === TITRES === */
h1, h2 {
  color: #ff2aa8;
  text-align: center;
}
h1 {
  margin: 40px 0 20px;
}
h2 {
  margin: 20px 0 10px;
}
h3 {
  margin: 10px 0 10px;
}


/* === MENU === */
.menu-container {
  position: relative;
}





.menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%; /* bien en dessous du bouton */
  background-color: #1a001a;
  border: 1px solid #ff2aa8;
  border-radius: 6px;
  min-width: 160px;
  z-index: 1001;
}
.menu-dropdown.show {
  display: block;
}
.menu-container:hover .menu-dropdown {
  display: block;
}
.menu-dropdown a {
  display: block;
  color: white;
  padding: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  text-align: right;
}
.menu-dropdown a:hover {
  background-color: #ff2aa8;
}

/* === GRILLE VIDÉOS === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 20px auto 10px auto;
  padding: 0 20px;
  justify-content: center;
  overflow-x: hidden;
}

.grid a,
.grid a:visited {
  color: inherit;
  text-decoration: none;
} 
.video-card {
  background: #1a1a1a;
  border: 2px solid #330033;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  will-change: transform;
}

.video-card:hover {
  transform: scale(1.02);
}
.video-card img {
  width: 100%;
  display: block;
}
.video-title {
  margin: 10px 10px 5px;
  font-size: 1rem;
  color: #ff2aa8;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2em;
  height: calc(1.2em * 2);
}

/* === META INFOS === */
.meta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}
.video-meta {
  margin-bottom: 10px;
}
.meta-left,
.meta-right {
  flex: none;
  white-space: nowrap;
  font-size: 0.85rem;
  color: #ccc;
}

/* === PAGINATION === */
.pagination {
  text-align: center;
  margin: 30px 0;
}
.pagination a {
  color: #ff69b4;
  margin: 0 5px;
  text-decoration: none;
}
.pagination strong {
  color: #fff;
  margin: 0 5px;
}

/* === LIENS SPÉCIAUX GRILLE === */
.grid a {
  color: inherit;
}
.grid a .video-meta {
  color: #fff !important;
}

/* === PAGE DÉTAIL VIDÉO === */
.video-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}
video {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}
.description {
  background: #1a1a1a;
  border: 1px solid #330033;
  padding: 20px;
  border-radius: 8px;
  color: #ccc;
  line-height: 1.6;
}

/* === FORMULAIRES === */
label {
  font-weight: bold;
  margin-top: 15px;
  display: block;
  color: #ff2aa8;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="url"] {
  width: 100%;
  padding: 10px;
  background: #2a2a2a;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  margin-top: 6px;
  vertical-align: middle;
}

textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  padding: 10px;
  background: #2a2a2a;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  margin-top: 6px;
}

/* === BOUTONS === */
button, .button {
  display: block;
  margin: 15px auto;
  padding: 12px 20px;
  background: #db1895;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
  width: fit-content;
}
button:hover, .button:hover {
  background: #ff2aa8;
}
strong.button,
a.button {
  color: white !important;
}

/* === MESSAGES === */
.message {
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}
.message,
.success,
.error {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
}
.success {
  background-color: #003300;
  color: #00ff99;
}
.error {
  background-color: #440022;
  color: #ff69b4;
}

/* === PROFIL / CONTENU === */
.container,
.content {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #1a1a1a;
  border: 1px solid #330033;
  border-radius: 12px;
  box-shadow: 0 0 15px #330033;
}
.container {
  text-align: left;
}
.content {
  text-align: center;
}
.container h1:first-child,
.content h1:first-child {
  margin-top: 0;
}

/* === LIENS === */
.link,
.back {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: #ff2aa8;
  text-decoration: underline;
  font-weight: bold;
}

footer.hinatou-fixed-footer {
  background: #0a0a0a;
  border-top: 2px solid #ff2aa8;
  padding: 15px 10px 30px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  z-index: 999;
  width: 100%;
}

footer.hinatou-fixed-footer p {
  margin: 6px 0;
  line-height: 1.5;
}

footer.hinatou-fixed-footer a {
  display: inline-block;
  color: #ff2aa8;
  text-decoration: none;
  margin: 6px 5px;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  footer.hinatou-fixed-footer {
    padding-bottom: 50px; /* plus d’espace en bas */
  }

  footer.hinatou-fixed-footer a {
    font-size: 1rem;
    margin: 4px 8px;
    display: inline-block; /* NE PAS mettre block sinon ils s'empilent */
  }
}

/* === GRILLE BOUTIQUE === */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

.shop-item {
  background: #1a1a1a;
  border: 1px solid #330033;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.shop-item:hover {
  transform: scale(1.02);
}

.shop-item img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border-radius: 15px;
}

.shop-item h2 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #ff2aa8;
}

.shop-item p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
  margin-bottom: 10px;
}

.shop-item .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff69b4;
  margin-bottom: 10px;
}

.shop-item a {
  background: #ff2aa8;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

    .btn {
  background: #ff3399;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  margin: 10px 0;
  display: block;
  width: 100%;
  max-width: 200px;
  border: none;
  cursor: pointer;
  margin: 10px auto;
}
    .btn:hover {
      background: #e02687;
    }
    .lang {
      margin-top: 40px;
      font-size: 0.85rem;
      opacity: 0.7;
    }

    .btn-large {
  padding: 18px 30px;
  font-size: 2rem;
  max-width: 250px;
}

.newsletter-section input[type="email"] {
  padding: 14px;
  border: 1px solid #db1895;
  border-radius: 5px;
  background: #000;
  color: #fff;
  width: 100%;
  max-width: 300px; /* augmente ici pour élargir */
  font-size: 1rem;   /* plus lisible */
}

.social-links {
  margin-top: 40px;
  font-size: 1rem;
  color: #db1895;
  text-align: center;
}


.promo-text {
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
}

.main-content {
  max-width: 600px;
  padding: 30px 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* === FORMULAIRE RECHERCHE TAG (version fluide et responsive) === */
.form-center-fixed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 auto 25px;
  text-align: center;
}

.form-center-fixed input[type="text"] {
  width: 100%;
  max-width: 300px;
  padding: 12px 16px;
  background: #2a2a2a;
  border: none;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  font-size: 1rem;
}

.form-center-fixed button {
  width: 180px; /* largeur fixe */
  background: #db1895;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-center-fixed button:hover {
  background: #ff2aa8;
}

/* === TEXTE INFORMATION === */
.notice {
  text-align: center;   /* centre le texte horizontalement */
  margin-top: 20px;     /* ajoute un espace au-dessus */
  font-size: 0.9rem;    /* réduit légèrement la taille du texte */
  color: #bbb;          /* gris clair pour un ton neutre et doux */
}



/* === VIGNETTE TEASER === */
.thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* ✅ fixe la hauteur */
  overflow: hidden;
  border-radius: 8px;
}

.thumb-container img,
.thumb-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ évite tout décalage */
  display: block;
  transition: opacity 0.3s ease;
}

.thumb-container video {
  display: none;
}

/* === RANDOM VIDEOS — GRANDES VIGNETTES CENTRÉES === */
.grid-random {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px auto 40px auto;
  padding: 0 15px;
  max-width: 100%;
  overflow-x: hidden;
}

.grid-random .video-card {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #330033;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.grid-random .video-card:hover {
  transform: scale(1.03);
}

.grid-random .video-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
}

/* === Desktop : vignettes plus grandes mais centrées === */
@media (min-width: 769px) {
  .grid-random {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* taille contrôlée */
    gap: 25px;
    max-width: 1000px; /* largeur totale équilibrée */
    margin-left: auto;
    margin-right: auto;
    justify-items: center; /* centre parfaitement les colonnes */
  }

  .grid-random .video-card {
    max-width: 320px; /* limite la taille de chaque vignette */
  }
}

.input-disabled {
  background: #1f1f1f !important;
  color: #aaa !important;
  cursor: not-allowed;
  opacity: 0.8;
}

.section-title {
  margin: 0 0 1px 0;
}

