/* CometJoy Studio — one stylesheet for the studio pages (night sky) and the game pages (Bookshelf Sort plum + lavender). */
:root {
  --night: #070624;
  --navy: #0e0c3a;
  --navy2: #16124f;
  --card: #141149;
  --line: rgba(140, 150, 255, .2);
  --text: #f1f0ff;
  --muted: #b3b2de;
  --cyan: #3fe6ff;
  --magenta: #ff4fd8;
  --gold: #ffcf4a;
  --gold2: #ffad3b;
  --plum: #2b1856;
  --plum2: #3c2373;
  --lav: #f3ecff;
  --lav2: #e3d5fb;
  --ink: #36235f;
  --ink2: #6a4fb0;
  --pink: #ff9bd0;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  --hd: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--night); color: var(--text); font: 17px/1.6 var(--font); overflow-x: hidden; }
html[lang="ar"] body { font-family: var(--font-ar); font-size: 18px; }
html.nav-open body { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .3px;
  padding: 12px 22px; border-radius: 12px; font-size: 16px; border: 0; cursor: pointer; line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold {
  background: linear-gradient(180deg, #ffe07a, var(--gold) 45%, var(--gold2)); color: #3a1d00;
  box-shadow: 0 4px 0 #c97a10, 0 8px 22px rgba(255, 190, 60, .35); text-transform: uppercase;
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-gold:active { transform: translateY(2px); box-shadow: 0 2px 0 #c97a10; }
.btn-ghost { color: var(--text); border: 2px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-big { font-size: 18px; padding: 15px 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: rgba(10, 8, 40, .55); border: 1px solid rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(6px);
}
.pill svg { width: 18px; height: 18px; color: #8dffb6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }

/* ---------------------------------------------------------------- header */
.hd {
  position: sticky; top: 0; z-index: 50; height: var(--hd);
  background: linear-gradient(180deg, rgba(9, 7, 38, .96), rgba(14, 11, 52, .92));
  border-bottom: 1px solid rgba(160, 140, 255, .25);
  box-shadow: 0 2px 0 rgba(255, 79, 216, .25);
}
.sec-bs .hd { background: linear-gradient(180deg, rgba(43, 24, 86, .97), rgba(58, 34, 110, .95)); box-shadow: 0 2px 0 rgba(255, 207, 74, .35); }
.hd.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.hd-in { max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 16px; display: flex; align-items: center; gap: 18px; }
.hd-burger { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; padding: 8px; cursor: pointer; border-radius: 10px; }
.hd-burger svg { width: 100%; height: 100%; }
.hd-logo { position: relative; align-self: flex-start; flex: none; z-index: 2; }
.hd-logo img { height: 86px; width: auto; margin-top: 2px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); transition: transform .2s; }
.hd-logo:hover img { transform: scale(1.04); }
.hd-logo-bs img { height: 84px; margin-top: 4px; }
.hd-nav { display: flex; align-items: center; gap: 4px; }
.hd-nav > a, .hd-nav .dd-btn {
  color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .4px;
  padding: 10px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.hd-nav > a:hover, .hd-nav .dd-btn:hover, .hd-nav > a[aria-current] { background: rgba(255, 255, 255, .1); }
.hd-nav > a[aria-current]::after { content: ""; }
.hd-right { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.btn-play {
  text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; font-size: 15px; color: #3a1d00;
  padding: 10px 18px; border-radius: 10px; background: linear-gradient(180deg, #ffe07a, var(--gold) 50%, var(--gold2)); box-shadow: 0 3px 0 #c97a10;
  white-space: nowrap;
}
.i-caret { width: 12px; height: 12px; transition: transform .2s; }
.dd.open .i-caret { transform: rotate(180deg); }

/* dropdowns */
.dd { position: relative; }
.dd-btn { background: none; border: 0; color: #fff; cursor: pointer; }
.studio-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; font-size: 15px; }
.studio-btn b { font-weight: 900; letter-spacing: .3px; }
.studio-btn img { border-radius: 8px; }
.studio-btn:hover { background: rgba(255, 255, 255, .1); }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; font-weight: 800; font-size: 14px; }
.lang-btn:hover { background: rgba(255, 255, 255, .1); }
.i-globe { width: 20px; height: 20px; }
.dd-panel {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 200px; padding: 8px;
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 18px 40px rgba(10, 5, 40, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dd.open > .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-lang .dd-panel { inset-inline-start: auto; inset-inline-end: 0; min-width: 160px; }
.dd-panel > a, .dd-panel > button, .mega-links a {
  display: block; width: 100%; text-align: start; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 15px; background: none; border: 0; cursor: pointer;
}
.dd-panel > a:hover, .dd-panel > button:hover, .mega-links a:hover, .dd-panel > a[aria-current] { background: var(--lav); }
.dd-panel > button[aria-pressed="true"] { background: var(--lav2); }
.mega { width: 340px; padding: 14px; }
.mega-t { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--ink2); padding: 0 6px 8px; }
.mega-game { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink); }
a.mega-game:hover { background: var(--lav); }
.mega-game img { border-radius: 14px; box-shadow: 0 4px 12px rgba(80, 40, 140, .25); }
.mega-game b { display: block; font-size: 16px; }
.mega-game small { display: block; color: var(--ink2); font-weight: 600; font-size: 13px; }
.mega-game.is-next { opacity: .85; }
.mega-game .q, .gcard-next .q {
  width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 28px; color: #fff;
  background: radial-gradient(circle at 30% 30%, #5b3bd6, #1a1450); box-shadow: inset 0 0 0 2px rgba(63, 230, 255, .6);
}
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #eadff9; }

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 60; background: linear-gradient(180deg, #160f45, #2b1856); padding: 72px 24px 32px; overflow-y: auto;
}
.mnav-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; padding: 9px; background: none; border: 0; color: #fff; cursor: pointer; }
.mnav nav { display: flex; flex-direction: column; }
.mnav-t { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 900; color: var(--gold); margin: 18px 0 6px; }
.mnav nav a { color: #fff; text-decoration: none; font-size: 22px; font-weight: 800; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav nav a[aria-current] { color: var(--gold); }
.mnav-lang { display: flex; gap: 8px; margin-top: 24px; }
.mnav-lang button { flex: 1; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff; font-weight: 800; cursor: pointer; }
.mnav-lang button[aria-pressed="true"] { background: var(--gold); color: #3a1d00; border-color: var(--gold); }

@media (max-width: 900px) {
  .hd-burger { display: block; }
  .dd-studio, .hd-nav, .btn-play { display: none; }
  .hd-in { gap: 6px; }
  .hd-logo { position: absolute; left: 50%; transform: translateX(-50%); top: 0; }
  .hd-logo img, .hd-logo-bs img { height: 70px; }
  .hd-logo:hover img { transform: none; }
}

/* ---------------------------------------------------------------- shared sections */
.sec { padding: 72px 0; }
.sec-dark { background: radial-gradient(1200px 500px at 50% 0%, #1a1460 0%, var(--navy) 55%, var(--night) 100%); }
.sec-night { background: linear-gradient(180deg, #0a0830, #120e44); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.big-title {
  text-align: center; text-transform: uppercase; font-weight: 900; letter-spacing: .5px; font-size: clamp(28px, 4.4vw, 44px);
  text-shadow: 0 3px 0 rgba(0, 0, 0, .35);
}
.big-title.left { text-align: start; }
.big-title::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; margin: 14px auto 0; background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--gold)); }
.big-title.left::after { margin-inline-start: 0; }
.sub { text-align: center; color: var(--muted); max-width: 60ch; margin: 14px auto 0; }
.sub.small { font-size: 14px; margin-top: 28px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-head .big-title { text-align: start; }
.sec-head .big-title::after { margin-inline-start: 0; }
.link-more { color: var(--gold); font-weight: 800; text-decoration: none; }
.link-more:hover { text-decoration: underline; }
html[dir="rtl"] .link-more { unicode-bidi: plaintext; }

/* page hero (inner pages) */
.phero { position: relative; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; background: var(--plum); }
.phero picture, .phero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero-bg { object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 6, 40, .1) 0%, rgba(10, 6, 40, .25) 45%, rgba(14, 9, 52, .92) 100%); }
.phero-lav::after { background: linear-gradient(180deg, rgba(43, 24, 86, 0) 0%, rgba(43, 24, 86, .2) 45%, rgba(43, 24, 86, .95) 100%); }
.phero-in { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 40px; text-align: center; }
.phero h1 { font-size: clamp(38px, 7vw, 76px); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 30px rgba(120, 80, 255, .5); }
.phero p { color: #e6e2ff; max-width: 60ch; margin: 10px auto 0; font-size: 18px; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }

/* home hero slider */
.hslider { position: relative; height: min(88vh, 760px); min-height: 520px; overflow: hidden; background: var(--night); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; display: flex; align-items: center; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide picture, .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-bg { object-fit: cover; object-position: 70% center; transform: scale(1.04); transition: transform 8s ease-out; }
.slide.is-on .slide-bg { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .slide-bg { transition: none; transform: none; } .slide { transition: none; } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 60, .78) 0%, rgba(20, 10, 60, .45) 38%, rgba(20, 10, 60, 0) 65%); }
html[dir="rtl"] .slide::after { background: linear-gradient(270deg, rgba(20, 10, 60, .78) 0%, rgba(20, 10, 60, .45) 38%, rgba(20, 10, 60, 0) 65%); }
.s-studio::after { background: linear-gradient(90deg, rgba(5, 4, 30, .85) 0%, rgba(5, 4, 30, .5) 45%, rgba(5, 4, 30, 0) 75%); }
.slide-in { position: relative; z-index: 1; }
.slide-in > * { max-width: 540px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); background: rgba(0, 0, 0, .35); padding: 6px 12px; border-radius: 999px; }
.slide-logo { width: min(440px, 80vw); margin-top: 6px; filter: drop-shadow(0 10px 20px rgba(40, 10, 90, .45)); }
.slide-studio-logo { width: min(340px, 70vw); margin-top: 10px; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); }
.slide-h { font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; text-transform: uppercase; margin-top: 10px; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.slide-p { font-size: 19px; color: #f2eeff; margin-top: 14px; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.hslider-nav { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 14px; }
.hs-dots { display: flex; gap: 10px; }
.hs-dot, .car-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; opacity: .8; }
.hs-dot[aria-current="true"], .car-dot[aria-current="true"] { background: var(--gold); border-color: var(--gold); opacity: 1; transform: scale(1.2); }
.hs-arrow, .car-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); background: rgba(10, 6, 40, .45); color: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 9px;
}
.hs-arrow svg, .car-arrow svg { width: 100%; height: 100%; }
.hs-arrow:hover, .car-arrow:hover { background: rgba(255, 207, 74, .9); color: #3a1d00; border-color: var(--gold); }
html[dir="rtl"] .hs-arrow svg, html[dir="rtl"] .car-arrow svg, html[dir="rtl"] .lb-prev svg, html[dir="rtl"] .lb-next svg { transform: scaleX(-1); }
@media (max-width: 720px) {
  .hslider { height: auto; min-height: 640px; }
  .slide { align-items: flex-end; padding-bottom: 86px; }
  .slide-bg { object-position: 72% center; }
  .slide::after, html[dir="rtl"] .slide::after, .s-studio::after { background: linear-gradient(180deg, rgba(20, 10, 60, 0) 20%, rgba(20, 10, 60, .55) 50%, rgba(14, 8, 50, .95) 85%); }
  .slide-in { text-align: center; }
  .slide-in > * { margin-inline: auto; }
  .slide-logo, .slide-studio-logo { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .slide-p { font-size: 17px; }
}

/* game cards */
.ggrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 40px; }
.gcard { background: linear-gradient(180deg, #1c1760, #120e47); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.gcard-art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.gcard-art > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gcard:hover .gcard-art > img:first-child { transform: scale(1.05); }
.gcard-logo { position: absolute; width: 46%; left: 6%; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 6px 14px rgba(60, 20, 120, .45)); }
html[dir="rtl"] .gcard-logo { left: auto; right: 6%; }
.gcard-next .q { position: absolute; inset: 0; margin: auto; width: 110px; height: 110px; font-size: 64px; border-radius: 28px; animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: inset 0 0 0 2px rgba(255, 79, 216, .8), 0 0 40px rgba(63, 230, 255, .5); } }
@media (prefers-reduced-motion: reduce) { .gcard-next .q { animation: none; } }
.gcard-b { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.gcard-b h3 { font-size: 26px; font-weight: 900; }
.gcard-b p { color: var(--muted); }
.gcard-b .btn { align-self: flex-start; margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; }
.chip-gold { background: var(--gold); color: #3a1d00 !important; }
.chip-cyan { background: rgba(63, 230, 255, .2); color: var(--cyan) !important; }
.ggrid-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 800px) { .ggrid { grid-template-columns: 1fr; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filt {
  padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); color: #fff;
  font-weight: 800; cursor: pointer; text-transform: uppercase; font-size: 14px; letter-spacing: .5px;
}
.filt:hover { border-color: var(--gold); }
.filt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #3a1d00; }

/* news */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.ncard { display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.ncard:hover { transform: translateY(-4px); }
.ncard img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ncard-b { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.ncard-b h3 { font-size: 19px; font-weight: 900; }
.ncard-m { font-size: 13px; color: var(--ink2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { background: var(--ink); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 3px 9px; border-radius: 6px; font-size: 11px; }
.ncard-x { font-size: 15px; color: #5b4c80; }
html:not([lang="en"]) .ncard-x { display: none; }
@media (max-width: 900px) { .ngrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ngrid { grid-template-columns: 1fr; } }
.news-list { display: flex; flex-direction: column; gap: 26px; }
.news-art { display: grid; grid-template-columns: 360px 1fr; background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.news-art img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.news-b { padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.news-b h2 { font-size: 26px; font-weight: 900; }
.news-b .btn-ghost { color: var(--ink); border-color: #d6c6f4; }
@media (max-width: 760px) { .news-art { grid-template-columns: 1fr; } .news-art img { min-height: 0; aspect-ratio: 16 / 9; } }

/* promises */
.promises { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promises li { background: linear-gradient(180deg, var(--card), #0c0a33); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.promises img { width: 80px; height: 80px; margin-inline-start: -6px; }
.promises h3 { font-size: 19px; margin-top: 8px; }
.promises p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .promises { grid-template-columns: 1fr; gap: 12px; }
  .promises li { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 16px; }
  .promises img { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .promises h3 { margin-top: 2px; font-size: 18px; }
  .promises p { margin-top: 4px; font-size: 15px; }
}

/* about */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.split-txt p { color: #dcd9f7; margin-top: 18px; font-size: 18px; }
.studio-logo-big { width: 100%; max-width: 460px; margin: 0 auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.mail-big {
  display: inline-block; margin-top: 26px; font-size: clamp(20px, 4.6vw, 30px); font-weight: 800; color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 18px; border: 2px solid rgba(255, 79, 216, .55); background: rgba(255, 79, 216, .08); word-break: break-all;
}
.mail-big:hover { background: rgba(255, 79, 216, .16); }

/* ---------------------------------------------------------------- Bookshelf Sort pages */
.sec-bs { background: var(--plum); }
.bhero { position: relative; min-height: min(92vh, 800px); display: flex; align-items: center; overflow: hidden; background: var(--lav2); }
.bhero picture, .bhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bhero-bg { object-fit: cover; object-position: 70% center; }
.bhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243, 236, 255, .88) 0%, rgba(243, 236, 255, .55) 36%, rgba(243, 236, 255, 0) 60%); }
html[dir="rtl"] .bhero::after { background: linear-gradient(270deg, rgba(243, 236, 255, .88) 0%, rgba(243, 236, 255, .55) 36%, rgba(243, 236, 255, 0) 60%); }
.bhero-in { position: relative; z-index: 1; color: var(--ink); padding-top: 40px; padding-bottom: 60px; }
.bhero-in > * { max-width: 520px; }
.bhero-logo { width: min(460px, 86vw); filter: drop-shadow(0 10px 18px rgba(80, 40, 150, .35)); }
.bhero-tag { font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--ink2); margin-top: 6px; font-size: 18px; }
.bhero-p { font-size: 19px; margin-top: 12px; color: #3a2a63; }
.bhero-free { margin-top: 14px; font-weight: 700; color: var(--ink2); font-size: 15px; }
@media (max-width: 720px) {
  .bhero { align-items: flex-end; min-height: 720px; }
  .bhero-bg { object-position: 75% top; }
  .bhero::after, html[dir="rtl"] .bhero::after { background: linear-gradient(180deg, rgba(243, 236, 255, 0) 22%, rgba(243, 236, 255, .75) 50%, rgba(243, 236, 255, .97) 72%); }
  .bhero-in { text-align: center; }
  .bhero-in > *, .bhero-logo { margin-inline: auto; }
}

.band { position: relative; padding: 80px 0; overflow: hidden; }
.band-plum { background: radial-gradient(900px 420px at 80% 0%, #4a2a8a 0%, var(--plum) 60%, #22124a 100%); color: #fff; }
.band-lav { background: linear-gradient(180deg, var(--lav), var(--lav2)); color: var(--ink); }
.band-night { background: radial-gradient(1000px 500px at 50% 0%, #3a1f78 0%, #1b0f42 70%); color: #fff; }
.band-lav .sub { color: #5a4687; }
.band-plum .sub, .band-night .sub { color: #d6cdf4; }
.mega-title {
  font-size: clamp(30px, 5vw, 54px); font-weight: 900; text-transform: uppercase; letter-spacing: .5px; line-height: 1.05;
}
.band-plum .mega-title, .band-night .mega-title, .band-cast .mega-title { text-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.band-lav .mega-title { color: var(--ink); text-shadow: 0 3px 0 rgba(255, 255, 255, .8); }
.mega-title.center { text-align: center; }
.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.feat-rev .feat-txt { order: 2; }
.feat-txt p { font-size: 18px; margin-top: 20px; }
.band-plum .feat-txt p { color: #e4dcfb; }
.feat-art { display: flex; justify-content: center; }
.feat-sticky { position: sticky; top: calc(var(--hd) + 24px); align-self: start; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 34px; font-weight: 700; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #3a1d00; display: grid; place-items: center; font-size: 14px; font-weight: 900; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; gap: 32px; } .feat-rev .feat-txt { order: 0; } .feat-sticky { position: static; } }

.phone { margin: 0; width: 260px; padding: 9px; background: #1d1240; border-radius: 38px; box-shadow: 0 24px 50px rgba(20, 5, 60, .5), inset 0 0 0 2px rgba(255, 255, 255, .15); }
.phone img { border-radius: 30px; width: 100%; }

/* before / after */
.ba { position: relative; width: min(380px, 100%); aspect-ratio: 540 / 968; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 50px rgba(60, 30, 120, .4); direction: ltr; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-line { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--gold); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.ba-knob::before { content: "◀ ▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #3a1d00; letter-spacing: -1px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-lab { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(30, 15, 70, .7); color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; pointer-events: none; }
.ba-lab-b { left: 14px; } .ba-lab-a { right: 14px; }
.rtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rtab { padding: 9px 16px; border-radius: 12px; border: 2px solid #cdb9f3; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.rtab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* carousel */
.car { position: relative; margin-top: 36px; }
.car-track { list-style: none; margin: 0; padding: 10px 4px 20px; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-item { flex: none; scroll-snap-align: center; }
.car-item:first-child { margin-inline-start: calc(50% - 130px); }
.car-item:last-child { margin-inline-end: calc(50% - 130px); }
.car-arrow { position: absolute; top: 42%; z-index: 2; }
.car-prev { inset-inline-start: 0; } .car-next { inset-inline-end: 0; }
.car-dots { display: flex; justify-content: center; gap: 10px; }
@media (max-width: 600px) { .car-arrow { display: none; } .car .phone { width: 230px; } .car-item:first-child { margin-inline-start: calc(50% - 115px); } .car-item:last-child { margin-inline-end: calc(50% - 115px); } }

/* cast band */
.band-cast { padding: 0 0 60px; background: var(--plum); }
.band-cast .band-bg { width: 100%; aspect-ratio: 16 / 9; max-height: 640px; object-fit: cover; }
.band-cast picture { display: block; position: relative; }
.band-cast picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 24, 86, 0) 55%, var(--plum) 100%); }
.cast-in { position: relative; margin-top: -140px; z-index: 1; display: flex; }
.cast-txt { max-width: 640px; background: rgba(43, 24, 86, .88); border: 1px solid rgba(255, 255, 255, .15); border-radius: 22px; padding: 26px 28px; backdrop-filter: blur(6px); }
.cast-txt p { color: #e4dcfb; margin: 14px 0 20px; font-size: 18px; }
.cstrip { list-style: none; padding: 6px 0 12px; margin: 28px 0 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; }
@media (max-width: 720px) { .cast-in { margin-top: -50px; } .cast-txt { padding: 20px; } }

/* characters */
.ccard { flex: none; width: 160px; scroll-snap-align: start; text-align: center; background: linear-gradient(180deg, #fff, var(--lav)); color: var(--ink); border-radius: 20px; padding: 14px 12px 16px; box-shadow: 0 10px 24px rgba(20, 5, 60, .35); transition: transform .2s; }
.ccard:hover { transform: translateY(-4px) rotate(-1deg); }
.ccard-art { width: 112px; height: 112px; margin: 0 auto 8px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, #eadcff 70%); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 3px #e0cffb; }
.ccard-art img { width: 100%; height: 100%; object-fit: contain; }
.ccard h3 { font-size: 17px; font-weight: 900; }
.ccard p { font-size: 13px; color: var(--ink2); margin-top: 4px; line-height: 1.35; }
.cgrid { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.cgrid .ccard { width: auto; }
.cgrid .ccard-art { width: 132px; height: 132px; }
.cgrid .ccard p { font-size: 14px; }
@media (max-width: 520px) { .cgrid { grid-template-columns: 1fr 1fr; gap: 12px; } .cgrid .ccard-art { width: 104px; height: 104px; } }

/* wings */
.wings { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.wings li { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.wings img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform .4s; }
.wings li:hover img { transform: scale(1.06); }
.wings .tint1 { filter: hue-rotate(40deg) saturate(1.1); }
.wings li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 10, 70, 0) 50%, rgba(30, 10, 70, .85) 100%); }
.wing-n { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #3a1d00; font-weight: 900; display: grid; place-items: center; box-shadow: 0 3px 0 #c97a10; }
.wings b { position: absolute; z-index: 1; left: 0; right: 0; bottom: 12px; text-align: center; font-weight: 900; text-transform: uppercase; font-size: 14px; letter-spacing: .4px; padding: 0 8px; }
@media (max-width: 900px) { .wings { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .wings { grid-template-columns: repeat(2, 1fr); } }

/* modes + helpers */
.modes, .helpers { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.modes li, .helpers li { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; text-align: center; box-shadow: 0 10px 24px rgba(60, 30, 120, .18); }
.band-plum .modes li { background: linear-gradient(180deg, #fff, var(--lav)); }
.modes img, .helpers img { width: 96px; height: 96px; margin: 0 auto 8px; }
.modes h3, .helpers h3 { font-size: 20px; font-weight: 900; }
.modes p, .helpers p { color: #5b4c80; margin-top: 6px; font-size: 15px; }
.helpers { grid-template-columns: repeat(4, 1fr); }
.undo-ic { width: 96px; height: 96px; margin: 0 auto 8px; display: grid; place-items: center; font-size: 56px; font-weight: 900; color: #fff; border-radius: 50%; background: linear-gradient(180deg, #b79cf2, #7d5bd0); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .15); }
@media (max-width: 900px) { .modes, .helpers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .modes, .helpers { grid-template-columns: 1fr; } }

/* how to play steps + tips */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 20px; padding: 20px 22px 20px 82px; }
html[dir="rtl"] .steps li { padding: 20px 82px 20px 22px; }
.step-n { position: absolute; top: 20px; inset-inline-start: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #3a1d00; font-size: 22px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 3px 0 #c97a10; }
.steps h3 { font-size: 21px; font-weight: 900; }
.steps p { color: #e4dcfb; margin-top: 6px; font-size: 17px !important; }
.tips-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.tips-wrap > img { width: 200px; filter: drop-shadow(0 0 30px rgba(255, 220, 90, .6)); }
.tips { margin: 20px 0 0; padding-inline-start: 22px; display: grid; gap: 10px; font-size: 18px; color: #ece6ff; }
@media (max-width: 700px) { .tips-wrap { grid-template-columns: 1fr; text-align: center; } .tips-wrap > img { margin: 0 auto; width: 140px; } .tips { text-align: start; } }

/* soon band + mosaic */
.band-soon { background: #1b0f42; text-align: center; padding: 100px 0; }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); opacity: .35; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.band-soon::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(27, 15, 66, .92), rgba(27, 15, 66, .6)); }
.soon-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.soon-in img { width: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.soon-in p { color: #e4dcfb; max-width: 56ch; font-size: 18px; }
@media (max-width: 600px) { .mosaic { grid-template-columns: 1fr 1fr; } }

/* media */
.mgrid { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-flow: dense; gap: 14px; }
.mitem { position: relative; border-radius: 16px; overflow: hidden; background: #2a1858; }
.m-wide { grid-column: span 2; }
.mthumb { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.m-tall .mthumb img { aspect-ratio: 540 / 968; }
.m-wide .mthumb img { aspect-ratio: 16 / 9; }
.mthumb:hover img { transform: scale(1.04); }
.dl { position: absolute; bottom: 10px; inset-inline-end: 10px; background: var(--gold); color: #3a1d00; font-weight: 900; font-size: 13px; text-transform: uppercase; text-decoration: none; padding: 7px 12px; border-radius: 10px; box-shadow: 0 3px 0 #c97a10; }
@media (max-width: 520px) { .mgrid { grid-template-columns: 1fr 1fr; } .m-wide { grid-column: span 2; } }
.lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lb::backdrop { background: rgba(8, 4, 30, .9); }
.lb-img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-x, .lb-prev, .lb-next { position: fixed; width: 48px; height: 48px; padding: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; }
.lb-x { top: 14px; right: 14px; } .lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: #3a1d00; }

/* privacy / text pages */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc .meta { color: var(--muted); margin-top: 10px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: #d6d6f5; margin-top: 10px; }
.doc ul { padding-inline-start: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 10px; border: 1px solid var(--line); }
.doc th { background: var(--card); }
.table-scroll { overflow-x: auto; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px 16px; margin: 18px 0; }
.doc-note { background: rgba(255, 207, 74, .12); border: 1px solid rgba(255, 207, 74, .4); color: #ffe8a8 !important; padding: 10px 14px; border-radius: 12px; }
html[lang="en"] .doc-note { display: none; }

/* ---------------------------------------------------------------- footer */
.ft { background: #05041c; color: var(--muted); }
.ft-band { background: linear-gradient(90deg, #1b1060, #3a1a6e 50%, #1b1060); border-top: 3px solid var(--gold); }
.ft-band-in { display: grid; grid-template-columns: 160px 1fr auto; gap: 26px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.ft-band img { width: 160px; }
.ft-band h2 { color: #fff; text-transform: uppercase; font-weight: 900; font-size: 24px; }
.ft-band p { color: #d9d3fb; margin-top: 4px; }
.ft-band .btn { text-transform: none; }
@media (max-width: 820px) { .ft-band-in { grid-template-columns: 1fr; text-align: center; justify-items: center; } .ft-band img { width: 130px; } }
.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 30px; }
.ft-cols h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 900; margin-bottom: 10px; }
.ft-cols a, .ft-muted { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; font-size: 15px; }
.ft-cols a:hover { color: #fff; }
.ft-muted { opacity: .7; }
@media (max-width: 700px) { .ft-cols { grid-template-columns: 1fr 1fr; } }
.ft-bottom { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; padding-bottom: 28px; font-size: 14px; }
.ft-bottom img { border-radius: 8px; }

/* 404 */
.lost { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px 16px; background: var(--night) url("/assets/hero-sky-s.webp") center / cover no-repeat; }
.lost-icon { margin: 0 auto 6px; border-radius: 14px; }
.lost h1 { font-size: clamp(56px, 14vw, 120px); color: var(--cyan); text-shadow: 0 0 30px rgba(63, 230, 255, .6); }
.lost p { color: var(--muted); font-size: 19px; margin: 8px 0 26px; }

/* ---------------------------------------------------------------- fixes after review */
@media (max-width: 720px) {
  .bhero { display: block; min-height: 0; }
  .bhero picture { position: relative; display: block; }
  .bhero-bg { position: relative; height: auto; aspect-ratio: 4 / 3; object-position: 78% center; }
  .bhero::after, html[dir="rtl"] .bhero::after { top: auto; height: 40%; bottom: auto; background: none; }
  .bhero picture::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(227, 213, 251, 0), var(--lav2)); }
  .bhero-in { margin-top: -40px; padding-top: 0; padding-bottom: 40px; }
  .bhero { background: linear-gradient(180deg, var(--lav2), var(--lav)); }
  .bhero-logo { width: min(300px, 76vw); }
}
.cast-in { margin-top: -90px; }
.band-cast .band-bg { object-position: center 35%; }
.phero-bg { object-position: center 30%; }
/* Arabic (right-to-left): mirror the Adam picture so the text never covers him */
html[dir="rtl"] .bhero-bg, html[dir="rtl"] .gcard-bs .gcard-art > img:first-child { transform: scaleX(-1); }
html[dir="rtl"] .s-bs .slide-bg { transform: scaleX(-1) scale(1.04); }
html[dir="rtl"] .s-bs.is-on .slide-bg { transform: scaleX(-1); }
html[dir="rtl"] .gcard-bs:hover .gcard-art > img:first-child { transform: scaleX(-1) scale(1.05); }
@media (max-width: 720px) { html[dir="rtl"] .bhero-bg { transform: none; } }

/* new CometJoy logo (2026-11-09): a cut-out badge, no mask needed */
.slide-studio-logo, .studio-logo-big { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.slide-studio-logo { width: min(400px, 78vw); }
.hd-logo-studio img { height: 78px; margin-top: 4px; }
.lost-logo { width: 240px; margin: 0 auto 4px; }
.ft-band img { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }

/* ================================================================ Puzzle Souls (dark fantasy: night violet, gold, soul blue) */
.sec-ps { background: #0d0a16; }
.sec-ps .hd { background: linear-gradient(180deg, rgba(20, 12, 28, .97), rgba(36, 20, 40, .95)); box-shadow: 0 2px 0 rgba(232, 176, 74, .45); }
.hd-logo-ps img { height: 90px; margin-top: 2px; }
@media (max-width: 900px) { .hd-logo-ps img { height: 72px; } }
.pshero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; overflow: hidden; background: #120c1c; }
.pshero picture, .pshero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pshero-bg { object-fit: cover; object-position: 60% center; }
.pshero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 8, 20, .9) 0%, rgba(14, 8, 20, .55) 40%, rgba(14, 8, 20, .05) 70%), linear-gradient(180deg, transparent 70%, #0d0a16); }
html[dir="rtl"] .pshero::after { background: linear-gradient(270deg, rgba(14, 8, 20, .9) 0%, rgba(14, 8, 20, .55) 40%, rgba(14, 8, 20, .05) 70%), linear-gradient(180deg, transparent 70%, #0d0a16); }
.pshero-knight { position: absolute; z-index: 1; bottom: 0; inset-inline-end: 6%; height: 88%; width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.pshero-in { position: relative; z-index: 2; padding-top: 30px; padding-bottom: 60px; }
.pshero-in > * { max-width: 540px; }
.pshero-logo { width: min(420px, 80vw); filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .6)); }
.pshero-motto { color: #f3cf7d; font-weight: 800; letter-spacing: .5px; margin-top: 8px; font-size: 17px; text-transform: uppercase; }
.pshero-p { color: #ece4f5; font-size: 19px; margin-top: 12px; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.pshero-free { color: #c9b9df; margin-top: 14px; font-weight: 700; font-size: 15px; }
@media (max-width: 900px) {
  .pshero { align-items: flex-end; min-height: 760px; }
  .pshero::after, html[dir="rtl"] .pshero::after { background: linear-gradient(180deg, rgba(14, 8, 20, .1) 10%, rgba(14, 8, 20, .7) 48%, #0d0a16 78%); }
  .pshero-knight { height: 46%; top: 40px; bottom: auto; inset-inline-end: 50%; transform: translateX(50%); }
  html[dir="rtl"] .pshero-knight { transform: translateX(-50%); }
  .pshero-in { text-align: center; padding-top: 0; }
  .pshero-in > *, .pshero-logo { margin-inline: auto; }
}
.band-ps1 { background: radial-gradient(1000px 460px at 80% 0%, #2c1838 0%, #140d1e 60%, #0d0a16 100%); color: #fff; }
.band-ps2 { background: linear-gradient(180deg, #1b1226, #241532); color: #fff; border-top: 1px solid rgba(232, 176, 74, .18); border-bottom: 1px solid rgba(232, 176, 74, .18); }
.band-ps1 .mega-title, .band-ps2 .mega-title, .band-ps3 .mega-title { color: #f6d58a; text-shadow: 0 3px 0 rgba(0, 0, 0, .5); }
.band-ps1 .feat-txt p, .band-ps2 .feat-txt p { color: #ddd2ec; }
.band-ps1 .sub, .band-ps2 .sub { color: #cdbfe2; }
.lshot { margin: 0; width: 100%; max-width: 620px; padding: 8px; border-radius: 18px; background: linear-gradient(180deg, #e8b04a, #8a5a1c); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.lshot img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ps-stack { flex-direction: column; gap: 18px; }
.car-item.car-wide { width: min(620px, 82vw); }
.car-item.car-wide:first-child { margin-inline-start: calc(50% - min(310px, 41vw)); }
.car-item.car-wide:last-child { margin-inline-end: calc(50% - min(310px, 41vw)); }
.psheroes { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.psheroes li { text-align: center; background: linear-gradient(180deg, rgba(232, 176, 74, .14), rgba(20, 12, 28, .6)); border: 1px solid rgba(232, 176, 74, .35); border-radius: 22px; padding: 18px 18px 22px; }
.psheroes img { height: 260px; width: auto; margin: 0 auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.psheroes h3 { color: #f6d58a; font-size: 22px; font-weight: 900; margin-top: 10px; }
.psheroes p { color: #d7cbe8; margin-top: 6px; font-size: 15px; }
@media (max-width: 700px) { .psheroes { grid-template-columns: 1fr; } .psheroes img { height: 220px; } }
.band-ps3 { padding: 0 0 60px; background: #120c1c; position: relative; }
.band-ps3 .band-bg { width: 100%; aspect-ratio: 16 / 8; max-height: 620px; object-fit: cover; display: block; }
.band-ps3 picture { display: block; position: relative; }
.band-ps3 picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 12, 28, .1) 40%, #120c1c 100%); }
.ps-box { position: relative; z-index: 1; margin-top: -170px; background: rgba(24, 14, 34, .9); border-color: rgba(232, 176, 74, .4); }
.ps-box p { color: #ddd2ec; }
@media (max-width: 720px) { .ps-box { margin-top: -60px; } }
.band-pssoon { background: #0d0a16; }
.band-pssoon::before { background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(13, 10, 22, .93), rgba(13, 10, 22, .6)); }
.band-pssoon .mega-title { color: #f6d58a; }
.ps-tipicon { border-radius: 36px; filter: drop-shadow(0 0 30px rgba(80, 180, 255, .5)) !important; }
.phero-ps::after { background: linear-gradient(180deg, rgba(14, 8, 20, .15) 0%, rgba(14, 8, 20, .35) 45%, #0d0a16 100%); }
.phero-ps h1 { color: #f6d58a; }
/* soul cards */
.scard { position: relative; flex: none; width: 170px; text-align: center; background: linear-gradient(180deg, #2a1a38, #170f22); border: 1px solid rgba(232, 176, 74, .3); color: #fff; border-radius: 18px; padding: 10px 10px 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); transition: transform .2s; list-style: none; }
.scard:hover { transform: translateY(-4px); }
.scard-art { border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; display: grid; place-items: end center; background: radial-gradient(circle at 50% 40%, var(--elc, #6b5a8a) 0%, #1a1026 75%); }
.scard-art img { width: 100%; height: 100%; object-fit: contain; }
.scard h3 { font-size: 16px; font-weight: 900; margin-top: 8px; color: #fbe7b7; }
.scard-tags { font-size: 12px; color: #cbbde0; margin-top: 3px; display: flex; gap: 5px; align-items: center; justify-content: center; flex-wrap: wrap; }
.scard-d { font-size: 13px; color: #b9abd0; margin-top: 6px; line-height: 1.35; }
.rar { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; padding: 3px 7px; border-radius: 6px; background: #4a4458; color: #fff; }
.r1 .rar { background: #2f6fcf; }
.r2 .rar { background: #8a3fd6; }
.r3 .rar { background: linear-gradient(90deg, #e8b04a, #d9732b); color: #2a1300; }
.r3 { border-color: rgba(232, 176, 74, .8); box-shadow: 0 0 0 1px rgba(232, 176, 74, .4), 0 10px 30px rgba(232, 150, 40, .25); }
.sgrid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.sgrid .scard { width: auto; }
.sstrip { list-style: none; padding: 6px 0 12px; margin: 28px 0 0; display: flex; gap: 14px; overflow-x: auto; position: relative; z-index: 1; }
.scard-s { width: 150px; }
@media (max-width: 520px) { .sgrid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.el-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--elc); box-shadow: 0 0 6px var(--elc); }
.el-earth { --elc: #b5895a; }
.el-fire { --elc: #ff6a3a; }
.el-water { --elc: #3aa8ff; }
.el-wind { --elc: #7fe0c8; }
.el-light { --elc: #ffe27a; }
.el-dark { --elc: #8a5ad6; }
.el-arcane { --elc: #c77dff; }
.el-lightning { --elc: #ffd23a; }
.el-nature { --elc: #6ad25a; }
.el-gravity { --elc: #6a6aff; }
.el-neutral { --elc: #b8bcc8; }
.filters-el { margin-top: 10px; }
.filt-l { align-self: center; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: #f3cf7d; margin-inline-end: 6px; }
.filt-el { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; font-size: 13px; }
/* studio pages: 3 game cards, Puzzle Souls card + slide */
.ggrid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .ggrid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ggrid-3 { grid-template-columns: 1fr; } }
.gcard-ps .gcard-logo { width: 40%; left: 8%; }
html[dir="rtl"] .gcard-ps .gcard-logo { left: auto; right: 8%; }
.slide-hero { position: absolute; z-index: 1; bottom: 0; inset-inline-end: 8%; height: 86%; width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.slide-logo-ps { width: min(380px, 70vw); }
.s-ps::after { background: linear-gradient(90deg, rgba(14, 8, 20, .85) 0%, rgba(14, 8, 20, .5) 40%, rgba(14, 8, 20, 0) 70%); }
html[dir="rtl"] .s-ps::after { background: linear-gradient(270deg, rgba(14, 8, 20, .85) 0%, rgba(14, 8, 20, .5) 40%, rgba(14, 8, 20, 0) 70%); }
.s-ps .slide-in { z-index: 2; }
@media (max-width: 720px) {
  .slide-hero { height: 45%; top: 70px; bottom: auto; inset-inline-end: 50%; transform: translateX(50%); }
  html[dir="rtl"] .slide-hero { transform: translateX(-50%); }
}
.mgrid-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.mgrid-wide .m-wide { grid-column: span 1; }
.ft-cols { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .ft-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ft-cols { grid-template-columns: 1fr 1fr; } }

@media (max-width: 900px) {
  .pshero { display: block; min-height: 0; padding-top: 16px; }
  .pshero-knight { position: relative; display: block; height: 300px; margin: 0 auto; top: auto; bottom: auto; inset-inline-end: auto; transform: none; }
  html[dir="rtl"] .pshero-knight { transform: none; }
  .pshero-in { margin-top: -30px; }
}

/* ================================================================ studio pages: "group of games" design (2026-11-13) */
:root { --ink0: #08060e; --ink1: #110d1c; --paper: #f4f1f8; --paper-ink: #17121f; --acc: #b44dff; --acc2: #ff4fd8; --acc-deep: #4a1b8f;
  --wide: "Archivo Black", "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif; }
.corp { background: var(--ink0); }
html[lang="ar"] .corp { --wide: var(--font-ar); }
.i-arr { width: 18px; height: 18px; flex: none; transition: transform .2s; }
html[dir="rtl"] .i-arr { transform: scaleX(-1); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eb-line { display: inline-block; width: 42px; height: 2px; background: currentColor; flex: none; }
.big { font-family: var(--wide); font-weight: 900; text-transform: uppercase; line-height: .98; letter-spacing: -.5px; font-size: clamp(34px, 5vw, 64px); margin: 18px 0 0; }
.big span { display: block; }
.big-b { color: transparent; -webkit-text-stroke: 2px currentColor; }
.paper .big-b { -webkit-text-stroke-color: var(--paper-ink); }
.night .big, .cend .big, .chero .big, .accent .big { color: #fff; }
.night .big-b, .cend .big-b, .chero .big-b { -webkit-text-stroke-color: #fff; }
html[lang="ar"] .big { line-height: 1.25; letter-spacing: 0; }
html[lang="ar"] .big-b { -webkit-text-stroke-width: 1.4px; }
.big-hero { font-size: clamp(40px, 7.4vw, 104px); }
.big-xl { font-size: clamp(38px, 6.6vw, 96px); }
.big-flip .big-a { color: transparent; -webkit-text-stroke: 2px #fff; }
.big-flip .big-b { color: #fff; -webkit-text-stroke: 0; }
.big-sm { font-size: clamp(28px, 3.6vw, 46px); }
.big-end { font-size: clamp(34px, 5.4vw, 72px); }
.pill-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.pill-btn:hover { background: #fff; color: var(--ink0); }
.pill-btn:hover .i-arr { transform: translateX(3px); }
html[dir="rtl"] .pill-btn:hover .i-arr { transform: scaleX(-1) translateX(3px); }
.pill-light { background: #fff; color: var(--ink0); border-color: #fff; }
.pill-light:hover { background: transparent; color: #fff; }
.pill-dark { color: var(--paper-ink); border-color: var(--paper-ink); margin-top: 26px; }
.pill-dark:hover { background: var(--paper-ink); color: #fff; }

/* header */
.ch { position: sticky; top: 0; z-index: 50; height: 74px; background: rgba(8, 6, 14, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: none; transition: background .3s, border-color .3s; }
.ch-over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.ch-over.scrolled { background: rgba(8, 6, 14, .92); border-color: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.ch-in { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; gap: 22px; }
.ch-logo img { height: 58px; width: auto; }
.ch-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.ch-nav > a, .ch-nav .dd-btn { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 12px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; cursor: pointer; }
.ch-nav > a:hover, .ch-nav .dd-btn:hover { color: var(--acc2); }
.ch-nav > a[aria-current] { color: var(--acc2); }
.ch-right { display: flex; align-items: center; gap: 10px; }
.ch-contact { padding: 9px 16px; font-size: 14px; }
.ch-menu { display: none !important; align-items: center; gap: 8px; width: auto !important; height: auto !important; padding: 8px 10px !important; color: #fff; font-weight: 700; font-size: 15px; }
.ch-menu svg { width: 22px; height: 22px; }
.ch .dd-games .dd-panel { inset-inline-start: auto; inset-inline-end: -40px; }
@media (max-width: 960px) {
  .ch-nav, .ch-contact { display: none; }
  .ch-menu { display: inline-flex !important; }
  .ch-right { margin-inline-start: auto; }
  .ch-logo img { height: 50px; }
}

/* hero slides */
.chero { position: relative; height: 100vh; min-height: 640px; max-height: 1000px; overflow: hidden; background: var(--ink0); color: #fff; }
.cslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; display: flex; align-items: center; }
.cslide.is-on { opacity: 1; visibility: visible; }
.cslide picture, .cslide-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cslide-bg { object-fit: cover; transform: scale(1.06); transition: transform 9s ease-out; }
.cslide.is-on .cslide-bg { transform: scale(1); }
.cslide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 14, .82) 0%, rgba(8, 6, 14, .5) 45%, rgba(8, 6, 14, .1) 80%), linear-gradient(180deg, rgba(8, 6, 14, .5) 0%, transparent 25%, transparent 60%, rgba(8, 6, 14, .9) 100%); }
html[dir="rtl"] .cslide::after { background: linear-gradient(270deg, rgba(8, 6, 14, .82) 0%, rgba(8, 6, 14, .5) 45%, rgba(8, 6, 14, .1) 80%), linear-gradient(180deg, rgba(8, 6, 14, .5) 0%, transparent 25%, transparent 60%, rgba(8, 6, 14, .9) 100%); }
.c2 .cslide-bg { object-position: 70% center; }
html[dir="rtl"] .c2 .cslide-bg { transform: scaleX(-1); }
.chero-fig { position: absolute; z-index: 1; bottom: 150px; inset-inline-end: 7%; height: 62%; width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.cslide-in { position: relative; z-index: 2; padding-bottom: 130px; }
.cslide-in > * { max-width: 760px; }
.cslide-s { font-size: clamp(18px, 2vw, 24px); margin-top: 22px; font-weight: 500; }
.cslide-p { color: #d9d4e6; margin-top: 18px; font-size: 16px; max-width: 520px; }
.chero .eyebrow { color: #fff; }
.chero .cta-row { margin-top: 28px; }
.chero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: 14px; }
.chero-tabs { display: flex; align-items: flex-end; gap: 18px; }
.ctabs { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 18px; flex: 1; }
.ctabs-band { --n: 4; margin-top: 40px; }
.ctab { text-align: start; background: none; border: 0; color: rgba(255, 255, 255, .6); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
html[lang="ar"] .ctab { letter-spacing: 0; font-size: 14px; }
.ctab-bar { flex-basis: 100%; height: 2px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; margin-bottom: 8px; }
.ctab-bar i { position: absolute; inset: 0; width: 0; background: #fff; }
.ctab.is-on { color: #fff; }
.ctab.is-on .ctab-bar i { animation: tabfill var(--dur, 7s) linear forwards; }
.paused .ctab.is-on .ctab-bar i, .no-anim .ctab.is-on .ctab-bar i { animation-play-state: paused; }
.ctab-n { color: var(--acc2); }
@keyframes tabfill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ctab.is-on .ctab-bar i { animation: none; width: 100%; } .cslide-bg { transition: none; transform: none; } }
.cpause { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; padding: 9px; cursor: pointer; flex: none; }
.cpause svg { width: 100%; height: 100%; }
.cpause .ic-play { display: none; }
.cpause[aria-pressed="true"] .ic-play { display: block; }
.cpause[aria-pressed="true"] .ic-pause { display: none; }
.cstrip { display: flex; align-items: center; gap: 46px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cstrip img { height: 46px; width: auto; opacity: .85; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
@media (max-width: 720px) {
  .chero { height: auto; min-height: 760px; }
  .cslide { align-items: flex-end; }
  .cslide-in { padding-bottom: 190px; }
  .chero-fig { height: 40%; top: 90px; bottom: auto; }
  .ctabs { gap: 10px; }
  .ctab { font-size: 11px; }
  .cstrip { gap: 22px; }
  .cstrip img { height: 34px; }
}

/* sections */
.csec { padding: 110px 0; position: relative; overflow: hidden; }
.paper { background: var(--paper); color: var(--paper-ink); }
.night { background: var(--ink0); color: #fff; }
.csplit { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lead-big { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.45; margin-top: 26px; color: var(--paper-ink); font-weight: 500; }
.csmall { margin-top: 18px; color: #5d5470; font-size: 15px; max-width: 46ch; }
@media (max-width: 900px) { .csplit { grid-template-columns: 1fr; gap: 40px; } .csec { padding: 80px 0; } }
/* orbit */
.orbit { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin: 0 auto; }
.oring { position: absolute; border-radius: 50%; inset: 0; }
.oring.r1 { border: 1px solid rgba(23, 18, 31, .14); }
.oring.r2 { inset: 13%; border: 2px solid var(--acc); box-shadow: 0 0 40px rgba(180, 77, 255, .18) inset; }
.oring.r3 { inset: 27%; border: 1.5px dashed rgba(180, 77, 255, .55); }
.ocore { position: absolute; inset: 36%; border-radius: 50%; background: var(--ink0); display: grid; place-items: center; box-shadow: 0 18px 40px rgba(40, 10, 80, .35), 0 0 0 10px rgba(180, 77, 255, .08); }
.ocore img { width: 74%; height: auto; }
.ospin { position: absolute; inset: 13%; animation: spin 40s linear infinite; }
.osat { position: absolute; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 22%; overflow: hidden; display: grid; place-items: center; background: var(--ink0); box-shadow: 0 10px 24px rgba(30, 10, 60, .35), 0 0 0 3px #fff; animation: spin 40s linear infinite reverse; }
.osat img { width: 100%; height: 100%; object-fit: cover; }
.osat .q { color: #fff; font-family: var(--wide); font-size: 30px; }
.osat-bs { left: 50%; top: 0; }
.osat-ps { left: 93.3%; top: 75%; }
.osat-nx { left: 6.7%; top: 75%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ospin, .osat { animation: none; } }
.olab { position: absolute; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--paper-ink); background: rgba(244, 241, 248, .92); padding: 2px 8px; border-radius: 999px; transform: translate(-50%, -50%); white-space: nowrap; }
.olab i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.olab1 { left: 50%; top: 27%; }
.olab2 { left: 77%; top: 50%; }
.olab3 { left: 50%; top: 73%; }
.olab4 { left: 23%; top: 50%; }
.ocap { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #6b6280; }
/* games grid */
.chead { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.chead-p { color: #b9b2c9; font-size: 17px; max-width: 46ch; }
@media (max-width: 900px) { .chead { grid-template-columns: 1fr; gap: 16px; } }
.ggridc { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.gcell { position: relative; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); border-inline-end: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; overflow: hidden; text-align: center; }
.gcell-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .45s, transform .6s; }
.gcell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 6, 14, .25), rgba(8, 6, 14, .8)); opacity: 0; transition: opacity .45s; }
.gcell:hover .gcell-bg, .gcell:focus-visible .gcell-bg { opacity: 1; transform: scale(1); }
.gcell:hover::after, .gcell:focus-visible::after { opacity: 1; }
.gcell > :not(.gcell-bg) { position: relative; z-index: 1; }
.gcell-logo { width: 70%; max-width: 230px; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); transition: transform .4s; }
.gcell:hover .gcell-logo { transform: scale(1.05); }
.gcell small { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #cfc6e2; }
html[lang="ar"] .gcell small { letter-spacing: 0; font-size: 13px; }
.gcell-arr { position: absolute !important; top: 16px; inset-inline-end: 16px; color: #8d84a3; }
.gcell:hover .gcell-arr { color: var(--acc2); }
.gcell-next .q { width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; font-family: var(--wide); font-size: 44px; background: radial-gradient(circle at 30% 30%, #5b3bd6, #1a1450); box-shadow: inset 0 0 0 2px rgba(255, 79, 216, .6); }
.gcell-all { align-items: flex-start; justify-content: flex-end; text-align: start; }
.gcell-all .gcell-k { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acc2); }
.gcell-all b { font-family: var(--wide); text-transform: uppercase; font-size: 24px; line-height: 1.05; }
@media (max-width: 1000px) { .ggridc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ggridc { grid-template-columns: 1fr; } .gcell { min-height: 220px; } .gcell-bg { opacity: .45; transform: none; } .gcell::after { opacity: .7; } }
/* accent band */
.accent { background: linear-gradient(120deg, #5b1fb8 0%, #8a2be2 45%, #c33bd8 100%); color: #fff; }
.accent-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .22; }
.accent .wrap { position: relative; }
.accent .eyebrow { color: #fff; }
.pslides { position: relative; margin-top: 34px; min-height: 120px; }
.pslide { position: absolute; inset: 0 auto auto 0; max-width: 620px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; pointer-events: none; }
html[dir="rtl"] .pslide { inset: 0 0 auto auto; }
.pslide.is-on { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.pslide h3 { font-size: 26px; font-weight: 800; }
.pslide p { margin-top: 10px; font-size: 17px; opacity: .92; }
.accent .ctab { color: rgba(255, 255, 255, .7); }
.accent .ctab-n { color: #fff; }
@media (max-width: 720px) { .ctabs-band { grid-template-columns: 1fr 1fr; } }
/* figures */
.figs-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: end; margin-top: 50px; }
.count { display: block; font-family: var(--wide); font-weight: 900; line-height: .9; color: #fff; }
.fig-big .count { font-size: clamp(110px, 17vw, 240px); background: linear-gradient(180deg, #fff 30%, #c79cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fig-big p { font-size: 18px; color: #cfc6e2; margin-top: 12px; max-width: 30ch; }
.fig-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px; }
.fig-row .count { font-size: clamp(30px, 3.4vw, 44px); color: var(--acc2); }
.fig-row p { font-size: 14px; color: #b9b2c9; margin-top: 6px; }
@media (max-width: 900px) { .figs-grid { grid-template-columns: 1fr; } .fig-row { grid-template-columns: 1fr 1fr; } }
/* commitments */
.comm { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; align-items: start; }
.comm-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.comm-box { border-top: 2px solid var(--acc); padding-top: 26px; }
.comm-box .pslides { margin-top: 0; min-height: 150px; }
.comm-box .pslide h3 { color: var(--paper-ink); }
.comm-box .pslide p { color: #4d4560; }
.cdots { display: flex; gap: 12px; margin-top: 18px; }
.cdot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #c9c0d8; cursor: pointer; }
.cdot.is-on { background: var(--acc); transform: scale(1.3); }
@media (max-width: 900px) { .comm { grid-template-columns: 1fr; gap: 26px; } }
/* news rows */
.cnews { display: grid; grid-template-columns: .9fr 1.4fr; gap: 50px; align-items: start; }
.cnews .pill-btn { margin-top: 26px; }
.nrows { border-top: 1px solid rgba(255, 255, 255, .14); }
.nrow { display: grid; grid-template-columns: 150px 130px 1fr 30px; gap: 16px; align-items: center; padding: 22px 4px; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; transition: background .2s, padding .2s; }
.nrow:hover { background: rgba(255, 255, 255, .04); padding-inline-start: 12px; }
.nrow-d { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #9a92ad; }
.nrow-tag { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--acc2); }
.nrow-t { font-weight: 700; font-size: 17px; }
.nrow-arr { color: #8d84a3; }
.nrow:hover .nrow-arr { color: var(--acc2); }
html[lang="ar"] .nrow-d, html[lang="ar"] .nrow-tag { letter-spacing: 0; }
@media (max-width: 900px) { .cnews { grid-template-columns: 1fr; gap: 30px; } .nrow { grid-template-columns: 1fr 24px; gap: 6px 10px; } .nrow-d, .nrow-tag { grid-column: 1; } .nrow-t { grid-column: 1; } .nrow-arr { grid-column: 2; grid-row: 1 / span 3; } }
/* closing */
.cend { color: #fff; background: var(--ink0); padding: 140px 0; }
.cend-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.9); }
.cend::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 6, 14, .92) 0%, rgba(8, 6, 14, .6) 55%, rgba(8, 6, 14, .3) 100%); }
html[dir="rtl"] .cend::before { background: linear-gradient(270deg, rgba(8, 6, 14, .92) 0%, rgba(8, 6, 14, .6) 55%, rgba(8, 6, 14, .3) 100%); }
.cend .wrap { position: relative; z-index: 2; }
.cend .eyebrow { color: var(--acc2); }
/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
/* footer (all pages) */
.cf { background: var(--ink0); color: #b9b2c9; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 70px; }
.cf-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cf-logo img { height: 90px; width: auto; }
.cf-tag { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 20px; font-weight: 600; }
.cf-tag .eb-line { background: var(--acc); }
.cf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 50px; }
.cf-col h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; margin-bottom: 10px; }
html[lang="ar"] .cf-col h3 { letter-spacing: 0; font-size: 15px; }
.cf-col a { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #cfc6e2; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.cf-col a:hover { color: #fff; }
.cf-col a:hover .i-arr { transform: translateX(4px); color: var(--acc2); }
html[dir="rtl"] .cf-col a:hover .i-arr { transform: scaleX(-1) translateX(4px); }
.cf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.cf-langs { display: flex; align-items: center; gap: 4px; }
.cf-langs button { background: none; border: 0; color: #9a92ad; font-weight: 700; cursor: pointer; padding: 4px 8px; }
.cf-langs button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cf-langs a { color: #9a92ad; margin-inline-start: 12px; }
@media (max-width: 800px) { .cf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cf-grid { grid-template-columns: 1fr; } .cf-logo img { height: 70px; } }
/* other studio pages (games, news, studio, privacy) in the same style */
.corp .phero { min-height: 420px; background: var(--ink0); }
.corp .phero h1 { font-family: var(--wide); letter-spacing: -.5px; text-shadow: none; }
.corp .phero-in { text-align: start; padding-top: 150px; }
.corp .phero p { margin-inline: 0; }
.corp .sec-dark, .corp .sec-night { background: var(--ink0); border: 0; }
.corp .big-title { font-family: var(--wide); text-align: start; }
.corp .big-title::after { margin-inline-start: 0; background: var(--acc); width: 42px; height: 2px; }
.corp .sub { text-align: start; margin-inline: 0; }
.corp .filters { justify-content: flex-start; }

.chero .cta-row, .cend .cta-row { justify-content: flex-start; }
.olab { z-index: 3; }
.ospin { z-index: 2; }
.ocore { z-index: 4; }
