/**
 * Web UI: bottom `section.wlc-nav` blocks removed from PHP templates.
 * Desktop (≥901px): static primary links live in `.wlc-header-desktop-primary-nav`
 * (between logo and login). Angular `.wlc-footer-main-menu` is hidden so links are not doubled.
 * Mobile (≤900px): static strip hidden; original Angular menu in header stays (same breakpoint as m/assets/css/style.css).
 */

@media (max-width: 900px) {
  .wlc-header-desktop-primary-nav {
    display: none !important;
  }
}

@media (min-width: 901px) {
  header.wlc-header-main .wlc-main-menu__block-2.wlc-footer-main-menu {
    display: none !important;
  }

  header.wlc-header-main .wlc-header-left > nav.row.wlc-main-menu {
    justify-content: flex-end;
  }

  .wlc-header-desktop-primary-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: clamp(6px, 1vw, 16px);
    padding-right: clamp(6px, 1vw, 16px);
  }

  .wlc-header-desktop-primary-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 0.6vw, 8px) clamp(8px, 1.2vw, 22px);
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .wlc-header-desktop-primary-nav__list a {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(10px, 0.85vw, 13px);
    text-decoration: none;
    white-space: nowrap;
  }

  .wlc-header-desktop-primary-nav__list a:hover,
  .wlc-header-desktop-primary-nav__list a:focus {
    color: #ffb800;
  }

  header.wlc-header-main nav.wlc-main-menu,
  header.wlc-header-main nav.wlc-main-menu.row {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  header.wlc-header-main .wlc-menu-big {
    height: auto !important;
    min-height: 0 !important;
  }

  header.wlc-header-main .wlc-menu-big__item {
    height: auto !important;
  }

  header.wlc-header-main .wlc-menu-big__item a {
    line-height: 1.35 !important;
  }
}

/* --- Internal routes: sport iframe, VIP page, narrower casino slides on small screens --- */
.wlc-embed-shell--sport {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(6px, 2vw, 18px);
  box-sizing: border-box;
}

.wlc-embed-shell__iframe {
  display: block;
  width: 100%;
  min-width: 100%;
  height: clamp(380px, 70vh, 960px);
  border: 0;
  vertical-align: top;
}

@media (max-width: 600px) {
  .wlc-embed-shell__iframe {
    height: clamp(320px, 62vh, 720px);
  }
}

.wlc-loyalty-page {
  color: #f4f4f4;
  padding-bottom: clamp(24px, 4vw, 48px);
}

.wlc-loyalty-page__hero {
  background-size: cover;
  background-position: center;
  padding: clamp(28px, 6vw, 56px) clamp(14px, 3vw, 28px);
  border-radius: 0 0 14px 14px;
  box-shadow: inset 0 -40px 80px rgba(0, 0, 0, 0.45);
}

.wlc-loyalty-page__hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.wlc-loyalty-page__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffb800;
}

.wlc-loyalty-page__lead {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.wlc-loyalty-page__body {
  max-width: 1100px;
  margin: clamp(20px, 3vw, 36px) auto 0;
  padding: 0 clamp(12px, 3vw, 24px);
  box-sizing: border-box;
}

.wlc-loyalty-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.wlc-loyalty-page__card {
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 22px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.wlc-loyalty-page__card h2 {
  margin: 0 0 10px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #ffb800;
}

.wlc-loyalty-page__card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.wlc-loyalty-page__note {
  margin: clamp(18px, 3vw, 28px) 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

@media (max-width: 950px) {
  .wlc-banners-home__slider .mySwiper .swiper-slide.wlc-home-catalog--new {
    width: min(914px, 92vw) !important;
  }
}
