/* Find a team to play (Game Hub) pages. Loaded after the arena + scheduling-arena styles (public.scheduling.layout).
   Charcoal wells, lime and purple accents (no navy). Motion is transform/opacity only and off under reduced motion. */
.gh-ico { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- hero: full-bleed cinematic loop ---------- */
.gh-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 60px; background: #08090c; }
.gh-hero-media { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1000px 560px at 78% 18%, rgba(153,44,255,.30), transparent 62%), radial-gradient(760px 420px at 8% 96%, rgba(208,250,0,.10), transparent 60%), #0b0f13; }
.gh-hero-media picture { position: absolute; inset: 0; }
.gh-hero-poster, .gh-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.gh-hero-video { opacity: 0; transition: opacity .8s ease; }
.gh-hero-video.is-playing { opacity: 1; }
.gh-hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,9,12,.94) 0%, rgba(8,9,12,.80) 38%, rgba(8,9,12,.40) 72%, rgba(8,9,12,.55) 100%),
  linear-gradient(180deg, rgba(8,9,12,.55) 0%, rgba(8,9,12,0) 26%, rgba(8,9,12,.35) 60%, #0b0f13 100%); }
.gh-hero-in { position: relative; }
.gh-crumbs ol { margin-bottom: 18px; }
.gh-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 800 12px/1.3 var(--f-ui); letter-spacing: .28em; text-transform: uppercase; color: var(--lime); }
.gh-eyebrow-bar { width: 28px; height: 2px; background: var(--lime); }
.gh-title { margin: 0 0 16px; max-width: 980px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(42px, 6vw, 88px); line-height: .92; letter-spacing: .005em; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.gh-lede { margin: 0 0 26px; max-width: 720px; font: 500 clamp(16px, 1.4vw, 19px)/1.6 var(--f-body); color: #dfe2ec; }

/* ---------- search panel on the hero ---------- */
.gh-panel { padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(14,16,20,.78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.gh-chips { display: flex; gap: 6px; margin: 0 0 12px; padding: 2px 2px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gh-chips::-webkit-scrollbar { display: none; }
.gh-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.03); color: #e7e9f1; font: 700 13.5px/1 var(--f-ui); letter-spacing: .03em; text-decoration: none; white-space: nowrap; scroll-snap-align: start; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.gh-chip:hover { border-color: rgba(208,250,0,.6); transform: translateY(-1px); }
.gh-chip[aria-current="page"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.gh-chip:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.gh-search { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.gh-field label { display: block; margin: 0 0 6px 2px; font: 700 11px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: #a9afc2; }
.gh-field select { width: 100%; min-height: 48px; padding: 10px 36px 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #0b0e12 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d0fa00' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; color: #fff; font: 600 15px/1.2 var(--f-body); }
.gh-field select:hover { border-color: rgba(255,255,255,.3); }
.gh-field select:focus-visible, .gh-near-btn:focus-visible, .gh-submit:focus-visible, .gh-invite:focus-visible, .gh-fab:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.gh-submit { min-height: 48px; white-space: nowrap; border-radius: 12px; }
.gh-near { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 500 13px/1.4 var(--f-body); color: #a9afc2; }
.gh-near-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(153,44,255,.7); border-radius: 999px; background: rgba(153,44,255,.12); color: #fff; font: 700 13px/1 var(--f-ui); letter-spacing: .03em; cursor: pointer; }
.gh-near-btn:hover { background: rgba(153,44,255,.26); }
.gh-scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255,255,255,.72); font: 700 11px/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.gh-scroll-cue .gh-ico { animation: gh-bob 2.2s ease-in-out infinite; }
@keyframes gh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- sticky compact search ---------- */
.gh-sticky { position: fixed; inset: var(--gh-top, 0px) 0 auto; z-index: 60; background: rgba(11,13,17,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.1); transform: translateY(-100%); transition: transform .3s var(--ease-out, ease); }
.gh-sticky.is-on { transform: none; }
.gh-sticky:not(.is-on) { visibility: hidden; transition: transform .3s var(--ease-out, ease), visibility 0s .3s; }
.gh-sticky-in { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.gh-sticky-sport { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font: 800 15px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.gh-sticky-count { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfd3df; font: 600 14px/1.3 var(--f-body); }
.gh-sticky-edit { padding: 10px 16px; font-size: 12px; }

/* ---------- team card (the labeled example card) ---------- */
.gh-card { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 12px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), #12151a; transition: transform .25s var(--ease-out, ease), border-color .25s, box-shadow .25s; }
.gh-card:hover, .gh-card:focus-within { transform: translateY(-3px); border-color: rgba(208,250,0,.45); box-shadow: 0 18px 40px -22px rgba(208,250,0,.35), 0 10px 30px -18px rgba(0,0,0,.8); }
.gh-crest { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(140deg, rgba(153,44,255,.4), rgba(153,44,255,.08)), #1a1d24; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font: 800 21px/1 var(--f-display); letter-spacing: .04em; color: var(--lime); }
.gh-crest--alt { background: linear-gradient(140deg, rgba(208,250,0,.28), rgba(208,250,0,.05)), #1a1d24; color: #fff; }
.gh-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.gh-card-title { margin: 0; font: 800 17px/1.3 var(--f-body); color: #fff; overflow-wrap: anywhere; }
.gh-reliable { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(95,211,141,.14); color: #7be3a4; font: 800 11px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
.gh-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; color: #b4bacb; font: 600 13px/1.4 var(--f-body); }
.gh-meta span { display: inline-flex; align-items: center; gap: 5px; }
.gh-meta-sport { color: #e7e9f1; }
.gh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gh-tags:empty { display: none; }
.gh-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.07); color: #eef0f6; font: 700 12px/1.3 var(--f-ui); letter-spacing: .03em; }
.gh-tag--range { background: rgba(153,44,255,.18); color: #f1e9ff; }
.gh-tag--open { border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
.gh-record { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; padding: 0; list-style: none; color: #a9afc2; font: 600 12px/1.4 var(--f-body); }
.gh-record li, .gh-record--new { display: inline-flex; align-items: center; gap: 5px; }
.gh-record b { color: #fff; }
.gh-record .is-good { color: #7be3a4; }
.gh-invite { padding: 13px 22px; border-radius: 12px; }

.gh-text-link { color: var(--lime); font: 700 14px/1.4 var(--f-ui); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- how it works: timeline + friendly invite mock ---------- */
.gh-how-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.gh-timeline { position: relative; margin: 28px 0 28px; padding: 0; list-style: none; }
.gh-timeline::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--lime), rgba(153,44,255,.7)); opacity: .55; }
.gh-timeline li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; padding: 0 0 22px; }
.gh-step-ico { grid-row: span 2; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: #14171d; border: 1px solid rgba(208,250,0,.5); color: var(--lime); }
.gh-step-num { position: absolute; right: 0; top: 0; color: rgba(255,255,255,.12); font: 800 34px/1 var(--f-display); }
.gh-timeline h3 { margin: 4px 0 4px; font: 800 18px/1.3 var(--f-body); color: #fff; }
.gh-timeline p { margin: 0; color: #b4bacb; font: 500 15px/1.55 var(--f-body); }
.gh-mock { margin: 0; }
.gh-mock-card { padding: 22px; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)), #12151a; box-shadow: 0 40px 80px -40px rgba(153,44,255,.55), 0 20px 50px -30px rgba(0,0,0,.9); transform: rotate(-1.5deg); }
.gh-mock-head { display: flex; align-items: center; gap: 8px; color: #fff; font: 800 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.gh-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(208,250,0,.18); }
.gh-mock-time { margin-left: auto; color: #8e95a8; letter-spacing: .04em; text-transform: none; font-weight: 600; }
.gh-mock-teams { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0; }
.gh-mock-team { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; text-align: center; }
.gh-mock-team b { color: #fff; font: 800 15px/1.2 var(--f-body); }
.gh-mock-team small { color: #a9afc2; font: 600 12px/1 var(--f-body); }
.gh-mock-vs { color: var(--purple); font: 800 22px/1 var(--f-display); text-transform: uppercase; }
.gh-mock-rows { margin: 0 0 18px; padding: 14px 16px; list-style: none; border-radius: 14px; background: rgba(255,255,255,.04); }
.gh-mock-rows li { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: #e3e6ee; font: 600 14px/1.4 var(--f-body); }
.gh-mock-rows .gh-ico { color: var(--lime); }
.gh-mock-actions { display: flex; gap: 10px; }
.gh-mock-btn { flex: 1; display: inline-flex; justify-content: center; padding: 12px; border-radius: 12px; border: 1px solid rgba(153,44,255,.7); color: #fff; font: 800 13px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
.gh-mock-btn--lime { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.gh-mock figcaption { margin-top: 14px; color: #8e95a8; font: 500 12px/1.4 var(--f-body); text-align: center; }

/* ---------- sport tiles ---------- */
.gh-sport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.gh-sport-grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: #12151a; color: #fff; text-decoration: none; transition: transform .25s var(--ease-out, ease), border-color .25s, background .25s; }
.gh-sport-grid a:hover, .gh-sport-grid a:focus-visible { transform: translateY(-3px); border-color: rgba(208,250,0,.5); background: #15181e; }
.gh-sport-grid a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.gh-tile-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: rgba(208,250,0,.08); color: var(--lime); }
.gh-sport-grid b { font: 800 20px/1.1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.gh-sport-grid a > span:last-child { color: #b4bacb; font: 600 14px/1.45 var(--f-body); }

/* ---------- phone: sticky "Post a game" ---------- */
.gh-fab { display: none; }

/* ---------- hero calls to action ---------- */
.gh-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 14px; }
.gh-cta-main { padding: 17px 28px; font-size: 15px; border-radius: 12px; }
.gh-cta-alt { padding: 16px 24px; border-radius: 12px; }
.gh-free-line { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; color: #e3f7a0; font: 700 14px/1.4 var(--f-body); }
.gh-free-line .gh-ico { color: var(--lime); }
.gh-search > [data-gh-swap="sport-input"] { display: contents; }
.gh-teaser-note { grid-column: 1 / -1; margin: 0; color: #a9afc2; font: 500 13px/1.5 var(--f-body); }
.gh-teaser-note a { font-size: 13px; }

/* ---------- what you get ---------- */
.gh-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.gh-benefit { padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), #12151a; transition: transform .25s var(--ease-out, ease), border-color .25s; }
.gh-benefit:hover { transform: translateY(-3px); border-color: rgba(208,250,0,.45); }
.gh-benefit h3 { margin: 12px 0 6px; font: 800 18px/1.3 var(--f-body); color: #fff; }
.gh-benefit p { margin: 0; color: #b4bacb; font: 500 15px/1.55 var(--f-body); }

/* ---------- example card ---------- */
.gh-example-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.gh-example-copy { margin: 18px 0 24px; max-width: 560px; color: #b4bacb; font: 500 16px/1.6 var(--f-body); }
.gh-example-figure { position: relative; margin: 0; padding: 28px 22px 18px; border: 1px dashed rgba(208,250,0,.45); border-radius: 24px; background: radial-gradient(520px 260px at 90% 0%, rgba(153,44,255,.22), transparent 70%), rgba(255,255,255,.015); }
.gh-example-label { position: absolute; top: -13px; left: 22px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 800 12px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; }
.gh-example-figure .gh-card { margin: 0; align-items: start; }
.gh-example-figure .gh-act { align-self: center; }
.gh-example-figure figcaption { margin-top: 12px; color: #8e95a8; font: 500 12px/1.4 var(--f-body); text-align: center; }
.gh-sticky-login { margin-left: auto; }
@media (max-width: 1100px) { .gh-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gh-example-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .gh-benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .gh-hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .gh-sticky-count, .gh-sticky-login { display: none; }
  .gh-sticky-in .btn-lime { margin-left: auto; }
  .gh-example-figure { padding: 24px 12px 14px; }
}

/* ---------- scroll reveal (only when the page script turns motion on) ---------- */
.gh-motion [data-gh-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease calc(var(--d, 0) * 80ms), transform .6s var(--ease-out, ease) calc(var(--d, 0) * 80ms); }
.gh-motion [data-gh-reveal].is-in { opacity: 1; transform: none; }
.gh-swap-in { animation: gh-fade .35s ease both; }
@keyframes gh-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .gh-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-go { grid-column: 1 / -1; }
  .gh-submit { width: 100%; justify-content: center; }
  .gh-how-grid { grid-template-columns: minmax(0, 1fr); }
  .gh-mock { max-width: 460px; }
}
@media (max-width: 900px) {
  .gh-sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gh-sport-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .gh-hero { min-height: 0; padding: 104px 0 64px; }
  .gh-panel { margin-inline: -4px; padding: 12px; border-radius: 18px; }
  .gh-search { gap: 10px; }
  .gh-field select { font-size: 16px; }
  .gh-card { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 16px; align-items: start; }
  .gh-crest { width: 46px; height: 46px; font-size: 17px; border-radius: 12px; }
  .gh-act { grid-column: 1 / -1; }
  .gh-invite { width: 100%; justify-content: center; padding: 11px 18px; }
  .gh-sticky-count { font-size: 13px; }
  .gh-sticky-edit span, .gh-sticky-edit { font-size: 11px; padding: 9px 12px; }
  .gh-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 65; display: inline-flex; padding: 14px 20px; border-radius: 999px; box-shadow: 0 14px 34px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.2); transform: translateY(140%); transition: transform .3s var(--ease-out, ease); }
  .gh-fab.is-on { transform: none; }
  .gh-mock-card { transform: none; }
  .gh-step-num { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-hero-video { display: none; }
  .gh-scroll-cue .gh-ico { animation: none; }
  .gh-card, .gh-chip, .gh-sport-grid a, .gh-benefit, .gh-sticky, .gh-fab, .gh-hero-video { transition: none; }
  .gh-card:hover, .gh-card:focus-within, .gh-sport-grid a:hover, .gh-chip:hover { transform: none; }
  .gh-swap-in { animation: none; }
}
