/* Gola Talent Hunt — talenthunt.chandranshfoundation.org
   Loaded after the shared samman.css (served by shared.php). It changes the colour tokens to the Talent Hunt
   stage palette (plum stage, crimson curtain, amber lights, violet) and adds the stage hero and category cards.
   Classes for this site start with tx-. */
body.sx.sx-th {
  --bg: #0e0616;
  --bg-2: #170a24;
  --bg-3: #241035;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .085);
  --line: rgba(255, 220, 240, .11);
  --line-2: rgba(255, 220, 240, .2);
  --ink: #fff6fb;
  --text: #dccbe6;
  --muted: #a690b7;
  --gold: #ffb547;
  --gold-2: #ffd38a;
  --gold-3: #ff4d6d;
  --violet: #a855f7;
  --cyan: #2ee6ff;
  --rose: #ff4d8d;
  --gold-grad: linear-gradient(120deg, #ffe08a 0%, #ffb547 28%, #ff5c6c 64%, #e0368e 100%);
  --gold-rgb: 255, 181, 71;
  --gold2-rgb: 255, 211, 138;
  --bg-rgb: 14, 6, 22;
  --violet-rgb: 168, 85, 247;
  --on-gold: #2b0616;
}
.sx-th .sx-emblem { box-shadow: 0 0 0 1px rgba(255, 211, 138, .35), 0 8px 24px rgba(255, 92, 108, .35); }
.sx-th .sx-btn-gold { box-shadow: 0 10px 30px rgba(255, 92, 108, .32), inset 0 1px 0 rgba(255, 255, 255, .45); }
.sx-th .sx-btn-gold:hover { box-shadow: 0 14px 40px rgba(255, 92, 108, .45), inset 0 1px 0 rgba(255, 255, 255, .45); }
.sx-th .sx-hero-bg .o1 { background: #b8226a; }
.sx-th .sx-hero-bg .o2 { background: #c26a12; }
.sx-th .sx-hero-bg .o3 { background: #5b21b6; }
.sx-th .sx-float { background: rgba(32, 10, 46, .78); }
.sx-th .sx-page-hero::before { background: radial-gradient(rgba(224, 54, 142, .3), transparent 65%); }

/* ---------- hero ---------- */
.tx-title { font-size: clamp(46px, 7.4vw, 92px); line-height: .98; letter-spacing: -.04em; margin-bottom: 14px; }
.tx-title .l2 { display: block; }
.tx-hero .sx-hi { color: var(--gold-2); }

.tx-count { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tx-count div { min-width: 68px; padding: 10px 8px 8px; border-radius: 14px; text-align: center; background: var(--glass-2); border: 1px solid var(--line-2); }
.tx-count b { display: block; font: 800 26px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.tx-count small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tx-count span { color: var(--muted); font-size: 14px; margin-left: 4px; }

/* stage art: curtains, moving spotlights, a dancer and a sound meter */
.tx-stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 100%, rgba(255, 92, 108, .28), transparent 70%), linear-gradient(180deg, #1b0b2b, #0b0412 80%);
  border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .03); }
.tx-curtain { position: absolute; top: 0; bottom: 0; width: 22%; z-index: 3;
  background: repeating-linear-gradient(90deg, #7a0f2e 0 14px, #9f1239 14px 26px, #6b0b27 26px 34px); box-shadow: inset -18px 0 30px rgba(0, 0, 0, .45); }
.tx-curtain.l { left: 0; border-radius: 0 0 60% 0 / 0 0 22% 0; }
.tx-curtain.r { right: 0; transform: scaleX(-1); border-radius: 0 0 60% 0 / 0 0 22% 0; }
.tx-curtain::after { content: ""; position: absolute; left: 0; right: -20%; top: 0; height: 14%; background: linear-gradient(180deg, #5a0920, #9f1239); border-radius: 0 0 40% 0; }
.tx-beam { position: absolute; top: -10%; left: 50%; width: 46%; height: 100%; transform-origin: 50% 0; z-index: 1; mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(255, 230, 170, .55), rgba(255, 230, 170, 0) 85%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
.tx-beam.b1 { margin-left: -23%; animation: txSweep 7s ease-in-out infinite; }
.tx-beam.b2 { margin-left: -23%; background: linear-gradient(180deg, rgba(255, 92, 140, .5), transparent 85%); animation: txSweep 9s ease-in-out -3s infinite reverse; }
.tx-beam.b3 { margin-left: -23%; background: linear-gradient(180deg, rgba(46, 230, 255, .35), transparent 85%); animation: txSweep 11s ease-in-out -5s infinite; }
@keyframes txSweep { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }
.tx-dancer { position: absolute; left: 50%; bottom: 17%; width: 38%; transform: translateX(-50%); z-index: 2; color: #12051d;
  filter: drop-shadow(0 0 22px rgba(255, 181, 71, .55)); animation: txBob 2.4s ease-in-out infinite; }
.tx-dancer svg { width: 100%; height: auto; display: block; }
@keyframes txBob { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-2deg); } 50% { transform: translateX(-50%) translateY(-6px) rotate(2deg); } }
.tx-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; z-index: 2;
  background: radial-gradient(60% 90% at 50% 0%, rgba(255, 181, 71, .45), transparent 70%), linear-gradient(180deg, #2a0f2a, #0b0412); border-top: 1px solid rgba(255, 211, 138, .25); }
.tx-eq { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); z-index: 4; display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.tx-eq i { width: 6px; border-radius: 3px; background: var(--gold-grad); animation: txEq 1.1s ease-in-out infinite; }
.tx-eq i:nth-child(1) { animation-delay: -.2s; } .tx-eq i:nth-child(2) { animation-delay: -.7s; } .tx-eq i:nth-child(3) { animation-delay: -.4s; }
.tx-eq i:nth-child(4) { animation-delay: -.9s; } .tx-eq i:nth-child(5) { animation-delay: -.1s; } .tx-eq i:nth-child(6) { animation-delay: -.6s; }
.tx-eq i:nth-child(7) { animation-delay: -.3s; } .tx-eq i:nth-child(8) { animation-delay: -.8s; } .tx-eq i:nth-child(9) { animation-delay: -.5s; }
@keyframes txEq { 0%, 100% { height: 8px; } 50% { height: 40px; } }
.tx-stage .tx-chip { z-index: 5; }
.tx-stage .sx-float.f1 { top: 18%; left: 6%; right: auto; }
.tx-stage .sx-float.f3 { bottom: 26%; right: 6%; left: auto; top: auto; }
@media (prefers-reduced-motion: reduce) { .tx-beam, .tx-dancer, .tx-eq i { animation: none; } }
@media (max-width: 960px) { .tx-stage { max-width: 420px; } }
@media (max-width: 560px) {
  .tx-stage { max-width: 340px; }
  .tx-stage .sx-float { transform: scale(.88); }
  .tx-count div { min-width: 60px; }
  .tx-count b { font-size: 22px; }
}

/* ---------- categories ---------- */
.tx-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tx-cat { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); }
.tx-cat::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(rgba(255, 92, 108, .35), transparent 65%); }
.tx-cat.group::before { background: radial-gradient(rgba(168, 85, 247, .38), transparent 65%); }
.tx-cat > * { position: relative; }
.tx-cat-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-grad); color: var(--on-gold); }
.tx-cat-ico .ic { width: 26px; height: 26px; }
.tx-cat h3 { font-size: 22px; margin: 8px 0 0; }
.tx-cat p { margin: 0; color: var(--muted); }
.tx-fee { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.tx-fee b { font: 800 34px/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.tx-fee small { color: var(--muted); }
.tx-cat .sx-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* ---------- registration page: the main site's form with the Talent Hunt button colours ---------- */
.sx-th .sx-paper .btn-stage { background: linear-gradient(120deg, #ffe08a 0%, #ffb547 28%, #ff5c6c 64%, #e0368e 100%); color: #2b0616 !important; box-shadow: 0 8px 22px rgba(224, 54, 142, .3); }
.sx-th .sx-paper .th-form-wrap { background: transparent; }
.sx-th .sx-season .sx-steps { grid-template-columns: repeat(2, 1fr); }
