:root {
  --navy: #031f3e;
  --blue: #064d86;
  --sky: #238ef0;
  --gold: #c99a38;
  --gold-light: #f2c86b;
  --ink: #06172c;
  --muted: #67809a;
  --surface: #ffffff;
  --line: #d8e2ec;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--navy);
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(3, 31, 62, 0.04), rgba(3, 31, 62, 0.12)),
    #f3f6f9;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: linear-gradient(230deg, rgba(10, 84, 137, 0.96), rgba(3, 31, 62, 0.98));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 205px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.96))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.82))
    drop-shadow(1px 0 0 rgba(255, 255, 255, 0.82))
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.82))
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.42));
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links span {
  padding: 30px 6px;
  border-bottom: 3px solid transparent;
}

.nav-links span:hover {
  border-color: var(--gold-light);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  background: var(--gold);
  color: #071d35;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--gold-light);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: 118px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
  color: #ffffff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("imgs/logo.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 19, 39, 0.92) 0%, rgba(2, 19, 39, 0.78) 45%, rgba(2, 19, 39, 0.48) 100%),
    linear-gradient(180deg, rgba(3, 31, 62, 0.16), rgba(3, 31, 62, 0.94));
}

.hero-content,
.race-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-left: 4px solid var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 6.2vw, 5.35rem);
  line-height: 0.96;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: #eaf3fb;
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  line-height: 1.65;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
}

.race-panel {
  align-self: end;
  margin-bottom: clamp(0px, 4vh, 46px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.36);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(230deg, var(--blue), var(--navy));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--gold-light);
}

.pick-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.pick-row:last-child {
  border-bottom: 0;
}

.top-pick {
  background: #eef6ff;
}

.track {
  display: inline-flex;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.pick-row strong,
.pick-row small {
  display: block;
}

.pick-row strong {
  color: var(--navy);
  font-size: 1rem;
  text-transform: uppercase;
}

.pick-row small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.odds {
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 800;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 5px solid var(--gold);
}

.feature-strip article {
  min-height: 190px;
  padding: clamp(22px, 4vw, 42px);
  background: #ffffff;
}

.feature-kicker {
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-strip h2 {
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  text-transform: uppercase;
}

.feature-strip p {
  margin: 0;
  color: #435b73;
  line-height: 1.6;
  font-weight: 600;
}

.brand-band {
  padding: clamp(18px, 4vw, 42px);
  background: var(--navy);
}

.brand-band img {
  display: block;
  width: min(100%, 1360px);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 68px;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 10px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 108px;
  }

  .race-panel {
    align-self: auto;
    width: min(100%, 620px);
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand {
    width: min(235px, 76vw);
  }

  .hero {
    min-height: auto;
    padding: 106px 16px 34px;
  }

  .hero-bg {
    background-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 19, 39, 0.72), rgba(2, 19, 39, 0.96)),
      linear-gradient(90deg, rgba(2, 19, 39, 0.82), rgba(2, 19, 39, 0.58));
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
  }

  .hero-copy {
    line-height: 1.55;
  }

  .race-panel {
    display: none;
  }

  .primary-button,
  .status-pill {
    width: 100%;
  }

  .pick-row {
    grid-template-columns: 64px 1fr;
  }

  .odds {
    grid-column: 2;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }
}
