@font-face {
  font-family: 'HelveticaNeue';
  src: url('fonts/HelveticaNeueCyr-Bold.woff2') format('woff2'),
       url('fonts/HelveticaNeueCyr-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background: linear-gradient(-45deg, #0f0f0f, #292929, #222, #111);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  
}

.acc{
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.message-php {
  font-family: 'HelvetcaNeue', sans-serif;
  font-size: 16px;
  color: #e0e0e0;
  text-align: center;
  font-weight: bolder;
}

.navbar {
 width: 100%;
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding: 15px 35px;
  box-sizing: border-box;
  
}

.headeracc {
  display: flex; 
  gap: 30px; 
}

.headeracc a {
  color: #f5f5f5;
  font-family: 'HelveticaNeue', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.05);
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
}

.headeracc a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}
h1{
    color:white;
    text-align: left;
    padding-left: 35px;
    padding-top: 15px;
    font-size: 35px;
    font-family: 'HelvetcaNeue', sans-serif;
    letter-spacing: -1.5px;
    
}

h1 a {
  color: #f5f5f5;
  font-family: 'HelveticaNeue', sans-serif;
  font-weight: 700;
  letter-spacing: -1.5px;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.05);
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
}

h1 a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

h2{
    color:white;
    text-align: center;
    font-size: 30px;
    font-family: 'HelvetcaNeue', sans-serif;
    letter-spacing: -1.5px;
    margin: 60px auto;
}


#txtacc{
  color: white;
  text-align: center;
  margin: 60px auto;
  font-family: 'HelvetcaNeue', sans-serif;
  font-weight: bolder;
  font-size: larger;
  font-size: 35px;
  letter-spacing: -1px;
}

#letterboxd {
  color: #ccc;
  font-family: 'HelveticaNeue', sans-serif;
  letter-spacing: -1px;
  font-size: 18px;
  text-align: center;
  margin: 30px auto;
}

#btnacc {
  text-align: center;
  margin-top: 300px;
  font-size: 25px;
  font-family: 'HelvetcaNeue', sans-serif;
  font-weight: bolder;
  font-size: larger;
  letter-spacing: -0.5px;
}

#btnacc a {
  display: inline-block;
  margin: 10px;
  font-size: 21px;
  padding: 10px 20px;
  background: #303030;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s;
  
}

#btnacc a:hover {
  background: #242424;
  transform: scale(1.05);
}

#forminsc {
  max-width: 400px;
  margin: 30px auto;
}

#forminsc input[type="text"],
#forminsc input[type="password"],
#forminsc input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: none;
  border-radius: 20px;
  background-color: #1a1a1a; 
  color: #f5f5f5;
  font-family: 'HelveticaNeue', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  transition: background 0.3s, box-shadow 0.3s;
}

#forminsc input::placeholder {
  color: #999;
}

#forminsc input:focus {
  outline: none;
  background-color: #222;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

#forminsc input[type="submit"] {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 20px;
  background-color: #222;
  color: #f5f5f5;
  font-family: 'HelveticaNeue', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#forminsc input[type="submit"]:hover {
  background-color: #444;
  transform: scale(1.03);
}


main {
  color: white;
  font-family: 'HelveticaNeue', sans-serif;
  text-align: center;
}

.deralbums{
    color:white;
    text-align: center;
    font-size: 30px;
    font-family: 'HelvetcaNeue', sans-serif;
    letter-spacing: -1.5px;
    margin: 60px auto;
}

.albums-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.album-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 20px;
  width: 250px;
  height: 400px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.album-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(105, 105, 105, 0.1);
}

.album-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.titreacc {
  margin-top: 10px;
  font-size: 16px;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 700;
  height: auto;
  line-height: 1.3;
}

.artisteacc {
  color: rgb(228, 228, 228);
  margin-top: 8px;
  font-size: 14px;
  height: auto;
  line-height: 1.3;
}

.album-card p {
  margin: 6px 0;
  font-size: 12px;
  color: #ccc;
  font-family: 'HelveticaNeue', sans-serif;
}

.annee {
  height: auto;
}

.genre {
  height: auto;
}

.album-user {
  margin-top: auto;
  font-size: 11px;
  color: #888;
  font-family: 'HelveticaNeue', sans-serif;
  font-style: italic;
  height: auto;
}

.album-user strong {
  color: #ffd700;
}



#ajout h2 {
  text-align: center;
  margin-top: 60px;
  color: white;
  font-family: 'HelveticaNeue', sans-serif;
  letter-spacing: -1px;
}

.success {
  color: #7eff7e;
  text-align: center;
  font-family: 'HelveticaNeue', sans-serif;
  font-weight: bold;
}

.error {
  color: #ff7070;
  text-align: center;
  font-family: 'HelveticaNeue', sans-serif;
  font-weight: bold;
}


input[type="text"],
input[type="number"],
input[type="file"],
textarea {
    border-radius: 20px;
    border: none;
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #1a1a1a;
    color: white;
    font-family: 'HelveticaNeue', sans-serif;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    resize: none;
}





.albums-list-horizontal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.album-horizontal-link {
  text-decoration: none;
  color: inherit;
}

.album-horizontal-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.album-horizontal-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(105, 105, 105, 0.2);
}

.album-horizontal-img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.album-horizontal-info {
  flex: 1;
}

.album-horizontal-titre {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: #f5f5f5;
  font-family: 'HelveticaNeue', sans-serif;
  font-weight: 700;
}

.album-horizontal-artiste {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: rgb(228, 228, 228);
  font-family: 'HelveticaNeue', sans-serif;
}

.album-horizontal-annee {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
  font-family: 'HelveticaNeue', sans-serif;
}

.album-horizontal-genre {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
  font-family: 'HelveticaNeue', sans-serif;
}

.album-horizontal-avis {
  flex: 0.8;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.album-horizontal-avis p {
  color: #ccc;
  font-size: 14px;
  margin: 0;
  font-family: 'HelveticaNeue', sans-serif;
}

@media (max-width: 768px) {
  .album-horizontal-card {
    flex-direction: column;
    text-align: center;
  }
  
  .album-horizontal-img {
    width: 120px;
    height: 120px;
  }
  
  .album-horizontal-avis {
    flex: 1;
  }
}

.album-horizontal-avis {
  flex: 0.8;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.avis-auteur {
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-family: 'HelveticaNeue', sans-serif;
}

.avis-note {
  color: #ffd700;
  font-size: 16px;
  margin: 0 0 12px 0;
  letter-spacing: 2px;
}

.avis-texte {
  color: #ccc;
  font-size: 12px;
  margin: 0;
  font-family: 'HelveticaNeue', sans-serif;
  line-height: 1.4;
  font-style: italic;
}

.avis-vide {
  color: #888;
  font-size: 14px;
  margin: 0 0 10px 0;
  font-family: 'HelveticaNeue', sans-serif;
}

.avis-cta {
  color: #bbb;
  font-size: 13px;
  margin: 0;
  font-family: 'HelveticaNeue', sans-serif;
}

.album-user {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
  font-family: 'HelveticaNeue', sans-serif;
  font-style: italic;
}

.album-user strong {
  color: #ffd700;
}

.album-horizontal-user {
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  font-family: 'HelveticaNeue', sans-serif;
  font-style: italic;
}

.album-horizontal-user strong {
  color: #ffd700;
}