/*
 * SoccerHeros July 2026 product refresh.
 * This layer keeps the established Touchline styles intact while updating the
 * SoccerHeros story to match the current mobile app.
 */

:root {
  --ink: #07131f;
  --ink-2: #0b1d2c;
  --ink-3: #10283b;
  --blue: #48a4ff;
  --mint: #20d5ad;
  --cream: #fff5e9;
}

html {
  scroll-behavior: smooth;
}

body:not(.showing-touchline) {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 125, 33, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(72, 164, 255, 0.12), transparent 32rem),
    var(--ink);
}

[hidden] {
  display: none !important;
}

.topbar .btn,
.hero-actions .btn,
.release-2026 a {
  text-decoration: none;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soccer-hero {
  min-height: auto;
  padding-top: clamp(4.5rem, 9vw, 8rem);
  gap: 1.2rem;
}

.soccer-hero h1 {
  max-width: 1000px;
  font-size: clamp(4.3rem, 12vw, 9.4rem);
  text-wrap: balance;
}

.soccer-hero .hero-copy {
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.hero-stage {
  width: min(920px, 100%);
  margin: 2.5rem auto 1rem;
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr;
  align-items: center;
  gap: clamp(1.2rem, 5vw, 4.5rem);
  text-align: left;
}

.hero-video-shell {
  position: relative;
  width: min(300px, 78vw);
  justify-self: end;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 37px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(9, 24, 40, 0.88));
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 125, 33, 0.1);
}

.hero-video-shell::after {
  content: "";
  position: absolute;
  inset: 18% -25% -12% 16%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 125, 33, 0.28), transparent 65%);
  filter: blur(26px);
}

.hero-video-shell video {
  display: block;
  width: 100%;
  border-radius: 29px;
  background: #02060b;
}

.hero-video-label {
  position: absolute;
  z-index: 2;
  top: -16px;
  left: 22px;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(255, 125, 33, 0.5);
  border-radius: 999px;
  background: #091827;
  color: var(--orange-soft);
  font: 700 0.65rem/1 "Sora", sans-serif;
  letter-spacing: 0.13em;
}

.hero-callouts {
  display: grid;
  gap: 0.8rem;
}

.hero-callouts article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid rgba(132, 180, 219, 0.22);
  border-radius: 16px;
  background: linear-gradient(115deg, rgba(15, 42, 66, 0.8), rgba(8, 25, 41, 0.66));
  transition: transform 180ms ease, border-color 180ms ease;
}

.hero-callouts article:hover {
  transform: translateX(5px);
  border-color: rgba(255, 125, 33, 0.54);
}

.hero-callouts span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 10px;
  background: rgba(255, 125, 33, 0.14);
  color: var(--orange-soft);
  font: 700 0.72rem/1 "Sora", sans-serif;
}

.hero-callouts strong {
  font: 700 1rem/1.3 "Sora", sans-serif;
}

.hero-callouts small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-metrics {
  max-width: 920px;
}

.release-ribbon {
  margin: 2.5rem 0 7rem;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(255, 125, 33, 0.44);
  border-radius: 16px;
  background:
    linear-gradient(100deg, rgba(255, 125, 33, 0.14), rgba(8, 30, 49, 0.9)),
    var(--ink-2);
}

.release-ribbon div {
  display: grid;
  gap: 0.25rem;
}

.release-ribbon div span,
.release-ribbon li {
  color: var(--orange-soft);
  font: 700 0.65rem/1.4 "Sora", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-ribbon strong {
  font: 700 1rem/1.35 "Sora", sans-serif;
}

.release-ribbon ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  list-style: none;
}

.release-ribbon li {
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #d8e7f4;
  background: rgba(255, 255, 255, 0.04);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2.5rem;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.chapter-copy h2,
.live-copy h2,
.competition-card h2,
.release-copy h2 {
  margin: 0.4rem 0 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.section-heading h2 span,
.chapter-copy h2 span,
.live-copy h2 span,
.competition-card h2 span,
.release-copy h2 span {
  color: var(--orange);
}

.section-heading > p:last-child,
.chapter-copy > p,
.live-copy > p,
.competition-card > p,
.release-copy > p {
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.75;
}

.matchday-system {
  padding: clamp(6rem, 11vw, 10rem) 0 4rem;
}

.matchday-flow {
  display: grid;
  grid-template-columns: repeat(9, auto);
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 5rem;
}

.matchday-flow article {
  min-height: 126px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(120, 169, 214, 0.23);
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(16, 43, 66, 0.86), rgba(6, 21, 35, 0.96));
}

.matchday-flow article span {
  color: var(--orange-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.matchday-flow article strong {
  margin: auto 0 0.35rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.12rem;
}

.matchday-flow article small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.matchday-flow > i {
  color: rgba(255, 255, 255, 0.24);
  font-style: normal;
}

.matchday-showcase {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 370px);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(72, 164, 255, 0.25);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 18%, rgba(72, 164, 255, 0.2), transparent 28rem),
    linear-gradient(140deg, rgba(13, 39, 61, 0.94), rgba(5, 18, 30, 0.96));
  overflow: hidden;
}

.feature-number {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.showcase-copy h3 {
  margin: 0.55rem 0 0.8rem;
  font: 700 clamp(2rem, 4vw, 3.6rem)/1 "Rajdhani", sans-serif;
}

.showcase-copy > p {
  color: var(--muted);
  line-height: 1.75;
}

.check-list,
.mini-list {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.check-list li,
.mini-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #d6e6f3;
  line-height: 1.5;
}

.check-list li::before,
.mini-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 800;
}

.app-shot {
  margin: 0;
}

.app-shot img {
  display: block;
  width: 100%;
  max-height: 590px;
  object-fit: cover;
  object-position: top;
  border: 7px solid #07111c;
  border-radius: 30px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.46);
}

.app-shot figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.feature-chapter {
  padding: clamp(6rem, 12vw, 11rem) 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.feature-pills {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.feature-pills span {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 125, 33, 0.28);
  border-radius: 999px;
  color: #e5eef6;
  background: rgba(255, 125, 33, 0.07);
  font-size: 0.7rem;
}

.screen-triptych {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: center;
}

.screen-triptych figure {
  margin: 0;
  position: relative;
  transform: rotate(-2.5deg);
}

.screen-triptych figure:nth-child(3) {
  transform: rotate(2.5deg);
}

.screen-triptych figure.is-featured {
  z-index: 2;
  transform: scale(1.06);
}

.screen-triptych img {
  display: block;
  width: 100%;
  aspect-ratio: 0.54;
  object-fit: cover;
  object-position: top;
  border: 5px solid #07111c;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46);
}

.screen-triptych figcaption {
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-match {
  margin: 6rem 0 9rem;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
}

.live-score-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(32, 213, 173, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 213, 173, 0.14), transparent 18rem),
    #081a27;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.live-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.live-label i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
}

.live-score {
  margin: 1.4rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

.live-score span {
  display: grid;
}

.live-score b {
  color: var(--muted);
  font: 700 0.75rem/1 "Sora", sans-serif;
  letter-spacing: 0.14em;
}

.live-score strong {
  font: 700 5.5rem/1 "Bebas Neue", sans-serif;
}

.live-score em {
  color: rgba(255, 255, 255, 0.22);
  font-style: normal;
  font-size: 2rem;
}

.live-events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.live-events span {
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
}

.live-score-card > small {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.challenge-section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 125, 33, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(140deg, rgba(255, 125, 33, 0.08), rgba(8, 27, 43, 0.88)),
    var(--ink-2);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.challenge-grid article {
  min-height: 190px;
  padding: 1.2rem;
  border-top: 2px solid var(--orange);
  background: rgba(6, 20, 33, 0.7);
}

.challenge-grid span {
  color: var(--orange-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.challenge-grid h3 {
  margin: 3.4rem 0 0.55rem;
  font: 700 1.35rem/1 "Rajdhani", sans-serif;
}

.challenge-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.competition-grid {
  padding: clamp(6rem, 12vw, 11rem) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.competition-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(120, 169, 214, 0.23);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(14, 42, 65, 0.92), rgba(6, 19, 32, 0.97));
  overflow: hidden;
}

.competition-card h2 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.prediction-card img {
  display: block;
  width: min(300px, 82%);
  max-height: 410px;
  margin: 2.2rem auto -5rem;
  object-fit: cover;
  object-position: top;
  border: 6px solid #07111c;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

.career-card {
  background:
    radial-gradient(circle at 86% 14%, rgba(72, 164, 255, 0.16), transparent 22rem),
    linear-gradient(155deg, rgba(14, 42, 65, 0.92), rgba(6, 19, 32, 0.97));
}

.career-preview {
  margin-top: 2rem;
  padding: 1.3rem;
  border: 1px solid rgba(72, 164, 255, 0.28);
  border-radius: 18px;
  background: rgba(4, 17, 29, 0.7);
}

.career-preview > div {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.career-preview > div span {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.career-preview > div strong {
  font: 700 4.6rem/1 "Bebas Neue", sans-serif;
}

.career-preview > div small {
  color: var(--mint);
  font-size: 0.68rem;
}

.career-preview ul {
  margin: 1.1rem 0;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
}

.career-preview li {
  display: grid;
  text-align: center;
}

.career-preview li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.career-preview li b {
  font: 700 1.6rem/1 "Rajdhani", sans-serif;
}

.career-preview li span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.career-preview > p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.66rem;
}

.career-preview > p i {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--mint);
  color: #03130f;
  font-style: normal;
  font-weight: 800;
}

.career-preview > p i:nth-child(3),
.career-preview > p i:last-of-type {
  background: #71869a;
  color: white;
}

.career-preview > p i:last-of-type {
  background: #ff6571;
}

.privacy-note {
  display: block;
  margin-top: 1rem;
  color: #9ebbd3;
  line-height: 1.55;
}

.club-life {
  padding: 0 0 clamp(6rem, 12vw, 10rem);
}

.club-life-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.club-life-grid article {
  min-height: 200px;
  padding: 1.35rem;
  border: 1px solid rgba(120, 169, 214, 0.19);
  border-radius: 16px;
  background: rgba(9, 29, 46, 0.76);
  transition: transform 180ms ease, background 180ms ease;
}

.club-life-grid article:hover {
  transform: translateY(-4px);
  background: rgba(13, 41, 63, 0.9);
}

.club-life-grid b {
  color: var(--orange);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.club-life-grid h3 {
  margin: 2.8rem 0 0.55rem;
  font: 700 1.35rem/1 "Rajdhani", sans-serif;
}

.club-life-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.58;
}

.current-gallery {
  padding: clamp(5rem, 10vw, 8rem) 0;
  margin-inline: calc(50% - 50vw);
  background:
    linear-gradient(90deg, rgba(255, 125, 33, 0.09), transparent 22%, transparent 78%, rgba(72, 164, 255, 0.08)),
    #06111d;
}

.current-gallery .section-heading {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.current-gallery .gallery-scroll {
  padding-inline: max(1rem, calc((100vw - 1120px) / 2));
}

.current-gallery .gallery-img {
  height: min(620px, 72vh);
  width: auto;
  max-width: none;
  object-fit: contain;
  border: 6px solid #0c1a27;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.release-2026 {
  padding: clamp(6rem, 12vw, 10rem) 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  text-align: left;
}

.release-2026 .store-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.release-2026 .store-card {
  position: relative;
  min-height: 250px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

.store-platform {
  color: var(--orange-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.release-2026 .store-card h3 {
  margin: auto 0 0.7rem;
  font: 700 1.6rem/1 "Rajdhani", sans-serif;
}

.release-2026 .store-card .status {
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(32, 213, 173, 0.11);
  color: var(--mint);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.release-2026 .store-card small {
  color: var(--muted);
  line-height: 1.5;
}

.store-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.2rem;
}

.final-cta {
  margin-top: 0 !important;
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.final-cta .scene-tag {
  color: var(--orange-soft);
}

footer .footer-right {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

footer a {
  color: #91b0cc;
  text-decoration: none;
}

footer a[href^="mailto"] {
  color: var(--orange-soft);
}

footer .whatsapp-link {
  color: #25d366;
}

@media (max-width: 980px) {
  .hero-stage,
  .matchday-showcase,
  .feature-chapter,
  .live-match,
  .release-2026 {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    width: min(650px, 100%);
  }

  .hero-video-shell {
    justify-self: center;
  }

  .matchday-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }

  .matchday-flow > i {
    display: none;
  }

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

  .competition-grid {
    grid-template-columns: 1fr;
  }

  .feature-chapter .chapter-copy {
    max-width: 700px;
  }

  .release-2026 .store-grid {
    max-width: 620px;
  }
}

@media (max-width: 700px) {
  .soccer-hero {
    padding-top: 3.5rem;
  }

  .soccer-hero h1 {
    font-size: clamp(3.7rem, 22vw, 6rem);
  }

  .hero-stage {
    grid-template-columns: 1fr;
    margin-top: 1.8rem;
  }

  .hero-callouts {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-ribbon {
    margin-bottom: 5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .release-ribbon ul {
    justify-content: flex-start;
  }

  .section-heading h2,
  .chapter-copy h2,
  .live-copy h2,
  .competition-card h2,
  .release-copy h2 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .matchday-flow {
    grid-template-columns: 1fr;
  }

  .matchday-flow article {
    min-height: 108px;
  }

  .matchday-showcase {
    padding: 1.25rem;
  }

  .feature-chapter {
    padding-top: 6rem;
  }

  .screen-triptych {
    margin-inline: -1.2rem;
    gap: 0.35rem;
  }

  .screen-triptych img {
    border-width: 3px;
    border-radius: 16px;
  }

  .live-match {
    margin-bottom: 6rem;
  }

  .live-score strong {
    font-size: 4.4rem;
  }

  .challenge-section {
    padding: 3rem 1rem;
  }

  .challenge-grid,
  .club-life-grid,
  .release-2026 .store-grid {
    grid-template-columns: 1fr;
  }

  .challenge-grid article,
  .club-life-grid article {
    min-height: 160px;
  }

  .challenge-grid h3,
  .club-life-grid h3 {
    margin-top: 2.1rem;
  }

  .competition-card {
    padding: 1.2rem;
  }

  .current-gallery .gallery-img {
    height: min(560px, 69vh);
  }

  footer .footer-right {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-callouts article,
  .club-life-grid article {
    transition: none;
  }
}
