/* =========================
   GLOBAL + HEADER/NAV
   ========================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: url(IMG3.jpg);
  background-size: cover;
  background-attachment: fixed;
}

/* Shared page wrap (optional) */
.sb-page-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* =========================
   HEADER BAR
   ========================= */

.sb-header {
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  box-shadow: 0 2px 6px rgba(15,23,42,0.5);
}

.sb-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sb-header-left,
.sb-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sb-logo-main {
  display: block;
  max-width: 70px;
  height: auto;
}

.sb-team-logo {
  max-height: 52px;
  width: auto;
}

.sb-header-center {
  text-align: center;
  flex: 1;
}

.sb-pool-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sb-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.sb-versus {
  font-weight: 600;
  margin: 0 0.25rem;
}

/* =========================
   NAV BAR
   ========================= */

.sb-nav-bar {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.sb-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sb-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 1.4rem;
  padding: 0.5rem;
  cursor: pointer;
}

.sb-nav-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sb-nav-item a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: #020617;
  color: #f9fafb;
  box-shadow: 0 2px 4px rgba(15,23,42,0.4);
  transition: background 0.15s, color 0.15s, transform 0.1s, box-shadow 0.1s;
}

.sb-nav-item a:hover {
  background: #0ea5e9;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15,23,42,0.5);
}

/* Accent (Admin etc) */
.sb-nav-item--accent a {
  border-color: transparent;
  background: #16a34a;
  color: #0f172a;
  font-weight: 600;
}

.sb-nav-item--accent a:hover {
  background: #22c55e;
  color: #022c22;
}

/* =========================
   MOBILE NAV
   ========================= */

@media (max-width: 768px) {
  .sb-header-inner { padding: 0.4rem 0.75rem; }
  .sb-logo-main { max-width: 50px; }
  .sb-team-logo { max-height: 38px; }
  .sb-pool-title { font-size: 1.05rem; }
  .sb-subtitle { font-size: 0.75rem; }

  .sb-nav-toggle { display: block; }

  .sb-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sb-nav-list {
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    display: none;
    padding-bottom: 0.6rem;
  }

  .sb-nav-list.sb-nav-open { display: flex; }

  .sb-nav-item a {
    width: 100%;
    text-align: left;
  }

  .sb-page-wrap { padding: 10px; }
}
