/* ==========================================================
   Musicland footer
   Modern responsive footer using only flex-based layout.
   ========================================================== */

:root {
  --ml-color-red: #d2191f;
  --ml-color-black: #121212;
  --ml-color-gold: #D4A018;
  --ml-color-blue: #345995;
  --ml-color-slate: #67697C;
  --ml-color-white: #ffffff;
  --ml-color-footer-bg: #232323;
  --ml-color-footer-panel: rgba(255, 255, 255, 0.045);
  --ml-color-footer-border: rgba(255, 255, 255, 0.12);
  --ml-color-footer-muted: rgba(255, 255, 255, 0.72);
  --ml-footer-radius: 18px;
  --ml-footer-gap: clamp(1rem, 2.4vw, 2rem);
  --ml-footer-heading-size: clamp(0.78rem, 0.72rem + 0.18vw, 0.95rem);
  --ml-footer-text-size: clamp(0.84rem, 0.78rem + 0.18vw, 1rem);
  --ml-footer-small-size: clamp(0.72rem, 0.68rem + 0.12vw, 0.82rem);
}

body.sticky-footer {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body.sticky-footer #container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.sticky-footer #content {
  flex-grow: 1;
  background: var(--ml-color-white);
}

.ml-site-footer,
#colophon.ml-site-footer {
  position: relative;
  clear: both;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(210, 25, 31, 0.20), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(52, 89, 149, 0.28), transparent 34%),
    linear-gradient(180deg, #2c2c2c 0%, var(--ml-color-footer-bg) 100%);
  color: var(--ml-color-white);
  font-size: var(--ml-footer-text-size);
}

.ml-site-footer__accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--ml-color-red), var(--ml-color-gold), var(--ml-color-blue));
}

.ml-site-footer__inner,
#inner-footer.ml-site-footer__inner {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.8rem, 4vw, 3rem);
}

.ml-site-footer__top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--ml-footer-gap);
}

.ml-site-footer__panel {
  flex: 1 1 260px;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--ml-color-footer-border);
  border-radius: var(--ml-footer-radius);
  background: var(--ml-color-footer-panel);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ml-site-footer__contact {
  flex-basis: min(100%, 440px);
}

.ml-site-footer__social,
.ml-site-footer__menu {
  flex-basis: min(100%, 250px);
}

.ml-site-footer__heading {
  margin: 0 0 0.9rem;
  color: var(--ml-color-white);
  font-size: var(--ml-footer-heading-size);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ml-site-footer__content,
.ml-site-footer__content p,
.ml-site-footer__content address,
.ml-site-footer__content li {
  color: var(--ml-color-footer-muted);
  font-size: var(--ml-footer-text-size);
  line-height: 1.65;
}

.ml-site-footer__content p,
.ml-site-footer__content address {
  margin: 0 0 0.55rem;
}

.ml-site-footer a,
#colophon.ml-site-footer a {
  color: var(--ml-color-white);
  text-decoration: none;
}

.ml-site-footer a:hover,
.ml-site-footer a:focus-visible,
#colophon.ml-site-footer a:hover,
#colophon.ml-site-footer a:focus-visible {
  color: var(--ml-color-gold);
  text-decoration: none;
}

.ml-site-footer__content a {
  font-weight: 700;
}

.ml-site-footer__content a.button,
.ml-site-footer__content a.btn,
.footer-contact a.button,
.footer-contact a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 0.75rem;
  padding: 0.72rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--ml-color-blue);
  color: var(--ml-color-white) !important;
  font-size: var(--ml-footer-small-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.08s ease;
}

.ml-site-footer__content a.button:hover,
.ml-site-footer__content a.btn:hover,
.footer-contact a.button:hover,
.footer-contact a.btn:hover,
.ml-site-footer__content a.button:focus-visible,
.ml-site-footer__content a.btn:focus-visible,
.footer-contact a.button:focus-visible,
.footer-contact a.btn:focus-visible {
  background: var(--ml-color-red);
  color: var(--ml-color-white) !important;
  transform: translateY(-1px);
}

.ml-site-footer__social-nav,
.footer-social .social-nav-container {
  margin: 0;
}

.ml-site-footer__social-nav::before,
.footer-social .social-nav-container::before {
  content: none;
}

.ml-site-footer__social-list,
.footer-social .social-nav-container ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ml-site-footer__social-list li,
.footer-social .social-nav-container li {
  margin: 0;
  padding: 0;
}

.ml-site-footer__social-link,
.footer-social .social-nav-container a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ml-color-footer-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ml-color-white) !important;
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
}

.ml-site-footer__social-link:hover,
.ml-site-footer__social-link:focus-visible,
.footer-social .social-nav-container a:hover,
.footer-social .social-nav-container a:focus-visible {
  background: var(--ml-color-blue);
  border-color: var(--ml-color-blue);
  color: var(--ml-color-white) !important;
  transform: translateY(-1px);
}

.ml-site-footer__nav ul,
ul.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.ml-site-footer__nav li,
ul.footer-menu li {
  display: block;
  margin: 0;
  padding: 0;
}

.ml-site-footer__nav a,
ul.footer-menu li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0;
  border: 0;
  color: var(--ml-color-footer-muted) !important;
  font-size: var(--ml-footer-text-size);
  line-height: 1.4;
  text-decoration: none;
}

.ml-site-footer__nav a::before,
ul.footer-menu li a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--ml-color-red);
  opacity: 0.75;
  transition: background-color 0.18s ease, transform 0.08s ease;
}

.ml-site-footer__nav a:hover,
.ml-site-footer__nav a:focus-visible,
ul.footer-menu li a:hover,
ul.footer-menu li a:focus-visible {
  color: var(--ml-color-white) !important;
}

.ml-site-footer__nav a:hover::before,
.ml-site-footer__nav a:focus-visible::before,
ul.footer-menu li a:hover::before,
ul.footer-menu li a:focus-visible::before {
  background: var(--ml-color-gold);
  transform: scale(1.2);
}

.ml-site-footer__nav ul.sub-menu,
ul.footer-menu ul.sub-menu {
  display: none;
}

.ml-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  border-top: 1px solid var(--ml-color-footer-border);
}

.ml-site-footer__payments {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.ml-site-footer__payments img,
#colophon.ml-site-footer img[alt="Barion"] {
  display: block;
  width: min(280px, 72vw);
  max-width: 100%;
  height: auto;
  margin: 0;
}

.ml-site-footer__copyright,
#colophon.ml-site-footer .copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--ml-footer-small-size);
  line-height: 1.4;
  text-align: right;
}

.ml-back-top,
#back-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.8rem);
  bottom: clamp(1rem, 2.5vw, 1.8rem);
  z-index: 9999;
  margin: 0;
}

.ml-back-top a,
#back-top a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ml-color-black);
  color: var(--ml-color-white) !important;
  font-size: 1.15rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: background-color 0.18s ease, transform 0.08s ease;
}

.ml-back-top a:hover,
.ml-back-top a:focus-visible,
#back-top a:hover,
#back-top a:focus-visible {
  background: var(--ml-color-blue);
  color: var(--ml-color-white) !important;
  transform: translateY(-1px);
}

#back-top .fas {
  line-height: 1;
}

@media (max-width: 991.98px) {
  .ml-site-footer__top {
    gap: 1rem;
  }

  .ml-site-footer__panel {
    flex-basis: calc(50% - 0.5rem);
  }

  .ml-site-footer__contact {
    flex-basis: 100%;
  }
}

@media (max-width: 679.98px) {
  .ml-site-footer__inner,
  #inner-footer.ml-site-footer__inner {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .ml-site-footer__panel,
  .ml-site-footer__contact,
  .ml-site-footer__social,
  .ml-site-footer__menu {
    flex-basis: 100%;
  }

  .ml-site-footer__panel {
    text-align: center;
  }

  .ml-site-footer__social-list,
  .footer-social .social-nav-container ul,
  .ml-site-footer__nav ul,
  ul.footer-menu {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .ml-site-footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .ml-site-footer__payments {
    justify-content: center;
  }

  .ml-site-footer__copyright,
  #colophon.ml-site-footer .copyright {
    text-align: center;
  }
}
