:root {
  --header-main-h:  60px;
  --header-sport-h: 42px;
  --header-h:       102px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.header-main {
  height: var(--header-main-h);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.header-logo__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.header-logo__text em { font-style: normal; color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.header-search-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.header-search-btn:hover { background: rgba(255,255,255,.16); color: var(--white); }

.header-btn-outline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding: .42rem .9rem;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  text-decoration: none;
}
.header-btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,.4); }

.header-btn-cta {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: .45rem 1.1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background .15s, transform .15s;
  text-decoration: none;
}
.header-btn-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.header-burger span {
  display: block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.header-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-burger.is-open span:nth-child(2) { opacity: 0; }
.header-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-sports {
  height: var(--header-sport-h);
  background: rgba(0,0,0,.2);
  overflow: hidden;
}
.header-sports__inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-sports__inner::-webkit-scrollbar { display: none; }

.header-sport-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  flex-shrink: 0;
  text-decoration: none;
}
.header-sport-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
  border-bottom-color: var(--sc, var(--gold));
}
.header-sport-link.is-active {
  color: var(--white);
  border-bottom-color: var(--sc, var(--gold));
  background: rgba(255,255,255,.05);
}
.header-sport-link__icon { font-size: 1rem; }

/* =============================================
   DRAWER MOBILE
============================================= */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
}
.mobile-drawer.is-open { display: block; }

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  animation: backdrop-in .25s ease;
}
@keyframes backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(300px, 85vw);
  max-width: 100vw;
  height: 100%;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: panel-in .28s cubic-bezier(.25,.46,.45,.94);
  box-shadow: -8px 0 40px rgba(0,0,0,.4);
}
@keyframes panel-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.mobile-drawer__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -.02em;
}
.mobile-drawer__brand em { font-style: normal; color: var(--gold); }

.mobile-drawer__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.mobile-drawer__close:hover { background: rgba(255,255,255,.16); color: var(--white); }

.mobile-drawer__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: .75rem 0 2rem;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-nav-link:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-left-color: var(--gold);
}
.mobile-nav-link__icon {
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.mobile-nav-link--gold {
  background: var(--gold);
  color: var(--navy) !important;
  margin: .5rem 1.25rem;
  border-radius: var(--radius-sm);
  justify-content: center;
  border-left: none !important;
  width: calc(100% - 2.5rem);
}
.mobile-nav-link--gold:hover { background: var(--gold-light) !important; }

.mobile-nav-sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  padding: 1rem 1.25rem .3rem;
}

/* =============================================
   PWA INSTALL BANNER
============================================= */
.install-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  z-index: 5000;
  transition: transform .4s cubic-bezier(.34,1.4,.64,1);
  width: calc(100vw - 2rem);
  max-width: 380px;
}
.install-banner.show {
  transform: translateX(-50%) translateY(0);
}
.install-banner__text { flex: 1; min-width: 0; }
.install-banner__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .9rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .02em;
}
.install-banner__desc {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-top: .1rem;
}
.install-banner__btn {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
  white-space: nowrap;
}
.install-banner__btn:hover { background: var(--gold-light); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .header-btn-outline { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-main-h:  56px;
    --header-sport-h: 0px;
    --header-h:       56px;
  }
  .header-sports  { display: none; }
  .header-btn-cta { display: none; }
  .header-burger  { display: flex; }
}/* Fix mobile drawer */
.mobile-drawer {
    display: none !important;
}
.mobile-drawer.is-open {
    display: block !important;
}