:root {
    color-scheme: dark;
    --black: #080e18;
    --dark: #0e1725;
    --blue-deep: #10223b;
    --yellow: #f2bd4f;
    --white: #f6f3ec;
    --muted: #bbc7d8;
    --line: #293444;
    --content: 1160px;
    --nav-height: 88px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
.hero, .section, .footer { min-height: calc(100svh - var(--nav-height)); }
.hero { display: grid; align-items: center; }
.section { display: flex; flex-direction: column; justify-content: center; }
.footer { display: flex; align-items: center; }
.footer-inner { width: 100%; }
body { isolation: isolate; background: var(--black); color: var(--white); font-family: "Segoe UI", system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--black); }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
.accent { color: var(--yellow); }
.eyebrow { font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 12px 20px; background: var(--yellow); color: var(--black); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.navbar { position: sticky; top: 0; z-index: 100; background: #080e18f5; border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--content); min-height: 86px; padding: 14px 0; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { height: 60px; width: auto; }
.brand-wordmark { position: relative; width: 196px; aspect-ratio: 854 / 98; overflow: hidden; }
/* Retain the original wordmark strip from the untouched brand artwork. */
.brand-wordmark img, .studio-wordmark img { position: absolute; top: -753.061224%; left: 0; width: 100%; max-width: none; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; color: var(--muted); transition: color .18s; }
.menu a::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .18s; }
.menu a:hover, .menu a[aria-current] { color: var(--white); }
.menu a[aria-current]::after, .menu a:hover::after { transform: scaleX(1); }
.language-picker { position: relative; flex: 0 0 auto; }
.language-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 4px; background: #101b2a; color: var(--white); font: inherit; font-size: .76rem; font-weight: 650; cursor: pointer; }
.language-toggle img, .language-option img { width: 20px; height: 14px; object-fit: cover; border-radius: 1px; box-shadow: 0 0 0 1px #ffffff30; }
.language-chevron { margin-left: 2px; color: var(--muted); font-size: 1rem; line-height: 1; }
.language-options { position: absolute; top: calc(100% + 5px); right: 0; z-index: 120; min-width: 94px; padding: 4px; border: 1px solid #43536a; border-radius: 4px; background: #101b2a; box-shadow: 0 10px 24px #0008; }
.language-option { display: flex; align-items: center; gap: 7px; width: 100%; min-height: 34px; padding: 5px 7px; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 650; text-align: left; cursor: pointer; }
.language-option span:last-child { margin-left: auto; color: var(--white); }
.language-option:hover, .language-option[aria-pressed="true"] { background: #293b52; color: var(--white); }
.language-toggle:hover { border-color: #52637a; }
.shop-cart { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--white); font-size: .86rem; }
.shop-cart svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.menu-toggle { background: transparent; border: 1px solid var(--line); width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--white); margin: 4px 0; }
.hero {
    position: relative;
    overflow: clip;
    isolation: isolate;
    background: #0c1e32;
}
.hero-inner { position: relative; z-index: 2; width: min(var(--content), calc(100% - 72px)); margin: auto; display: block; padding: 64px 0 70px; }
.hero-content { max-width: 590px; width: 52%; text-shadow: 0 2px 18px #0009; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #050e1be8 0%, #071326c2 28%, #07132655 49%, transparent 72%), linear-gradient(0deg, #0c1e32 0%, transparent 23%); }
.hero-content { position: relative; z-index: 2; animation: arrive .85s ease-out both; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.small-line { width: 24px; height: 1px; background: var(--yellow); flex-shrink: 0; }
.hero h1 { margin: 26px 0; font-size: clamp(3.2rem, 5.4vw, 5rem); font-weight: 750; letter-spacing: -.065em; line-height: 1.01; }
.lead { font-size: 1.08rem; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 3px; font-size: .86rem; font-weight: 700; transition: background .18s, transform .18s; }
.btn-yellow { background: var(--yellow); color: #131720; }
.btn-yellow:hover { background: #f5ce86; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: .88rem; }
.text-link:hover { color: var(--yellow); }
.hero-note { margin-top: 48px; color: var(--muted); font-size: .72rem; }
.hero-note span { margin: 0 10px; color: var(--yellow); }
/* A single panoramic scene behind the interface, not a separate image card. */
.hero-art { position: absolute; inset: -32px 0; z-index: 0; pointer-events: none; translate: 0 var(--art-y, 0px); animation: art-arrive 1.1s ease-out both; }
.hero-art img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 65%; }
.hero .lead { color: #e0e8f3; max-width: 490px; }
.hero .hero-note { color: #c7d8e9; }
.hero .btn { text-shadow: none; box-shadow: 0 8px 28px #0005; }
.hero .text-link { min-height: 50px; padding: 13px 22px; border: 1px solid #9aafc4a6; border-radius: 3px; background: #081728b3; color: var(--white); text-shadow: none; transition: border-color .18s, background .18s, color .18s, transform .18s; }
.hero .text-link:hover { transform: translateY(-2px); border-color: var(--yellow); background: var(--yellow); color: #131720; }
@keyframes arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes art-arrive { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.section { width: 100%; margin: 0; padding: 88px max(36px, calc((100% - var(--content)) / 2)); border: 0; }
.game-section { background: linear-gradient(to bottom, #0c1e32, #080d15 110px); }
.shop-section { background: linear-gradient(to bottom, #12263c, #11151c 110px); }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 38px; }
.section-aside { color: var(--muted); font-size: .8rem; }
.game { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.game-cover { justify-self: center; width: 100%; border: 1px solid #34516b; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 70px #0005; transition: transform .4s, box-shadow .4s; }
.game-cover:hover { transform: translateY(-5px); box-shadow: 0 28px 70px #175d8c40; }
.game-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s; }
.game-cover:hover img, .game-cover:focus-visible img { transform: scale(1.06); }
.game-logo img { width: min(100%, 480px); height: auto; }
.game-info h2 { margin: 15px 0 24px; font-size: clamp(2.8rem, 5vw, 4.6rem); letter-spacing: -.045em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tags li { font-size: .73rem; padding: 5px 13px; border: 1px solid #3c4a5e; border-radius: 3px; color: #c2cddd; }
.game-info > p:not(.eyebrow) { color: var(--muted); max-width: 510px; }
.game-info > .game-intro { color: var(--white) !important; font-size: 1.35rem; font-weight: 600; line-height: 1.45; margin-bottom: 18px; }
.studio-section { background: linear-gradient(to bottom, #080d15, #12263c 110px); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about h2, .shop-intro h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -.04em; margin-bottom: 24px; }
.studio-wordmark { display: block; position: relative; width: min(100%, 430px); aspect-ratio: 854 / 98; overflow: hidden; }
.about-text p { color: var(--muted); margin-top: 16px; }
.about-list { list-style: none; display: grid; gap: 16px; }
.about-list li { position: relative; isolation: isolate; overflow: hidden; display: flex; padding: 24px; border: 1px solid #3b536e; border-radius: 14px; background: #102033; transition: transform .3s, box-shadow .3s, border-color .3s; }
.about-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), #61bbff42, transparent 65%); transition: opacity .3s; }
.about-list li:hover, .about-list li:focus-visible { transform: translateY(-4px) scale(1.025); border-color: var(--yellow); box-shadow: 0 12px 32px #0004, 0 0 28px #46afff24; }
.about-list li:hover::before, .about-list li:focus-visible::before { opacity: 1; }
.about-list li:hover h3, .about-list li:focus-visible h3 { color: var(--yellow); }
.game-preview video { pointer-events: none; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.game-preview:hover { transform: none; }

.about-list h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.about-list p { font-size: .9rem; color: var(--muted); }
.studio-signoff { margin-top: 48px; color: var(--muted); display: flex; justify-content: space-between; border-left: 2px solid var(--yellow); padding-left: 20px; }
.status-label { display: inline-block; padding: 5px 11px; border: 1px solid #77613e; color: var(--yellow); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.shop-preview { width: 100%; }
.shop-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.shop-intro h2 { margin-bottom: 10px; }
.shop-intro > div > p { color: var(--muted); font-size: 1rem; }
.shop-note { max-width: 330px; padding: 12px 16px; border-left: 2px solid var(--yellow); color: var(--muted); font-size: .82rem; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shop-preview .shop-grid { max-width: 1080px; margin-inline: auto; }
.shop-card { min-width: 0; overflow: hidden; border: 1px solid #29445e; border-radius: 11px; background: linear-gradient(155deg, #0c1827, #08111d 75%); box-shadow: 0 14px 36px #0003; transition: transform .3s, border-color .3s, box-shadow .3s; }
.shop-card-link { display: block; color: inherit; }
.shop-card-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.shop-card:hover { transform: translateY(-5px); border-color: #5680a6; box-shadow: 0 20px 42px #0006, 0 0 22px #4da9ff18; }
.shop-card-photo { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 42%; background: #171411; }
.shop-card-photo--cover { object-fit: contain; background: #101b2b; }
.shop-card-art { position: relative; display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; gap: 8px; padding: 22px; isolation: isolate; text-align: center; }
.shop-card-art::before { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 110%, #247bb244, transparent 58%), linear-gradient(145deg, #14243a, #0a111b 75%); content: ""; }
.shop-card-art::after { position: absolute; inset: 12px; z-index: -1; border: 1px solid #9fc8ed20; content: ""; }
.shop-card-art--shirt::before { background: radial-gradient(ellipse at 50% 110%, #3287c744, transparent 62%), repeating-linear-gradient(135deg, transparent 0 22px, #ffffff05 23px 24px), linear-gradient(145deg, #17263a, #090f19 75%); }
.shop-card-art--hoodie::before { background: radial-gradient(ellipse at 65% 20%, #184c8c66, transparent 46%), linear-gradient(135deg, #0c1b31, #101522 70%); }
.shop-card-art--comic::before { background: radial-gradient(ellipse at 50% 85%, #d7782344, transparent 55%), linear-gradient(145deg, #32251d, #11151d 75%); }
.shop-card-art--digital::before { background: radial-gradient(ellipse at 80% 20%, #743ce655, transparent 50%), repeating-linear-gradient(0deg, transparent 0 27px, #8bcfff0b 28px 29px), linear-gradient(145deg, #131b39, #0a111d 75%); }
.shop-art-kicker, .shop-art-edition { color: #a9bfd8; font-size: .58rem; font-weight: 700; letter-spacing: .16em; }
.shop-art-title { color: var(--white); font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 900; letter-spacing: -.06em; line-height: .9; text-shadow: 0 3px 0 #155c9c, 0 0 24px #38a9ff66; }
.shop-art-mark { color: #e8b94b; font-size: 3.6rem; font-weight: 900; letter-spacing: -.11em; line-height: .9; text-shadow: 0 3px 0 #6b4310, 0 0 28px #e8b94b55; }
.shop-art-edition { margin-top: 10px; padding: 5px 9px; border: 1px solid #7791ad70; }
.shop-card-info { min-height: 142px; padding: 16px 18px 18px; }
.shop-card-info .eyebrow { color: #9bb5d2; font-size: .62rem; letter-spacing: .13em; }
.shop-card-info h3 { margin: 6px 0 12px; font-size: 1rem; }
.shop-more-card { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 1080px; min-height: 72px; margin: 20px auto 0; padding: 10px 18px; border: 1px solid #36516d; border-radius: 11px; background: linear-gradient(100deg, #13243a, #0b1523 78%); transition: border-color .25s, background .25s, box-shadow .25s; }
.shop-more-card:hover { border-color: #b9974c; background: linear-gradient(100deg, #192c43, #0d1928 78%); box-shadow: 0 12px 30px #0004, 0 0 20px #f2bd4d12; }
.shop-more-icon { position: relative; display: block; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #806b3d; border-radius: 50%; color: var(--yellow); transition: color .25s, background .25s, transform .25s; }
.shop-more-icon::before, .shop-more-icon::after { position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; border-radius: 2px; background: currentColor; content: ""; transform: translate(-50%, -50%); }
.shop-more-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.shop-more-card:hover .shop-more-icon { color: #09111c; background: var(--yellow); transform: rotate(90deg); }
.shop-more-copy { display: flex; flex: 1; flex-direction: column; }
.shop-more-copy strong { color: var(--white); font-size: .95rem; font-weight: 650; white-space: nowrap; }
.shop-coming { display: inline-flex; align-items: center; gap: 7px; color: var(--yellow); font-size: .72rem; font-weight: 700; }
.shop-coming::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; content: ""; }
.footer { border: 0; background: linear-gradient(to bottom, #11151c, #050910 110px); }
.footer-inner { max-width: var(--content); margin: auto; padding: 60px 0 96px; }
.contact-heading, .contact-links, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-heading h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.035em; margin-top: 18px; }
.contact-heading > a { color: var(--yellow); font-size: 1.05rem; }
.contact-links { margin: 22px 0; color: var(--muted); font-size: .85rem; }
.contact-links a { min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 48px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 1px solid #34506a; border-radius: 999px; background: #10243b80; font-size: .85rem; transition: border-color .25s, color .25s, transform .25s, background .25s; }
.socials i { font-size: 1.25rem; color: #8bcfff; }
.socials a:hover { color: var(--yellow); border-color: var(--yellow); background: #263344; transform: translateY(-4px); }
.socials a:hover i { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: .73rem; }
.to-top { position: fixed; bottom: max(22px, env(safe-area-inset-bottom)); right: max(22px, env(safe-area-inset-right)); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 18px; border: 1px solid #ffdc86; background: var(--yellow); color: #101725; font-weight: 700; cursor: pointer; z-index: 110; border-radius: 999px; box-shadow: 0 8px 28px #0006; transition: transform .2s, background .2s; }
.to-top > span:first-child { font-size: 1.5rem; line-height: 1; }
.to-top-label { font-size: .8rem; }
.to-top:hover { transform: translateY(-3px); background: #ffd781; }
main > h1, main > h2, main > h3, main > p { max-width: var(--content); margin: 28px auto; padding-inline: 24px; }
@media (max-width: 1240px) {
    .nav-inner, .footer-inner { margin-inline: 36px; }
    .game, .about { gap: 48px; }
}
@media (max-width: 900px) {
    .hero-content { width: 60%; }
    .hero h1 { font-size: 3.4rem; }
    .hero .eyebrow { font-size: .65rem; letter-spacing: .1em; }
    .nav-inner { min-height: 74px; flex-wrap: wrap; gap: 12px; }
    .menu-toggle:not([hidden]) { display: block; }
    .menu { flex-basis: 100%; flex-direction: column; gap: 0; margin-left: 0; }
    .menu a { padding: 10px 4px; }
    .menu-ready .menu { display: none; }
    .menu-ready .menu.open { display: flex; }
    .brand-logo { height: 50px; }
    .brand-wordmark { width: 154px; }
    .hero-note { margin-top: 28px; }
    .game, .about { gap: 36px; }
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    :root { --nav-height: 78px; }
    .nav-inner, .footer-inner { margin-inline: 22px; }
    .nav-inner { min-height: 74px; flex-wrap: wrap; gap: 12px; }
    .brand-logo { height: 46px; }
    .brand-wordmark { width: 140px; }
    .menu-toggle:not([hidden]) { display: block; }
    .menu { flex-basis: 100%; flex-direction: column; gap: 0; }
    .menu a { padding: 10px 4px; }
    .menu-ready .menu { display: none; }
    .menu-ready .menu.open { display: flex; }
    .language-picker { margin-left: auto; }
    .hero-inner { width: calc(100% - 44px); padding: 300px 0 44px; }
    .hero-content { width: 100%; max-width: none; }
    .hero-art { inset: 0 0 auto; height: 420px; }
    .hero-art img { object-position: 74% center; }
    .hero::after { background: linear-gradient(to bottom, transparent 160px, #0c1e3255 230px, #0c1e32 370px); }
    .hero h1 { font-size: clamp(2.7rem, 10.5vw, 4rem); }


    .hero-note { margin-top: 24px; }
    .section { padding: 56px 22px; }
    .section-heading { margin-bottom: 28px; }
    .section-aside { display: none; }
    .game { grid-template-columns: 1fr; gap: 30px; }
    .game-info { grid-row: 1; }
    .game-info h2 br { display: none; }
    .game-info h2 .accent::before { content: " "; }
    .game-logo img { width: min(100%, 480px); height: auto; }
.game-info h2 { font-size: clamp(2.6rem, 10vw, 3.8rem); }
    .game-cover { max-width: 560px; }
    .about { grid-template-columns: 1fr; gap: 32px; }
    .shop-intro { align-items: flex-start; flex-direction: column; gap: 18px; }
    .shop-note { max-width: none; }
    .shop-more-card { gap: 14px; padding: 16px; }
    .contact-heading, .contact-links, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
    .contact-heading > a { font-size: 1rem; }
    .footer-inner { padding-top: 42px; }
    .footer-bottom { padding-right: 46px; }
    .socials { gap: 8px; }
    .to-top { width: 50px; padding: 10px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
    .to-top-label { display: none; }
}
@media (max-width: 420px) {
    .language-picker { flex-basis: 100%; display: flex; justify-content: flex-end; }
}
@media (max-width: 600px) {
    .shop-grid { grid-template-columns: 1fr; }
    .shop-card-art { min-height: 190px; }
    .shop-more-card { margin-top: 18px; }
}
.join-team-section { width: 100%; padding: 88px max(22px, calc((100vw - var(--content)) / 2)); border: 0; background: linear-gradient(to bottom, #11151c, #12263c 110px, #12263c calc(100% - 110px), #11151c); }
.join-team { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; width: 100%; max-width: var(--content); margin-inline: auto; padding: 12px 0; }
.join-team h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.035em; margin: 16px 0 20px; }
.join-team p:not(.eyebrow) { max-width: 660px; color: var(--muted); }
.contact-block { padding-top: 54px; border-top: 1px solid #314154; }
html.join-open { overflow: hidden; }
.join-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 30px; overflow-y: auto; overscroll-behavior: contain; background: #101c2c; color: var(--white); border: 1px solid #45627d; border-radius: 18px; box-shadow: 0 24px 100px #000a; }
.join-dialog::backdrop { background: #030812d9; backdrop-filter: blur(5px); }
.join-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.join-dialog h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 10px 0; }
.join-close { position: relative; display: grid; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid #52657d; border-radius: 50%; background: #1a2b40; color: var(--white); cursor: pointer; }
.join-close::before, .join-close::after { position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.join-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.join-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
#join-intro { color: var(--muted); margin: 12px 0 24px; }
.join-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.join-field { min-width: 0; }
.join-field label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; }
.join-field input { width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; color: var(--white); background: #08111e; border: 1px solid #4c617a; border-radius: 6px; font: inherit; font-size: .9rem; }
.join-field input::placeholder { color: #9cacc0; }
.join-field input:focus-visible { border-color: var(--yellow); outline-offset: 2px; }
.join-wide { grid-column: 1 / -1; }
.resume-field { padding: 18px; border: 1px dashed #506d8b; border-radius: 10px; background: #13263b; }
.resume-field p { color: var(--muted); font-size: .8rem; margin-bottom: 10px; }
.resume-field input { padding: 8px; }
.resume-field input::file-selector-button { padding: 10px 12px; margin-right: 12px; border: 0; border-radius: 4px; background: #254765; color: white; cursor: pointer; }
#resume-status { margin: 8px 0 0; overflow-wrap: anywhere; }
.join-notice { margin: 24px 0; padding: 14px 16px; border-left: 2px solid var(--yellow); color: var(--muted); background: #192738; font-size: .85rem; }
.join-form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.join-cancel { padding: 12px 18px; min-height: 48px; border: 1px solid #52657d; border-radius: 4px; background: transparent; color: white; cursor: pointer; }
.join-form-actions .btn:disabled { background: #4a4435; color: #d9d0bd; cursor: not-allowed; transform: none; }
@media (max-width: 700px) {
    .join-team { grid-template-columns: 1fr; gap: 24px; padding: 12px 0; }
    .join-team > button { justify-self: start; }
    .contact-block { padding-top: 36px; }
    .join-dialog { padding: 20px; }
    .join-fields { grid-template-columns: 1fr; gap: 16px; }
    .join-form-actions { flex-direction: column-reverse; }
    .join-form-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero::before { transform: none; }
    .hero-art { translate: none; }
    .to-top:hover, .about-list li:hover, .about-list li:focus-visible { transform: none; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .btn:hover, .hero-art:hover img, .hero-art:focus-within img, .game-cover:hover, .game-cover:hover img, .game-cover:focus-visible img, .socials a:hover { transform: none; }
}

.legal-page { max-width: 900px; margin: 0 auto; padding: 72px 24px 96px; min-height: 65vh; overflow-wrap: anywhere; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; margin: 14px 0 32px; }
.legal-page h2 { margin: 32px 0 12px; font-size: 1.3rem; }
.legal-page p, .legal-definitions dd { color: var(--muted); margin-bottom: 16px; }
.legal-page a, .legal-links a, .join-notice a, .cookie-notice a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.legal-definitions dt { margin: 24px 0 8px; font-weight: 700; }
.legal-links { display: flex; flex-wrap: wrap; gap: 24px; }
.legal-links a { padding: 12px 0; }
.cookie-notice { position: fixed; z-index: 120; bottom: 20px; left: 20px; display: flex; align-items: center; gap: 24px; width: min(690px, calc(100% - 40px)); padding: 20px; background: #13263b; border: 1px solid #36516d; border-radius: 12px; box-shadow: 0 12px 45px #0008; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.cookie-notice .btn { flex-shrink: 0; }
@media (max-width: 600px) { .cookie-notice { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; left: 12px; width: calc(100% - 24px); max-height: 60dvh; overflow-y: auto; } }
.comic-free-home { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; max-width: 900px; margin: 0 auto; padding: clamp(1rem, 4vw, 2rem); border: 1px solid #ffffff20; border-radius: 18px; background: linear-gradient(135deg, #17263a, #0d1724); }
.comic-free-home img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 32px #0008; }
.comic-free-home h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.comic-free-home p { margin: 0 0 22px; color: var(--muted); line-height: 1.65; }
@media (max-width: 600px) { .comic-free-home { grid-template-columns: minmax(100px, 140px) minmax(0, 1fr); gap: 1rem; padding: 1rem; } .comic-free-home h2 { font-size: 1.3rem; } }
