/* Sportmonks-style header / auth / footer chrome */

/* ——— Top utility bar (Live now | Lang) ——— */
.sm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 28px;
  background: #010028;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}
.sm-live-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.sm-live-now:hover { color: #fff; }
.sm-live-now__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
  flex-shrink: 0;
}

.sm-header {
  background: #010028 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: block !important;
  padding: 0 !important;
}
.sm-header__inner {
  max-width: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 28px !important;
  gap: 24px !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  min-height: 64px;
}
.sm-logo {
  gap: 10px !important;
  flex-shrink: 0;
  margin-left: 28px !important;
}
.sm-logo .header-logo-icon {
  height: 44px !important;
  max-width: 110px !important;
}
.sm-logo .header-logo-icon.is-wide {
  height: 56px !important;
  max-width: 170px !important;
}
.sm-logo .brand-text.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sm-logo .brand-text {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff !important;
}
.sm-nav {
  justify-content: center !important;
  gap: 4px !important;
  flex: 1;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.sm-nav::-webkit-scrollbar { display: none; }
.sm-nav .header-nav-item {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-radius: 0 !important;
  position: relative;
  white-space: nowrap;
}
.sm-nav .header-nav-item:hover {
  color: #fff !important;
  background: transparent !important;
}
.sm-nav .header-nav-item.is-on {
  color: #fff !important;
  background: transparent !important;
}
.sm-nav .header-nav-item.is-on::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: #ff0f50;
  border-radius: 2px;
}
.sm-nav .nav-icon { display: none !important; }

.sm-actions {
  gap: 12px !important;
  margin-left: auto;
  flex-shrink: 0;
  align-items: center !important;
}
.sm-btn-login {
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
}
.sm-btn-login:hover { color: #ff8fb3; }
.sm-btn-cta {
  background: #ff0f50 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 11px 22px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  font-family: inherit;
  box-shadow: none !important;
}
.sm-btn-cta:hover { filter: brightness(1.08); }
.sm-btn-logout {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
}

/* Language dropdown — topbar EN▾ */
.sm-topbar .sm-lang {
  margin-left: auto;
}
.sm-lang {
  position: relative;
  z-index: 120;
}
.sm-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 6px;
  cursor: pointer;
  min-width: 40px;
  justify-content: center;
}
.sm-lang__toggle:hover,
.sm-lang.is-open .sm-lang__toggle {
  background: rgba(255, 255, 255, 0.06);
}
.sm-lang__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #0a0a2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.sm-lang.is-open .sm-lang__menu { display: block; }
.sm-lang__menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #e8e8f0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.sm-lang__menu button:hover,
.sm-lang__menu button.is-on {
  background: rgba(255, 15, 80, 0.15);
  color: #fff;
}

.sm-auth-card {
  background: #0a0a2e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
}
.sm-auth-card h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
}

@media (max-width: 980px) {
  .sm-topbar { padding: 8px 16px; }
  .sm-header__inner { padding: 10px 16px !important; gap: 12px !important; }
  .sm-logo .brand-text { display: none; }
  .sm-nav .header-nav-item { padding: 8px 10px !important; font-size: 13px !important; }
  .sm-btn-cta { padding: 9px 16px !important; }
}
/* Telefon / dar tablet: logo+aksiyon üstte, menü yazıları alt şeritte kaydırılabilir */
@media (max-width: 900px) {
  .sm-header__inner {
    flex-wrap: wrap !important;
    row-gap: 4px !important;
  }
  .sm-logo { order: 1; margin-left: 8px !important; }
  .sm-logo .header-logo-icon.is-wide { height: 40px !important; max-width: 118px !important; }
  .sm-actions { order: 2; margin-left: auto !important; }
  .sm-nav {
    display: flex !important;
    order: 3;
    flex: 1 1 100% !important;
    width: 100%;
    justify-content: flex-start !important;
    gap: 2px !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 6px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2px;
  }
  .sm-nav::-webkit-scrollbar { display: none; }
  .sm-nav .header-nav-item {
    flex: 0 0 auto !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  .sm-nav .header-nav-item span {
    display: inline !important;
    white-space: nowrap !important;
  }
  .sm-nav .header-nav-item.is-on::after {
    left: 10px;
    right: 10px;
    bottom: 0;
  }
  .sm-btn-login { padding: 6px 8px; font-size: 13px; }
  .sm-btn-cta { padding: 8px 14px !important; font-size: 13px !important; }
}
@media (max-width: 720px) {
  .sm-live-now span:not(.sm-live-now__dot) { font-size: 12px; }
  .sm-topbar { padding: 6px 12px; }
  .sm-header__inner { padding: 8px 12px !important; }
}
