:root {
  --bg: #07130f;
  --panel: #10251c;
  --panel-2: #163528;
  --cream: #f7ead1;
  --muted: #c9b995;
  --gold: #d9a73a;
  --gold-2: #f4cf73;
  --green: #244f39;
  --line: rgba(244, 207, 115, .22);
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% -10%, rgba(217, 167, 58, .24), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(36, 79, 57, .72), transparent 34rem),
    linear-gradient(180deg, #07130f, #0a1712 42%, #050b09);
  min-height: 100vh;
}
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(7, 19, 15, .78);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: .02em; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { color: var(--gold-2); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.nav-links a { padding: 10px 12px; border-radius: 999px; color: var(--muted); font-weight: 800; }
.nav-links a.active, .nav-links a:hover { background: rgba(217,167,58,.14); color: var(--cream); }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: clamp(42px, 7vw, 92px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; font-weight: 950; letter-spacing: .12em; }
h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: .88; margin: 0 0 20px; letter-spacing: -.06em; }
.lede { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; max-width: 760px; }
.logo-card, .card, .panel {
  background: linear-gradient(145deg, rgba(22,53,40,.94), rgba(8,22,17,.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.logo-card { padding: 28px; }
.hero-logo { filter: drop-shadow(0 22px 35px rgba(0,0,0,.45)); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px; font-weight: 950; background: var(--gold); color: #151006; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.button.secondary { background: transparent; color: var(--cream); }
.button:hover { transform: translateY(-1px); }

.draft-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin: 10px auto 18px;
  padding: clamp(22px, 5vw, 34px);
  background: linear-gradient(145deg, rgba(217,167,58,.22), rgba(22,53,40,.92));
  border: 1px solid rgba(244,207,115,.42);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.draft-banner > div:first-child { width: min(100%, 820px); margin: 0 auto; display: grid; justify-items: center; }
.draft-banner h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: .95; margin: 8px auto 10px; color: var(--gold-2); text-align: center; }
.draft-banner p { color: var(--cream); line-height: 1.5; margin: 0 auto; max-width: 760px; text-align: center; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(74px, 1fr)); gap: 8px; justify-self: center; width: min(100%, 560px); }
.countdown div { text-align: center; padding: clamp(12px, 3vw, 16px) 8px; border-radius: 18px; background: rgba(0,0,0,.24); border: 1px solid var(--line); }
.countdown strong { display: block; font-size: clamp(1.7rem, 4vw, 2.7rem); color: var(--cream); line-height: 1; }
.countdown span { color: var(--muted); font-size: .78rem; font-weight: 950; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 44px; }
.stat { padding: 20px; border-radius: 24px; background: rgba(255,255,255,.055); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; color: var(--gold-2); }
.stat span { color: var(--muted); font-weight: 800; }

.section { padding: 34px 0; }
.section h2 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: .95; margin: 0 0 16px; letter-spacing: -.04em; }
.section-intro { color: var(--muted); max-width: 780px; line-height: 1.55; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.two-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.card, .panel { padding: 22px; }
.card h3, .panel h3 { color: var(--gold-2); margin: 0 0 10px; font-size: 1.3rem; }
.card p, .card li, .panel p, .panel li { color: var(--muted); line-height: 1.5; }
.card ul, .panel ul { padding-left: 20px; }
.badge { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-2); padding: 6px 10px; font-size: .85rem; font-weight: 950; margin-bottom: 12px; }

.page-title { padding: 48px 0 20px; }
.page-title h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.rules-nav { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 20px; }
.rules-nav a { white-space: nowrap; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; font-weight: 800; }
.rules-list { display: grid; gap: 18px; padding-bottom: 50px; }
.rule-section { scroll-margin-top: 96px; }
.rule-section h2 { color: var(--gold-2); }

.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0 52px; }
.member-card { position: relative; overflow: hidden; }
.avatar-row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.headshot-placeholder { text-align: center; }
.headshot-placeholder small { display: block; color: var(--muted); font-size: .78rem; font-weight: 900; max-width: 86px; line-height: 1.15; }
.avatar { width: 70px; height: 70px; border-radius: 20px; background: linear-gradient(145deg, var(--gold), #6d4314); color: #130f07; display: grid; place-items: center; font-size: 1.45rem; font-weight: 950; margin: 0 auto 7px; border: 1px solid rgba(255,255,255,.18); }
.photo-button { appearance: none; border: 0; background: transparent; padding: 0; margin: 0 auto; display: block; cursor: zoom-in; border-radius: 22px; }
.photo-avatar { object-fit: cover; object-position: center; background: var(--panel); transition: transform .18s ease, box-shadow .18s ease; }
.photo-button:hover .photo-avatar, .photo-button:focus-visible .photo-avatar { transform: scale(1.07); box-shadow: 0 12px 28px rgba(0,0,0,.38); outline: 2px solid var(--gold-2); outline-offset: 3px; }
.team-photo-wrap small { max-width: 150px; }
.team-photo { width: 150px; height: 92px; border-radius: 22px; }
.co-manager { border-color: rgba(244, 207, 115, .42); }
.photo-lightbox { position: fixed; inset: 0; z-index: 999; display: none; place-items: center; padding: 22px; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.photo-lightbox.visible { display: grid; }
.photo-lightbox figure { margin: 0; width: min(940px, 96vw); max-height: 92vh; display: grid; gap: 12px; justify-items: center; }
.photo-lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.7); border: 1px solid var(--line); background: #050b09; }
.photo-lightbox figcaption { color: var(--cream); font-weight: 950; text-align: center; }
.lightbox-close { position: fixed; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: rgba(16,37,28,.92); color: var(--cream); font-size: 2rem; line-height: 1; cursor: pointer; }
.badge-soft { background: rgba(255,255,255,.06); color: var(--muted); margin-left: 6px; }
.sisters-note.in-grid { grid-column: 1 / -1; margin: 12px 0 0; background: linear-gradient(145deg, rgba(217,167,58,.18), rgba(22,53,40,.95)); }
.sisters-note.in-grid h3 { font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1; }
.contact-box { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-box.visible { display: block; }
.locked-note { color: var(--muted); font-size: .95rem; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: var(--cream);
  padding: 13px 14px;
  font: inherit;
}
input::placeholder, textarea::placeholder { color: rgba(247,234,209,.55); }
.form-row input { flex: 1 1 210px; }
.notice { color: var(--muted); font-weight: 800; }
.notice.error { color: #ffb0a5; }

.lineup-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 22px; }
.position-card { min-height: 92px; border-radius: 22px; display: grid; place-items: center; text-align: center; font-size: 1.35rem; font-weight: 950; border: 1px solid var(--line); box-shadow: var(--shadow); color: #130f07; }
.position-card.qb { background: linear-gradient(145deg, #f4cf73, #d9a73a); }
.position-card.rb { background: linear-gradient(145deg, #9dd69e, #4f9b55); }
.position-card.wr { background: linear-gradient(145deg, #8fc8ff, #397fbf); }
.position-card.te { background: linear-gradient(145deg, #d7a5ff, #8751bd); }
.position-card.flex { background: linear-gradient(145deg, #f0b36f, #c86f25); }
.position-card.superflex { background: linear-gradient(145deg, #fff0a8, #c48a18); grid-column: span 2; }
.taxi-panel { background: linear-gradient(145deg, rgba(217,167,58,.18), rgba(22,53,40,.95)); }
.roster-stats { margin-top: 22px; }
.message-list { display: grid; gap: 14px; margin-top: 22px; }
.message-card { border-left: 4px solid var(--gold); }
.message-meta { color: var(--gold-2); font-weight: 950; margin-bottom: 8px; }
textarea { min-height: 130px; resize: vertical; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 30px 0; margin-top: 34px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-grid, .two-grid, .draft-banner { grid-template-columns: 1fr; }
  .draft-banner { width: min(100%, calc(100vw - 32px)); }
  .grid, .member-grid, .stats, .lineup-grid { grid-template-columns: 1fr; }
  .position-card.superflex { grid-column: auto; }
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .nav { align-items: center; flex-direction: column; text-align: center; }
  .nav-links { justify-content: center; }
}
