/* ============================================================
   LTCSlots.com — Site Header  (standalone, no dependencies)
   Works at all widths down to 320px.
   ============================================================ */

/* ── Sticky wrapper ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: #0B1437;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 200ms ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

/* ── Inner row ───────────────────────────────────────────── */
.hdr {
  display: flex;
  align-items: center;
  height: 62px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 8px;
}

/* ── Logo ────────────────────────────────────────────────── */
.hdr-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 8px;
}
.hdr-logo svg { display: block; flex-shrink: 0; }
.hdr-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hdr-logo-text b { color: #60A5FA; font-weight: 700; }

/* ── Desktop nav ─────────────────────────────────────────── */
.hdr-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin-right: 0;
}
.hdr-nav > li { position: relative; }

/* plain link */
.hdr-nav a,
.hdr-nav button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms, color 140ms;
  font-family: inherit;
  line-height: 1.3;
}
.hdr-nav a:hover,
.hdr-nav button:hover,
.hdr-nav a.active,
.hdr-nav button[aria-expanded="true"] {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.hdr-nav a.active { color: #60A5FA; }

/* dropdown chevron */
.hdr-chev {
  width: 10px;
  height: 10px;
  transition: transform 180ms ease;
  flex-shrink: 0;
}
.hdr-nav li.open .hdr-chev { transform: rotate(180deg); }

/* ── Dropdown panel ──────────────────────────────────────── */
.hdr-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid #DDE3F0;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(11,20,55,0.18);
  min-width: 210px;
  padding: 5px 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 9100;
}
.hdr-nav li.open .hdr-drop {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.hdr-drop li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.86rem;
  color: #1E293B;
  border-radius: 0;
  background: none;
}
.hdr-drop li a:hover {
  background: #EEF1F9;
  color: #1A56DB;
}
.hdr-drop li.hdr-drop-sep {
  border-top: 1px solid #DDE3F0;
  margin-top: 4px;
  padding-top: 4px;
}
.hdr-drop li.hdr-drop-sep a { font-weight: 600; }

/* ── CTA button ──────────────────────────────────────────── */
.hdr-cta {
  margin-left: 10px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: #1A56DB;
  color: #fff !important;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background 140ms;
}
.hdr-cta:hover { background: #3B82F6; }

/* ── Hamburger button ────────────────────────────────────── */
.hdr-burger {
  display: none;          /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}
.hdr-burger:hover { background: rgba(255,255,255,0.16); }
.hdr-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
  pointer-events: none;
}

/* ── Mobile drawer ───────────────────────────────────────── */
.hdr-mobile {
  display: none;
  background: #0B1437;
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow-y: auto;
  max-height: calc(100dvh - 62px);
  -webkit-overflow-scrolling: touch;
}
.hdr-mobile.open { display: block; }

.hdr-mobile-list {
  list-style: none;
  padding: 8px 20px 36px;
  margin: 0;
}
.hdr-mobile-list a {
  display: flex;
  align-items: center;
  padding: 11px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color 140ms;
}
.hdr-mobile-list a:hover { color: #60A5FA; }
.hdr-mobile-list .hdr-m-section {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  font-weight: 700;
  padding: 16px 0 6px;
}

/* ════════════════════════════════════════════════════════════
   BREAKPOINTS
════════════════════════════════════════════════════════════ */

/* hide desktop nav + cta, show burger */
@media (max-width: 860px) {
  .hdr-nav  { display: none !important; }
  .hdr-cta  { display: none !important; }
  .hdr-burger { display: flex !important; }
}

@media (max-width: 480px) {
  .hdr { height: 56px; padding: 0 14px; }
  .hdr-mobile { max-height: calc(100dvh - 56px); }
  .hdr-burger { width: 38px; height: 38px; }
}

@media (max-width: 360px) {
  .hdr { height: 52px; padding: 0 10px; gap: 4px; }
  .hdr-mobile { max-height: calc(100dvh - 52px); }
  .hdr-logo-text { font-size: 1rem; }
  .hdr-burger { width: 36px; height: 36px; }
  .hdr-burger span { width: 17px; }
}

@media (max-width: 320px) {
  .hdr-logo svg { display: none; }
  .hdr-logo-text { font-size: 0.9rem; }
}
