/* ===================== БАЗОВЫЕ СТИЛИ ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Slab', serif;
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(to bottom, #010D07, #1F0B01, #030202);
}

/* ===================== HR СТИЛИ ===================== */
hr {
  border: none;
  height: 1px;
  background-color: #F2CA16;
  margin: 4px 0;
}

hr.section-divider,
hr.block-divider {
  border: none;
  height: 1px;
  background-color: #F2CA16;
  margin: 5px 0;
  position: relative;
}

hr.section-divider::before,
hr.section-divider::after,
hr.block-divider::before,
hr.block-divider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #F2CA16;
}

hr.section-divider::before { top: -3px; }
hr.section-divider::after { top: 3px; }
hr.block-divider::before { top: -4px; }
hr.block-divider::after { top: 4px; }

hr.block-divider {
  margin: 8px auto;
  width: 80%;
  display: block;
}

/* ===================== WRAPPER & CONTAINER ===================== */
.wrapper { max-width: 1600px; margin: 0 auto; padding: 10px; }
.container { padding: 5px; }

/* ===================== HEADER ===================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #010D07;
  padding: 3px 10px;
}

.header-logo { top: 7px; left: 20px; }
.logo {
  width: 57px;
  height: 35px;
  border-radius: 4px;
  border: 1px solid #F2CA16;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 34px;
  width: 42px;
  background: transparent;
  border-radius: 4px;
  border: 1px solid #F2CA16;
  cursor: pointer;
  top: 15px;
}

.burger-line {
  width: 30px;
  height: 2px;
  background: #B9BFBC;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.burger-btn.open .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.open .burger-line:nth-child(2) { opacity: 0; }
.burger-btn.open .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== NAVIGATION ===================== */
nav { display: flex; }
nav ul { list-style: none; display: flex; padding: 0; }
nav ul li { margin: 5px 25px; }
nav ul li a { text-decoration: none; color: #31F018; font-size: 17px; font-weight: bold; }

/* ===================== HERO ===================== */
.hero {
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 15px 2px;
}

.hero--info { padding: 3px 0 10px; }
.hero--info h1, .hero--info h2, .hero--info p { margin: 2px 0; line-height: 1.1; }
.hero--info h1 { color: #31F018; font-size: 28px; text-decoration: underline; }
.hero--info h2 { color: #31F018; font-size: 24px; }
.hero--info p { font-size: 21px; color: #31F018; }

.hero img {
  border-radius: 7px;
  max-width: 100%;
  height: auto;
  border: 1px solid #F2CA16;
  padding: 1px;
  background-color: #F2CA16;
  display: block;           /* чтобы точно центрировалось через margin auto */
  margin: 0 auto;
}

/* ===================== AUDIO PLAYER ===================== */
.audio-tracks-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  max-width: 350px;
  margin: 0px auto;
  padding: 0 0px;
  box-sizing: border-box;
}

.audio-tracks-container audio {
  width: 100%;
  height: 27px !important;
  min-height: 27px !important;
  border-radius: 6px;
  border: 1px solid #00FF00 !important;
  background-color: #696969 !important;
  outline: none;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}

/* WEBKIT CONTROLS */
audio::-webkit-media-controls-panel,
audio::-webkit-media-controls-enclosure {
  background-color: #696969 !important;
  border-radius: 5px !important;
  overflow: hidden !important;
  padding: 2px !important;
}

audio::-webkit-media-controls-play-button {
  background-color: #00FF00 !important;
  color: white !important;
  border: 1px solid red !important;
  border-radius: 4px !important;
  width: 25px !important;
  height: 25px !important;
  transform: translateY(0%) !important;
  margin: 0 6px 0 3px !important;
}

audio::-webkit-media-controls-timeline {
  height: 4px !important;
  margin: 0 10px !important;
  border-radius: 2px;
  background-color: #444 !important;
}

/* ===================== ALBUMS / BLOCKS ===================== */
.albums-offerings { margin: 15px 0; text-align: center; }
#albums-offerings-heading { font-size: 20px; color: #31F018; margin-bottom: 10px; text-decoration: underline; }
.albums-offerings p { font-size: 16px; }

.albums-types {
  padding: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.block {
  padding: 20px 0;
  flex: 1 1 calc(25% - 20px);
  text-align: center;
}

.block h3 { font-size: 16px; margin-bottom: 10px; }
.block h3 a { color: #31F018; text-decoration: underline; }
.block h3 a:hover { text-decoration: underline; }

.block img {
  border-radius: 7px;
  max-width: 100%;
  height: auto;
  max-height: 70%;
  border: 1px solid #F2CA16;
  object-fit: cover;
}

/* ===================== CONTACT ===================== */
.contact-info {
  margin: 20px 0;
  text-align: center;
  font-size: 21px;
}
.contact-info h2 { font-size: 23px; color: #F2CA16; margin-bottom: 10px; text-decoration: underline; }

/* ===================== FOOTER ===================== */
footer.container {
  margin-top: 20px;
  background: #030202;
  border-top: 1px solid #F2CA16;
  padding: 16px 10px 20px;
  color: #D9DED9;
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 10px;
  align-items: start;
  grid-template-columns: 1fr;
  max-width: 1200px;    /* ограничиваем ширину футера */
  margin: 0 auto;       /* центрируем по горизонтали */
}

.footer-grid div h3 { color: #F2CA16; font-weight: bold; }
.footer-grid div p { color: #31F018; }
.footer-grid a {
  color: #31F018;
  text-decoration: underline;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}
.footer-grid a:hover,
.footer-grid a:focus { color: #F2CA16; border-color: #F2CA16; }

.copy { margin-top: 12px; font-size: 14px; color: #31F018; text-align: center; opacity: 0.9; }
footer.container a:focus-visible { outline: 2px dashed #F2CA16; outline-offset: 2px; }

/* ===================== ADAPTIVE ===================== */
@media (max-width: 768px) {
  header { flex-direction: column; align-items: flex-start; }
  .burger-btn { display: flex; position: absolute; top: 15px; right: 20px; }
  nav { display: none; flex-direction: column; background: #052E08; width: 100%; padding: 10px; }
  nav ul { flex-direction: column; align-items: center; text-align: center; width: 100%; }
  nav ul li { margin: 5px 0; }
  nav ul li a { color: #D9DED9; font-size: 16px; }
  nav.active { display: flex; }
  .hero { flex-direction: column; text-align: center; }
  .albums-types { flex-direction: column; }
  .block { flex: 1 1 100%; }
  .contact-info { font-size: 16px; }
  .contact-info h2 { font-size: 16px; }
  .audio-tracks-container { padding: 0 7px; }
  .audio-tracks-container audio { height: 35px !important; border: 1px solid #00FF00 !important; border-radius: 6px !important; }
}

@media (max-width: 480px) {
  header nav { display: none; }
  .burger-btn { display: flex; }
  nav ul li { margin: 5px 10px; }
  .audio-tracks-container { gap: 2px; margin: 2px 2px; padding: 0 2px; }
  .audio-tracks-container audio { height: 33px !important; min-height: 33px !important; border-radius: 7px !important; }
  audio::-webkit-media-controls-panel,
  audio::-webkit-media-controls-enclosure { border-radius: 6px !important; overflow: hidden !important; }
  audio::-webkit-media-controls-play-button { margin-left: 2px !important; }
  audio::-webkit-media-controls-timeline { margin: 0 6px !important; }
}

@media (min-width: 600px) { footer.container .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { footer.container .footer-grid { grid-template-columns: repeat(4, 1fr); } }
