/* Base styles */
body {
  font-family: 'Arial', sans-serif;
  background: #1a1a1a;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero section */
.hero {
  display: flex;
  gap: 50px;
  align-items: center;
  padding: 80px 0;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-image {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: flex-end;
}

.image-wrapper {
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
}

.artist-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #4CAF50;
  transition: transform 0.3s;
}

.image-wrapper:hover .artist-image {
  transform: scale(1.08);
}

/* Albums */
.album-card {
  display: flex;
  gap: 30px;
  background: #2d2d2d;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 40px;
}

.album-cover {
  width: 300px;
  height: 300px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s;
}

.album-card:hover .album-cover {
  transform: scale(1.02);
}

/* Green Player Section */
.gp-section .container {
  padding: 40px 0;
}

.gp-link {
  background: #000;
  border: 2px solid #4CAF50;
  margin-bottom: 25px;
  display: inline-flex;
}

.gp-link:hover {
  background: #1a1a1a;
}

.gp-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* Video and fallback styles */
/*
.gp-video {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  flex: 1 0 300px;
}
*/

.gp-video-player {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 15px;
}

.video-fallback {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  display: none; /* Hidden by default */
}

/* Show fallback if video isn't supported */
.no-video .gp-video-player {
  display: none;
}

.no-video .video-fallback {
  display: block;
}

/* Clickable video styles */
.video-link {
  display: block;
  position: relative;
  transition: transform 0.3s;
}

.video-link:hover {
  transform: scale(1.02);
}

.video-link::after {
  content: "Télécharger sur l'App Store";
  align-items: center;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%; /* 70% of parent container width */
  background: rgba(76, 175, 80, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 0.9em;
  text-align: center; /* Center text alignment */
  opacity: 0;
  transition: opacity 0.3s;
}

.video-link:hover::after {
  opacity: 1;
}

/* Common elements */
.tracklist {
  list-style: none;
  padding: 0;
}

.tracklist li {
  /*list-style-type: decimal;*/ /* Нумерация 1., 2., 3. */
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.tracklist li::before {
  content: "+";
  color: #4CAF50;
  position: absolute;
  top: -3px;
  font-weight: bold; /* Жирный плюс */
  font-size: 1.2em; /* Увеличить размер */
  margin-right: 8px; /* Отступ от текста */
  left: 0;
  
  /*display: none; */ /* Скрывает "+", если он больше не нужен */

}

.tracklist li a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.tracklist li a:hover {
  color: #4CAF50; /* Hover color matching other elements */
  text-decoration: underline;
}

/* Platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.platform-link:hover {
  transform: translateY(-3px);
  background: #4CAF50;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.platform-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}

.platform-link:hover::before {
  left: 100%;
}

.platform-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
}

.fab, .fas {
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 2px solid #4CAF50;
  border-radius: 6px;
  background: #333;
  color: white;
}

button {
  background: #4CAF50;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
  }
  
  .hero-image {
    order: -1;
    max-width: 300px;
    justify-content: center;
  }
  
  .artist-image {
    width: 200px;
    height: 200px;
  }
  
  .album-card {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 20px;
    margin-bottom: 30px;
  }

  .album-cover {
    width: 100%;
    max-width: 300px;
  }

  .gp-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .gp-video {
    order: -1; /* Move video to top */
    width: 100%; /* Take full available width */
    max-width: 300px; /* Limit maximum width */
    height: auto; /* Height will be calculated automatically */
    /*aspect-ratio: 2 / 1; */ /* Maintain 16:9 proportions */
    margin: 0 auto; /* Center the block */
  }

  .gp-video-player,
  .video-fallback {
    width: 100%; /* Take full width of parent container */
    height: 100%; /* Take full height of parent container */
    object-fit: cover; /* Maintain proportions and crop excess */
    border-radius: 15px; /* Rounded corners */
  }
  
  
  .green_player-info {
    text-align: center;
  }

  .tracklist li {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .album-cover {
    max-width: 250px;
  }
  
  .video-link::after {
    width: 90%; /* Increase width on small screens */
    font-size: 0.8em; /* Reduce font size */
    padding: 6px 10px; /* Reduce padding */
  }
}