@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/oswald-v57-cyrillic_latin-regular.woff2') format('woff2'),
       url('fonts/oswald-v57-cyrillic_latin-regular.woff2') format('woff');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/oswald-v57-cyrillic_latin-700.woff2') format('woff2'),
       url('fonts/oswald-v57-cyrillic_latin-700.woff2') format('woff');
}

* {
  font-family: 'Oswald', sans-serif;
  box-sizing: border-box;
}

/* === ОБЩИЕ НАСТРОЙКИ === */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Oswald', sans-serif;
}

body {
  background-color: white;
  min-height: 100vh;
  padding-left: 15px;   
  padding-right: 15px;
  margin: 0;
  overflow-x: hidden;  
  font-family: 'Oswald', sans-serif;
}

/* Адаптив  */
@media (max-width: 768px) {
  body {
    padding-left: 0;
    padding-right: 0;
    }
}

/* === КОНТЕЙНЕР === */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* === HEADER === */
.header img {
  align-items: center;
  background-color: white;
  width: 733px;
  height: 293px;
  margin: 0 auto;
  display: flex;
}

/* Адаптация*/
@media (max-width: 480px) {
  .header img {
    width: 100%;
    max-width: 375px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* === ГЛАВНОЕ МЕНЮ === */
.menu {
  width: 100%;
  background-color: #000;
}

.menu-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  list-style: none;
  margin: 0;
}

.menu-main li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}

.menu-main li a:hover,
.menu-main li a.current {
  background: white;
  color: red;
}

/* === ОБЛАСТЬ СЕРВИСОВ === */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 0;
  padding-right: 0;         
  max-width: 1440px;     
  margin: 0 auto;  
  box-sizing: border-box;
  overflow-x: hidden;  
}

/* === SIDENAV === */
.sidenav {
  flex: 0 0 210px;
  background: white;
  padding: 24px 12px 24px 0;
}

.sidenav-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
  line-height: 1.4;
  font-size: 15px;
  padding-left: 15px;
  margin-bottom: 22px;
  border-left: 2px solid #b99d61;
}

.sidenav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidenav-list a {
  position: relative;
  display: inline-block; 
  padding-left: 20px; 
  text-decoration: none;
  color: #000;
}

.sidenav-list a:hover::before {
  content: "";
  margin-right: 0;
}


.sidenav-list li {
  margin-bottom: 14px;
}

.sidenav-list li a {
  display: inline-block;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.8px;
  font-weight: 400;
  color: #444;
  text-decoration: none;
  transition: color 0.25s ease;
}

.sidenav-list li a:hover {
  text-decoration: underline;
  color: red;
}

/* === ОСНОВНОЙ КОНТЕНТ === */
.proj {
  flex: 1 1 0;
  background: whitesmoke;
  padding: 28px 32px;
  margin: 0;
  min-width: 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  padding-bottom: 250px;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
  .sidenav {
    display: none;
  }

  .services {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .proj {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 0;
  }

  .menu-main {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-main li a {
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #222;
  }
}

.back-container {
  margin-bottom: 15px;
  padding: 10px 0;
}

.back-button {
  background: rgba(29,185,84,0.15);
  color: #1db954;
  border-radius: 10px;
  font-weight: 600;
}

.back-button:hover {
  background: rgba(29,185,84,0.35);
}

.back-button:active {
  transform: translateY(1px);
}

@media (max-width: 600px) {
  .back-button {
    font-size: 0.9em;
    padding: 6px 14px;
  }
}

.discography {
  padding: 24px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #1b1b1b;
  border-radius: 16px;
  color: #e6e6e6;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

/* === Заголовок === */
.discography h1 {
  font-family: 'Oswald', sans-serif;
  color: #1db954;
  font-size: 1.9rem;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(29,185,84,0.3);
  text-align: center;
}

/* === Категории === */
.release-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category {
  margin-bottom: 18px;
}

.category-toggle {
  background: none;
  color: #1db954;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  padding: 12px 4px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.2s ease;
}

.category-toggle:hover {
  opacity: 0.8;
}

/* === Список релизов === */
.category-list {
  padding-left: 10px;
  margin-top: 8px;
}

.category-list.collapsed {
  display: none;
}

.category-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
  padding: 12px;
  border-radius: 12px;
  background: #242424;
  transition: background 0.25s ease, transform 0.2s ease;
}

.category-list li:hover {
  background: #2c2c2c;
  transform: translateY(-1px);
}

/* === Обложки === */
.category-list li img {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* === Название альбома === */
.album-title {
  font-size: 1.05rem;
  color: #ffffff;
  position: relative;
}

.album-title::after {
  content: attr(data-desc);
  position: absolute;
  top: 130%;
  left: 0;
  background: #2b2b2b;
  color: #ddd;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 10;
}

.album-title:hover::after {
  opacity: 1;
}

/* === Кнопки / ссылки === */
ul.list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

ul.list li a {
  padding: 8px 16px;
  background: #1db954;
  color: #0b0b0b;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

ul.list li a:hover {
  background: #17a84a;
  transform: translateY(-1px);
}

/* === Адаптивность === */
@media (max-width: 768px) {

  .discography {
    padding: 18px;
  }

  .category-list li {
    flex-direction: column;
    align-items: stretch;
  }

  .category-list li img {
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .album-title::after {
    position: static;
    display: block;
    opacity: 1;
    background: none;
    color: #aaa;
    box-shadow: none;
    padding: 6px 0 0;
    font-size: 0.85rem;
    white-space: normal;
  }
}

.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  background: #000;
  color: #fff;
  padding: 20px;

  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;

  pointer-events: none;
  z-index: 1000;
}

.footer-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.footer-bar a {
  color: #ccc;
  margin: 0 6px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bar a:hover {
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left {
  white-space: nowrap;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: #444;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    order: 3;
    font-size: 12px;
    opacity: 0.7;
  }

  .footer-links {
    order: 1;
  }

  .footer-social {
    order: 2;
  }
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

#scrollTopBtn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

.subcategory {
  margin-top: 14px;
}

.subcategory-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1db954;
  margin-bottom: 8px;
  padding-left: 6px;
  opacity: 0.9;
}

.subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subcategory-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 8px;
  background: #242424;
  border-radius: 10px;
}

@media (max-width: 600px) {

  .subcategory-title {
    font-size: 0.9rem;
    margin-top: 12px;
  }

  .subcategory-list li {
    flex-direction: column;
    align-items: stretch;
  }

  .subcategory-list li img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
}
