/* ============================================================================
   PUTT.COM · Shared site chrome  (single source of truth)
   Linked on every page AFTER its inline <style> so these rules are
   authoritative. Edit the nav / header / mobile menu HERE and it updates
   across the whole site — no more per-page drift.
   ========================================================================== */

:root {
  --green: #1a6b3a;
  --green-light: #2d8f52;
  --green-pale: #e8f5ed;
  --gold: #c9a84c;
  --gold-light: #e2c06b;
  --dark: #0d1f14;
  --text: #1a2b1f;
  --muted: #5a7060;
  --border: #e0ebe5;
  --white: #fff;
  --radius: 12px;
}

/* ── Top navigation ───────────────────────────────────────────────────────── */
/* NOTE: positioning (fixed/sticky/static) is intentionally left to each page —
   content pages use fixed, profile uses sticky, auth uses static. This rule
   standardizes only the *appearance* so the bar looks identical everywhere. */
nav {
  background: rgba(13, 31, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* Sign-in / account button */
.nav-user-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--dark);
  font-size: 0.82rem; font-weight: 600;
  padding: 0.45rem 1.1rem; border-radius: 6px;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s; text-decoration: none;
}
.nav-user-btn:hover { opacity: 0.88; }
.nav-user-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--dark); color: var(--gold);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger (shown on all sizes to match homepage) */
.hamburger {
  display: flex; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none; margin-left: 1rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255, 255, 255, 0.8); border-radius: 2px; transition: all 0.3s;
}

/* Slide-down mobile / overflow menu */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(13, 31, 20, 0.98); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 5%; flex-direction: column; gap: 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: block;
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── Responsive header ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 4%; height: 60px; }
  .nav-links { display: none; }
  .mobile-menu { top: 60px; }
}

/* ===== PRE-LAUNCH MUTE — Players & Betting tabs (DataGolf license pending) =====
   To re-enable these tabs across the whole site, delete this block. */
a[href="players.html"],
a[href="betting.html"],
li:has(> a[href="players.html"]),
li:has(> a[href="betting.html"]) { display: none !important; }
#betting { display: none !important; } /* homepage betting promo section */
/* ===== END PRE-LAUNCH MUTE ===== */
