@font-face { font-family: Peshka; src: url(fonts/peshka.woff2) format("woff2"); font-weight: 500 900; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: Gilroy; src: url(fonts/Gilroy-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Gilroy; src: url(fonts/Gilroy-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Parsi; src: url(fonts/Parsi-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }

:root {
  --green: #60ff16;
  --text: #e3e3e3;
  --muted: #c7c7c7;
  --card: #121212;
  --chip: #272727;
  --shadow: 0 4.5px 4.5px rgba(0, 0, 0, .55);
  --display: Peshka, "Arial Black", sans-serif;
  --body: Gilroy, system-ui, sans-serif;
  /* type scale (Figma roles) */
  --fs-micro: 10px; --fs-caption: 12px; --fs-ui: 13px; --fs-small: 14px; --fs-note: 15px; --fs-body: 16px;
  --fs-lead: 18px; --fs-subtitle: 20px; --fs-card: 22px; --fs-title-s: 24px; --fs-title-m: 28px;
  --fs-subtitle-fluid: clamp(16px, 1.4vw, 20px); --fs-more: clamp(16px, 1.6vw, 24px); --fs-tour-text: clamp(15px, 1.6vw, 20px);
  --fs-card-fluid: clamp(18px, 1.8vw, 24px); --fs-feature: clamp(18px, 2.4vw, 36px); --fs-player: clamp(18px, 2.4vw, 28px);
  --fs-h2: clamp(26px, 3vw, 36px); --fs-h1: clamp(28px, 4vw, 56px); --fs-tour: clamp(28px, 4vw, 48px);
  --fs-display: clamp(32px, 4.3vw, 64px); --fs-score: clamp(32px, 7vw, 96px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { display: flex; flex-direction: column; min-height: 100svh; background: #000; color: #fff; font-family: var(--body); font-size: var(--fs-body); line-height: 1.5; overflow-x: clip;
  font-kerning: normal; font-variant-ligatures: common-ligatures; font-synthesis: none; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
h1, h2, h3, b, .feature-title, .tmain-body b, .tcard-body b { text-wrap: balance; }
p, .ncard-body > span, .tmain-body span, .tcard-body span, .lead { text-wrap: pretty; }
/* tabular figures only in Gilroy: Peshka's tnum set has a broken zero */
time, .date, .tag, .match time, .file time { font-variant-numeric: tabular-nums; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, b { font-stretch: 125%; }
.nav a, .nav button, .login, .footer-row p, .up { font-stretch: 100%; }
h1, h2, b { font-family: var(--display); font-weight: 900; text-shadow: var(--shadow); }
h2 { font-size: var(--fs-h2); }

/* menu */
.menu { position: sticky; top: 0; z-index: 50; height: 77px; display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; background: rgba(0, 0, 0, .2); backdrop-filter: blur(17px); -webkit-backdrop-filter: blur(17px); border-bottom: 1px solid #282828; transition: background-color .3s, translate .4s var(--ease); }
.menu.scrolled { background: rgba(0, 0, 0, .65); }
.menu.hidden { translate: 0 -100%; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; font: 300 var(--fs-lead)/1 Parsi, sans-serif; letter-spacing: .56px; text-transform: uppercase; }
.logo img { transition: filter .3s; }
.logo:hover img, .logo:focus-visible img { filter: drop-shadow(0 0 8px rgba(96, 255, 22, .55)); }
.logo small { display: block; font-size: var(--fs-ui); letter-spacing: -.2px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a, .nav button, .login { display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; background: none; cursor: pointer; font: 500 var(--fs-ui) var(--display); letter-spacing: .78px; color: var(--text); transition: color .2s; }
.nav > a, .nav > .has-dd > button { background: linear-gradient(var(--green), var(--green)) 10px calc(100% - 4px) / 0 1px no-repeat; transition: color .2s, background-size .3s var(--ease); }
.nav > a:hover, .nav > .has-dd > button:hover, .login:hover { color: var(--green); }
.nav > a:hover, .nav > .has-dd > button:hover { background-size: calc(100% - 20px) 1px; }
.nav .drop::after { content: ""; width: 20px; height: 20px; background: url(img/imgKeyboardArrowDown.svg) center / contain no-repeat; transition: rotate .3s var(--ease); }
.nav .drop:hover::after { background-image: url(img/arrow-hover.svg); }
.nav .drop[aria-expanded="true"] { color: #47bf0f; }
.nav .drop[aria-expanded="true"]::after { background-image: url(img/arrow-hover.svg); rotate: 180deg; }
.has-dd { position: relative; }
.dd { position: absolute; top: calc(100% + 20px); left: 50%; width: max-content; translate: -50% -10px; display: grid; grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 66px; row-gap: 16px; padding: 24px 27px; background: #0b0b0b; border: 1px solid #1c1c1c; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .25s, translate .35s var(--ease), visibility 0s .35s; }
.dd::before { content: ""; position: absolute; inset: -22px 0 100%; }
[aria-expanded="true"] + .dd { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .25s, translate .35s var(--ease); }
.nav .dd a { gap: 12px; padding: 0; font-size: var(--fs-body); letter-spacing: .96px; max-width: 230px; opacity: 0; translate: 0 6px; transition: color .2s, opacity .3s, translate .4s var(--ease); }
[aria-expanded="true"] + .dd a { opacity: 1; translate: none; transition-delay: 0s, calc(var(--i, 0) * 22ms), calc(var(--i, 0) * 22ms); }
.dd img { flex: none; width: 82px; height: 57px; object-fit: cover; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s, filter .2s; filter: brightness(.85); }
.nav .dd a:hover { color: var(--green); }
.dd a:hover img { outline-color: var(--green); filter: none; }
.burger { display: none; width: 44px; height: 44px; place-content: center; gap: 6px; border: 0; background: none; cursor: pointer; }
.burger i { display: block; width: 24px; height: 2px; background: var(--text); transition: rotate .3s var(--ease), translate .3s var(--ease); }
.nav-open .burger i:first-child { translate: 0 4px; rotate: 45deg; }
.nav-open .burger i:last-child { translate: 0 -4px; rotate: -45deg; }

.menu-end { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; align-items: center; }
.lang a, .lang button { padding: 10px 6px; border: 0; background: none; cursor: pointer; font: 500 var(--fs-ui) var(--display); font-stretch: 100%; letter-spacing: .78px; color: rgba(227, 227, 227, .45); transition: color .2s; }
.lang :is(a, button) + :is(a, button)::before { content: "/"; margin-right: 12px; color: rgba(227, 227, 227, .3); }
.lang :is(a, button):hover { color: var(--text); }
.lang [aria-pressed="true"], .lang [aria-current="true"] { color: var(--green); }
.lang-swap main, .lang-swap .nav, .lang-swap .login { animation: lang-swap .35s ease-out; }
@keyframes lang-swap { from { opacity: .25; filter: blur(3px); } }

/* hero: decorative composition laid out on the 1512px Figma stage, scaled to width */
.hero { position: relative; margin-top: -77px; overflow: hidden; display: flex; flex-direction: column; max-height: 100svh; }  /* tagline stays above the fold */
.hero-stage { position: relative; flex-shrink: 1; width: max(100%, 760px); left: 50%; translate: -50%; aspect-ratio: 1512 / 940; min-height: calc(max(100vw, 760px) * 480 / 1512); container-type: inline-size; overflow: hidden; background: #000; }
/* when the hero is cut to the screen height, fade the cut edge into black */
.hero-stage::after { content: ""; position: absolute; inset: auto 0 0; z-index: 3; height: 220px; background: linear-gradient(transparent, #000); pointer-events: none; }
.hero-art, .hero-stage h1 { --u: calc(100cqw / 1512); }
.hero-art { position: absolute; inset: 0; }
.hero-art > * { position: absolute; left: calc(var(--x, 0) * var(--u)); top: calc(var(--y, 0) * var(--u)); width: calc(var(--w, 1512) * var(--u)); height: calc(var(--h, 0) * var(--u)); object-fit: cover; }
.hero-art .flip { scale: -1 1; }
.hero-art .crop { overflow: hidden; }
.hero-art .crop img { position: absolute; width: 103.81%; height: 122.76%; left: -3.81%; top: -5%; max-width: none; }
.hero-art .vig { z-index: 3; mix-blend-mode: multiply; }
.hero-art .vig img { width: 100%; height: 100%; }
.hero-art .rot img { position: absolute; left: 50%; top: 50%; width: calc(var(--h) * var(--u)); height: calc(var(--w) * var(--u)); max-width: none; translate: -50% -50%; rotate: 90deg; scale: 1 -1; }
.hero-art .fade { z-index: 3; background: linear-gradient(transparent, #000); }
.hero-art .grid-glow { mix-blend-mode: screen; object-fit: fill; }
.hero-stage h1 span { display: block; position: relative; }
/* Figma sets both lines on a 138px strut, so the smaller first line sits low and the two lines nearly touch */
.hero-stage h1 span:first-child { font-size: .71em; top: .16em; }
.hero-stage h1 span + span { top: 0; }
.grid-bg { --y: 78; --h: 745; background: url(img/imgRectangle240662770.png) 0 0 / 24px 24px; opacity: .1; mix-blend-mode: screen; }
.ln { --c: rgba(96, 255, 22, var(--o, .32)); background: var(--c); }
.js .ln.h { background: linear-gradient(90deg, transparent, #60ff16 40%, #d6ffc0 50%, #60ff16 60%, transparent) -30% 0 / 22% 100% no-repeat, var(--c); }
.js .ln.v { background: linear-gradient(180deg, transparent, #60ff16 40%, #d6ffc0 50%, #60ff16 60%, transparent) 0 -30% / 100% 22% no-repeat, var(--c); }
.ln.h { height: 1px !important; }
.ln.v { --w: 1; --h: 940; width: 1px !important; }
.hero-stage h1 { position: absolute; z-index: 1; left: 0; right: 0; top: calc(222 * var(--u)); text-align: center; font-size: calc(138 * var(--u)); line-height: .732em; letter-spacing: -.02em; }
.hero-sub { position: relative; z-index: 4; flex-shrink: 0; margin-top: -170px; padding: 0 16px 48px; text-align: center; display: grid; justify-items: center; gap: 16px; text-shadow: 0 4px 4px rgba(0, 0, 0, .55); }
.hero-sub p:first-child { font-size: var(--fs-subtitle-fluid); line-height: 1.4; margin-bottom: 8px; }
.since { color: var(--green); font-size: var(--fs-caption); line-height: 28px; }

/* features (slider + blog banner) */
.slider { display: flex; align-items: center; gap: 16px; max-width: 1505px; margin: 0 auto; padding: 0 10px; }
.slides { flex: 1; min-width: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides .feature { flex: 0 0 100%; scroll-snap-align: start; }
.arrow { flex: none; width: 63px; height: 63px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .9; transition: opacity .15s, scale .15s; }
.arrow:hover { opacity: 1; }
.arrow:active { scale: .92; }
.arrow.next img { rotate: 180deg; }
.feature { position: relative; display: grid; place-items: end center; aspect-ratio: 1327 / 603; border: .5px solid var(--green); overflow: hidden; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: scale .4s ease; }
.feature > img[data-parallax] { scale: 1.1; }
.feature:hover > img { scale: 1.14; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); }
.feature-body { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; width: min(55%, 740px); margin-bottom: 20px; padding: 0 24px 24px; text-align: center; }
.feature-body::before { content: ""; position: absolute; z-index: -1; inset: 18px 0 0; background: rgba(0, 0, 0, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.feature-body.dark::before { background: rgba(0, 0, 0, .7); }
.feature-title { font: 900 expanded var(--fs-feature)/1.12 var(--display); text-wrap: balance; letter-spacing: -.02em; text-shadow: var(--shadow); }
.more { font: 900 expanded var(--fs-more) var(--display); letter-spacing: -.02em; color: var(--green); }
.tag, .date { background: var(--green); color: #000; font: 700 var(--fs-small)/28px var(--body); letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; line-height: 28px; }
.single { margin-top: 144px; max-width: 1337px; }
.single .feature { flex: 1; border-color: #383838; }

/* section heads */
.wrap { max-width: 1426px; margin: 72px auto 0; padding: 0 10px; }
.head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 16px; }
.all { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; flex: none; font: 900 expanded var(--fs-subtitle) var(--display); letter-spacing: .04em; color: var(--green); }
.all::after { content: ""; width: 24px; height: 24px; background: url(img/imgArrowForward.svg) center / contain no-repeat; transition: translate .15s; }
.all:hover::after { translate: 4px 0; }
.chip, .tags i { background: var(--chip); color: var(--muted); font: 400 var(--fs-small)/20px var(--body); font-style: normal; letter-spacing: .28px; padding: 2px 12px; border-radius: 28px; }
.tags { display: flex; gap: 8px; }

/* news cards */
.row { display: flex; align-items: stretch; gap: 13px; overflow-x: auto; overflow-y: hidden; padding-block: 12px 48px; margin-block: -12px -48px; scroll-snap-type: x mandatory; margin-right: calc(50% - 50vw); padding-right: 16px; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.ncard { position: relative; flex: 0 0 294px; scroll-snap-align: start; display: flex; flex-direction: column; }
.ncard-img { position: relative; height: 227px; overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.ncard:hover .ncard-img img { scale: 1.05; }
.ncard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); }
.date { position: absolute; z-index: 1; left: 11px; top: 15px; font-size: var(--fs-ui); line-height: 14px; padding: 4px 8px; }
.ncard { align-self: stretch; }
.ncard-body { flex: 1; min-height: 227px; background: var(--card); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ncard-body .tags { margin-top: auto; }
.ncard-body b, .bcard b { font-weight: 700; font-stretch: 112.5%; letter-spacing: 1.32px; text-shadow: none; }
.ncard-body b { font-size: var(--fs-card); line-height: 1.15; }
.ncard-body > span:not(.tags) { color: var(--muted); font-size: var(--fs-small); line-height: 20px; letter-spacing: .28px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; }

/* tournaments */
.tours { position: relative; margin-top: 144px; padding: 0 16px; display: grid; justify-items: center; }
.tours::before { content: ""; position: absolute; left: 50%; top: 40%; translate: -50% -50%; width: min(1737px, 120%); aspect-ratio: 1737 / 1065; background: url(img/imgEllipse15.svg) center / contain no-repeat; pointer-events: none; }
.tours h2 { position: relative; z-index: 1; font-size: var(--fs-display); letter-spacing: -.02em; margin-bottom: 130px; text-align: center; }
.deco { position: absolute; pointer-events: none; }
.dragon { left: -6px; top: 0; width: min(473px, 31vw); scale: -1 1; }
.knight { right: -16px; top: -10px; width: min(473px, 31vw); rotate: 7.74deg; }
.tours-grid { position: relative; width: min(1214px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.tmain { grid-column: 1 / -1; position: relative; aspect-ratio: 1214 / 690; border: .5px solid var(--green); overflow: hidden; display: grid; place-items: end center; }
.tmain .bg, .tcard .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.tmain .bg { object-position: 50% 80%; }
.tmain .bg[data-parallax] { scale: 1.1; }
.tcard:hover .bg { scale: 1.05; }
.tmain:hover .bg { scale: 1.14; }
.tmain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .85) 80%); }
.tmain .frame { position: absolute; z-index: 2; inset: 2.3%  1.3%; width: 97.4%; height: 95.4%; }
.tmain-body { position: relative; z-index: 1; display: grid; justify-items: center; padding: 0 24px 9%; text-align: center; }
.play { position: absolute; left: 50%; bottom: calc(100% + 30px); translate: -50% 0; width: clamp(48px, 7.6vw, 92px); height: auto; transition: scale .2s; }
.tmain:hover .play { scale: 1.08; }
.emblem { width: clamp(60px, 9vw, 110px); height: auto; margin-bottom: -16px; }
.tmain-body b { font-size: var(--fs-tour); letter-spacing: -.02em; line-height: 1.6; }
.tmain-body span { max-width: 490px; font-size: var(--fs-tour-text); line-height: 1.2; text-shadow: var(--shadow); }
.tcard { position: relative; aspect-ratio: 593 / 338; display: grid; place-items: end center; overflow: hidden; }
.tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, #000 83%); }
.tcard::before { content: ""; position: absolute; z-index: 2; inset: 4% 2.3%; background: url(img/imgRectangle240662774.svg) center / 100% 100% no-repeat; pointer-events: none; }
.tcard-body { position: relative; z-index: 1; display: grid; gap: 8px; text-align: center; padding: 0 16px 13%; }
.tcard-body b { font-size: var(--fs-card-fluid); }
.tcard-body span { font-size: var(--fs-note); line-height: 20px; text-shadow: var(--shadow); }
.tours > .all { position: relative; margin-top: 40px; font-size: var(--fs-title-s); letter-spacing: -.02em; }

/* blog */
.blog { position: relative; max-width: 1347px; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.bcard { position: relative; height: 303px; border: 1px solid #1c1c1c; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 20px; }
.bcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.bcard:hover img { scale: 1.05; }
.bcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.bcard > :not(img) { position: relative; z-index: 1; }
.bcard .date { position: absolute; left: 16px; top: 20px; }
.bcard b { font-size: var(--fs-card); line-height: 1.15; }

/* ---------- inner pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 32px; font: 500 var(--fs-caption) var(--display); font-stretch: 100%; letter-spacing: .72px; color: #8a8a8a; }
.crumbs > * + *::before { content: "/"; margin: 0 10px; color: #444; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--text); }
.page { margin-top: 32px; }
.page h2 { margin: 48px 0 24px; }
.page-title { font: 900 expanded var(--fs-h1)/1.05 var(--display); text-wrap: balance; letter-spacing: -.02em; text-shadow: var(--shadow); margin-bottom: 32px; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 32px; }
.chips a, .chip { background: var(--chip); color: var(--muted); font: 400 var(--fs-small)/20px var(--body); padding: 6px 14px; border-radius: 28px; transition: background-color .2s, color .2s; }
.chips a:hover { color: #fff; }
.chips [aria-current] { background: var(--green); color: #000; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 20px; }

.article { margin-top: 24px; }
/* article and file pages share one reading column: title, meta, text and buttons start on the same edge */
.article-head, .note, .prose { box-sizing: border-box; width: 100%; max-width: 720px; margin-inline: auto; padding-inline: 16px; }
.article-head { margin-top: 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: var(--fs-small); }
.article-meta .tag { font-size: var(--fs-ui); line-height: 14px; padding: 6px 8px; }
.article-cover { max-width: 1040px; margin: 0 auto 48px; padding: 0 16px; }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; border: .5px solid var(--green); }
.note { margin-bottom: 24px; color: var(--muted); font-style: italic; }
.prose { color: #d6d6d6; font-size: var(--fs-lead); line-height: 1.65; overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 7 3 3; hanging-punctuation: first allow-end; }
.prose :is(h2, h3, h4) { hyphens: manual; }
.prose :is(p, li, div, span, td) { text-align: start !important; } /* archive posts were justified; ragged-right reads better on screen */
.prose > * + * { margin-top: 1em; }
.prose :is(h2, h3, h4) { margin-top: 1.8em; color: #fff; font-family: var(--display); font-weight: 700; font-stretch: 112.5%; letter-spacing: .04em; line-height: 1.2; }
.prose h2 { font-size: var(--fs-title-m); } .prose h3 { font-size: var(--fs-card); } .prose h4 { font-size: var(--fs-lead); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose img, .prose iframe, .prose video { max-width: 100%; height: auto; margin-inline: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.prose :is(ul, ol) { padding-left: 1.3em; }
.prose blockquote { border-left: 2px solid var(--green); padding-left: 20px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-note); }
.prose :is(td, th) { border-bottom: 1px solid #222; padding: 8px; text-align: left; }
.prose .embed-facade { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 28px; border: 1px dashed rgba(96, 255, 22, .4); background: var(--card); }
.prose .embed-facade button { cursor: pointer; border: 0; background: var(--green); color: #000; font: 900 expanded var(--fs-body) var(--display); padding: 14px 22px; transition: filter .2s, translate .2s var(--ease); }
.prose .embed-facade button:hover { filter: brightness(1.1); translate: 0 -2px; }
.prose .embed-facade a { color: var(--muted); font-size: var(--fs-small); }
.prose .embed-facade.loaded { padding: 0; border: 0; display: block; }
.prose .embed-facade iframe { width: 100%; height: 600px; border: 0; aspect-ratio: auto; background: #fff; }
.prose .chart-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid rgba(96, 255, 22, .5); color: var(--green); text-decoration: none; font: 700 var(--fs-note) var(--body); transition: background-color .2s, color .2s; }
.prose .chart-link::after { content: "↗"; }
.prose .chart-link:hover { background: var(--green); color: #000; }
.more-posts { margin-top: 96px; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #000 !important; text-decoration: none !important; font: 900 var(--fs-body) var(--display); font-stretch: 125%; padding: 14px 24px; transition: filter .2s, translate .2s var(--ease); }
.btn:hover { filter: brightness(1.1); translate: 0 -2px; }

.tour-hero { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); }
/* tournament art is landscape and often carries its own lettering: show it clean, put the text in a panel below */
.tour-banner { position: relative; display: grid; place-items: center; overflow: hidden; margin: 0; border: .5px solid var(--green); border-bottom: 0; background: #050505; }
/* whole art, never cropped, but no taller than ~half a screen; the sides get a blurred copy of it */
.tour-art { position: relative; display: block; width: auto; max-width: 100%; height: auto; max-height: min(52svh, 560px); }
.tour-art-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(.35) saturate(1.2); scale: 1.2; }
/* text under the panel: same left edge as the title, comfortable reading width */
.tour-body { margin-top: 48px; }
.tour-body .prose { max-width: calc(720px + 2 * clamp(24px, 3.5vw, 44px)); margin-inline: 0; padding-inline: clamp(24px, 3.5vw, 44px); }
.tour-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: start; padding: clamp(24px, 3.5vw, 44px); border: .5px solid #2a2a2a; border-top-color: var(--green); background: var(--card); }
.tour-info .page-title { margin-bottom: 14px; }
.tour-info .lead { max-width: 640px; }
.tour-hero .facts { display: grid; gap: 18px; margin: 0; min-width: 240px; padding-left: 32px; border-left: 1px solid #262626; }
.tour-hero .facts dd { white-space: nowrap; }
.lead { color: var(--muted); font-size: var(--fs-subtitle); line-height: 1.45; max-width: 640px; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 28px; }
.facts dt { color: #8a8a8a; font-size: var(--fs-ui); text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 4px 0 0; font: 900 semi-expanded var(--fs-title-s) var(--display); color: #fff; }

.matches { list-style: none; padding: 0; display: grid; gap: 6px; }
.match { display: grid; grid-template-columns: 110px minmax(0, 180px) 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 16px; background: var(--card); border: 1px solid #1c1c1c; transition: border-color .2s; }
.match:not(:has(.match-tour)) { grid-template-columns: 110px 1fr auto 1fr; }
.match:hover { border-color: rgba(96, 255, 22, .4); }
.match time { color: #8a8a8a; font-size: var(--fs-small); }
.match-tour { color: var(--muted); font-size: var(--fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-tour:hover { color: var(--green); }
.pl { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted); font-weight: 400; transition: color .2s; }
.pl.right { justify-content: flex-end; text-align: right; }
.pl img { width: 28px; height: 32px; clip-path: var(--hex); object-fit: cover; flex: none; }
.pl.win { color: #fff; font-weight: 700; }
.pl.win::after { content: "★"; color: var(--green); font-size: var(--fs-caption); }
.pl.right.win::after { order: -1; }
.pl:hover { color: var(--green); }
.score { font: 900 semi-expanded var(--fs-lead) var(--display); padding: 4px 12px; background: #000; border: 1px solid #2a2a2a; color: #fff; white-space: nowrap; transition: border-color .2s, color .2s; }
.score:hover { border-color: var(--green); color: var(--green); }

.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; margin: 32px 0 48px; }
.vs-player { display: grid; justify-items: center; gap: 12px; text-align: center; color: var(--muted); }
.vs-player .hex-frame img { width: min(174px, 26vw); }
.vs-player b { font-size: var(--fs-player); color: #fff; }
.vs-score { white-space: nowrap; font: 900 expanded var(--fs-score) var(--display); color: var(--green); text-shadow: 0 0 40px rgba(96, 255, 22, .4); }
.video { aspect-ratio: 16 / 9; margin-bottom: 32px; border: .5px solid var(--green); }
.video iframe { width: 100%; height: 100%; border: 0; }

.profile { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.profile .avatar { width: 156px; }
.profile .page-title { margin-bottom: 8px; }
.ladder-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; font-size: var(--fs-small); }
.ladder-link .ch { padding: 6px 14px; border: 1px solid #2a2a2a; color: #fff; transition: border-color .2s, color .2s; }
.ladder-link .ch:hover { border-color: var(--green); }
.ladder-link a { color: var(--muted); transition: color .2s; }
.ladder-link a:hover { color: var(--green); }

/* hexagonal avatars, same shape as the logo mark (point up) */
:root { --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); --hex-ratio: .866; }  /* regular hexagon: width = √3/2 × height */
.hex-frame { --line: #2a2a2a; display: inline-block; line-height: 0; filter: drop-shadow(1px 0 0 var(--line)) drop-shadow(-1px 0 0 var(--line)) drop-shadow(0 1px 0 var(--line)) drop-shadow(0 -1px 0 var(--line)); }
.hex-frame.on { --line: var(--green); filter: drop-shadow(1px 0 0 var(--line)) drop-shadow(-1px 0 0 var(--line)) drop-shadow(0 1px 0 var(--line)) drop-shadow(0 -1px 0 var(--line)); }
.hex-frame img { display: block; aspect-ratio: var(--hex-ratio); height: auto; object-fit: cover; clip-path: var(--hex); background: #111; }

/* 404 */
.notfound-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.notfound-links a:not(.btn) { color: var(--muted); }
.notfound-links a:not(.btn):hover { color: var(--green); }

/* country flags */
.flag { display: inline-block; width: 1.25em; height: auto; aspect-ratio: 4 / 3; margin-right: .45em; vertical-align: -.1em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); object-fit: cover; }

/* players list */
.players-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.players-head .page-title { margin-bottom: 0; }
.players-head .page-title small { font-size: .4em; color: var(--muted); font-variant-numeric: tabular-nums; font-family: var(--body); letter-spacing: 0; vertical-align: super; }
.players-search { width: min(100%, 320px); padding: 12px 16px; background: var(--card); border: 1px solid #2a2a2a; color: var(--text); font: 400 var(--fs-body) var(--body); transition: border-color .2s; }
.players-search:focus { outline: none; border-color: var(--green); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.pcard { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; background: var(--card); border: 1px solid #1c1c1c; transition: border-color .2s, translate .2s; }
.pcard[hidden] { display: none; }
.pcard:hover { border-color: var(--green); translate: 0 -2px; }
.pcard > img { flex: none; width: 49px; height: 56px; clip-path: var(--hex); object-fit: cover; background: #1c1c1c; }
.pcard span { display: grid; gap: 4px; min-width: 0; flex: 1; }
.pcard b { font: 700 semi-expanded var(--fs-ui)/1.2 var(--display); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard small { color: var(--muted); font-size: var(--fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard i { flex: none; font-style: normal; color: var(--green); font: 500 var(--fs-small) var(--body); font-variant-numeric: tabular-nums; }
.players-empty { color: var(--muted); padding: 40px 0; }

.files { list-style: none; padding: 0; display: grid; gap: 8px; }
.file { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 16px; background: var(--card); border: 1px solid #1c1c1c; transition: border-color .2s; }
.file:hover { border-color: rgba(96, 255, 22, .6); }
.file img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; }
.file b { font-size: var(--fs-lead); font-weight: 700; font-stretch: 112.5%; transition: color .2s; }
.file a:hover b { color: var(--green); }
.file .btn { font-size: var(--fs-ui); padding: 12px 18px; }
@media (max-width: 700px) { .file { grid-template-columns: 80px 1fr; } .file img { width: 80px; } .file .btn { grid-column: 1 / -1; justify-content: center; } }

.dd-list { grid-template-rows: none; grid-auto-flow: row; row-gap: 4px; padding: 16px 20px; }
.nav .dd-list a { font-size: var(--fs-small); padding: 8px 4px; max-width: none; }

@media (max-width: 900px) {
  .tour-panel { grid-template-columns: 1fr; }
  .tour-hero .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 20px 0 0; border-left: 0; border-top: 1px solid #262626; min-width: 0; }
  .tour-hero .facts dd { white-space: normal; }
  .match, .match:not(:has(.match-tour)) { grid-template-columns: 1fr auto 1fr; row-gap: 6px; }
  .match time, .match-tour { grid-column: 1 / -1; }
  .profile { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .profile .avatar { width: 104px; }
  .vs { gap: 12px; }
}

/* footer */
.up { width: 64px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12px 4px 10px;
  background: var(--green); color: #000; font: 500 var(--fs-micro) var(--display); letter-spacing: .08em; text-transform: uppercase;
  transition: translate .25s var(--ease), box-shadow .25s; }
.up svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: square; transition: translate .3s var(--ease); }
.up:hover { translate: 0 -4px; box-shadow: 0 14px 34px -14px rgba(96, 255, 22, .7); }
.up:hover svg { translate: 0 -3px; }
.up:active { translate: 0 -1px; }
.up[hidden] { display: none; }
main { flex: 1 0 auto; }  /* short pages: footer stays at the bottom of the screen */
.footer { margin-top: 72px; padding: 0 14px 12px; display: grid; justify-items: center; gap: 8px; }
.footer-row { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-row p { font: 500 var(--fs-ui) var(--display); letter-spacing: .78px; color: var(--text); padding: 10px; }

@media (max-width: 1100px) {
  .burger { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 77px); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 32px; overflow-y: auto; background: #000; opacity: 0; visibility: hidden; translate: 0 -12px; transition: opacity .25s, translate .35s var(--ease), visibility 0s .35s; }
  .nav-open .nav { opacity: 1; visibility: visible; translate: none; transition: opacity .25s, translate .35s var(--ease); }
  .nav > a, .nav > .has-dd > button { width: 100%; justify-content: space-between; padding: 16px 0; font-size: var(--fs-subtitle); border-bottom: 1px solid #1c1c1c; background: none; }
  .dd { position: static; width: auto; translate: none; display: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); grid-template-rows: none; grid-auto-flow: row; gap: 12px 24px; padding: 16px 0 24px; border: 0; box-shadow: none; background: none; }
  .nav .dd a { font-size: var(--fs-small); }
  .dd img { width: 64px; height: 44px; }
  [aria-expanded="true"] + .dd { display: grid; translate: none; }
  .bgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .menu { padding-left: 12px; padding-right: 4px; }
  .logo { gap: 8px; font-size: var(--fs-small); }
  .logo small { font-size: var(--fs-micro); }
  .logo img { width: 34px; height: auto; }
  .menu-end { gap: 0; }
  .lang a, .lang button { padding: 10px 4px; }
  .lang :is(a, button) + :is(a, button)::before { margin-right: 8px; }
  .login { font-size: 0; gap: 0; }
  .hero-stage h1 { left: calc(50% - 50vw); right: auto; width: 100vw; font-size: 13vw; top: 24%; }
  /* on phones the title has its own size, so its rules are drawn from the title itself (same em offsets as Figma: 27/138 and 197/138) */
  .hero-art .ln.h { display: none; }
  .hero-stage h1::before, .hero-stage h1::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(96, 255, 22, .34); }
  .hero-stage h1::before { top: .196em; }
  .hero-stage h1::after { top: 1.428em; }
  .js .hero-stage h1::before { translate: 0 calc(var(--frame) - var(--gate)); }
  .js .hero-stage h1::after { translate: 0 calc(var(--frame) + var(--gate)); }
  .arrow { display: none; }
  .slider { padding: 0 16px; }
  .feature { aspect-ratio: 4 / 5; }
  .feature-body { width: 100%; }
  .wrap { padding: 0 16px; margin-top: 48px; }
  .head h2 { font-size: var(--fs-card); }
  .all { font-size: var(--fs-note); }
  .tours, .single { margin-top: 80px; }
  .tours h2 { margin-bottom: 48px; }
  .tours-grid { grid-template-columns: 1fr; }
  .tmain { aspect-ratio: 4 / 5; }
  .play { bottom: calc(100% + 12px); }
  .bgrid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; text-align: center; }
}
/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22%); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-3%); } }
@keyframes title-in { from { opacity: 0; transform: translateY(45%) scale(.96); filter: blur(16px); } }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes nudge { 50% { transform: translateY(6px); } }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(96, 255, 22, .55); } to { box-shadow: 0 0 0 26px rgba(96, 255, 22, 0); } }
@keyframes breathe { 50% { opacity: .55; transform: scale(.94); } }

/* hero intro + parallax (vars set by main.js) */
/* hero entrance: dragons swoop in from the top corners, riders rise out of the mist from the edges inward */
.js .hero-art { background: #000; }
/* the title is locked to its two lines: on scroll each line of type travels with its rule and they part like gates */
.js .hero-stage { --frame: calc(var(--sy, 0) * .35px); --gate: calc(var(--sy, 0) * .28px); }
.js .ln-top, .js .hero-stage h1 span:first-child { translate: 0 calc(var(--frame) - var(--gate)); }
.js .ln-bottom, .js .hero-stage h1 span + span { translate: 0 calc(var(--frame) + var(--gate)); }
.js .ln.v { translate: 0 var(--frame); }
.js .ln, .js .hero-stage h1 { opacity: calc(1 - var(--sy, 0) / 700); }
.js .hero-art .fig { animation: emerge 1.6s var(--ease) var(--t, .6s) both;
  translate: calc((var(--mx, 0) * -22px + var(--side, 0) * var(--sy, 0) * .5px) * var(--d)) calc(var(--sy, 0) * var(--d) * -.3px + var(--my, 0) * var(--d) * -12px); }
.js .hero-art .fig-dragon { animation: swoop 1.7s cubic-bezier(.2, .8, .25, 1) .25s both, hover-wing 5s ease-in-out 2s infinite alternate;
  translate: calc(var(--side) * var(--sy, 0) * .7px + var(--mx, 0) * -10px) calc(var(--sy, 0) * -1.1px + var(--my, 0) * -8px); }
.js .hero-art .fig-dragon.r { animation-delay: .4s, 2.2s; }
.js .hero-art .fog { animation: fog-in 2.4s ease-out .4s both, mist 22s ease-in-out 2.8s infinite alternate; }
@keyframes emerge {
  0% { opacity: 0; transform: translate(calc(var(--sx, 0) * -14%), 26%) scale(.9); filter: blur(10px) brightness(.35); }
  55% { opacity: 1; filter: blur(0) brightness(1.2) drop-shadow(0 0 22px rgba(96, 255, 22, .55)); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes swoop {
  0% { opacity: 0; transform: translate(calc(var(--sx) * 55%), -50%) rotate(calc(var(--sx) * 20deg)) scale(.65); filter: blur(6px); }
  65% { opacity: 1; transform: translate(calc(var(--sx) * -4%), 4%) rotate(calc(var(--sx) * -3deg)) scale(1.04); filter: blur(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes hover-wing { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3%) rotate(-2deg); } 100% { transform: translateY(1.5%) rotate(1deg); } }
@keyframes fog-in { from { opacity: 0; } 50% { opacity: 1.4; } }
.js .hero-art .grid-bg { animation: fade-up 2s ease-out both, grid-drift 14s linear infinite; }
.js .ln.h { animation: draw-x 1.8s cubic-bezier(.65, 0, .35, 1) .2s both, sweep-x 7s linear 2s infinite; }
.js .ln.v { animation: draw-y 1.8s cubic-bezier(.65, 0, .35, 1) .4s both, sweep-y 9s linear 3s infinite; }
.js .ln:nth-of-type(2) { animation-delay: .2s, 5.5s; }
.js .ln:nth-of-type(4) { animation-delay: .4s, 7.5s; }
@keyframes grid-drift { to { background-position: 24px 24px; } }
@keyframes sweep-x { from { background-position: -30% 0, 0 0; } 60%, to { background-position: 130% 0, 0 0; } }
@keyframes sweep-y { from { background-position: 0 -30%, 0 0; } 60%, to { background-position: 0 130%, 0 0; } }


.js .hero-stage h1 span { display: block; animation: title-wipe 1.3s var(--ease) .45s both; }
.js .hero-stage h1 span + span { animation-delay: .62s; }
@keyframes title-wipe {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(40%); letter-spacing: .14em; }
  30% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(-25% -5% -25% -5%); transform: none; letter-spacing: -.02em; }
}
.js .hero-sub > * { animation: fade-up 1s var(--ease) both; }
.js .hero-sub > :nth-child(1) { animation-delay: 1s; }
.js .hero-sub > :nth-child(2) { animation-delay: 1.15s; }
.js .hero-sub > :nth-child(3) { animation: fade-up 1s var(--ease) 1.3s both, nudge 1.6s ease-in-out 2.3s infinite; }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; translate: 0 56px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; translate: none; }
.js .tours h2[data-reveal] { translate: none; scale: .92; filter: blur(10px); transition: opacity 1.2s var(--ease), scale 1.2s var(--ease), filter 1.2s var(--ease); }
.js .tours h2[data-reveal].in { scale: none; filter: none; }

/* cards: lift, glow, tilt */
.js .ncard, .js .bcard { transition: opacity 1s var(--ease), translate 1s var(--ease), transform .35s var(--ease), box-shadow .35s, border-color .35s; transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s; }
.ncard:hover, .bcard:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(96, 255, 22, .45); }
.bcard:hover { border-color: rgba(96, 255, 22, .6); }
.ncard b, .bcard b { transition: color .2s; }
.ncard:hover b, .bcard:hover b { color: var(--green); }
.tmain, .tcard { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js .tmain, .js .tcard { transition: opacity 1s var(--ease), translate 1s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s; }
.tmain::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%), rgba(96, 255, 22, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.tmain:hover::before { opacity: 1; }
.tcard:hover::before { filter: drop-shadow(0 0 6px rgba(96, 255, 22, .8)); }
.tcard::before { transition: filter .3s; }
.play { border-radius: 50%; animation: ring 2s ease-out infinite; }
.tours::before { animation: breathe 7s ease-in-out infinite; }
.js .deco[data-reveal] { opacity: 0; translate: 0 calc(var(--py, 0) * 1px); transition: opacity .6s; }
.js .deco[data-reveal].in { opacity: 1; translate: 0 calc(var(--py, 0) * 1px); }
.js .dragon.in { animation: fly-in 1.6s cubic-bezier(.2, .8, .25, 1) both, float 4.5s ease-in-out 1.6s infinite alternate; }
.js .knight.in { animation: fly-in 1.6s cubic-bezier(.2, .8, .25, 1) .15s both, float 4.5s ease-in-out 1.75s infinite alternate-reverse; }
/* the dragon is mirrored with scale: -1 1, so +x inside its transform points left on screen */
@keyframes fly-in { 0% { opacity: 0; transform: translate(60%, -35%) rotate(14deg) scale(.7); filter: blur(4px); } 70% { opacity: 1; transform: translate(-3%, 2%) rotate(-2deg) scale(1.03); filter: none; } 100% { transform: none; } }

/* cards tip up in 3D as they arrive, section titles open like a shutter */
.row, .bgrid, .tgrid { perspective: 1400px; }
.js .ncard[data-reveal], .js .bcard[data-reveal] { rotate: x 24deg; transform-origin: 50% 100%;
  transition: opacity 1s var(--ease), translate 1s var(--ease), rotate 1.1s var(--ease), transform .35s var(--ease), box-shadow .35s, border-color .35s;
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s; }
.js .ncard[data-reveal].in, .js .bcard[data-reveal].in { rotate: none; }
.js .head[data-reveal] h2 { clip-path: inset(0 0 100% 0); translate: 0 60%; transition: clip-path 1s var(--ease) .15s, translate 1s var(--ease) .15s; }
.js .head[data-reveal].in h2 { clip-path: inset(-20% -2% -20% -2%); translate: none; }
.js .slider .feature > img { transition: scale 1.6s var(--ease); }
.js .slider:not(.in) .feature > img { scale: 1.3; }

/* Jebus Next card: the art pulls back, the frame settles, play pops */
.tmain .bg { transition: scale 1.8s var(--ease), filter 1.8s var(--ease); }
.js .tmain:not(.in) .bg { scale: 1.35; filter: brightness(.25) saturate(.4); }
.tmain .frame { transition: opacity 1s .5s, scale 1.4s var(--ease) .4s; }
.js .tmain:not(.in) .frame { opacity: 0; scale: 1.08; }
.js .tmain.in .play { animation: ring 2s ease-out 1.8s infinite, pop .8s cubic-bezier(.34, 1.56, .64, 1) .9s both; }
.js .tmain.in .emblem { animation: pop .8s cubic-bezier(.34, 1.56, .64, 1) 1.05s both; }
@keyframes pop { from { opacity: 0; transform: scale(0) rotate(-20deg); } }
.feature-body .more, .tours > .all { transition: letter-spacing .3s var(--ease); }
.feature:hover .more { letter-spacing: .06em; }

/* ---------- per-block ambient motion (paused off-screen via .live) ---------- */
[data-live]:not(.live), [data-live]:not(.live) *, [data-live]:not(.live)::before, [data-live]:not(.live)::after, [data-live]:not(.live) *::before, [data-live]:not(.live) *::after { animation-play-state: paused !important; }

/* hero: green mist rolling at the riders' feet */
.hero-art .fog { --x: -300; --y: 560; --w: 2112; --h: 380; z-index: 2; mix-blend-mode: screen; pointer-events: none; background: radial-gradient(18% 34% at 20% 60%, rgba(96, 255, 22, .16), transparent 70%), radial-gradient(22% 30% at 48% 70%, rgba(180, 255, 200, .08), transparent 70%), radial-gradient(16% 36% at 72% 55%, rgba(96, 255, 22, .13), transparent 70%), radial-gradient(20% 28% at 92% 72%, rgba(120, 255, 180, .08), transparent 70%); filter: blur(10px); animation: mist 22s ease-in-out infinite alternate; }
@keyframes mist { from { transform: translateX(0); opacity: .7; } 50% { opacity: 1; } to { transform: translateX(14%); opacity: .75; } }

/* featured banners: slow Ken Burns + light sheen across the frame */
.feature > img { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.07) translate(-1.5%, -1%); } }
.feature::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(214, 255, 192, .10) 50%, transparent 58%) 160% 0 / 250% 100% no-repeat; animation: sheen 8s ease-in-out 2s infinite; }
@keyframes sheen { from { background-position: 160% 0; } 45%, to { background-position: -60% 0; } }

/* news row: a green pulse runs along the cards' top edges, card by card */
.ncard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, var(--green), transparent) -80% 0 / 45% 100% no-repeat; opacity: 0; animation: trace 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .55s); }
@keyframes trace { 0% { background-position: -80% 0; opacity: 0; } 8% { opacity: 1; } 35% { background-position: 180% 0; opacity: 1; } 42%, to { background-position: 180% 0; opacity: 0; } }

/* tournaments: sparks canvas (main.js) over the breathing glow */
.tours .sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tours h2, .tours-grid, .tours > .all { z-index: 1; }

/* blog: aurora drifting behind the grid */
.blog::before { content: ""; position: absolute; inset: -140px -12% -80px; z-index: -1; pointer-events: none; background: radial-gradient(30% 34% at 22% 40%, rgba(96, 255, 22, .10), transparent 70%), radial-gradient(26% 30% at 80% 65%, rgba(30, 210, 140, .08), transparent 70%); animation: aurora 26s ease-in-out infinite alternate; }
@keyframes aurora { 50% { transform: translate(5%, -6%) scale(1.1); } to { transform: translate(-4%, 4%) scale(.95); } }

@media (max-width: 359px) {
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; scale: none; filter: none; rotate: none; }
  .js .head[data-reveal] h2 { clip-path: none; translate: none; }
  .js .tmain:not(.in) .bg, .js .slider:not(.in) .feature > img { scale: 1.1; filter: none; }
  .js .tmain:not(.in) .frame { opacity: 1; scale: none; }
}
