/* sections.css — ticker, section scaffolding, about, sessions, technical, stars, tournaments, register, contact */
/* TICKER */
.ticker { background: var(--orange); overflow: hidden; padding-block: 10px; }
.ticker-inner { display: flex; animation: tick 30s linear infinite; white-space: nowrap; }
.t-item { font-family: var(--font-d); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--white); padding-inline: 2rem; flex-shrink: 0; }
.t-item::after { content: "★"; margin-left: 2rem; opacity: 0.55; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTIONS */
.sec { padding-block: var(--sp); }
.sec-alt { background: var(--navy); }
.sec-dark { background: #080b18; }
.sec-lbl { display: flex; align-items: center; gap: 10px; font-family: var(--font-m); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.sec-lbl::before { content: ""; display: block; width: 20px; height: 2px; background: var(--orange); flex-shrink: 0; }
.sec-title { font-family: var(--font-d); font-weight: 900; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 0.92; text-transform: uppercase; color: var(--white); margin-bottom: 1.5rem; }
.sec-title em { font-style: italic; color: var(--orange); }
.sec-body { font-size: 1.05rem; color: var(--grey); line-height: 1.75; max-width: 600px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-frame { background: #0a0e1a; border-radius: 10px; border: 1px solid rgba(30,42,110,0.4); position: relative; overflow: hidden; width: 100%; max-width: 560px; height: 374px; }
/* Mobile fallback: Facebook's inline video plugin is blocked by mobile Safari's
   tracking prevention, so on phones we show a tap-to-watch poster instead. */
.ab-poster { display: none; }
@media (max-width: 860px) {
  .about-img-frame .ab-video { display: none; }
  .ab-poster {
    display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
    background: url("../../hero/hero-court.jpg") center/cover;
  }
  .ab-poster::before { content: ""; position: absolute; inset: 0; background: rgba(8,9,15,0.45); }
  .ab-play {
    position: relative; width: 64px; height: 64px; border-radius: 50%;
    background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(8,9,15,0.5); transition: transform var(--tr);
  }
  .ab-poster:hover .ab-play { transform: scale(1.08); }
}
.about-img-ph { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.about-img-ph svg { opacity: 0.08; }
.about-img-ph p { font-family: var(--font-m); font-size: 11px; color: var(--grey2); letter-spacing: 1px; }
.about-badge { position: absolute; bottom: -2.5rem; right: -1.5rem; background: var(--orange); color: var(--white); border-radius: 8px; padding: 1.25rem 1.5rem; text-align: center; }
.ab-num { font-family: var(--font-d); font-weight: 900; font-size: 2.8rem; line-height: 1; }
.ab-txt { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.pillar { background: rgba(30,42,110,0.1); border: 1px solid rgba(30,42,110,0.28); border-radius: var(--r); padding: 1.25rem; transition: all var(--tr); }
.pillar:hover { border-color: var(--orange3); background: rgba(232,98,26,0.07); }
.p-icon { color: var(--orange); margin-bottom: 0.6rem; display: flex; }
.p-title { font-family: var(--font-d); font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.p-desc { font-size: 13px; color: var(--grey); line-height: 1.5; }

/* SESSIONS */
#sessions { position: relative; overflow: hidden; }
.sessions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.session-card { background: rgba(30,42,110,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.session-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.session-header { background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo3) 100%); padding: 1.75rem 2rem; position: relative; overflow: hidden; }
.session-card.s2 .session-header { background: linear-gradient(135deg, #c85010 0%, #8f3008 100%); }
.session-header::after { content: attr(data-num); position: absolute; right: -10px; bottom: -20px; font-family: var(--font-d); font-weight: 900; font-size: 8rem; line-height: 1; color: rgba(255,255,255,0.06); pointer-events: none; }
.session-tag { font-family: var(--font-m); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange2); margin-bottom: 0.5rem; display: block; position: relative; z-index: 1; }
.session-card.s2 .session-tag { color: rgba(255,255,255,0.7); }
.session-dates { font-family: var(--font-d); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; color: var(--white); line-height: 1.1; position: relative; z-index: 1; }
.session-dates span { display: block; font-size: 0.58em; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 1px; margin-top: 4px; }
.session-body { padding: 1.75rem 2rem; }
.session-detail { display: flex; align-items: flex-start; gap: 0.875rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.session-detail:last-child { border-bottom: none; }
.sd-icon { width: 36px; height: 36px; background: rgba(232,98,26,0.13); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.sd-lbl { font-family: var(--font-m); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey2); margin-bottom: 2px; }
.sd-val { font-family: var(--font-d); font-weight: 700; font-size: 16px; color: var(--white); line-height: 1.3; }
.session-price { background: var(--indigo); color: var(--white); border-radius: var(--r); padding: 0.875rem 1.25rem; margin: 1.25rem 0 0; display: flex; align-items: center; justify-content: space-between; }
.session-card.s2 .session-price { background: var(--orange3); }
.sp-amount { font-family: var(--font-d); font-weight: 900; font-size: 2rem; line-height: 1; }
.sp-note { font-size: 12px; opacity: 0.75; text-align: right; line-height: 1.4; }
.session-cta { display: block; width: 100%; text-align: center; font-family: var(--font-d); font-weight: 800; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; background: rgba(30,42,110,0.5); border: 1px solid rgba(30,42,110,0.6); color: var(--white); padding: 13px; border-radius: var(--r); margin-top: 1rem; transition: all var(--tr); }
.session-card.s2 .session-cta { background: rgba(200,80,16,0.25); border-color: rgba(200,80,16,0.4); }
.session-cta:hover { background: var(--indigo); transform: translateY(-2px); }
.session-card.s2 .session-cta:hover { background: var(--orange3); }
.both-card { background: rgba(245,166,35,0.07); border: 1.5px dashed rgba(245,166,35,0.35); border-radius: 12px; padding: 2rem; margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.both-card-text h3 { font-family: var(--font-d); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem; }
.both-card-text p { font-size: 14px; color: var(--grey); line-height: 1.6; max-width: 480px; }
.both-price { text-align: center; flex-shrink: 0; background: rgba(245,166,35,0.08); border: 1px solid rgba(245,166,35,0.22); border-radius: 10px; padding: 1.5rem 1.75rem; min-width: 240px; }
.both-price-num { font-family: var(--font-d); font-weight: 900; font-size: 2.5rem; color: var(--orange2); line-height: 1; }
.both-price-note { font-size: 12px; color: var(--grey); margin-top: 4px; }
.both-cta { display: block; width: 100%; box-sizing: border-box; text-align: center; font-family: var(--font-d); font-weight: 800; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; background: var(--orange); color: var(--white); padding: 13px 28px; border-radius: var(--r); margin-top: 1.1rem; transition: all var(--tr); }
.both-cta:hover { background: var(--orange3); color: var(--white); transform: translateY(-2px); }

/* TECHNICAL */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.tech-card { background: rgba(30,42,110,0.08); border: 1px solid rgba(30,42,110,0.22); border-radius: 10px; padding: 1.75rem 2rem; }
.tc-title { font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; gap: 10px; }
.tc-ic { color: var(--orange); display: flex; align-items: center; }
.tc-list { display: grid; gap: 0.5rem; }
.tc-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--grey); padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); line-height: 1.4; }
.tc-item:last-child { border-bottom: none; }
.tc-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; margin-top: 5px; }

/* STARS — alumni timeline (where are they now) */
#stars { position: relative; overflow: hidden; }
.stars-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 3rem; }
.timeline { position: relative; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 7.5rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(180deg, var(--orange), rgba(232,98,26,0.05)); }
.tl-row { position: relative; display: grid; grid-template-columns: 6rem 1fr; gap: 2.5rem; padding: 1.15rem 0; align-items: baseline; }
.tl-row::before { content: ""; position: absolute; left: 7.5rem; top: 1.55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); transform: translateX(-5px); box-shadow: 0 0 0 4px var(--navy), 0 0 0 5px rgba(232,98,26,0.4); transition: transform var(--tr), box-shadow var(--tr); }
.tl-row:hover::before { transform: translateX(-5px) scale(1.25); box-shadow: 0 0 0 4px var(--navy), 0 0 0 6px var(--orange); }
.tl-year { font-family: var(--font-d); font-weight: 800; font-size: 1.5rem; color: var(--orange2); text-align: right; line-height: 1; }
.tl-body { padding-left: 1.5rem; }
.tl-name { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1; color: var(--white); }
.tl-now { color: var(--grey); font-size: 0.95rem; margin-top: 0.3rem; }
.tl-now strong { color: var(--white); font-weight: 600; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.55rem; }
.tl-tag { display: inline-block; font-family: var(--font-m); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--orange2); border: 1px solid rgba(232,98,26,0.4); border-radius: 20px; padding: 3px 11px; }
.tl-tag.is-nt { background: var(--orange); color: var(--white); border-color: var(--orange); }
@media (max-width: 640px) {
  .timeline::before { left: 3.5rem; }
  .tl-row { grid-template-columns: 3rem 1fr; gap: 1rem; }
  .tl-row::before { left: 3.5rem; }
  .tl-year { font-size: 1.1rem; }
  .tl-body { padding-left: 1.25rem; }
}

/* TOURNAMENTS & TEAMS — alternating feature rows */
#tournaments { position: relative; overflow: hidden; }
.trn-list { display: flex; flex-direction: column; gap: 4rem; margin-top: 3rem; }
.trn-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.trn-row:nth-child(even) .trn-media { order: 2; }
.trn-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.6rem; aspect-ratio: 4/3; }
.trn-photos.single { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16/9; }
.trn-photos.poster { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 4/5; max-width: 380px; margin: 0 auto; }
.trn-ph { background: #fff; border: 1px solid rgba(30,42,110,0.7); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
.trn-ph svg { opacity: 0.1; }
.trn-ph span { font-family: var(--font-m); font-size: 10px; letter-spacing: 1px; color: var(--grey2); }
.trn-ph img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 3px; }
.trn-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.trn-tag { font-family: var(--font-m); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 13px; border-radius: 20px; }
.trn-tag.is-year { background: var(--orange); color: #fff; font-weight: 600; }
.trn-tag.is-cat { background: rgba(232,98,26,0.12); color: var(--orange2); border: 1px solid rgba(232,98,26,0.4); }
.trn-name { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; color: var(--white); margin-bottom: 0.75rem; }
.trn-desc { color: var(--grey); font-size: 1rem; line-height: 1.7; }
@media (max-width: 760px) {
  .trn-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .trn-row:nth-child(even) .trn-media { order: 0; }
  .trn-list { gap: 3rem; }
}

/* REGISTER */
#register { background: linear-gradient(160deg, var(--black) 0%, #080d1e 100%); position: relative; overflow: hidden; }
#register::before { content: ""; position: absolute; left: -150px; top: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(30,42,110,0.1) 0%, transparent 60%); pointer-events: none; }
.reg-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.reg-form { background: rgba(30,42,110,0.1); border: 1px solid rgba(30,42,110,0.3); border-radius: 12px; padding: 2.5rem; }
.form-title { font-family: var(--font-d); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-grp { margin-bottom: 1rem; }
.f-lbl { display: block; font-family: var(--font-m); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey2); margin-bottom: 6px; }
.f-inp { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r); padding: 11px 14px; font-family: var(--font-b); font-size: 15px; color: var(--white); transition: border-color var(--tr); outline: none; }
.f-inp::placeholder { color: var(--grey2); }
.f-inp:focus { border-color: var(--orange); background: rgba(232,98,26,0.05); }
select.f-inp { cursor: pointer; }
select.f-inp option { background: #0e1422; color: var(--white); }
/* Mobile: slim the modal padding so the ~300px Turnstile widget fits inside the
   content area instead of pushing past the screen edges. (Inline styles on the
   modal boxes need !important to override.) */
@media (max-width: 600px) {
  .reg-modal-pad { padding: 1.5rem 0.6rem !important; }
  .reg-modal-card { padding: 1.75rem 1rem !important; }
  .reg-modal-card .cf-turnstile { display: flex; justify-content: center; }
}
@media (max-width: 359px) {
  .reg-modal-card .cf-turnstile { transform: scale(0.92); transform-origin: top center; }
}
.f-note { font-size: 12px; color: var(--grey2); margin-top: 0.75rem; line-height: 1.5; }
.f-note a { color: var(--orange2); }
.cf-turnstile { margin-top: 1.25rem; }
.f-submit { width: 100%; font-family: var(--font-d); font-weight: 800; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; background: var(--orange); color: var(--white); padding: 15px; border-radius: var(--r); margin-top: 1.25rem; transition: all var(--tr); }
.f-submit:hover { background: var(--orange2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,98,26,0.4); }
.reg-info { display: grid; gap: 1.25rem; margin-top: 2rem; }
.ri-item { display: flex; gap: 1rem; align-items: flex-start; }
.ri-icon { width: 40px; height: 40px; background: rgba(30,42,110,0.3); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ri-title { font-family: var(--font-d); font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--white); margin-bottom: 3px; }
.ri-desc { font-size: 13px; color: var(--grey); line-height: 1.5; }
.ri-desc a { color: var(--orange2); }

/* CONTACT */
.con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.social-links { display: flex; gap: 0.75rem; margin-top: 2rem; }
.soc-lnk { width: 44px; height: 44px; background: rgba(30,42,110,0.2); border: 1px solid rgba(30,42,110,0.35); border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all var(--tr); }
.soc-lnk:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }

