/* ====== БАЗОВЫЙ СТИЛЬ ====== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Onest', sans-serif;
  background-color: #f9f9f9;
  color: #111;
}

header {
  text-align: center;
  margin: 60px 0 40px;
}

header h1 {
  font-size: 74px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
}

/* ====== ТОП-БАР ====== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px;
  background-color: #f9f9f9;
}

.logo svg {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links a {
  font-weight: 700;
  color: #111;
  text-decoration: none;
  font-size: 16px;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* ====== КАРУСЕЛЬ ====== */
.releases-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.releases-title {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #111;
}

.carousel-container {
  max-width: 1110px; /* 3 карточки по 350px + 2 промежутка по 30px */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}

.release-item {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.release-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
}

.release-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.release-nickname {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 10px 0 5px;
  text-align: left;
  padding-left: 10px;
}

.release-title {
  font-size: 18px;
  font-weight: 400;
  color: #111;
  margin: 0 0 10px;
  text-align: left;
  padding-left: 10px;
}

.listen-btn {
  margin-top: 10px;
  width: 100%;
  background-color: #0a0a0a;
  color: #fff;
  font-weight: 700;
  padding: 16px 0;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.listen-btn:hover {
  background-color: #333;
}

/* ====== О ЛЕЙБЛЕ ====== */
.section {
  padding: 80px 100px;
  background-color: #fff;
  color: #111;
}

.about {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about p {
  font-size: 16px;
  line-height: 1.6;
}

/* ====== АРТИСТЫ ====== */
.artists-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.artists-title {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #111;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0;
}

.artist-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #000;
  cursor: pointer;
  aspect-ratio: 10 / 11;
  position: relative;
}
.artist-card {
  will-change: transform;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start; /* Выравнивание по левому краю */
  padding: 20px;
  opacity: 0;
  background: rgba(0,0,0,0.6);
  transition: opacity 0.3s ease;
}

.image-wrapper:hover .overlay {
  opacity: 1;
}

.nickname,
.contact {
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #fff;
  text-align: left; /* Явное выравнивание по левому краю */
}

.nickname {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.contact {
  font-size: 12px;
  font-weight: 500;
  color: #f0f0f0;
  margin: 0;
  line-height: 1.5;
}

.image-wrapper:hover .nickname,
.image-wrapper:hover .contact {
  opacity: 1;
}

.artist-card a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.artist-card a:hover {
  text-decoration: underline;
}

/* ====== FOOTER ====== */
.footer {
  text-align: center;
  color: #fff;
  font-size: 14px;
  background-color: #efefef; /* Исправлен цвет фона */
  padding: 40px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-left {
  max-width: 50%;
  text-align: left;
}

.footer-left svg {
  margin-bottom: 5px;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align: left;
}

.footer-right {
  max-width: 30%;
  margin-right: 200px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 3px 0 10px 0;
  text-align: left;
}

.footer-links {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
  text-align: left;
}

.footer-links:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
}

.footer-socials a {
  text-decoration: none;
  margin-right: 8px;
}

.footer-socials .social-icon {
  width: 36px; /* Согласован с HTML */
  height: 36px; /* Согласован с HTML */
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 20px;
}

.footer-copyright-left {
  font-size: 10px;
  color: #999;
  margin: 0;
  text-align: left;
}

.footer-copyright-right {
  font-size: 10px;
  color: #999;
  margin: 0;
  text-align: right;
}

/* ====== АДАПТИВНОСТЬ ====== */
@media (max-width: 1024px) {
  .top-bar,
  .section {
    padding: 40px;
  }

  .releases-section {
    padding: 40px 0;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 40px;
  }

  header h1 {
    font-size: 58px;
  }

  .releases-title {
    font-size: 42px;
  }

  .carousel-container {
    max-width: 730px; /* 2 карточки по 350px + 1 промежуток 30px */
  }

  .logo svg {
    height: 28px;
  }

  .artists-section {
    padding: 40px 0;
  }

  .artists-title {
    font-size: 42px;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 730px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 0;
  }

  .logo,
  .nav-links {
    align-self: center;
  }

  .nav-links {
    align-self: flex-end;
  }

  .releases-section {
    padding: 40px 0;
  }

  .section {
    padding: 40px 24px;
  }

  header h1 {
    font-size: 42px;
  }

  .releases-title {
    font-size: 42px;
  }

  .carousel-container {
    max-width: 350px; /* 1 карточка */
  }

  .logo svg {
    height: 24px;
  }

  .artists-section {
    padding: 40px 0;
  }

  .artists-title {
    font-size: 42px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start; /* Исправлена опечатка */
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
    text-align: left;
  }

  .footer-right {
    margin-top: 20px;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .release-card {
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 12px 16px;
  }

  .releases-section {
    padding: 40px 0;
  }

  .section {
    padding: 40px 16px;
  }

  .release-item {
    flex: 0 0 350px;
  }

  .release-nickname {
    font-size: 18px;
  }

  .release-title {
    font-size: 16px;
  }

  .listen-btn {
    padding: 14px 0;
  }

  .nav-links a {
    font-size: 14px;
  }

  .logo svg {
    height: 22px;
  }

  .artists-section {
    padding: 40px 0;
  }

  .nickname {
    font-size: 18px;
  }

  .contact {
    font-size: 10px;
  }

  .footer {
    padding: 30px 16px;
  }

  .footer-logo {
    width: 80px;
  }

  .footer-text,
  .footer-links {
    font-size: 12px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-socials .social-icon {
    width: 20px;
    height: 20px;
  }

  .footer-copyright-left,
  .footer-copyright-right {
    font-size: 10px;
  }
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.footer-socials svg {
  display: block;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
}

/* ====== ПОЛНОЭКРАННЫЙ ИЗОБРАЖЕНИЕ-БЛОК ====== */
.full-image-block {
  width: 100%;
  height: auto; /* убираем фиксированную высоту */
  overflow: hidden;
}

.full-image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.full-image-link {
  margin-top: 60px;
  text-decoration: none;
  display: block;
}

header {
  text-align: center;
  margin: 0;
  padding: 120px 20px;
  background: url('your-image.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* затемнение */
  z-index: 0;
}

header h1,
header p,
header a {
  position: relative;
  z-index: 1;
}

.desktop-break {
  display: inline;
}
@media (max-width: 768px) {
  .full-image-link {
    margin-top: 40px;
  }
  .desktop-break {
    display: none;
  }
  .footer-socials {
    margin-bottom: 60px;
  }
  .listen-btn {
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .card-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    gap: 16px;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .artist-card {
    flex: 0 0 calc(100% - 64px); /* 100% - (2 * padding + gap) = 100% - 32 - 32 */
    scroll-snap-align: center;
    border-radius: 20px;
    aspect-ratio: 10 / 11;
  }

  .card-container::-webkit-scrollbar {
    display: none;
  }

  .card-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}


@media (max-width: 768px) {
  .overlay {
    opacity: 0;
    pointer-events: none;
  }

  .artist-card.active .overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .full-image-link .full-image-block img {
    content: url('баннер золо на мобилу.jpg'); 
  }
}

header {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  background-color: #000;
}

.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 1;
}

.unmute-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
  position: relative;
}

.unmute-link:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.unmute-link .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-btn {
  display: inline-block;
  padding: 16px 28px;
  margin: 12px 8px 0;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 16px; /* чуть меньше, чем у .unmute-link */
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-align: center;
  box-sizing: border-box;
  z-index: 1;
  position: relative;
}

.header-btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .header-btn {
    padding: 12px 20px;
    font-size: 13px;
    border-radius: 14px;
  }

  .unmute-link {
    font-size: 13px;
    border-radius: 14px;
  }

  .unmute-link .icon svg {
    width: 26px;
    height: 26px;
  }
}


