/* Базовые стили */
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 {
  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);
}

/* Альбомы */
.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;
}

/* Стили для видео и фолбэка */
/*
.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; /* По умолчанию скрыт */
}

/* Если видео не поддерживается, показываем фолбэк */
.no-video .gp-video-player {
  display: none;
}

.no-video .video-fallback {
  display: block;
}

/* Стили для кликабельного видео */
.video-link {
  display: block;
  position: relative;
  transition: transform 0.3s;
}

.video-link:hover {
  transform: scale(1.02);
}

.video-link::after {
  content: "Скачать в App Store";
  align-items: center;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%; /* Ширина 70% от родительского контейнера */
  background: rgba(76, 175, 80, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 0.9em;
  text-align: center; /* Выравнивание текста по центру */
  opacity: 0;
  transition: opacity 0.3s;
}

.video-link:hover::after {
  opacity: 1;
}

/* Общие элементы */
.tracklist {
  list-style: none;
  padding: 0;
}

.tracklist li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.tracklist li::before {
  content: "✓";
  color: #4CAF50;
  position: absolute;
  left: 0;
  top: 1px;
}

.tracklist li a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.tracklist li a:hover {
  color: #4CAF50; /* Цвет при наведении как у других элементов */
  text-decoration: underline;
}

/* Платформы */
.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;
}

/* Форма */
.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;
}

/* Адаптивность */
@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; /* Перемещаем видео вверх */
    width: 100%; /* Занимает всю доступную ширину */
    max-width: 300px; /* Ограничиваем максимальную ширину */
    height: auto; /* Высота будет рассчитываться автоматически */
    /*aspect-ratio: 2 / 1; */ /* Сохраняем пропорции 16:9 */
    margin: 0 auto; /* Центрируем блок */
  }

  .gp-video-player,
  .video-fallback {
    width: 100%; /* Занимает всю ширину родительского контейнера */
    height: 100%; /* Занимает всю высоту родительского контейнера */
    object-fit: cover; /* Сохраняет пропорции и обрезает лишнее */
    border-radius: 15px; /* Закругленные углы */
  }
  
  
  .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%; /* Увеличиваем ширину на маленьких экранах */
    font-size: 0.8em; /* Уменьшаем размер шрифта */
    padding: 6px 10px; /* Уменьшаем отступы */
  }
}