/* PSSBL Denali Blue Rocks — static team site
   Palette: deep navy / charcoal, bright Blue Rocks blue, clean white */

:root {
  --navy: #0b1f3a;
  --navy-deep: #061428;
  --charcoal: #1d1d1f;
  --blue: #0071e3;
  --blue-bright: #1a8cff;
  --blue-soft: #4aa3ff;
  --blue-muted: #5b9bd5;
  --gold: #f0c14b;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray: #5c6675;
  --gray-light: #e8ecf1;
  --success: #1f8a4c;
  --radius: 1rem;
  --shadow: 0 0.75rem 2rem rgba(6, 20, 40, 0.18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --max: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--white);
  min-width: 320px;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

a:hover { color: var(--blue-bright); }

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* —— Playoff strip —— */
.playoff-strip {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy) 40%, #0e3a6e);
  color: var(--white);
  font-size: 0.95rem;
}

.playoff-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.playoff-strip p {
  margin: 0;
  flex: 1 1 16rem;
  line-height: 1.4;
}

.playoff-strip .sep {
  opacity: 0.55;
  margin: 0 0.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge--win {
  background: var(--gold);
  color: var(--navy-deep);
}

.badge--live {
  background: var(--blue-bright);
  color: var(--white);
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--off-white);
}

.hero__media {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  min-height: 18rem;
  max-height: 28rem;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.15) 0%, rgba(6, 20, 40, 0.55) 100%);
  pointer-events: none;
}

.hero__overlays {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem 1.5rem;
  pointer-events: none;
}

.hero__logo {
  width: min(52vw, 14rem);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
}

.hero__champions {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.hero__copy {
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero__copy h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--navy);
}

.quote {
  margin: 0.25rem 0 0;
  padding: 0;
  border: 0;
}

.quote p {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.55;
}

.quote footer {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
}

.quote cite { font-style: normal; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0.4rem 1rem rgba(0, 113, 227, 0.35);
}

.btn--primary:hover {
  background: var(--blue-bright);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-light);
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn__icon { font-size: 0.9em; opacity: 0.9; }

/* —— Next game card —— */
.next-game {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
  background: var(--white);
}

.next-game__card {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, #0f3d72 100%);
  color: var(--white);
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.next-game__card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(26, 140, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.next-game__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  position: relative;
}

.next-game__gm {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  opacity: 0.85;
}

.next-game__card h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.next-game__meta {
  margin: 0;
  display: grid;
  gap: 1rem;
  position: relative;
}

.next-game__meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin: 0 0 0.2rem;
}

.next-game__meta dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.next-game__tagline {
  position: relative;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* —— Footer —— */
.site-footer__snake {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}

.site-footer__snake a {
  font-size: 1.15rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--blue);
}

.site-footer__snake a:hover { text-decoration: underline; }

.site-footer__bar {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 2.25rem 1.25rem 2rem;
}

.site-footer__motto {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.social {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.social a {
  color: var(--white);
  display: flex;
  padding: 0.35rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

.social a:hover {
  color: var(--blue-soft);
  transform: translateY(-2px);
}

.site-footer__note {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.55;
}

/* —— Desktop split hero —— */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 1fr;
    min-height: min(78vh, 42rem);
  }

  .hero__media {
    min-height: 100%;
  }

  .hero__photo {
    min-height: 100%;
    max-height: none;
    position: absolute;
    inset: 0;
  }

  .hero__copy {
    max-width: none;
    padding: 3rem 3.5rem;
  }

  .next-game__meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .btn, .social a { transition: none; }
}
