/* PODS Tailgate — site styles */

:root {
  --cardinal: #9d2235;
  --cardinal-dark: #7a1a29;
  --ink: #17150f;
  --cream: #f7f3ea;
  --paper: #ffffff;
  --muted: #6b6459;
  --line: rgba(23, 21, 15, 0.14);
  --gold: #c8a35a;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(23, 21, 15, 0.45);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Comic Sans MS", cursive;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* keep anchor targets clear of the sticky header */
.section,
.thisweek,
.gallery-group,
#home-photos {
  scroll-margin-top: 150px;
}

/* keyboard focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cardinal);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible,
.gamecard__top :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--gold);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
}

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

a {
  color: var(--cardinal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.wrap {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.section {
  padding: 68px 0;
}

.section--tight {
  padding: 44px 0;
}

.section--flush-top {
  padding-top: 0;
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__title {
  font-size: clamp(28px, 4.4vw, 46px);
  margin-bottom: 28px;
  text-align: center;
}

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--gold);
}

.section__title span {
  color: var(--cardinal);
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--cardinal);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--cardinal);
  background: var(--cardinal);
  color: #fff;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: var(--cardinal-dark);
  border-color: var(--cardinal-dark);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  color: var(--cardinal);
}

.btn--ghost:hover {
  background: var(--cardinal);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--cardinal);
  border-color: #fff;
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--ghost-light:hover {
  background: #fff;
  color: var(--cardinal);
  border-color: #fff;
}

.pill {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cardinal);
  color: #fff;
}

.pill--gold {
  background: var(--gold);
  color: var(--ink);
}

/* announcement bar */
.announce {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
}

.announce::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  animation: announce-pulse 1.8s ease-in-out infinite;
}

.announce:empty {
  display: none;
}

@keyframes announce-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce::before {
    animation: none;
  }
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cardinal);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 112px;
  width: auto;
}

.header-quote {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.05;
  color: var(--gold);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav a {
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: none;
  border-bottom-color: var(--gold);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  margin-right: -8px;
  border-radius: 8px;
}

/* hero */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 90px 22px 100px;
  background:
    linear-gradient(rgba(23, 21, 15, 0.62), rgba(122, 26, 41, 0.82)),
    url("../img/hog-pattern.jpg") center / cover no-repeat;
}

.hero .eyebrow {
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: clamp(38px, 7vw, 84px);
  margin: 14px 0 16px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero p {
  font-size: clamp(17px, 2.2vw, 22px);
  max-width: 640px;
  margin: 0 auto 28px;
  font-weight: 500;
}

.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

body.has-feature .hero {
  padding: 56px 22px 150px;
}

/* this-week card */
.thisweek {
  margin-top: -68px;
  position: relative;
  z-index: 5;
}

body.has-feature .thisweek {
  margin-top: -118px;
}

#feature:empty {
  display: none;
}

.feature {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  text-align: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature__bar {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
}

.feature__body {
  padding: 22px 22px 28px;
}

.feature__name {
  font-family: var(--font-script);
  font-size: clamp(48px, 9vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 16px;
  text-transform: none;
  letter-spacing: 0;
}

.feature__text {
  max-width: 540px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
}

@media (max-width: 620px) {
  body.has-feature .hero {
    padding: 40px 18px 130px;
  }

  body.has-feature .thisweek {
    margin-top: -96px;
  }

  .feature__name {
    font-size: clamp(40px, 12vw, 56px);
  }

  .feature__text {
    font-size: 16px;
  }
}

.gamecard {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}

.gamecard__top {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.gamecard__top span:first-child {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .gamecard__top {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

.gamecard__body {
  padding: 28px 24px 30px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.gamecard__matchup {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.6vw, 40px);
  text-transform: uppercase;
  line-height: 1.05;
}

.gamecard__matchup em {
  color: var(--cardinal);
  font-style: normal;
}

.gamecard__menu {
  font-size: 18px;
  font-weight: 600;
}

.gamecard__menu span {
  color: var(--muted);
  font-weight: 500;
}

.gamecard__preview {
  color: var(--muted);
  max-width: 620px;
  margin: 10px auto 4px;
  text-align: left;
}

.gamecard__preview p + p {
  margin-top: 12px;
}

.gamecard__preview p:first-child {
  text-align: center;
  font-weight: 700;
  font-size: 1.05em;
  color: var(--ink);
}

.gamecard__body .btn {
  margin-top: 14px;
  justify-self: center;
}

.gamecard__body .pill {
  justify-self: center;
  margin-bottom: 6px;
}

.gamecard__body .video-wrap {
  margin-top: 20px;
}

/* stacked, centered card column (Find Our Tailgate) */
.logistics-stack {
  display: grid;
  gap: 20px;
  max-width: 620px;
  margin-inline: auto;
}

.logistics-stack .card {
  text-align: center;
}

.logistics-stack .card img {
  margin-inline: auto;
  width: min(420px, 100%);
}

.home-photos__head {
  margin-bottom: 8px;
}

.home-photos__more {
  margin-top: 22px;
  text-align: center;
}

.photo-rail-wrap {
  position: relative;
}

.photo-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 22px;
  -webkit-overflow-scrolling: touch;
  padding: 6px 22px 18px;
  scrollbar-width: thin;
}

.photo-rail__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: min(220px, 58vw);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
}

.photo-rail__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-rail__item:hover {
  text-decoration: none;
}

.photo-rail__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--cardinal);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.photo-rail__nav--prev {
  left: 10px;
}

.photo-rail__nav--next {
  right: 10px;
}

@media (max-width: 760px) {
  .photo-rail__nav {
    display: none;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px -24px rgba(23, 21, 15, 0.5);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card img {
  border-radius: 10px;
  margin-top: 14px;
}

.muted {
  color: var(--muted);
}

.stack > * + * {
  margin-top: 14px;
}

/* schedule */
.schedule-list {
  display: grid;
  gap: 14px;
}

.game-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}

.game-row--next {
  border-color: var(--cardinal);
  box-shadow: 0 0 0 2px rgba(157, 34, 53, 0.18);
}

.game-row--past {
  opacity: 0.72;
}

.game-row__tag .pill {
  margin-bottom: 2px;
}

.game-row__date {
  font-family: var(--font-display);
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}

.game-row__date b {
  display: block;
  font-size: 24px;
  color: var(--cardinal);
}

.game-row__date span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.game-row__main b {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  display: block;
}

.game-row__main span {
  color: var(--muted);
  font-size: 15px;
}

.game-row__tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: right;
}

.game-row__tag a {
  display: inline-block;
  margin-top: 4px;
}

/* faq */
.faq {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-inline: auto;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px 0;
  text-align: center;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--cardinal);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details > p,
.faq details > img {
  padding-bottom: 18px;
}

.faq details > p {
  max-width: 560px;
  margin-inline: auto;
}

.faq details > img {
  border-radius: 10px;
  width: min(360px, 100%);
  margin-inline: auto;
}

/* sponsor bar (site-wide, sits under the header) */
.sponsorbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px;
}

.sponsorbar__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.sponsorbar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 48px;
}

.sponsorbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sponsorbar__logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.15s ease;
}

.sponsorbar__logo-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.sponsorbar__logos img {
  height: 64px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}

.sponsorbar__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.sponsorbar__ig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.sponsorbar__ig:hover {
  color: var(--cardinal);
  text-decoration: none;
}

.sponsorbar__ig-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .sponsorbar__logos {
    gap: 18px 28px;
  }

  .sponsorbar__logos img {
    height: 48px;
    max-width: 150px;
  }

  .sponsorbar__name {
    font-size: 18px;
  }

  .sponsorbar__ig {
    font-size: 10.5px;
    gap: 4px;
  }

  .sponsorbar__ig-icon {
    width: 12px;
    height: 12px;
  }
}

/* video + award */

.video-wrap {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.venmo-qr {
  width: min(170px, 55%);
  margin: 18px auto 0;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  border: 1px solid var(--line);
}

/* support section: badge beside the "Want to Chip In?" content */
.support-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.support-main {
  max-width: 560px;
}

.support-badge {
  flex-shrink: 0;
  width: 150px;
}

.support-badge img {
  width: 150px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.support-badge figcaption {
  margin-top: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--muted);
}

@media (max-width: 620px) {
  .support-badge,
  .support-badge img {
    width: 120px;
  }
}

/* photos / galleries */
.gallery-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.gallery-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.gallery-nav a:hover {
  text-decoration: none;
  background: var(--cardinal);
  color: #fff;
  border-color: var(--cardinal);
}

.gallery-group {
  margin-bottom: 56px;
  text-align: center;
}

.gallery-group h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin-bottom: 6px;
}

.gallery-group .muted {
  margin-bottom: 20px;
}

.gallery-group .gallery {
  text-align: left;
}

.gallery {
  columns: 4;
  column-gap: 12px;
}

.gallery img {
  width: 100%;
  margin: 0 0 12px;
  border-radius: 8px;
  break-inside: avoid;
  cursor: zoom-in;
  background: rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery img:hover,
.gallery img:focus-visible {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

/* fan album upload */
.album-drop {
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 28px 22px 22px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
}

.album-drop.is-drag {
  border-color: var(--gold);
  background: #fff8e8;
}

.album-drop.is-busy {
  opacity: 0.7;
  pointer-events: none;
}

.album-drop.is-pending {
  background: rgba(255, 255, 255, 0.55);
}

.album-drop__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 20px;
  margin-bottom: 4px;
}

.album-drop__hint {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.album-drop__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.album-filebtn {
  position: relative;
  display: inline-flex;
}

.album-filebtn__input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.album-filebtn .btn {
  pointer-events: none;
}

.album-filebtn.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.album-drop__meta {
  color: var(--muted);
  font-size: 13px;
}

.album-stage {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.album-stage[hidden] {
  display: none;
}

.album-stage__previews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.album-stage__previews img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
}

.album-stage__go {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.album-stage #album-send {
  min-width: 220px;
  padding: 14px 28px;
  font-size: 16px;
}

.album-status {
  text-align: center;
  margin: -8px auto 20px;
  max-width: 640px;
  font-weight: 600;
}

.album-status.is-ok {
  color: var(--cardinal);
}

.album-status.is-err {
  color: var(--cardinal-dark);
}

.album-queue {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -8px auto 22px;
  max-width: 720px;
}

.album-chip {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

.album-chip.is-ok {
  border-color: var(--gold);
  color: var(--ink);
}

.album-chip.is-err {
  border-color: var(--cardinal);
  color: var(--cardinal);
}

.album-empty {
  text-align: center;
  padding: 8px 0 12px;
}

.album-count {
  display: inline-block;
  margin-left: 6px;
  font-weight: 600;
  color: var(--ink);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 9, 0.92);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  padding: 12px;
}

.lightbox__close {
  top: 6px;
  right: 10px;
}

.lightbox__prev {
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

/* page hero (interior) */
.page-hero {
  background:
    linear-gradient(rgba(23, 21, 15, 0.55), rgba(122, 26, 41, 0.86)),
    url("../img/hog-pattern.jpg") center / cover no-repeat;
  color: #fff;
  padding: 54px 22px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.page-hero p {
  max-width: 620px;
  margin: 10px auto 0;
  font-weight: 500;
}

.page-hero .btn {
  margin-top: 18px;
}

/* footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 44px 0 40px;
}

.site-footer h3 {
  font-size: 22px;
  color: var(--gold);
}

.site-footer p {
  font-size: 14px;
  margin-top: 6px;
  color: rgba(247, 243, 234, 0.75);
}

.site-footer nav {
  margin: 16px 0 10px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: var(--cream);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.06em;
}

/* responsive */
@media (max-width: 900px) {
  .gallery {
    columns: 3;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .brand img {
    height: 90px;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 12px;
  }

  .nav.open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .gallery {
    columns: 2;
  }

  .game-row {
    grid-template-columns: 72px 1fr;
  }

  .game-row__tag {
    grid-column: 2;
    text-align: left;
  }

  .section {
    padding: 48px 0;
  }

  .section--tight {
    padding: 34px 0;
  }
}

@media (max-width: 460px) {
  .gallery {
    columns: 1;
  }
}

/* ---------- feature: event list (used by special editions) ---------- */
.feature__events {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 22px auto 0;
}

.feature__events li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 14px 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 4px;
}

.feature__events b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  color: var(--gold);
}

.feature__events span {
  font-size: 15.5px;
  color: var(--cream);
}

/* =========================================================
   HALLOWEEN EDITION
   Switched on by an "edition": { "theme": "halloween" } on the
   next game in data/schedule.json. Turns off by itself after.
   ========================================================= */
body.theme-halloween {
  --cardinal: #d9581a;
  --cardinal-dark: #a8410f;
  --gold: #ff9f1c;
  --ink: #15101b;
  --purple: #4c206e;
  --font-spooky: "Creepster", var(--font-display);
}

body.theme-halloween .site-header {
  background: var(--ink);
  border-bottom-color: var(--cardinal);
}

body.theme-halloween .announce {
  background: var(--purple);
}

body.theme-halloween .hero,
body.theme-halloween .page-hero {
  background:
    linear-gradient(rgba(21, 16, 27, 0.78), rgba(76, 32, 110, 0.9)),
    url("../img/hog-pattern.jpg") center / cover no-repeat;
}

body.theme-halloween .hero {
  overflow: hidden;
}

body.theme-halloween .hero h1,
body.theme-halloween .page-hero h1 {
  font-family: var(--font-spooky);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(255, 120, 20, 0.45), 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* little bat flock drifting across the hero */
body.theme-halloween .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  background-repeat: no-repeat;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath fill='%23000' d='M20 6c1-2 2-3 3-3l1 2c2-3 6-4 9-2 2 1 4 4 7 4-3 1-5 3-6 6-2-2-5-2-7 0-1-2-3-2-4-1l-3 4-3-4c-1-1-3-1-4 1-2-2-5-2-7 0-1-3-3-5-6-6 3 0 5-3 7-4 3-2 7-1 9 2l1-2c1 0 2 1 3 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath fill='%23000' d='M20 6c1-2 2-3 3-3l1 2c2-3 6-4 9-2 2 1 4 4 7 4-3 1-5 3-6 6-2-2-5-2-7 0-1-2-3-2-4-1l-3 4-3-4c-1-1-3-1-4 1-2-2-5-2-7 0-1-3-3-5-6-6 3 0 5-3 7-4 3-2 7-1 9 2l1-2c1 0 2 1 3 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath fill='%23000' d='M20 6c1-2 2-3 3-3l1 2c2-3 6-4 9-2 2 1 4 4 7 4-3 1-5 3-6 6-2-2-5-2-7 0-1-2-3-2-4-1l-3 4-3-4c-1-1-3-1-4 1-2-2-5-2-7 0-1-3-3-5-6-6 3 0 5-3 7-4 3-2 7-1 9 2l1-2c1 0 2 1 3 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath fill='%23000' d='M20 6c1-2 2-3 3-3l1 2c2-3 6-4 9-2 2 1 4 4 7 4-3 1-5 3-6 6-2-2-5-2-7 0-1-2-3-2-4-1l-3 4-3-4c-1-1-3-1-4 1-2-2-5-2-7 0-1-3-3-5-6-6 3 0 5-3 7-4 3-2 7-1 9 2l1-2c1 0 2 1 3 3z'/%3E%3C/svg%3E");
  background-size: 64px 32px, 40px 20px, 52px 26px, 30px 15px;
  background-position: 8% 18%, 22% 34%, 86% 14%, 74% 30%;
  animation: bats-drift 7s ease-in-out infinite alternate;
}

/* glowing harvest moon behind the headline */
body.theme-halloween .hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 6%;
  top: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ffd28a, #ff9f1c 55%, rgba(255, 159, 28, 0) 72%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

body.theme-halloween .hero > * {
  position: relative;
  z-index: 1;
}

@keyframes bats-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(18px, -10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-halloween .hero::before {
    animation: none;
  }
}

@media (max-width: 620px) {
  body.theme-halloween .hero::after {
    width: 130px;
    height: 130px;
    right: -20px;
    top: 10px;
  }
}

body.theme-halloween .feature {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 159, 28, 0.16), transparent 60%),
    var(--ink);
  border-color: var(--cardinal);
}

body.theme-halloween .feature__bar {
  background: linear-gradient(90deg, var(--cardinal), var(--gold));
  color: var(--ink);
}

body.theme-halloween .feature__name {
  color: #f4e9d8;
  text-shadow: 0 2px 14px rgba(255, 159, 28, 0.22);
}

body.theme-halloween .gamecard__top {
  background: var(--purple);
}

body.theme-halloween .site-footer {
  background: var(--ink);
}
