* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 30px 16px 60px;
  background-color: #000000;
  color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
}

a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.title {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 52px;
  letter-spacing: 14px;
  margin: 0 0 18px;
  font-weight: normal;
  word-break: keep-all;
}

/* tabs navigation */
.tabs {
  margin-bottom: 40px;
  font-size: 17px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tabs a {
  text-decoration: none;
  margin: 0 8px;
  padding: 4px 18px;
  color: #ffffff;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.tabs a.active {
  color: #aaaaaa;
  font-weight: bold;
}

.tabs a:hover:not(.active) {
  color: #888888;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* description */
.description {
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #dddddd;
}

.description p {
  margin: 0 0 14px;
}

/* albums page */
.albums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.album {
  text-align: center;
  width: 200px;
}

.album-cover {
  aspect-ratio: 1 / 1;
  background-color: #1a1a1a;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.album-cover:hover {
  opacity: 0.85;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* детали альбома — без фона, минимализм */
.album-detail {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.detail-title {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  margin: 0 0 10px;
  font-weight: normal;
  color: #ffffff;
}

.detail-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #dddddd;
  margin: 0;
}

/* lyrics page */
.lyrics-list {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.song {
  margin-bottom: 56px;
}

.song h2 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 28px;
  letter-spacing: 2.5px;
  margin: 0 0 16px;
  text-align: center;
  font-weight: normal;
  color: #ffffff;
  word-break: break-word;
}

.song p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.85;
  color: #dddddd;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
}

hr.divider {
  border: none;
  border-top: 1px solid #2a2a2a;
  max-width: 180px;
  margin: 42px auto;
  opacity: 0.7;
}

/* responsive */
@media (max-width: 560px) {
  body {
    padding: 24px 12px 60px;
  }

  .title {
    font-size: 34px;
    letter-spacing: 8px;
  }

  .tabs {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .tabs a {
    margin: 0 4px;
    padding: 4px 12px;
  }

  /* gallery: one photo per row, full width */
  .gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  /* albums */
  .albums {
    gap: 20px;
    margin-bottom: 28px;
  }

  .album {
    width: 120px;
  }

  .detail-title {
    font-size: 20px;
  }

  .detail-desc {
    font-size: 13px;
  }

  /* lyrics */
  .lyrics-list {
    padding: 0 4px;
  }

  .song h2 {
    font-size: 22px;
    letter-spacing: 1.5px;
  }

  .song p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* description */
  .description {
    font-size: 14px;
  }

  /* lang switcher */
  .lang-switcher {
    margin-bottom: 14px;
  }
}
/* ─── lang switcher ─── */
.lang-switcher {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.lang-switcher button {
  background: none;
  border: none;
  color: #555555;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.2s ease;
}

.lang-switcher button:hover {
  color: #aaaaaa;
}

.lang-switcher button.active {
  color: #ffffff;
  font-weight: bold;
}

.lang-sep {
  color: #333333;
  font-size: 11px;
  user-select: none;
}
