/* shared tn- primitives */
.tn-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(208,250,0,.08); border: 1px solid rgba(208,250,0,.28); color: var(--lime); font: 700 12px/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; }
.tn-glyph { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); color: var(--lime); font-size: 17px; }
.tn-glyph-lilac { color: #b88cff; }
.tn-eyebrow { font: 700 12px/1 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--lime); margin: 0 0 14px; }
.tn-h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .95; font-size: clamp(38px, 5.6vw, 76px); margin: 0; letter-spacing: .005em; }
.tn-sub { color: var(--text-2); font: 400 17px/1.6 var(--f-body); max-width: 60ch; margin: 16px 0 0; }
.tn-glass { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); border-radius: 18px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tn-link { color: var(--lime); font: 700 15px/1 var(--f-ui); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.tn-link i { transition: transform .35s var(--ease-out); }
.tn-link:hover i { transform: translateX(4px); }
#arena :focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* entrance */
.arena-anim .tn-in { opacity: 0; transform: translateY(26px); }
.arena-anim.arena-go .tn-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 120ms); }
.tn-line { display: block; overflow: hidden; padding-bottom: .04em; }
.arena-anim .tn-line > .tn-in { transform: translateY(105%); opacity: 1; }
.arena-anim.arena-go .tn-line > .tn-in { transform: none; }

/* hero */
.tn-hero { position: relative; min-height: 100svh; padding: 140px 0 110px; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.tn-hero-bg { position: absolute; inset: 0; z-index: -1; }
.tn-hero-video, .tn-hero-plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-hero-plate { background: url(../img/gpt-2-1600.webp) center/cover; opacity: .28; filter: grayscale(.35); }
.tn-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,19,.92) 0%, rgba(11,15,19,.55) 55%, rgba(11,15,19,.35) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 35%); }
.tn-hero-word { position: absolute; left: 4%; bottom: -0.12em; font: 400 clamp(90px, 17vw, 280px)/1 var(--f-poster); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); white-space: nowrap; letter-spacing: .02em; }
.tn-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.tn-hero-title { font-size: clamp(46px, 5.8vw, 90px); margin: 22px 0 0; }
.tn-hero-lead { color: var(--text-2); font: 400 18px/1.6 var(--f-body); max-width: 50ch; margin: 22px 0 0; }
.tn-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tn-hero-feats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 620px; }
.tn-hero-feats li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.tn-hero-feats strong { display: block; font: 700 16px/1.2 var(--f-ui); margin-bottom: 4px; }
.tn-hero-feats span { color: var(--muted); font: 400 14px/1.5 var(--f-body); }
.tn-hero-visual { perspective: 1400px; }
.tn-hero-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); transform-style: preserve-3d; will-change: transform; transition: transform .8s var(--ease-out); }
.tn-hero-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.tn-hero-sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.09) 50%, transparent 65%); background-size: 250% 100%; background-position: var(--sx, 100%) 0; pointer-events: none; }
.tn-share { margin-top: 22px; }
.tn-share-label { margin: 0 0 10px; font: 700 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tn-share-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tn-share-list a, .tn-share-list button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); color: #b88cff; font-size: 16px; cursor: pointer; transition: border-color .3s, color .3s, transform .4s var(--ease-out); }
.tn-share-list a:hover, .tn-share-list button:hover { color: var(--lime); border-color: rgba(208,250,0,.4); transform: translateY(-2px); }
.tn-share-toast { min-height: 20px; margin: 8px 0 0; color: var(--lime); font: 600 13px/1.4 var(--f-ui); }
.tn-hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font: 600 12px/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; }
.tn-hero-scroll:hover { color: var(--text); }

@media (max-width: 1023px) {
  .tn-hero-grid { grid-template-columns: 1fr; }
  .tn-hero-visual { max-width: 640px; }
}
@media (max-width: 767px) {
  .tn-hero { padding: 110px 0 90px; min-height: 0; }
  .tn-hero-feats { grid-template-columns: 1fr; }
  .tn-hero-lead { font-size: 16px; }
  .tn-hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .tn-hero-scroll { display: none; }
  .tn-hero-plate { opacity: .45; }
}

/* owner hero image: subtle parallax + HTML "Join now" label */
.tn-hero-frame img.tn-hero-img { aspect-ratio: 4/3; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); will-change: transform; }
.tn-hero-join { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--lime); color: #0b0f13; font: 800 14px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
/* GLM-public-1: the AIvent theme's .dark-scheme a / a:hover colour (white) out-ranked .tn-hero-join, leaving white on lime (1.2:1). */
a.tn-hero-join, a.tn-hero-join:hover, a.tn-hero-join:focus-visible { color: #0b0f13; }
@media (prefers-reduced-motion: reduce) { .tn-hero-frame img.tn-hero-img { transform: none; } }


/* Keep the championship artwork in the opening mobile viewport. */
@media (max-width:1023px){
  .tn-hero{padding-top:84px}
  .tn-hero-visual{grid-row:1;max-width:640px;width:100%;justify-self:center}
  .tn-hero-copy{grid-row:2}
}
@media (max-width:767px){
  .tn-hero{padding-top:72px}
  .tn-hero-frame img.tn-hero-img{max-height:42svh;min-height:280px;object-fit:cover}
}
