/* Solaro Games — the site around the games. Dark, deep blue, lit by a cyan → violet → magenta sun.
   Tokens first; then the shell (header, footer), the building blocks (buttons, chips, cards, panels) and the pages. */
:root {
    --bg: #060814;
    --bg-2: #0a0e20;
    --panel: rgba(16, 22, 48, .72);
    --panel-solid: #10162f;
    --panel-hi: rgba(26, 34, 70, .82);
    --line: rgba(140, 170, 255, .13);
    --line-hi: rgba(140, 200, 255, .32);
    --ink: #eef1ff;
    --ink-2: #c8cdea;
    --mute: #8f98c0;
    --cyan: #22d3ee;
    --violet: #8b5cf6;
    --magenta: #ec4899;
    --amber: #ffb547;
    --green: #34d399;
    --brand: linear-gradient(90deg, #22d3ee 0%, #8b5cf6 55%, #ec4899 100%);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --display: Rajdhani, Inter, system-ui, sans-serif;
    --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --max: 1320px;
    --gutter: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--body); -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* the light behind the whole site: a sun rising behind the header, a violet haze to the right */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(900px 520px at 12% -8%, rgba(34, 211, 238, .14), transparent 60%),
        radial-gradient(900px 600px at 92% 4%, rgba(139, 92, 246, .16), transparent 60%),
        radial-gradient(1200px 800px at 50% 120%, rgba(236, 72, 153, .07), transparent 60%),
        linear-gradient(180deg, #070a18 0%, #060814 40%, #05060f 100%);
}
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7ee8fa; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; color: #fff; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; }
.grad-text { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ header ============ */
.hdr { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
    background: rgba(6, 8, 20, .72); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.logo:hover { color: #fff; }
.logo img { width: 40px; height: 40px; filter: drop-shadow(0 0 12px rgba(139, 92, 246, .45)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.logo:hover img { transform: rotate(-12deg) scale(1.06); }
.logo__txt { display: flex; flex-direction: column; line-height: .9; font-family: var(--display); }
.logo__txt b { font-size: 23px; letter-spacing: .08em; font-weight: 700; }
.logo__txt small { font-size: 11px; letter-spacing: .42em; color: var(--mute); font-weight: 600; margin-top: 3px; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 13px; color: var(--ink-2); font: 600 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; border-radius: 10px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.nav a.is-on { color: #fff; }
.nav a.is-on::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 12px rgba(34, 211, 238, .7); }
.hdr__search { position: relative; margin-left: auto; width: min(280px, 26vw); }
.hdr__search input { width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
    color: var(--ink); font: inherit; font-size: 14px; transition: border-color .2s, background .2s; }
.hdr__search input::placeholder { color: var(--mute); }
.hdr__search input:focus { outline: none; border-color: var(--line-hi); background: rgba(255, 255, 255, .07); }
.hdr__search svg { position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; color: var(--mute); pointer-events: none; }
.search-pop { position: absolute; top: 48px; left: 0; right: 0; min-width: 300px; padding: 8px; border-radius: 14px; background: var(--panel-solid); border: 1px solid var(--line-hi);
    box-shadow: var(--shadow); display: none; }
.search-pop.is-open { display: block; }
.search-pop a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--ink); }
.search-pop a:hover, .search-pop a.is-cur { background: rgba(255, 255, 255, .06); }
.search-pop img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; }
.search-pop small { display: block; color: var(--mute); font-size: 12px; }
.search-pop__none { padding: 10px; color: var(--mute); font-size: 14px; }
.hdr__acts { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }

/* the account menu */
.me { position: relative; }
.me__btn { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
    color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.me__btn:hover { border-color: var(--line-hi); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--display); color: #fff; background: var(--brand); flex-shrink: 0; }
.avatar--lg { width: 72px; height: 72px; font-size: 30px; box-shadow: 0 0 0 4px rgba(139, 92, 246, .25), 0 0 40px rgba(34, 211, 238, .25); }
.me__menu { position: absolute; right: 0; top: 52px; min-width: 220px; padding: 8px; border-radius: 14px; background: var(--panel-solid); border: 1px solid var(--line-hi); box-shadow: var(--shadow); display: none; }
.me__menu.is-open { display: block; }
.me__menu a, .me__menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font: 500 14px var(--body);
    background: none; border: 0; cursor: pointer; text-align: left; }
.me__menu a:hover, .me__menu button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.me__menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* ============ buttons, chips ============ */
.btn { --c: var(--cyan); display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 12px;
    font: 700 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; cursor: pointer; white-space: nowrap;
    border: 1px solid var(--line-hi); background: rgba(255, 255, 255, .04); transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, filter .2s; }
.btn:hover { color: #fff; border-color: rgba(140, 220, 255, .6); background: rgba(255, 255, 255, .08); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { height: 38px; padding: 0 15px; font-size: 13px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn--primary { border: 0; background: var(--brand); background-size: 160% 100%; background-position: 0 0;
    box-shadow: 0 10px 30px rgba(34, 211, 238, .22), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 14px 38px rgba(139, 92, 246, .38), 0 0 0 1px rgba(255, 255, 255, .16) inset; }
.btn--cyan { color: #04121a; border: 0; background: linear-gradient(180deg, #5eead4, #22d3ee); box-shadow: 0 10px 28px rgba(34, 211, 238, .28); }
.btn--cyan:hover { color: #04121a; filter: brightness(1.08); }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--icon { width: 44px; padding: 0; }
.btn--fav.is-on { border-color: rgba(255, 181, 71, .6); color: var(--amber); background: rgba(255, 181, 71, .1); }
.btn--fav.is-on svg { fill: currentColor; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 12px/1 var(--body); letter-spacing: .02em;
    color: var(--ink-2); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); white-space: nowrap; }
.chip--accent { color: #fff; background: color-mix(in srgb, var(--accent, var(--cyan)) 22%, transparent); border-color: color-mix(in srgb, var(--accent, var(--cyan)) 55%, transparent); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--brand); }
.badge--live { background: #ef4444; box-shadow: 0 0 14px rgba(239, 68, 68, .6); }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 6px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ============ panels & section heads ============ */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sec { padding: 44px 0 8px; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec__head h2 { font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; letter-spacing: .04em; margin: 0; display: flex; align-items: center; gap: 12px; }
.sec__head h2::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: var(--brand); box-shadow: 0 0 14px rgba(34, 211, 238, .6); }
.sec__head a { font: 600 14px var(--body); white-space: nowrap; }
.sec__sub { color: var(--mute); margin: -8px 0 18px; }

/* ============ hero (home) ============ */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; padding-top: 24px; }
.slider { position: relative; border-radius: 22px; overflow: hidden; min-height: 480px; aspect-ratio: 16 / 8.2; background: #0a0d1c; border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .03) inset; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7.5s cubic-bezier(.2, .6, .3, 1); }
.slide.is-on .slide__bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(5, 7, 18, .94) 0%, rgba(5, 7, 18, .72) 34%, rgba(5, 7, 18, .1) 70%), linear-gradient(0deg, rgba(5, 7, 18, .9) 0%, transparent 45%); }
.slide__body { position: absolute; z-index: 2; left: clamp(22px, 4vw, 52px); bottom: clamp(56px, 7vw, 76px); max-width: min(560px, 82%); }
.slide__kicker { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.slide h2 { font-size: clamp(34px, 4.6vw, 62px); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 12px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.slide p { color: var(--ink-2); font-size: clamp(15px, 1.25vw, 17px); max-width: 480px; margin-bottom: 22px; }
.slide__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.slide.is-on .slide__body > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.slide.is-on .slide__body > :nth-child(2) { animation-delay: .08s; }
.slide.is-on .slide__body > :nth-child(3) { animation-delay: .16s; }
.slide.is-on .slide__body > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slider__ctl { position: absolute; z-index: 3; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.slider__ctl button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-hi); background: rgba(6, 8, 20, .55); color: #fff; cursor: pointer; display: grid; place-items: center;
    backdrop-filter: blur(8px); }
.slider__ctl button:hover { background: rgba(255, 255, 255, .12); }
.slider__ctl svg { width: 18px; height: 18px; }
.slider__dots { position: absolute; z-index: 3; left: clamp(22px, 4vw, 52px); bottom: 26px; display: flex; gap: 8px; }
.slider__dots button { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .22); cursor: pointer; overflow: hidden; position: relative; }
.slider__dots button span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--brand); }
.slider__dots button.is-on span { animation: fill var(--dur, 7s) linear forwards; }
.slider.is-paused .slider__dots button.is-on span { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.side .panel { padding: 18px; }
.side h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rank a, .rank li > div { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.rank a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.rank__no { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 14px var(--display); background: rgba(255, 255, 255, .06); color: var(--ink-2); flex-shrink: 0; }
.rank li:first-child .rank__no { background: var(--brand); color: #fff; }
.rank img { width: 64px; height: 40px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.rank b { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.rank small { color: var(--mute); font-size: 12px; }
.rank__score { margin-left: auto; font: 700 15px var(--display); color: var(--cyan); white-space: nowrap; }
.empty { color: var(--mute); font-size: 14px; padding: 6px 8px; }

/* ============ game cards ============ */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { --accent: var(--cyan); position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; color: var(--ink); }
.card:hover { transform: translateY(-6px); color: var(--ink); border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5), 0 0 40px color-mix(in srgb, var(--accent) 22%, transparent); }
.card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__img img { transform: scale(1.06); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 14, 32, .95) 0%, transparent 55%); }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.card__play { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent), 0 10px 30px rgba(0, 0, 0, .5);
    opacity: 0; transform: scale(.7); transition: .3s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__play { opacity: 1; transform: none; }
.card__play svg { width: 20px; height: 20px; margin-left: 3px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.card h3 { font-size: 23px; text-transform: uppercase; margin: 2px 0 0; }
.card p { color: var(--mute); font-size: 14px; margin: 0; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--mute); }
.card__foot span { display: inline-flex; align-items: center; gap: 6px; }
.card__foot svg { width: 15px; height: 15px; }

/* "verder spelen" strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.mini { --accent: var(--cyan); scroll-snap-align: start; display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--ink);
    transition: border-color .2s, background .2s; }
.mini:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: var(--panel-hi); color: #fff; }
.mini img { width: 96px; height: 60px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.mini b { display: block; font: 700 17px var(--display); text-transform: uppercase; }
.mini small { color: var(--mute); }
.mini__go { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); flex-shrink: 0; }
.mini__go svg { width: 16px; height: 16px; }

/* the account banner */
.join { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 22px;
    background: radial-gradient(600px 300px at 0% 0%, rgba(34, 211, 238, .18), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(236, 72, 153, .16), transparent 60%), var(--panel);
    border: 1px solid var(--line-hi); }
.join h2 { font-size: clamp(28px, 3.4vw, 44px); text-transform: uppercase; }
.join p { color: var(--ink-2); max-width: 520px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 500; }
.perks i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(34, 211, 238, .14); flex-shrink: 0; }

/* news */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--ink); transition: transform .3s, border-color .3s; }
a.post:hover { transform: translateY(-4px); border-color: var(--line-hi); color: var(--ink); }
.post__img { aspect-ratio: 16 / 9; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 16px 18px 20px; }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--mute); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post__meta b { color: var(--cyan); }
.post h3 { font-size: 21px; margin-bottom: 8px; }
.post p { color: var(--mute); font-size: 14px; margin: 0; }
.post--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.post--wide .post__img { aspect-ratio: auto; min-height: 260px; }
.post--wide .post__body { padding: clamp(20px, 3vw, 36px); align-self: center; }
.post--wide h3 { font-size: clamp(26px, 3vw, 36px); }

/* the monthly boards */
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.boards .panel { padding: 20px; }
.boards h3 { font-size: 20px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.countdown { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-hi); margin-bottom: 20px; color: var(--ink-2); font-size: 14px; }
.countdown b { font: 700 20px var(--display); color: #fff; font-variant-numeric: tabular-nums; }

/* ============ game page ============ */
.ghero { position: relative; min-height: clamp(440px, 62vh, 640px); display: flex; align-items: end; overflow: hidden; isolation: isolate; }
.ghero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ghero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(6, 8, 20, .95) 0%, rgba(6, 8, 20, .6) 45%, rgba(6, 8, 20, .15) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 8, 20, .2) 45%, rgba(6, 8, 20, .5) 100%); }
.ghero__in { padding-bottom: 48px; padding-top: 80px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--mute); margin-bottom: 16px; }
.crumbs a { color: var(--ink-2); }
.ghero h1 { font-size: clamp(40px, 6vw, 80px); text-transform: uppercase; margin-bottom: 10px; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.ghero__tag { font-size: clamp(16px, 1.6vw, 20px); color: var(--ink-2); max-width: 640px; margin-bottom: 24px; }
.ghero__acts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.gbody { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 12px 0 20px; }
.gbody article p { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.gbody h2 { font-size: 26px; text-transform: uppercase; margin-top: 8px; }
.feats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.feats li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-weight: 500; font-size: 14px; }
.feats li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--cyan)); box-shadow: 0 0 10px var(--accent, var(--cyan)); flex-shrink: 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-bottom: 28px; }
.shots button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; background: none; aspect-ratio: 16 / 9; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shots button:hover img { transform: scale(1.05); }
.facts { padding: 20px; position: sticky; top: 90px; }
.facts dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.facts dt { color: var(--mute); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.perk { padding: 14px 16px; border-radius: 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(139, 92, 246, .14)); border: 1px solid rgba(139, 92, 246, .35); }
.perk b { color: #fff; display: block; margin-bottom: 4px; font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(3, 5, 14, .9); backdrop-filter: blur(6px); cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 88vh; border-radius: 14px; box-shadow: var(--shadow); }

/* ============ catalogue ============ */
.page-head { padding: 44px 0 10px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; margin-bottom: 6px; }
.page-head p { color: var(--mute); max-width: 640px; font-size: 16px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 24px; }
.filters button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--ink-2);
    font: 600 14px var(--body); cursor: pointer; transition: .2s; }
.filters button:hover { border-color: var(--line-hi); color: #fff; }
.filters button.is-on { background: var(--brand); color: #fff; border-color: transparent; }

/* ============ tables (leaderboards) ============ */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tabs a:hover { color: #fff; border-color: var(--line-hi); }
.tabs a.is-on { background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .5); color: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--mute); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid rgba(140, 170, 255, .07); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num { font: 700 16px var(--display); color: var(--cyan); text-align: right; font-variant-numeric: tabular-nums; }
.tbl th.num { text-align: right; }
.tbl tr.is-me td { background: rgba(34, 211, 238, .08); }
.medal { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font: 700 14px var(--display); background: rgba(255, 255, 255, .06); }
.medal--1 { background: linear-gradient(135deg, #ffe08a, #f59e0b); color: #2a1800; }
.medal--2 { background: linear-gradient(135deg, #f1f5f9, #94a3b8); color: #111827; }
.medal--3 { background: linear-gradient(135deg, #fdba74, #b45309); color: #2a1200; }

/* ============ forms (account) ============ */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 70px); }
.auth__art { position: relative; overflow: hidden; }
.auth__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 8, 20, .2), var(--bg)), linear-gradient(0deg, rgba(6, 8, 20, .8), transparent 50%); }
.auth__quote { position: absolute; z-index: 1; left: 40px; bottom: 40px; right: 40px; }
.auth__quote h2 { font-size: 40px; text-transform: uppercase; }
.auth__quote p { color: var(--ink-2); }
.auth__form { display: flex; align-items: center; justify-content: center; padding: 40px var(--gutter); }
.form { width: 100%; max-width: 420px; }
.form h1 { font-size: 40px; text-transform: uppercase; }
.form > p { color: var(--mute); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ink); font: inherit; font-size: 15px;
    transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: rgba(34, 211, 238, .6); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); }
.field small { color: var(--mute); font-size: 12px; }
.form .btn { width: 100%; margin-top: 6px; }
.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .4); color: #fecaca; }
.alert--ok { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .4); color: #bbf7d0; }
.form__alt { text-align: center; margin-top: 18px; color: var(--mute); font-size: 14px; }
.hp { position: absolute; left: -9999px; }

/* profile */
.prof { display: flex; gap: 20px; align-items: center; padding: 28px; margin-top: 28px; }
.prof h1 { font-size: 40px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 14px; margin: 20px 0; }
.stat { padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font: 700 32px var(--display); color: #fff; }
.stat small { color: var(--mute); }
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.lvl { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); text-align: center; font-size: 13px; }
.lvl b { display: block; font-family: var(--display); font-size: 15px; }
.lvl .stars { color: var(--amber); letter-spacing: 2px; }
.lvl.is-locked { opacity: .45; }

/* prose (about, privacy) */
.prose { max-width: 760px; padding-bottom: 40px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 26px; margin-top: 32px; text-transform: uppercase; }

/* ============ footer ============ */
.ftr { margin-top: 64px; border-top: 1px solid var(--line); background: rgba(5, 7, 16, .7); }
.ftr__in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 44px 0 28px; }
.ftr p { color: var(--mute); font-size: 14px; max-width: 340px; margin-top: 14px; }
.ftr h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a { color: var(--mute); font-size: 14px; }
.ftr ul a:hover { color: #fff; }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ responsive ============ */
@media (max-width: 1180px) {
    .hero { grid-template-columns: 1fr; }
    .side { display: grid; grid-template-columns: 1fr 1fr; }
    .gbody { grid-template-columns: 1fr; }
    .facts { position: static; }
}
@media (max-width: 980px) {
    .nav, .hdr__search { display: none; }
    .burger { display: grid; }
    .hdr__acts .btn--auth { display: none; }
    .hdr.is-open .nav { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; padding: 12px var(--gutter) 18px; background: rgba(6, 8, 20, .97); border-bottom: 1px solid var(--line); }
    .hdr.is-open .nav a { padding: 14px 6px; font-size: 16px; }
    .hdr.is-open .nav .nav__auth { display: flex; gap: 10px; padding-top: 10px; }
    .boards, .join, .post--wide { grid-template-columns: 1fr; }
    .ftr__in { grid-template-columns: 1fr 1fr; }
    .auth { grid-template-columns: 1fr; }
    .auth__art { display: none; }
}
.nav__auth { display: none; }
@media (max-width: 640px) {
    .slider { aspect-ratio: auto; min-height: 520px; }
    .slide::after { background: linear-gradient(0deg, rgba(5, 7, 18, .97) 10%, rgba(5, 7, 18, .55) 60%, rgba(5, 7, 18, .3) 100%); }
    .slide__body { max-width: none; right: 22px; bottom: 74px; }
    .slider__ctl { display: none; }
    .side { grid-template-columns: 1fr; }
    .levels { grid-template-columns: repeat(2, 1fr); }
    .logo__txt small { display: none; }
    .ftr__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
[hidden] { display: none !important; }

/* ============ prices ============ */
.plans { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 16px 20px; border-radius: 20px;
    background: var(--panel); border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-5px); border-color: var(--line-hi); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.plan h2 { font-size: 22px; text-transform: uppercase; margin: 0; }
.plan__price b { display: block; font: 700 34px/1 var(--display); color: #fff; margin-top: 6px; }
.plan__price span { color: var(--mute); font-size: 13px; }
.plan__per { color: var(--cyan); font-size: 13px; min-height: 20px; }
.plan__go { width: 100%; margin-top: auto; }
.plan small { color: var(--mute); font-size: 12px; }
.plan__flag { position: absolute; top: -12px; padding: 5px 11px; border-radius: 999px; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--brand); white-space: nowrap; }
.plan__flag--soft { background: rgba(34, 211, 238, .16); border: 1px solid rgba(34, 211, 238, .5); color: #bdf3ff; }
.plan--hot { border-color: rgba(139, 92, 246, .6); background: radial-gradient(300px 200px at 50% 0%, rgba(139, 92, 246, .22), transparent 70%), var(--panel);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, .35) inset, 0 20px 60px rgba(139, 92, 246, .18); }
.plan--pick { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset, 0 0 30px rgba(34, 211, 238, .3); }
.plan--mine { border-color: var(--green); }
.compare .tbl td:nth-child(3) { color: #fff; }
.compare { padding: 8px 18px; overflow-x: auto; }
.passbox { padding: 22px; margin-top: 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.passbox__txt { flex: 1 1 280px; }
.passbox h2 { font-size: 24px; text-transform: uppercase; margin: 0 0 4px; }
.passbox p { margin: 0; color: var(--ink-2); }
.passbox form { display: inline; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; } }
@media (max-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nav a.nav__prices:not(.is-on) { color: #bdf3ff; }
.trust { list-style: none; margin: 4px auto 30px; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .3); }
.trust i { font-style: normal; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #04121a; background: var(--green); }
.trust b { display: block; color: #fff; font-family: var(--display); font-size: 17px; letter-spacing: .03em; text-transform: uppercase; }
.trust span { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.plan__cancel { color: var(--green); font-weight: 600; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
/* the admin's payment switch in the header: TEST (amber) or LIVE (green) */
.paymode button { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 999px; cursor: pointer; font: 600 12px var(--body); color: var(--ink-2);
    background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .5); }
.paymode button b { font: 700 13px var(--display); letter-spacing: .12em; color: var(--amber); }
.paymode__track { position: relative; width: 34px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .15); transition: background .2s; }
.paymode__knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); transition: left .2s, background .2s; }
.paymode.is-live button { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .55); }
.paymode.is-live button b { color: var(--green); }
.paymode.is-live .paymode__track { background: rgba(52, 211, 153, .35); }
.paymode.is-live .paymode__knob { left: 18px; background: var(--green); }
@media (max-width: 1180px) { .paymode__lbl { display: none; } }

/* ============ legal & support ============ */
.legalnav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; }
.legalnav a { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; background: rgba(255, 255, 255, .03); }
.legalnav a:hover { color: #fff; border-color: var(--line-hi); }
.legalnav a.is-on { color: #fff; background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .55); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legalfoot { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute) !important; font-size: 13px !important; }
.legalcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.legalcard { padding: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); transition: transform .25s, border-color .25s; }
.legalcard:hover { transform: translateY(-4px); border-color: var(--line-hi); color: #fff; }
.legalcard span { font-size: 30px; }
.legalcard b { font: 700 20px var(--display); text-transform: uppercase; letter-spacing: .04em; }
.legalcard small { color: var(--mute); font-size: 14px; }
.support { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.support__form { padding: 26px; }
.support__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support__form textarea, .support__form .select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.support__form .select { height: 48px; padding: 0 12px; }
.support__form .select option { background: var(--panel-solid); }
.support__form textarea:focus, .support__form .select:focus { outline: none; border-color: rgba(34, 211, 238, .6); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); }
.field__err { color: #fca5a5; font-size: 13px; }
.support__side { display: grid; gap: 14px; }
.support__side .panel { padding: 18px; }
.support__side h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.support__side p { color: var(--ink-2); font-size: 14px; margin: 0; }
.support__done { padding: 40px 26px; text-align: center; }
.support__done p { color: var(--ink-2); }
@media (max-width: 980px) { .legalcards { grid-template-columns: 1fr 1fr; } .support { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .legalcards, .support__two { grid-template-columns: 1fr; } }

/* a game tile with its intro film: the film button sits on the picture, beside the badge */
.cardwrap { position: relative; display: flex; }
.cardwrap > .card { flex: 1; }
.cardwrap.reveal > .card { transform: none; }
.card__film { position: absolute; z-index: 3; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; cursor: pointer;
    font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff;
    background: rgba(6, 8, 20, .72); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45); transition: background .2s, border-color .2s, transform .2s; }
.card__film svg { width: 16px; height: 16px; }
.card__film:hover { background: color-mix(in srgb, var(--accent) 45%, rgba(6, 8, 20, .8)); border-color: var(--accent); transform: translateY(-1px); }
.cardwrap:hover .card { transform: translateY(-6px); }
.cardwrap:hover .card__film { transform: translateY(-6px); }
.cardwrap[hidden] { display: none !important; }
