/* AYW Slimline Footer - header-style, compact, scoped styles */
:root {
  --ayw-footer-red: #ef1b2d;
  --ayw-footer-red-hot: #ff2d41;
  --ayw-footer-black: #030305;
  --ayw-footer-line: rgba(255,255,255,0.12);
  --ayw-footer-text: #f8f8fb;
  --ayw-footer-muted: rgba(248,248,251,0.62);
}

.ayw-premium-footer,
.ayw-premium-footer * {
  box-sizing: border-box;
}

.ayw-premium-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(22px, 3vw, 40px);
  padding: 0;
  color: var(--ayw-footer-text);
  font-family: Oswald, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(239, 27, 45, 0.18), transparent 28%),
    linear-gradient(180deg, #07080d 0%, #030305 100%);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.ayw-premium-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, transparent 0 26%, rgba(255,255,255,0.028) 26.1% 26.5%, transparent 26.8% 60%, rgba(239,27,45,0.075) 60.1% 60.55%, transparent 60.8%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 88px);
  opacity: .7;
}

.ayw-premium-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239,27,45,0.25), var(--ayw-footer-red-hot), rgba(255,255,255,0.50), var(--ayw-footer-red-hot), rgba(239,27,45,0.25), transparent);
  box-shadow: 0 0 16px rgba(239,27,45,0.36);
}

.ayw-premium-footer__topline {
  display: none;
}

.ayw-premium-footer__wrap {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.ayw-premium-footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.ayw-premium-footer__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 190px;
  color: #fff;
  text-decoration: none;
}

.ayw-premium-footer__logo-img {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(0,0,0,.58));
}

.ayw-premium-footer__logo-text {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 8px 18px rgba(0,0,0,.62);
}

.ayw-premium-footer__logo-text strong {
  color: var(--ayw-footer-red-hot);
  text-shadow: 0 0 18px rgba(239,27,45,.36);
}

.ayw-premium-footer__nav {
  flex: 1 1 auto;
  min-width: 0;
}

.ayw-footer2-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ayw-footer2-menu li {
  display: inline-flex;
  align-items: center;
}

.ayw-footer2-menu li + li::before {
  content: "";
  width: 1px;
  height: 14px;
  margin: 0 10px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.20), transparent);
}

.ayw-footer2-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.72);
  background: transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

.ayw-footer2-menu a:hover,
.ayw-footer2-menu a:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  text-shadow: 0 0 14px rgba(239,27,45,.44);
  outline: 0;
}

.ayw-premium-footer__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.ayw-footer-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 190px;
  min-width: 0;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.ayw-footer-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 0 9px;
  min-height: 28px;
  color: #fff;
  background: transparent;
  font-family: Oswald, Arial, sans-serif;
  font-size: 12px;
}

.ayw-footer-search input::placeholder {
  color: rgba(255,255,255,.43);
}

.ayw-footer-search button,
.ayw-footer-backtop {
  border: 0;
  cursor: pointer;
  color: #fff;
  font-family: Oswald, Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.ayw-footer-search button {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2b3f, #930711);
  box-shadow: 0 8px 16px rgba(239,27,45,.16), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s ease, filter .2s ease;
}

.ayw-footer-search button:hover,
.ayw-footer-search button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.12);
  outline: 0;
}

.ayw-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.ayw-footer-social:hover,
.ayw-footer-social:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(239,27,45,.42);
  background: rgba(239,27,45,.12);
  outline: 0;
}

.ayw-premium-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 7px 0 10px;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  border-top: 1px solid rgba(255,255,255,.075);
}

.ayw-premium-footer__bottom p {
  margin: 0;
}

.ayw-footer-backtop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.10);
  font-size: 10px;
  color: rgba(255,255,255,.68);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.ayw-footer-backtop:hover,
.ayw-footer-backtop:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(239,27,45,.12);
  border-color: rgba(239,27,45,.34);
  outline: 0;
}

@media (max-width: 1060px) {
  .ayw-premium-footer__main {
    gap: 14px;
  }

  .ayw-footer-search {
    display: none;
  }
}

@media (max-width: 860px) {
  .ayw-premium-footer__main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 62px;
  }

  .ayw-premium-footer__nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ayw-premium-footer__nav::-webkit-scrollbar {
    display: none;
  }

  .ayw-footer2-menu {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .ayw-footer2-menu a {
    font-size: 11px;
  }

  .ayw-footer-social span {
    display: none;
  }

  .ayw-footer-social {
    width: 34px;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .ayw-premium-footer {
    margin-top: 24px;
  }

  .ayw-premium-footer__wrap {
    width: min(100% - 20px, 1240px);
  }

  .ayw-premium-footer__main {
    grid-template-columns: auto 1fr auto;
    min-height: 58px;
    padding: 10px 0;
  }

  .ayw-premium-footer__logo {
    max-width: 112px;
  }

  .ayw-premium-footer__logo-img {
    max-width: 112px;
    max-height: 30px;
  }

  .ayw-premium-footer__logo-text {
    font-size: 22px;
  }

  .ayw-footer2-menu li + li::before {
    height: 12px;
    margin: 0 8px;
  }

  .ayw-footer2-menu a {
    min-height: 28px;
    font-size: 10.5px;
    letter-spacing: .07em;
  }

  .ayw-premium-footer__bottom {
    min-height: 30px;
    padding: 6px 0 8px;
    font-size: 10px;
  }

  .ayw-premium-footer__bottom p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ayw-footer-backtop span {
    display: none;
  }

  .ayw-footer-backtop {
    width: 26px;
    padding: 0;
    justify-content: center;
  }
}
