/* PickemNation landing page, matching the design concept (docs/design/landing-concept-preview.png). */
@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@1,800;1,900&family=Barlow+Condensed:wght@700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #071428;
  --blue: #0c203b;
  --card-dark: #10243f;
  --red: #f0474b;
  --red-deep: #d1262e;
  --ink: #0d1c32;
  --muted: #64748b;
  --page: #f4f6fa;
  --line: #e2e8f0;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--navy);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
  border-radius: 6px;
}
.shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  background: #fff;
  padding: 10px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
  transition:
    transform 0.15s,
    background 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn span {
  font-size: 1.3em;
  line-height: 1;
}
.btn-red {
  background: linear-gradient(180deg, #f2484d, var(--red-deep));
  color: #fff;
  border: 1px solid #ff6b70;
  box-shadow: 0 10px 26px #e3262f44;
}
.btn-red:hover {
  background: linear-gradient(180deg, #f55a5e, #c11f27);
}
.btn-outline {
  color: #fff;
  border: 2px solid #ffffffd9;
  background: #0714284d;
}
.btn-outline:hover {
  background: #ffffff14;
}
.btn.small {
  min-height: 44px;
  font-size: 15px;
  padding: 8px 18px;
}
.btn.big {
  font-size: 22px;
  min-height: 58px;
  padding: 14px 48px;
}

/* ------------------------------------------------------------------ Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #071428f2;
  border-bottom: 1px solid #ffffff14;
  backdrop-filter: blur(14px);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  width: 230px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-links > a {
  color: #e6edf7;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
}
.nav-links > a:hover {
  color: #fff;
}
.nav-actions {
  display: flex;
  gap: 14px;
  margin-left: 28px;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #ffffff33;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 28% 18% at 6% 0%, #b8d4ff55, transparent 70%),
    radial-gradient(ellipse 30% 20% at 30% -4%, #8fb6ff33, transparent 70%),
    linear-gradient(180deg, #08162b 0%, #0b2140 55%, #0c2a1d 100%);
  color: #fff;
}
.hero-top {
  position: relative;
}
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  background: url("/landing/assets/hero-stadium.webp") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
}
.hero-top::after {
  /* Grass along the bottom of the hero, under the copy as well as the art. */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: url("/landing/assets/grass.webp") left bottom / auto 100% repeat-x;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 640px;
  padding: 34px 0 66px;
}
.hero h1 {
  margin: 0 0 18px;
  font-family: Barlow, Inter, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 22px #0009;
}
@media (min-width: 981px) {
  .hero h1 {
    white-space: nowrap;
  }
}
.hero h1 em {
  color: var(--red);
  font-style: italic;
}
.hero-copy > p {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: #e9eef6;
  max-width: 500px;
  text-shadow: 0 2px 10px #000a;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-note {
  margin: 16px 0 0 !important;
  font-size: 14px !important;
  color: #c3cfe0 !important;
}
.strip-band {
  background: linear-gradient(180deg, #08172c, #071428);
  border-top: 1px solid #ffffff12;
}
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 20px 0 22px;
}
.strip li {
  display: flex;
  gap: 14px;
  padding: 4px 22px;
  border-left: 1px solid #ffffff2b;
}
.strip li:first-child {
  border-left: 0;
}
.strip svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.strip li:first-child svg {
  fill: #fff;
}
.strip strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.strip span {
  font-size: 13.5px;
  line-height: 1.35;
  color: #c6d2e2;
}

/* ------------------------------------------------------------------ Sections */
.section {
  padding: 34px 0 40px;
}
.light {
  background: var(--page);
  color: var(--ink);
}
.dark {
  background: linear-gradient(180deg, #0a1d36, #08172c);
  color: #fff;
}
.rule-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 6px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  text-align: center;
}
.rule-heading::before,
.rule-heading::after {
  content: "";
  width: 70px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}
.section-sub {
  margin: 0 auto 22px;
  max-width: 760px;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
}
.light .section-sub {
  color: #334155;
}
.dark .section-sub {
  color: #d3dcea;
}

/* Sports */
.sports {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.sports li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px #0d1c3214;
  padding: 16px 8px 14px;
  text-align: center;
}
.sports svg {
  width: 46px;
  height: 46px;
  margin: 0 auto 6px;
}
.sports strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}
.sports span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.35;
  color: #3b475a;
}
.sports .soon svg {
  opacity: 0.55;
}
.sports .soon span {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Pool types */
.formats {
  position: relative;
  padding-bottom: 0;
  background:
    url("/landing/assets/grass.webp") center bottom / auto 62px repeat-x,
    linear-gradient(180deg, #0a1d36, #08172c 80%, #0b1d14);
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.format-grid li {
  background: linear-gradient(180deg, #143052e6, #0d2340e6);
  border: 1px solid #ffffff2e;
  border-radius: 14px;
  padding: 16px 10px 18px;
  text-align: center;
  box-shadow: inset 0 1px 0 #ffffff14;
}
.format-grid svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.format-grid strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
.format-grid span {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  color: #d3dcea;
}
.formats-cta {
  display: flex;
  justify-content: center;
  padding: 22px 0 18px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px #0d1c3214;
}
.steps b {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
}
.steps strong {
  display: block;
  font-size: 19px;
  margin-bottom: 6px;
}
.steps span {
  color: #3b475a;
  line-height: 1.5;
}

/* Commissioner features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feature-grid li {
  border: 1px solid #ffffff26;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 16px 18px;
  background: #0f2644;
}
.feature-grid strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.feature-grid span {
  color: #c9d4e3;
  line-height: 1.45;
}

/* Pricing */
.pricing {
  text-align: center;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px #0d1c3214;
}
.price-card strong {
  display: block;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.price-card .price {
  display: block;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: 40px;
  margin: 4px 0 8px;
  color: var(--ink);
}
.price-card span:last-child {
  color: #3b475a;
  line-height: 1.5;
}

/* ------------------------------------------------------------------ Footer */
.footer {
  background: var(--navy);
  color: #c6d2e2;
  padding: 34px 0 26px;
  border-top: 1px solid #ffffff14;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  width: 200px;
}
.footer-main p {
  margin: 10px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  align-items: center;
}
.footer-links a {
  padding: 10px 0;
  font-weight: 600;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #ffffff14;
  font-size: 13px;
  color: #93a3ba;
}

/* ------------------------------------------------------------------ Smaller screens */
@media (max-width: 1180px) {
  .sports {
    grid-template-columns: repeat(3, 1fr);
  }
  .format-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .strip {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
  }
  .strip li:nth-child(4) {
    border-left: 0;
  }
}
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--navy);
    border-bottom: 1px solid #ffffff1f;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > a {
    padding: 13px 0;
    border-bottom: 1px solid #ffffff14;
  }
  .nav-actions {
    margin: 16px 0 0;
  }
  .nav-actions .btn {
    flex: 1;
  }
  .hero-bg {
    width: 100%;
    opacity: 0.32;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .shell {
    width: calc(100% - 32px);
  }
  .brand {
    width: 180px;
  }
  .hero-bg {
    opacity: 0.32;
    background-position: 62% bottom;
  }
  .hero-copy {
    padding: 36px 0 40px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .strip {
    grid-template-columns: 1fr;
    padding: 6px 0;
  }
  .strip li {
    border-left: 0;
    border-top: 1px solid #ffffff1f;
    padding: 12px 16px;
  }
  .strip li:first-child {
    border-top: 0;
  }
  .sports {
    grid-template-columns: repeat(3, 1fr);
  }
  .format-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .price-cards {
    grid-template-columns: 1fr;
  }
  .rule-heading::before,
  .rule-heading::after {
    width: 28px;
  }
  .btn.big {
    width: 100%;
    padding: 14px 20px;
  }
}
@media (max-width: 380px) {
  .format-grid,
  .feature-grid,
  .steps,
  .sports {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
