/* ===== HEADER — Superbet sticky vermelho ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--color-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 0.5rem;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-right: 1rem;
}
.header-logo svg { height: 28px; width: auto; }
.header-logo .logo-brazil {
  font-size: 0.55rem; font-weight: 500; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.8); margin-left: 0.3rem; text-transform: none;
}

/* Nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}
.header-nav a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Right buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header-actions .btn-register {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  white-space: nowrap;
}
.header-actions .btn-register:hover {
  background: #fff;
  color: var(--color-primary);
}
.header-actions .btn-login {
  background: #fff;
  color: var(--color-primary);
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  white-space: nowrap;
}
.header-actions .btn-login:hover {
  background: #f0f0f0;
}
.header-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  transition: background var(--transition);
}
.header-icon:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Burger */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  cursor: pointer;
}
.burger-btn span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu-panel {
  background: var(--color-bg);
  width: 280px;
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 1rem;
}
.mobile-menu-panel a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-surface-border);
}
.mobile-menu-panel a:hover { color: var(--color-primary); }

/* Header desktop breakpoint */
@media (min-width: 1025px) {
  .header-nav { display: flex; }
  .header-icon { display: flex; }
  .burger-btn { display: none; }
  .header-actions .btn-register,
  .header-actions .btn-login { font-size: 0.8rem; padding: 0.4rem 1.1rem; }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .header-nav { display: none; }
  .burger-btn { display: flex; }
  .header-actions .btn-register { display: flex; }
  .header-actions .btn-login { display: flex; }
}