.splash-header {
  width: 100%;
  min-height: calc(100vh - 50px);
  height: 100%;
  margin: 0;
  background: url(/media/basketball_sky.jpg) center center no-repeat;
  background-size: cover;
}

.splash-header-inner {
  display: inline-block;
}

.splash-header-box {
  color: white;
  padding-left: 10px;
  margin-top: clamp(5vh, 20vh, 50%);
}

.splash-header-text {
  text-align: center;
  padding: 0 0 0.25em;
  font-weight: bold;
}

.splash-header-text span {
  font-size: clamp(45px, 7vw, 180px);
  line-height: 0.95;
}

.splash-header-subtext {
  font-size: clamp(16px, 2.5vw, 50px);
  margin-top: 0.35em;
}

/* Shared section geometry */
.splash-features,
.splash-modes,
.splash-input {
  width: 100%;
  margin: 0;
}

.splash-modes,
.splash-input {
  padding: 4rem 3rem;
}

.splash-modes > .row,
.splash-input-row {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card,
.mode-card,
.input-card {
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
}

.feature-card,
.mode-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-card img,
.mode-card img,
.input-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card p,
.mode-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.45;
}

/* Feature cards */
.splash-features {
  background-color: white;
  padding: 4rem 3rem 3rem;
  text-align: center;
}

.splash-features > .row {
  display: flex;
  flex-wrap: wrap;
  max-width: 1900px;
  margin-left: auto;
  margin-right: auto;
}

.splash-features > .row > [class*="col-"] {
  display: flex;
}

.feature-card {
  padding: 1.5rem 1.25rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card img {
  border: 1px solid #ddd;
  margin-top: auto;
  padding-top: 1.25rem;
}

.feature-card h2 {
  font-size: 1.4em;
  font-weight: bold;
  margin: 0 0 0.75rem;
}

.feature-card p {
  margin: 0;
}

/* League vs pickup modes */
.splash-modes {
  background-color: #f5f5f5;
}

.mode-card {
  padding: 1.5rem 1rem 2rem;
  height: 100%;
}

.mode-card h2 {
  font-weight: bold;
  margin: 0 0 1rem;
}

.mode-card img {
  border: 1px solid #ddd;
  margin-bottom: 1.25rem;
}

.mode-card p {
  margin: 0 0.5rem 1.5rem;
}

/* Input flexibility */
.splash-input {
  background-color: #090f0f;
  color: white;
}

.splash-input-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.splash-input-header h2 {
  font-weight: bold;
  margin: 0 0 0.75rem;
}

.splash-input-header p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  color: #ccc;
}

.input-card {
  background: #141a1a;
  border: 1px solid #2a3333;
  padding: 1.75rem 1.5rem 2rem;
}

.input-card h3 {
  font-size: 1.35em;
  font-weight: bold;
  margin: 0 0 0.75rem;
  color: #fff;
}

.input-card p {
  font-size: 16px;
  line-height: 1.45;
  color: #bbb;
  margin: 0 0 1.25rem;
}

.input-card img {
  max-width: 280px;
  border: 1px solid #333;
}

.input-card img.input-card-sheet {
  max-width: 100%;
}

div.splash-get-started {
  width: 100%;
  margin: 0;
  background-color: white;
  text-align: center;
  padding: 4rem 0 5rem;
}

div.splash-get-started .btn-primary {
  font-size: 1.1em;
  padding: 12px 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

div.splash-get-started h2,
.splash-example h2 {
  font-weight: bold;
}

div.splash-example {
  width: 100%;
  margin: 0;
  color: white;
  background-color: #002B54;
  text-align: center;
  padding: 4rem 0 5rem;
}

.splash-example .btn {
  display: inline-block;
  vertical-align: middle;
  margin: 0.5rem;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.4;
  min-height: 44px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .splash-header {
    min-height: 0;
    height: 300px;
    max-height: 300px;
  }

  .splash-header-box {
    margin-top: 70px;
  }

  .splash-header-text {
    margin: 0px !important;
    padding: .25em !important;
  }

  .page-league-landing .splash-header-text {
    text-align: left;
    margin: 0px !important;
    padding: .25em 0em !important;
  }

  .splash-features,
  .splash-modes,
  .splash-input {
    padding: 2.5rem 1rem;
  }

  .splash-input-row {
    display: block;
  }
}

@media screen and (min-width: 1023px) and (max-width: 1025px) {
  .splash-header {
    min-height: 400px;
    max-height: none;
  }
}

@media screen and (min-width: 375px) and (max-width: 768px) {
  div.splash-get-started h2 {
    font-size: 30px;
  }

  div.splash-get-started .btn {
    font-size: 20px;
  }

  div.splash-example h2 {
    font-size: 30px;
  }

  div.splash-example .btn {
    font-size: 20px;
    padding: 12px 22px;
    min-height: 48px;
    margin: 0.5rem;
  }

  .feature-card h2,
  .mode-card h2,
  .splash-input-header h2,
  .input-card h3 {
    font-size: 24px;
  }
}

@media screen and (min-width: 2000px) and (max-width: 4000px) {
  .splash-header-box {
    margin-top: 200px;
  }

  div.splash-get-started h2 {
    font-size: 35px;
  }

  div.splash-get-started .btn {
    font-size: 25px;
  }

  div.splash-example h2 {
    font-size: 35px;
  }

  div.splash-example .btn {
    font-size: 25px;
  }
}
