/* ============================================================
   SMASHMOUTH PROS — 2026 rebuild
   Comic-book identity, responsive, no jQuery.
   ============================================================ */

:root {
  --font-display: 'Bangers', 'Arial Black', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --red: #d2202a;
  --blue: #1e8fd5;
  --blue-dark: #0f6cab;
  --ink: #141821;
  --paper: #ffffff;
  --bg: #0e1320;
  --gray-bg: #f6f7f9;
  --line: #e3e6ea;
  --muted: #6b7280;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1.6px);
  background-size: 26px 26px;
}

/* ---------------- HERO ---------------- */
.hero {
  text-align: center;
  padding: 56px 20px 46px;
  position: relative;
}
.hero .logo {
  width: min(420px, 82vw);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.55));
}
.hero .tagline {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 34px;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 30px);
  letter-spacing: 2px;
  transform: skewX(-6deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  text-shadow: 2px 2px 0 rgba(0,0,0,.35);
}
.hero .season {
  margin-top: 16px;
  color: #aeb6c4;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------------- PAGE COLUMN ---------------- */
.page {
  max-width: 1000px;
  margin: 0 auto 70px;
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.division-band {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  padding: 12px 48px;
  text-shadow: 2px 2px 0 rgba(0,0,0,.5);
}
.division-band span { color: var(--blue); margin-right: 10px; }

/* ---------------- TEAM SECTIONS ---------------- */
.team {
  border-top: 6px solid var(--team, var(--red));
  scroll-margin-top: 0;
}
.team-inner { padding: 34px 48px 46px; }

/* Big team image band — scrolls by (parallax on desktop) */
.team-banner {
  height: clamp(240px, 44vh, 430px);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: inset 0 14px 22px -14px rgba(0,0,0,.65),
              inset 0 -14px 22px -14px rgba(0,0,0,.65);
}
@media (hover: none), (max-width: 900px) {
  .team-banner { background-attachment: scroll; height: clamp(170px, 30vh, 300px); }
}

/* Old-site 3D team logos (img/teams/*.png) */
.team-head img {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.3));
  flex-shrink: 0;
}

.team-head {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.team-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 0;
  letter-spacing: 1.5px;
  color: var(--ink);
  text-shadow: 2px 2px 0 rgba(0,0,0,.08);
}
.chip {
  background: var(--team, var(--red));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.subhead {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.subhead::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.outlook p {
  font-size: 17px;
  line-height: 1.65;
  margin: 8px 0;
}

.players { list-style: none; margin: 0; padding: 0; }
.players li {
  background: var(--gray-bg);
  border-left: 4px solid var(--team, var(--red));
  border-radius: 8px;
  padding: 10px 14px;
  margin: 8px 0;
  font-size: 15.5px;
  line-height: 1.55;
}
.players li b { font-weight: 800; }
.pos {
  display: inline-block;
  min-width: 34px;
  font-weight: 800;
  font-size: 12px;
  color: var(--team, var(--red));
  letter-spacing: .06em;
}
.stars { color: #e8a007; letter-spacing: 1px; margin-right: 4px; }
.badge-inj {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: 1px;
}
.campnote {
  font-style: italic;
  color: #444;
  background: #fdf6e3;
  border-left: 4px solid #e8a007;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 8px 0;
  font-size: 15px;
}

.recs {
  margin-top: 30px;
}
.recs-banner {
  display: inline-block;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  padding: 7px 22px;
  transform: skewX(-6deg);
  text-shadow: 2px 2px 0 rgba(0,0,0,.3);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.recs p { font-size: 16px; line-height: 1.6; margin: 12px 2px; }

.placeholder {
  border: 2px dashed #cdd3da;
  border-radius: 10px;
  color: var(--muted);
  font-style: italic;
  font-size: 15px;
  padding: 14px 16px;
}

/* ---------------- THE REMOTE (original image + overlay links) ---------------- */
#remote {
  position: fixed;
  left: 18px;
  top: 84px;
  width: 246px;
  height: 405px;
  z-index: 60;
  background: url(../img/website-remote-nfl.png) no-repeat;
  background-size: 246px 405px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.5));
}
#remote.dragging { cursor: grabbing; }
#remote a { position: absolute; display: block; border-radius: 50%; }
#remote a.rhome { left: 51px; top: 41px; width: 37px; height: 37px; }
#remote a.tbtn { width: 34px; height: 34px; }
#remote a.tbtn.active {
  box-shadow: 0 0 0 3px var(--red), 0 0 12px 4px rgba(210,32,42,.55);
}
#remote a:hover { box-shadow: 0 0 0 3px rgba(30,143,213,.85); }
#remote a.tbtn.active:hover {
  box-shadow: 0 0 0 3px var(--red), 0 0 12px 4px rgba(210,32,42,.55);
}

/* ---------------- MOBILE FAB + SHEET ---------------- */
.fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(180deg, var(--red), #9d121b);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 71;
}
.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 72;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 16px 16px 26px;
  transform: translateY(105%);
  transition: transform .28s ease;
  max-height: 72vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0,0,0,.5);
}
.sheet.open { transform: translateY(0); }
.sheet-backdrop.open { display: block; }
.sheet h3 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 24px;
  margin: 4px 6px 12px;
}
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sheet-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 2px;
  border-radius: 10px;
  background: var(--gray-bg);
}
.sheet-grid a.active { background: #fde8e9; outline: 2px solid var(--red); }
.sheet-grid img { width: 40px; height: 40px; object-fit: contain; }

/* ---------------- FOOTER ---------------- */
footer {
  max-width: 1000px;
  margin: 0 auto 60px;
  color: #aeb6c4;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}
footer .links { margin-bottom: 8px; }
footer a { color: var(--blue); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px) {
  .team-inner { padding: 28px 26px 38px; }
  .division-band { padding: 12px 26px; }
}
@media (max-width: 900px) {
  #remote { display: none; }
  .fab { display: flex; }
}
@media (max-width: 560px) {
  .team-inner { padding: 22px 16px 30px; }
  .division-band { padding: 10px 16px; font-size: 22px; }
  .team-head { gap: 14px; }
  .team-head img { width: 84px; }
  .players li { font-size: 15px; }
  .page { border-radius: 0; }
}
