:root {
  color-scheme: dark;
  --bg: #101317;
  --chrome: #151a21;
  --surface: #1b222b;
  --line: #36414e;
  --text: #f2f5f8;
  --muted: #bbc6d1;
  --titanium: #b9c4cf;
  --cyan: #78ceff;
  --blue: #3aa9ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 10; background: var(--cyan); color: var(--bg); padding: 12px; }
.skip:focus { top: 12px; }
.frame { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: var(--chrome); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: .8rem; font-weight: 800; letter-spacing: .11em; }
.wordmark b { color: var(--cyan); }
.mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid #53738f; border-radius: 9px; background: linear-gradient(155deg, #39444f, #18212b 58%, #0d2337); box-shadow: inset 0 1px #ffffff24; font-size: .92rem; font-weight: 900; font-style: italic; letter-spacing: -.04em; }
nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 650; }
nav a { color: var(--muted); }
nav a:hover, nav [aria-current] { color: var(--cyan); }
.nav-support { color: var(--text); border: 1px solid var(--line); padding: 10px 14px; border-radius: 8px; }
.nav-support span { margin-inline-start: 5px; color: var(--cyan); }
.site-nav { margin-inline-start: auto; }
.language-picker { position: relative; z-index: 3; flex: 0 0 auto; color: var(--text); }
.language-picker summary { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; list-style: none; font-size: .85rem; font-weight: 750; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:hover, .language-picker[open] summary { border-color: #78a7cc; background: var(--surface); }
.language-picker summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.language-picker svg { width: 18px; height: 18px; color: var(--cyan); }
.language-chevron { width: 6px; height: 6px; border: solid var(--muted); border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.language-picker[open] .language-chevron { transform: translateY(2px) rotate(225deg); }
.language-options { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 174px; max-width: calc(100vw - 36px); max-height: min(32rem, calc(100dvh - 76px)); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 5px; list-style: none; border: 1px solid var(--line); border-radius: 10px; background: var(--chrome); box-shadow: 0 12px 24px #0006; }
.language-options a { display: block; padding: 9px 10px; border-radius: 5px; font-size: .9rem; line-height: 1.4; }
.language-options a:hover, .language-options a[aria-current] { color: var(--cyan); background: var(--surface); }
.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 79% 48%, #163e65 0%, #14283c 28%, transparent 63%), linear-gradient(115deg, #232931, var(--bg) 72%); }
.hero-inner { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: 28px; min-height: 528px; }
.hero-copy { position: relative; z-index: 1; padding-block: 60px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .72rem; font-weight: 850; letter-spacing: .18em; color: var(--cyan); }
.eyebrow span { display: block; width: 18px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.045em; }
:lang(ar) :is(h1, h2, h3, .eyebrow, .tag) { letter-spacing: normal; }
[dir="rtl"] :is(a[dir="ltr"], .wordmark) { unicode-bidi: isolate; }
h1 { font-size: clamp(3.2rem, 7.1vw, 6.35rem); font-weight: 850; }
h1 em { font-style: normal; color: var(--cyan); }
.metal { color: var(--titanium); }
@supports (background-clip: text) {
  .metal { background: linear-gradient(178deg, #fff 8%, #dce3ea 50%, #a9b5c3 100%); background-clip: text; color: transparent; }
  .hero h1 em { background: linear-gradient(180deg, #a7e9ff 8%, var(--cyan) 45%, var(--blue) 100%); background-clip: text; color: transparent; }
}
h2 { font-size: clamp(1.9rem, 4vw, 3.05rem); }
.intro { max-width: 42ch; margin: 22px 0 27px; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.68; }
.hero-art { position: relative; display: grid; place-items: center; isolation: isolate; }
.orbit { position: absolute; width: 86%; aspect-ratio: 1; z-index: -1; border-radius: 50%; border: 1px solid #64bfff45; box-shadow: 0 0 0 24px #55b6ff0d, 0 0 0 56px #55b6ff07; background: repeating-linear-gradient(0deg, transparent 0 35px, #80bcf315 35px 36px), repeating-linear-gradient(90deg, transparent 0 35px, #80bcf315 35px 36px); }
.studio-logo { width: min(100%, 480px); filter: drop-shadow(0 16px 26px #0008); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 11px 17px; border: 1px solid transparent; border-radius: 8px; font-size: .9rem; font-weight: 760; transition: background .16s, border-color .16s; }
.primary { background: linear-gradient(180deg, var(--cyan), var(--blue)); color: #071523; box-shadow: inset 0 1px #ffffff4d, 0 4px 18px #219dff24; }
.primary:hover { background: linear-gradient(180deg, #a8e7ff, #62beff); }
.secondary { border-color: #516175; color: var(--text); background: linear-gradient(180deg, #303b48, #202b37); }
.secondary:hover { background: #30465c; border-color: #78a7cc; }
.text-link { color: var(--cyan); font-weight: 720; font-size: .91rem; text-underline-offset: 4px; }
.text-link:hover, .email:hover { text-decoration: underline; }
.games { padding-block: 64px 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-heading > p, .game-info p, .support-band p:not(.eyebrow), .contact-panel p, .game-help p { color: var(--muted); line-height: 1.62; }
.section-heading > p { margin: 0; }
.game-list { display: grid; gap: 20px; }
.game-card { display: grid; grid-template-columns: 1.55fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.game-cover { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.game-info { padding: 27px; }
.game-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.game-meta img, .game-help img { border-radius: 10px; }
.tag { color: #9ed8ff; font-size: .68rem; font-weight: 780; letter-spacing: .11em; }
.game-info h3 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.game-info p { margin: 13px 0 19px; }
.support-section { padding-bottom: 58px; }
.support-band, .contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(112deg, #283440, #192531 70%); }
.support-band h2, .contact-panel h2 { font-size: clamp(1.65rem, 3.2vw, 2.45rem); }
.support-band p:not(.eyebrow), .contact-panel p { margin: 9px 0 0; }
.support-band .button, .contact-panel .button { flex: 0 0 auto; }
.site-footer { border-top: 1px solid var(--line); background: var(--chrome); }
.footer-inner { min-height: 94px; }
.footer-inner nav { flex-wrap: wrap; }
.help-page { max-width: 960px; padding-block: 42px 64px; }
.help-heading { margin-block: 48px 28px; }
.help-heading h1 { font-size: clamp(2.5rem, 7vw, 4.85rem); }
.help-heading .intro { margin-bottom: 0; }
.email { display: inline-block; max-width: 100%; overflow-wrap: anywhere; margin-top: 16px; color: var(--cyan); font-weight: 780; }
.game-help { display: flex; align-items: flex-start; gap: 18px; padding: 26px 0; margin-top: 22px; }
.game-help img { flex: 0 0 auto; }
.game-help h2 { font-size: 1.55rem; }
.game-help p { margin: 8px 0 14px; }
.help-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-page { max-width: 800px; }
.legal-jumps { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.legal-copy { overflow-wrap: anywhere; line-height: 1.7; }
.legal-copy + .legal-copy { margin-top: 42px; }
.legal-copy h2 { font-size: clamp(1.55rem, 4vw, 2.25rem); line-height: 1.18; }
.legal-copy h3 { margin-top: 30px; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; }
.legal-copy p { margin: 10px 0 15px; color: var(--muted); }
.legal-copy address { font-style: normal; }
.legal-copy a { color: var(--cyan); text-decoration: underline; text-underline-offset: .18em; }
.legal-panel { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
@media (max-width: 850px) {
  .frame { width: calc(100% - 48px); }
  .hero-inner { min-height: 420px; }
  .game-card { grid-template-columns: 1fr; }
  .game-cover { height: auto; min-height: 0; }
}
@media (max-width: 590px) {
  .frame { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; gap: 8px; }
  .header-inner:has(.language-picker) { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px; }
  .header-inner .site-nav { grid-row: 2; grid-column: 1 / -1; margin-inline-start: 0; flex-wrap: wrap; }
  .header-inner .language-picker { grid-row: 1; grid-column: 2; }
  .wordmark { gap: 8px; font-size: .66rem; letter-spacing: .05em; }
  .mark { width: 31px; height: 31px; flex-basis: 31px; }
  nav { gap: 12px; font-size: .82rem; }
  .nav-support { padding: 8px 10px; }
  .nav-support span { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 4px; }
  .hero-copy { padding-block: 42px 6px; }
  .hero-art { margin-block: 5px 17px; }
  .studio-logo { width: min(100%, 290px); }
  .orbit { width: 230px; }
  .games { padding-block: 40px 34px; }
  .section-heading, .support-band, .contact-panel { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 10px; }
  .game-info, .support-band, .contact-panel { padding: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; padding-block: 18px; }
  .help-heading { margin-top: 35px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
