/* Homepage story sections are separated from the global shell to keep each file focused. */
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.journey-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 25px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
}
.journey-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 0%, rgba(157,255,173,.14), transparent 58%); transition: opacity 260ms ease; }
.journey-card:hover::before { opacity: 1; }
.step-number { color: #667268; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.step-icon { display: grid; width: 66px; height: 66px; place-items: center; margin: 56px 0 38px; border: 1px solid rgba(157,255,173,.18); border-radius: 20px; color: var(--green); background: rgba(157,255,173,.06); font-size: 24px; box-shadow: inset 0 0 25px rgba(157,255,173,.04); }
.journey-card h3 { font-size: 26px; }
.journey-card p { max-width: 310px; margin-bottom: 26px; font-size: 14px; }
.card-link { position: absolute; inset: auto 25px 24px; display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); color: #8e9b91; font-size: 11px; font-weight: 750; }
.card-link i { color: var(--green); font-style: normal; }

.experience-section { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: #040705; }
.experience-section::before { content: ""; position: absolute; width: 700px; height: 700px; top: -300px; right: -250px; border-radius: 50%; opacity: .18; background: var(--green-strong); filter: blur(180px); }
.experience-grid { display: grid; grid-template-columns: 1.18fr .82fr; grid-auto-rows: minmax(285px, auto); gap: 14px; }
.experience-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 35px); background: linear-gradient(145deg, rgba(17,28,20,.9), rgba(7,12,9,.9)); }
.experience-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.045), transparent 38%); }
.card-copy { position: relative; z-index: 2; max-width: 470px; }
.feature-label { display: block; margin-bottom: 18px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.experience-card h3 { max-width: 490px; margin-bottom: 11px; font-size: clamp(25px, 3vw, 39px); line-height: 1.04; }
.experience-card p { max-width: 430px; margin-bottom: 0; font-size: 14px; }
.match-experience { min-height: 390px; }
.compact-match-ui { position: absolute; right: 32px; bottom: 28px; left: 32px; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 17px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(3,9,5,.72); box-shadow: 0 25px 45px rgba(0,0,0,.25); }
.compact-match-ui > div:first-child { display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: baseline; min-width: 80px; padding-right: 17px; border-right: 1px solid var(--line); }
.compact-match-ui > div:first-child span { grid-column: 1/-1; color: var(--green); font-size: 8px; font-weight: 900; }
.compact-match-ui > div:first-child strong { font-size: 23px; letter-spacing: -.05em; }
.compact-match-ui small { font-size: 9px; }
.compact-match-ui > div:nth-child(2) strong, .compact-match-ui > div:nth-child(2) span { display: block; }
.compact-match-ui > div:nth-child(2) strong { font-size: 15px; }
.compact-match-ui > div:nth-child(2) span { margin-top: 3px; color: #869188; font-size: 9px; }
.compact-arrow { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #061008; background: var(--green); }
.profile-experience { min-height: 390px; }
.preference-stack { position: absolute; inset: auto 30px 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.preference-stack span { padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; color: #b8c3ba; background: rgba(255,255,255,.045); font-size: 10px; }
.preference-stack span:first-child { color: #071008; border-color: var(--green); background: var(--green); }

.pitch-experience { min-height: 470px; padding: 0; background: linear-gradient(180deg, #0b2b0c, #061208); }
.pitch-copy { position: absolute; inset: 30px 32px auto; z-index: 4; max-width: 420px; }
.pitch-copy h3 { text-shadow: 0 2px 25px #000; }
.mini-pitch { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 50% 52%, rgba(83,190,63,.2), transparent 55%); }
.mini-pitch::before { content: ""; position: absolute; top: 50%; left: 50%; width: 46.3%; height: 145%; opacity: .82; background: url("position-optimized.jpg") center / contain no-repeat; filter: saturate(.82) contrast(1.08); transform: translate(-50%, -50%) rotate(90deg); }
.mini-pitch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,8,3,.82), transparent 34%, rgba(2,8,3,.18) 68%, rgba(2,8,3,.48)); }
.pitch-player { position: absolute; z-index: 2; display: grid; width: 38px; height: 38px; place-items: center; border: 2px solid rgba(255,255,255,.68); border-radius: 50%; color: #fff; background: rgba(2,7,3,.84); box-shadow: 0 8px 18px rgba(0,0,0,.4); font-size: 9px; font-weight: 900; transform: translate(-50%, -50%); }
.player-one { top: 56%; left: 11%; }
.player-two { top: 58%; left: 31%; }
.player-three { top: 52%; left: 55%; }
.player-four { top: 46%; left: 80%; }
.pitch-player.selected { width: 46px; height: 46px; border-color: #d8ffde; color: #061008; background: var(--green); box-shadow: 0 0 0 8px rgba(157,255,173,.12), 0 0 32px rgba(157,255,173,.3); }
.reminder-experience { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 26px; min-height: 470px; }
.reminder-ring { display: grid; width: 118px; height: 118px; place-items: center; border: 1px solid rgba(157,255,173,.16); border-radius: 50%; background: conic-gradient(var(--green) 0 68%, rgba(255,255,255,.08) 68%); box-shadow: 0 0 55px rgba(88,237,115,.1); }
.reminder-ring::before { content: ""; grid-area: 1/1; width: 96px; height: 96px; border-radius: 50%; background: #09110c; }
.reminder-ring span { z-index: 1; grid-area: 1/1; color: var(--green); font-size: 25px; font-weight: 900; }

.teams-panel { position: relative; display: grid; grid-template-columns: .7fr 1.2fr .7fr; min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #060908; }
.team-field { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.team-field::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to top, black, transparent 85%); }
.team-field-red { border-right: 1px solid rgba(255,84,84,.15); background: radial-gradient(circle at 50% 75%, rgba(255,49,49,.32), transparent 62%); }
.team-field-black { align-items: flex-end; border-left: 1px solid var(--line); background: radial-gradient(circle at 50% 75%, rgba(255,255,255,.12), transparent 62%); text-align: right; }
.team-kicker, .team-field strong { position: relative; z-index: 1; }
.team-kicker { margin-bottom: 7px; color: #9da79f; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.team-field-red .team-kicker { color: #ff8787; }
.team-field strong { max-width: 150px; font-size: 15px; }
.teams-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 30px; text-align: center; }
.teams-center::before { content: ""; position: absolute; width: clamp(360px, 34vw, 420px); height: clamp(360px, 34vw, 420px); border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 70px rgba(157,255,173,.04); }
.teams-center > * { position: relative; z-index: 1; }
.teams-center .eyebrow { justify-content: center; max-width: 344px; margin-top: 25px; }
.teams-center h2 { max-width: 344px; font-size: clamp(40px, 4.5vw, 58px); }
.teams-center > p:last-child { max-width: 320px; margin: 23px 0 0; font-size: 14px; }
.versus-badge { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(157,255,173,.28); border-radius: 50%; color: var(--green); background: #0a120d; font-size: 10px; font-weight: 900; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 9vw, 120px); }
.faq-heading { align-self: start; position: sticky; top: 130px; }
.faq-heading p { max-width: 370px; }
.text-link { display: inline-flex; gap: 18px; margin-top: 15px; color: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 28px 48px 28px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; top: 50%; right: 5px; width: 14px; height: 1px; background: var(--green); transition: transform 180ms ease; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p { max-width: 630px; margin: -8px 40px 26px 0; font-size: 14px; }

.download-section { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 440px; overflow: hidden; border: 1px solid rgba(157,255,173,.2); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 70px); background: linear-gradient(125deg, #0c1b11 0%, #071009 58%, #020403 100%); box-shadow: var(--shadow); }
.download-glow { position: absolute; inset: auto auto -280px -80px; width: 600px; height: 600px; border-radius: 50%; opacity: .22; background: var(--green); filter: blur(130px); }
.download-content { position: relative; z-index: 2; max-width: 700px; }
.download-content h2 { font-size: clamp(48px, 7vw, 88px); }
.download-content > p:last-of-type { max-width: 580px; margin-top: 22px; }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.store-button { display: inline-flex; min-width: 174px; min-height: 57px; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 14px; color: #cfd8d1; background: rgba(255,255,255,.06); }
.store-button > i { color: var(--green); font-style: normal; }
.store-button span, .store-button small { display: block; }
.store-button span { font-size: 14px; font-weight: 800; }
.store-button small { margin-bottom: 1px; color: #879289; font-size: 8px; font-weight: 600; }
.download-mark { position: relative; z-index: 1; color: transparent; font-size: clamp(180px, 22vw, 330px); font-weight: 950; letter-spacing: -.13em; -webkit-text-stroke: 1px rgba(157,255,173,.18); transform: translateX(8%); }

@media (max-width: 920px) {
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-card:last-child { grid-column: 1 / -1; }
  .experience-grid { grid-template-columns: 1fr; }
  .profile-experience { min-height: 300px; }
  .teams-panel { grid-template-columns: 1fr; }
  .team-field { min-height: 120px; }
  .team-field-red { border-right: 0; border-bottom: 1px solid rgba(255,84,84,.15); }
  .team-field-black { border-top: 1px solid var(--line); border-left: 0; }
  .teams-center { min-height: 450px; }
  .teams-center::before { width: 380px; height: 380px; }
  .teams-center .eyebrow, .teams-center h2 { max-width: 320px; }
  .teams-center > p:last-child { max-width: 296px; }
  .faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .faq-heading { position: static; }
  .download-mark { position: absolute; right: 0; opacity: .48; }
}

@media (max-width: 600px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card, .journey-card:last-child { grid-column: auto; min-height: 335px; }
  .step-icon { margin: 38px 0 30px; }
  .experience-card { border-radius: 20px; }
  .match-experience { min-height: 410px; }
  .compact-match-ui { right: 18px; bottom: 18px; left: 18px; gap: 12px; }
  .compact-match-ui > div:first-child { min-width: 65px; padding-right: 10px; }
  .profile-experience { min-height: 330px; }
  .pitch-experience, .reminder-experience { min-height: 430px; }
  .mini-pitch::before { width: 100%; height: 100%; background-size: contain; transform: translate(-50%, -50%); }
  .player-one { top: 88%; left: 50%; }
  .player-two { top: 69%; left: 39%; }
  .player-three { top: 51%; left: 55%; }
  .player-four { top: 29%; left: 50%; }
  .reminder-experience { grid-template-columns: 1fr; align-content: center; }
  .reminder-ring { width: 100px; height: 100px; }
  .reminder-ring::before { width: 80px; height: 80px; }
  .teams-panel, .download-section { border-radius: 24px; }
  .teams-center { min-height: 430px; padding-inline: 20px; }
  .teams-center::before { width: min(320px, calc(100vw - 48px)); height: min(320px, calc(100vw - 48px)); }
  .teams-center .eyebrow, .teams-center h2 { max-width: min(270px, calc(100vw - 88px)); }
  .teams-center h2 { font-size: 38px; }
  .teams-center > p:last-child { max-width: min(250px, calc(100vw - 96px)); }
  .faq-list summary { font-size: 16px; }
  .download-section { min-height: 520px; align-items: flex-start; }
  .download-content h2 { font-size: clamp(46px, 14vw, 66px); }
  .store-actions { flex-direction: column; align-items: stretch; }
  .store-button { justify-content: center; }
  .download-mark { right: -20px; bottom: -40px; font-size: 190px; }
}
