/* === 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;
}

/* === 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;
  right: 0;
  z-index: 1000;
}

/* === 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: 40px 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; /* marge haut 20px, bas 10px */
  padding: 0 20px;
  justify-content: center;
}

.grid a,
.grid a:visited {
  color: inherit;
  text-decoration: none;
} 
.video-card {
  background: #1a1a1a;
  border: 1px solid #330033;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}
.video-card:hover {
  transform: scale(1.03);
}
.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"]
 {
  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;
}