/* Lottodds navigation header (v1.0.0). Scoped to .ld-header. The last block fits it into the fixed header
   area of the member pages (.pp-head-fixed, 992px and wider) and moves the left menu and content below it. */
.ld-header, .ld-header * { box-sizing: border-box; }
.ld-header {
  --ld-purple: #52048d;
  --ld-violet: #9000dd;
  --ld-dark: #241038;
  --ld-border: #e7e0ee;
  --ld-focus: #7030ba;
  position: relative;
  z-index: 30;
  width: 100%;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 2px solid #8132c0;
  box-shadow: 0 5px 16px rgba(48, 20, 81, .09);
}
.ld-header a { color: inherit; text-decoration: none !important; }
.ld-header button { font: inherit; }
.ld-header a:focus-visible, .ld-header button:focus-visible { outline: 3px solid var(--ld-focus); outline-offset: 3px; }
.ld-header__inner {
  width: 100%;
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 9px clamp(16px, 2.1vw, 36px);
  margin: 0 auto;
}
.ld-header__logo { width: clamp(210px, 18vw, 256px); flex-shrink: 0; display: block; }
.ld-header__logo img { width: 100%; height: auto; display: block; }
.ld-header__separator { width: 2px; height: 59px; background: #572679; opacity: .65; flex: none; }
.ld-header__nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 7px;
  background: linear-gradient(#fff, #f8f6fc);
  border: 1px solid #f0ecf5;
  border-radius: 24px;
  box-shadow: 0 5px 8px rgba(47, 27, 84, .13), 0 1px 2px rgba(47, 27, 84, .07);
}
.ld-header__link {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 17px;
  padding: 11px clamp(9px, 1vw, 20px);
  white-space: nowrap;
  font-weight: 750;
  font-size: clamp(13px, 1.05vw, 19px);
  line-height: 1.2;
  color: var(--ld-dark) !important;
  background: #fff;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.ld-header__link:not(.ld-header__link--current):hover { background: #f3eafc; color: var(--ld-purple) !important; }
.ld-header__link--current,
.ld-header__link[aria-current="page"] {
  color: #fff !important;
  background: linear-gradient(180deg, #ba00ef 0%, #7301c2 52%, #490282 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.42), 0 4px 8px rgba(75,0,129,.24);
}
/* Auto-Predict button with Page 1 / Page 2 (Auto-Predict pages only) */
.ld-header__link--group { flex-direction: column; gap: 3px; padding-top: 6px; padding-bottom: 6px; }
.ld-header__group-main { display: inline-flex; align-items: center; gap: 9px; color: inherit !important; }
.ld-header__sub { display: inline-flex; gap: 12px; font-size: 12px; font-weight: 700; line-height: 1.1; }
.ld-header__sub a { color: rgba(255,255,255,.82) !important; padding: 1px 2px; border-bottom: 2px solid transparent; }
.ld-header__sub a:hover { color: #fff !important; }
.ld-header__sub a.is-current { color: #fff !important; border-bottom-color: #f9dd00; }
.ld-header__link--sweepstakes { position: relative; }
.ld-header__link--sweepstakes .ld-header__sweep-label {
  /* plain link, same look as the other links (the small FREE tag stays) */
  display: inline-flex;
  align-items: center;
  gap: inherit;
  color: inherit;
}
.ld-header__free {
  position: absolute;
  top: -6px;
  left: max(9px, 8%);
  transform: rotate(-8deg);
  color: #fff;
  background: #f01921;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 2px 3px rgba(0,0,0,.15);
}
.ld-header__actions { display: flex; align-items: center; gap: 9px; flex: none; }
.ld-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 55px;
  border-radius: 17px;
  padding: 11px 16px;
  color: #fff !important;
  font-size: clamp(13px, .95vw, 17px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: linear-gradient(180deg, #ba00ee, #6600b0 72%, #47007f);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.25), 0 4px 8px rgba(75,0,129,.18);
}
.ld-header__action:hover { filter: brightness(1.08); }
.ld-header__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ld-header__menu-button {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ld-purple);
  background: #fff;
  border: 1px solid #d4c6e0;
  border-radius: 13px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 1320px) {
  .ld-header__inner { gap: 10px; }
  .ld-header__logo { width: 220px; }
  .ld-header__link { gap: 6px; padding-inline: 7px; font-size: 13px; }
  .ld-header__action { padding-inline: 11px; font-size: 13px; }
  .ld-header__icon { width: 20px; height: 20px; }
}
@media (max-width: 991px) {
  .ld-header__inner { flex-wrap: wrap; min-height: 86px; gap: 12px; }
  .ld-header__logo { width: 225px; }
  .ld-header__separator { display: none; }
  .ld-header__menu-button { display: inline-flex; }
  .ld-header__nav, .ld-header__actions { display: none; }
  .ld-header.ld-header--open .ld-header__nav { display: flex; order: 3; width: 100%; flex: 1 1 100%; flex-direction: column; gap: 5px; padding: 9px; }
  .ld-header.ld-header--open .ld-header__link { width: 100%; justify-content: flex-start; padding: 13px 16px; }
  .ld-header.ld-header--open .ld-header__link--group { align-items: flex-start; }
  .ld-header.ld-header--open .ld-header__actions { display: flex; order: 4; width: 100%; justify-content: stretch; }
  .ld-header.ld-header--open .ld-header__action { flex: 1; }
  .ld-header__free { top: -3px; left: 123px; }
}
@media (prefers-reduced-motion: reduce) { .ld-header__link { transition: none; } }

/* ---- fit into the fixed header area of the member pages (992px and wider) ---- */
@media (min-width: 992px) {
  .pp-head-fixed { height: auto !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  .pp-head-fixed~.pp-side-fixed { top: 108px !important; }
  .pp-head-fixed~.content, .pp-head-fixed~.footer { margin-top: 108px !important; }
}
/* narrow desktop (992-1180px): keep the full header, smaller */
@media (min-width: 992px) and (max-width: 1180px) {
  .ld-header__inner { gap: 7px; padding-inline: 10px; }
  .ld-header__logo { width: 185px; }
  .ld-header__nav { gap: 3px; padding: 5px; }
  .ld-header__link { gap: 5px; padding-inline: 6px; font-size: 12.5px; min-height: 54px; }
  .ld-header__actions { gap: 6px; }
  .ld-header__action { padding-inline: 9px; font-size: 12.5px; gap: 6px; min-height: 52px; }
  .ld-header__icon { width: 18px; height: 18px; }
}
/* home page: the header sits at the top of the page (not fixed) */
.site-shell > .ld-header { flex: none; }
