:root {
  --black: #100b14;
  --ink: #201727;
  --white: #ffffff;
  --pink: #ff4fb8;
  --hot-pink: #ff1f9f;
  --purple: #8c3dff;
  --lilac: #f2e8ff;
  --blush: #fff0fa;
  --gold: #ffd166;
  --line: rgba(32, 23, 39, 0.14);
  --shadow: 0 18px 45px rgba(29, 8, 38, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 79, 184, 0.22), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(140, 61, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #fff7fc 0%, #ffffff 38%, #fbf6ff 100%);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88svh;
  padding: 22px 18px 34px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(16, 11, 20, 0.9) 0%, rgba(32, 15, 44, 0.8) 45%, rgba(255, 31, 159, 0.55) 100%),
    var(--black);
  isolation: isolate;
}

.sparkle-field::before,
.sparkle-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255, 209, 102, 0.75) 0 1px, transparent 2px);
  background-position: 18px 26px, 72px 94px;
  background-size: 96px 96px, 132px 132px;
  opacity: 0.32;
}

.sparkle-field::after {
  transform: rotate(11deg) scale(1.12);
  opacity: 0.2;
}

.hero-photo-wrap {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto 24px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hero-photo-wrap::after {
  content: "Nationals Bound";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--black);
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--hot-pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: 2.6rem;
  text-wrap: balance;
}

h2 {
  font-size: 1.8rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.05rem;
}

.subtitle {
  margin: 14px auto 24px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
}

.trip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), #fff2b8);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
  font-weight: 900;
}

.primary-button,
.sponsor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  box-shadow: 0 12px 24px rgba(255, 31, 159, 0.28);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  padding: 12px 18px;
}

.top-cta {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 28px));
  margin: -22px auto 0;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  box-shadow: var(--shadow);
  text-align: center;
}

.top-cta p {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: rgba(32, 23, 39, 0.76);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item,
.progress-panel,
.share-box,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.timeline-item {
  position: relative;
  padding: 18px 18px 18px 54px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 22px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--hot-pink);
  box-shadow: 0 0 0 2px var(--purple);
}

.timeline-date {
  display: block;
  margin-bottom: 5px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item p {
  margin: 8px 0 0;
  color: rgba(32, 23, 39, 0.72);
}

.special-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 79, 184, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 240, 250, 0.96), rgba(242, 232, 255, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.special-panel::after {
  content: "\266A  \2605  \266A";
  position: absolute;
  right: 16px;
  bottom: 10px;
  color: rgba(140, 61, 255, 0.16);
  font-size: 3rem;
  font-weight: 900;
}

.special-panel p:last-child {
  position: relative;
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(32, 23, 39, 0.78);
  font-size: 1.03rem;
  font-weight: 700;
}

.journey-section {
  padding-top: 18px;
}

.journey-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 82%);
  gap: 14px;
  margin: 0 -16px;
  padding: 4px 16px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.gallery-card {
  position: relative;
  display: block;
  min-height: 340px;
  padding: 0;
  border: 8px solid var(--white);
  border-bottom-width: 52px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(29, 8, 38, 0.16);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: center;
  transform: rotate(-1.5deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:nth-child(2) {
  transform: rotate(1.2deg);
}

.gallery-card:nth-child(3) {
  transform: rotate(-0.8deg);
}

.gallery-card:nth-child(4) {
  transform: rotate(1.6deg);
}

.gallery-card:hover {
  box-shadow: 0 24px 44px rgba(255, 31, 159, 0.22);
  transform: translateY(-3px) rotate(0deg);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center top;
}

.gallery-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -43px;
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16, 11, 20, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(920px, 100%);
  margin: 0;
  padding: 10px 10px 16px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.lightbox-frame img {
  width: 100%;
  max-height: 76svh;
  border-radius: 6px;
  object-fit: contain;
  background: var(--black);
}

.lightbox-frame figcaption {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 11, 20, 0.78);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.progress-panel {
  padding: 18px;
}

.progress-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  font-weight: 900;
}

.progress-track {
  height: 18px;
  padding: 3px;
  border-radius: 999px;
  background: #23122d;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot-pink), var(--gold), var(--purple));
  transition: width 400ms ease;
}

.progress-note {
  margin: 10px 0 0;
  color: rgba(32, 23, 39, 0.7);
  font-weight: 700;
}

.route-board {
  --journey-progress: 0%;
  position: relative;
  overflow: hidden;
  padding: 18px 12px 22px;
  border: 1px solid rgba(32, 23, 39, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 48%, transparent 48% 52%, rgba(255, 255, 255, 0.9) 52%),
    linear-gradient(180deg, #fff8fc, #f4ecff);
  box-shadow: var(--shadow);
}

.route-board::before {
  content: "";
  position: absolute;
  top: 158px;
  bottom: 24px;
  left: 50%;
  width: 16px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(180deg, transparent 0 16px, rgba(255, 255, 255, 0.95) 16px 30px),
    #211327;
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px rgba(33, 19, 39, 0.08);
}

.journey-tracker {
  position: relative;
  z-index: 1;
  padding: 18px 14px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(32, 23, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(29, 8, 38, 0.08);
}

.journey-tracker h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1rem;
  text-align: center;
}

.tracker-road {
  position: relative;
  height: 18px;
  margin: 0 12px 18px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 255, 255, 0.95) 20px 36px),
    #211327;
  box-shadow: 0 0 0 5px rgba(33, 19, 39, 0.08);
}

.tracker-car {
  position: absolute;
  left: clamp(0%, var(--journey-progress), 100%);
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 10px 18px rgba(32, 23, 39, 0.22);
  transform: translate(-50%, -50%);
  transition: left 400ms ease;
}

.tracker-milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tracker-milestones span {
  display: grid;
  gap: 4px;
  justify-items: center;
  color: rgba(32, 23, 39, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.tracker-milestones strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(32, 23, 39, 0.08);
  font-size: 1.15rem;
}

.milestone-birthday strong {
  background: rgba(255, 79, 184, 0.16);
}

.milestone-road strong {
  background: rgba(43, 127, 255, 0.16);
}

.milestone-wolf strong {
  background: rgba(255, 209, 102, 0.28);
}

.milestone-nationals strong {
  background: rgba(140, 61, 255, 0.16);
}

.sponsor-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.sponsor-card {
  --accent: var(--purple);
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  min-height: 214px;
  padding: 18px;
  border: 1px solid rgba(32, 23, 39, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 245, 0.98));
  border-top: 3px solid var(--accent);
  box-shadow: 0 16px 32px rgba(29, 8, 38, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sponsor-card.accent-birthday {
  --accent: var(--hot-pink);
}

.sponsor-card.accent-road {
  --accent: #2b7fff;
}

.sponsor-card.accent-wolf {
  --accent: var(--gold);
}

.sponsor-card.accent-prep,
.sponsor-card.accent-nationals {
  --accent: var(--purple);
}

.sponsor-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--hot-pink);
  box-shadow: 0 0 0 3px var(--black);
  transform: translateX(-50%);
}

.sponsor-card.is-available:hover {
  border-color: rgba(140, 61, 255, 0.34);
  box-shadow: 0 20px 38px rgba(81, 41, 125, 0.15);
  transform: translateY(-3px);
}

.sponsor-card.is-sponsored {
  background: #f7fbf8;
  border-color: rgba(15, 159, 110, 0.2);
  border-top-color: var(--accent);
  box-shadow: 0 14px 28px rgba(15, 159, 110, 0.08);
}

.sponsor-card.is-pending {
  background: #fff9ef;
  border-color: rgba(216, 132, 36, 0.22);
  border-top-color: var(--accent);
  box-shadow: 0 14px 28px rgba(216, 132, 36, 0.08);
}

.card-top {
  display: grid;
  gap: 12px;
  padding: 34px 78px 0 0;
}

.card-top h3 {
  max-width: 100%;
  font-size: 1.04rem;
  line-height: 1.18;
}

.amount {
  color: var(--ink);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.passport-stamp {
  position: absolute;
  top: 16px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 30px;
  padding: 5px 8px;
  border: 2px solid currentColor;
  border-radius: 4px;
  color: #087554;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(32, 23, 39, 0.08);
  border-radius: 50%;
  background: rgba(140, 61, 255, 0.12);
  box-shadow: 0 8px 16px rgba(29, 8, 38, 0.08);
  font-size: 1rem;
}

.accent-birthday .category-badge {
  background: rgba(255, 79, 184, 0.14);
}

.accent-road .category-badge {
  background: rgba(43, 127, 255, 0.14);
}

.accent-wolf .category-badge {
  background: rgba(255, 209, 102, 0.28);
}

.accent-prep .category-badge,
.accent-nationals .category-badge {
  background: rgba(140, 61, 255, 0.14);
}

.is-sponsored .passport-stamp {
  color: #087554;
}

.is-pending .passport-stamp {
  color: #a45a0b;
  border-style: dashed;
}

.sponsor-name {
  margin: 0;
  color: rgba(32, 23, 39, 0.66);
  font-weight: 700;
}

.is-sponsored .sponsor-name {
  color: #087554;
}

.is-pending .sponsor-name {
  color: #8a4b09;
}

.stop-note {
  margin: -6px 0 0;
  color: rgba(32, 23, 39, 0.6);
  font-size: 0.85rem;
  font-weight: 700;
}

.card-action {
  display: flex;
  align-items: flex-end;
  min-height: 46px;
  margin-top: auto;
}

.sponsor-button {
  width: 100%;
  padding: 10px 14px;
  background: var(--purple);
  box-shadow: 0 10px 22px rgba(140, 61, 255, 0.18);
}

.thank-wall {
  display: grid;
  gap: 10px;
}

.pending-total {
  margin: -4px 0 12px;
  color: var(--purple);
  font-weight: 900;
}

.pending-confirmation {
  margin-top: 28px;
}

.pending-heading {
  margin-bottom: 14px;
}

.pending-wall {
  display: grid;
  gap: 10px;
}

.thank-item,
.pending-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pending-item {
  border-color: rgba(140, 61, 255, 0.28);
  background: rgba(242, 232, 255, 0.82);
}

.thank-item strong,
.pending-item strong {
  display: block;
}

.thank-item span,
.pending-item span {
  color: var(--hot-pink);
  font-weight: 900;
}

.pending-item span {
  color: var(--purple);
}

.empty-state,
.share-box {
  padding: 18px;
}

.empty-state p,
.share-box p {
  margin: 0;
}

.share-box {
  color: rgba(32, 23, 39, 0.8);
  background: var(--blush);
}

.footer {
  padding: 30px 18px 38px;
  color: var(--white);
  background: var(--black);
  text-align: center;
}

.footer p {
  max-width: 720px;
  margin: 0 auto;
  font-weight: 800;
}

@media (min-width: 760px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(380px, 1fr);
    align-items: center;
    gap: 36px;
    min-height: 86svh;
    padding: 42px clamp(28px, 5vw, 72px);
  }

  .hero-photo-wrap {
    margin: 0;
  }

  .hero-copy {
    margin: 0;
    text-align: left;
  }

  .subtitle {
    margin-left: 0;
  }

  .trip-badge {
    margin-left: 0;
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .progress-panel {
    padding: 24px;
  }

  .thank-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .pending-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .special-panel {
    padding: 30px;
  }

  .journey-gallery {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin: 0;
    padding: 4px 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .gallery-card {
    min-height: 420px;
    scroll-snap-align: none;
  }

  .gallery-card img {
    min-height: 420px;
  }

  .route-board {
    padding: 26px;
  }

  .route-board::before {
    top: 188px;
    bottom: 34px;
    left: 50%;
    right: auto;
    width: 18px;
    height: auto;
    background:
      repeating-linear-gradient(180deg, transparent 0 18px, rgba(255, 255, 255, 0.95) 18px 34px),
      #211327;
    transform: translateX(-50%);
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.45rem;
  }
}

@media (min-width: 1040px) {
  .hero-photo {
    aspect-ratio: 5 / 6;
  }

  .sponsor-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 2.8rem;
  }
}
