/* BuyKey · Neon Odyssey
   Framework-free, responsive UI. Logo, icons and sky are editable SVG files. */
:root {
  --bg: #071326; --surface: #0e1a31; --surface-soft: #121e39;
  --line: rgba(153, 164, 222, .19); --text: #f6f7ff; --muted: #aebbd8;
  --purple: #a27bff; --pink: #ed75f5; --cyan: #3ddcf5; --green: #55f787;
  --radius: 22px; --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.65 var(--font); min-height: 100vh; position: relative; isolation: isolate; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
h1 { font-size: clamp(38px, 4.1vw, 62px); font-weight: 800; letter-spacing: -.05em; }
h2 { font-size: 28px; font-weight: 750; letter-spacing: -.035em; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.icon { width: 21px; height: 21px; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.container { width: min(1290px, calc(100% - 80px)); margin-inline: auto; }
.muted { color: var(--muted); }
.gradient-text { background: linear-gradient(105deg, #ef72f3 2%, #b78afa 45%, #44d7f5 100%); color: transparent; background-clip: text; -webkit-background-clip: text; }
.eyebrow { color: #c99bff; font-size: 11px; font-weight: 750; line-height: 1.5; text-transform: uppercase; letter-spacing: .27em; margin-bottom: 14px; }
.eyebrow-line { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.eyebrow-line::before { content: ''; width: 45px; height: 2px; background: #e88af4; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #b58eff; font-size: 14px; font-weight: 650; white-space: nowrap; }
.text-link:hover { color: #e098ff; }
.back-link { display: inline-block; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.back-link:hover { color: white; }
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; position: absolute; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 100; padding: 10px 18px; background: #fff; color: #121d37; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.world { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 1180px; overflow: hidden; pointer-events: none; background: url('../svg/world.svg') top center / max(1600px, 100%) auto no-repeat; }
.world::after { position: absolute; content: ''; inset: 650px 0 0; background: linear-gradient(transparent, var(--bg) 90%); }
.world-edge { position: absolute; top: 0; width: max(110px, calc((100vw - 1290px) / 2)); max-width: 250px; height: 965px; background-repeat: no-repeat; background-size: 100% 100%; opacity: .85; }
.edge-left { left: 0; background-image: url('../images/scene-left.webp'); }
.edge-right { right: 0; background-image: url('../images/scene-right.webp'); }
.site-header { width: min(1370px, calc(100% - 64px)); min-height: 72px; margin: 16px auto 0; border: 1px solid rgba(158, 143, 235, .2); background: linear-gradient(100deg, rgba(7,19,41,.77), rgba(39,48,104,.44)); border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 9px 24px; backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 30px; font-weight: 800; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.brand > img { width: 40px; height: 47px; filter: drop-shadow(0 0 9px rgba(130,88,255,.18)); }
.brand-key { color: #bc8bff; }
.main-nav { display: flex; align-items: center; gap: 43px; margin-left: -80px; }
.main-nav a { color: #c5cee6; font-size: 14px; font-weight: 600; padding: 15px 0; position: relative; }
.main-nav a:hover, .main-nav a.active { color: #ef89f7; }
.main-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: linear-gradient(90deg, #db86f2 39%, transparent 39%, transparent 61%, #db86f2 61%); }
.main-nav a.active::before { content: ''; position: absolute; left: calc(50% - 2.5px); bottom: .5px; width: 5px; height: 5px; border-radius: 50%; background: #edb0ff; box-shadow: 0 0 7px #d883ff; }
.avatar-link { border: 2px solid #d4c8ff; border-radius: 50%; position: relative; display: block; flex: 0 0 42px; }
.avatar-link img { border-radius: 50%; width: 40px; height: 40px; }
.avatar-dot { position: absolute; bottom: 0; right: -2px; background: #57ef72; border-radius: 50%; width: 10px; height: 10px; border: 2px solid #13382c; }
.home-main { padding-top: 53px; }
.hero { display: flex; align-items: center; justify-content: space-between; position: relative; margin-bottom: 29px; min-height: 132px; }
.hero-copy { z-index: 1; }
.hero .eyebrow { color: #bf9cff; }
.hero-description { color: #c0cce6; font-size: 18px; line-height: 1.5; margin-top: 12px; }
.hero-slogan { width: 230px; padding-right: 26px; font: italic 35px/.95 'Segoe Print', 'Comic Sans MS', cursive; transform: rotate(-12deg); margin: -8px 48px 0 18px; flex: 0 0 230px; letter-spacing: -1px; }
.hero-slogan span { display: block; }
.hero-slogan span:nth-child(2) { color: #ce7aee; margin: 5px 0 0 30px; }
.hero-slogan span:nth-child(3) { color: #69cffa; margin: 5px 0 0 75px; }
.hero-slogan svg { width: 130px; height: 25px; margin-left: 61px; margin-top: 8px; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.platform-card { min-height: 350px; padding: 29px 32px 25px; border-radius: 24px; position: relative; overflow: hidden; isolation: isolate; border: 1px solid; box-shadow: 0 12px 45px rgba(0,0,0,.2), inset 0 0 25px rgba(100,255,208,.035); transition: transform .22s ease, box-shadow .22s ease; }
.platform-card:hover { transform: translateY(-4px); }
.android-card { border-color: rgba(66,232,155,.7); background: linear-gradient(110deg, #031c22, #062c31); }
.ios-card { border-color: rgba(205,114,252,.72); background: linear-gradient(110deg, #141236, #241563); }
.platform-card::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.android-card::before { background: linear-gradient(90deg, #041c24 3%, rgba(4,28,36,.94) 37%, rgba(4,28,36,0) 70%); }
.ios-card::before { background: linear-gradient(90deg, #15143a 3%, rgba(21,20,58,.93) 36%, rgba(21,20,58,0) 71%); }
.platform-art { position: absolute; top: 0; right: 0; height: 100%; width: 63%; z-index: -2; background-repeat: no-repeat; background-position: right bottom; background-size: auto 100%; }
.android-art { background-image: url('../images/android-art.webp'); }
.ios-art { background-image: url('../images/ios-art.webp'); }
.platform-glow { position: absolute; width: 160px; height: 60px; border-radius: 50%; bottom: -55px; left: 60px; background: #15ef86; filter: blur(40px); pointer-events: none; z-index: -1; }
.ios-card .platform-glow { background: #b734ff; }
.platform-content { position: relative; width: 60%; }
.platform-icon { width: 71px; height: 71px; display: grid; place-items: center; border: 1px solid rgba(42,229,145,.67); background: radial-gradient(at 100% 0, rgba(45,166,106,.42), rgba(8,63,41,.6)); border-radius: 18px; color: #86ff79; box-shadow: inset 0 0 15px rgba(46,225,153,.08); margin-bottom: 15px; }
.platform-icon .icon { width: 42px; height: 42px; filter: drop-shadow(0 0 9px rgba(148,255,119,.4)); }
.ios-card .platform-icon { color: #fff; border-color: #b959ed; background: linear-gradient(135deg,#9023d9,#4412cb); box-shadow: inset 0 0 16px rgba(212,98,255,.25); }
.ios-card .platform-icon .icon { width: 46px; height: 46px; filter: drop-shadow(0 0 7px rgba(251,205,255,.35)); }
.platform-number { display: block; color: #bbcddd; font-size: 13px; margin-bottom: 1px; letter-spacing: .05em; }
.platform-card h2 { font-size: 41px; font-weight: 780; letter-spacing: -.045em; }
.platform-card p { color: #c4d2e1; font-size: 14px; line-height: 1.75; margin-top: 9px; margin-bottom: 18px; min-height: 49px; max-width: 325px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; border: 1px solid transparent; min-height: 49px; border-radius: 100px; padding: 11px 25px; color: white; font-size: 14px; font-weight: 650; line-height: 1.5; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; white-space: nowrap; }
.button:hover { transform: translateY(-2px); }
.button-android { background: linear-gradient(110deg,#64f67b,#06c69a); border-color: #7cf4ac66; box-shadow: 0 5px 24px rgba(27,227,139,.15); }
.button-ios { background: linear-gradient(110deg,#d647ef,#6727ff); border-color: #d785ff66; box-shadow: 0 5px 25px rgba(158,45,248,.17); }
.button-ios:hover { box-shadow: 0 6px 30px rgba(174,53,255,.32); }
.button-android:hover { box-shadow: 0 6px 30px rgba(43,232,129,.27); }
.button-outline { background: rgba(128,111,193,.065); border-color: #68799b66; }
.button-outline:hover { background: rgba(147,113,230,.15); border-color: #a174ed99; }
.button-small { min-height: 40px; padding: 8px 17px; font-size: 13px; gap: 9px; }
.button-wide { width: 100%; }
.button-quiet { background: transparent; color: var(--muted); }
.button-danger { background: #b33661; border-color: #f5799466; }
.button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.featured-section { margin-top: 33px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading > .text-link { margin-bottom: 8px; }
.section-heading h2 { font-size: 42px; letter-spacing: -.045em; }
.featured-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.game-card { min-width: 0; display: block; }
.game-cover { position: relative; border-radius: 13px; overflow: hidden; border: 1px solid rgba(115,134,222,.36); background: #172249; isolation: isolate; }
.game-cover > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-cover > img { transform: scale(1.055); }
.game-card:hover .game-cover { border-color: #b591ff; box-shadow: 0 8px 24px #6a34d320; }
.game-open { position: absolute; bottom: 10px; right: 10px; width: 29px; height: 29px; display: grid; place-items: center; background: rgba(10,14,36,.72); border: 1px solid #aa9deb55; border-radius: 50%; opacity: 0; transition: opacity .2s; }
.game-card:hover .game-open, .game-card:focus-visible .game-open { opacity: 1; }
.game-open .icon { width: 15px; height: 15px; }
.game-card-info { padding: 11px 2px 0; }
.game-card-info h3 { font-size: 14px; line-height: 1.4; font-weight: 650; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.game-card-info p { font-size: 11px; line-height: 1.5; margin-top: 5px; color: #a6b3d0; display: flex; gap: 7px; flex-wrap: wrap; }
.community-strip { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); background: linear-gradient(105deg,#121e3890,#191c4580); padding: 23px 28px; border-radius: 18px; margin: 48px 0 0; }
.community-icon { display: grid; place-items: center; color: #ad90ff; width: 53px; height: 53px; border-radius: 16px; background: #8761e719; }
.community-icon .icon { width: 31px; height: 31px; }
.community-strip h3 { font-size: 18px; margin-bottom: 5px; }
.community-strip p { color: var(--muted); font-size: 13px; }
.community-strip .button { margin-left: auto; }
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding-block: 26px; }
.footer-main { display: flex; align-items: center; gap: 26px; }
.brand-small { font-size: 21px; gap: 9px; }
.brand-small > img { width: 27px; height: 32px; }
.footer-main > p { color: #8797b8; font-size: 12px; letter-spacing: .025em; }
.footer-links { display: flex; gap: 22px; margin-left: auto; color: #a4b1cb; font-size: 12px; }
.footer-links a:hover { color: white; }
.inner-main { padding-top: 39px; min-height: 66vh; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.page-heading h1 { font-size: clamp(36px,4vw,54px); }
.page-heading p:not(.eyebrow) { color: var(--muted); margin-top: 11px; font-size: 16px; }
.count-pill { border: 1px solid #947af44d; background: #8561f61a; color: #c7b4ff; border-radius: 30px; padding: 7px 18px; white-space: nowrap; font-size: 13px; }
.library-toolbar { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 27px; }
.platform-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 10px 17px; border: 1px solid transparent; color: #b7c4df; display: inline-flex; align-items: center; gap: 9px; border-radius: 12px; font-size: 13px; }
.tab .icon { width: 17px; height: 17px; }
.tab.selected { background: #8164e52b; border-color: #9d78e966; color: #e2d4ff; }
.tab:hover { background: #8065d31a; }
.filter-form { display: flex; align-items: center; gap: 10px; }
.filter-form select { width: auto; min-width: 130px; min-height: 41px; font-size: 13px; }
.library-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 29px 22px; }
.library-grid .game-card-info h3, .related-grid .game-card-info h3 { font-size: 16px; }
.library-grid .game-card-info p, .related-grid .game-card-info p { font-size: 12px; }
.empty-state { background: rgba(15,28,52,.75); border: 1px dashed #7680c14d; text-align: center; padding: 60px 20px; border-radius: 18px; }
.empty-state > .icon { width: 48px; height: 48px; color: #ad8cf0; margin-bottom: 18px; }
.empty-state p { color: var(--muted); margin: 10px 0 20px; }
.pagination { display: flex; justify-content: center; gap: 9px; margin-top: 34px; flex-wrap: wrap; }
.page-link { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; min-width: 40px; text-align: center; font-size: 13px; color: #b6c2dc; }
.page-link.current { background: #6e43cd5c; border-color: #a475f6; color: white; }
.page-link:hover { border-color: #a475f6; }
.panel { border: 1px solid var(--line); background: linear-gradient(130deg,rgba(17,30,54,.96),rgba(13,24,45,.96)); border-radius: 18px; padding: 28px; }
.panel h2 { font-size: 23px; margin-bottom: 15px; }
.panel h3 { font-size: 17px; }
.panel + .panel { margin-top: 24px; }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.panel-heading h2 { margin: 0; }
.panel-heading .text-link { font-size: 12px; }
.game-detail-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin: 4px 0 38px; }
.detail-cover { border-radius: 22px; overflow: hidden; border: 1px solid #b893fe55; box-shadow: 0 16px 70px #40238936; }
.detail-cover > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.detail-intro h1 { font-size: clamp(36px,3.5vw,52px); margin: 18px 0; }
.detail-intro > p { color: #c5cee0; font-size: 16px; margin-bottom: 16px; }
.detail-intro .byline { font-size: 13px; color: #a593d6; margin-bottom: 24px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; font-size: 11px; line-height: 1.4; font-weight: 550; padding: 5px 9px; border: 1px solid #8e9abb33; color: #c3cbe0; background: #7383a91a; white-space: nowrap; }
.badge .icon { width: 12px; height: 12px; }
.badge-purple { color: #cdb5ff; border-color: #a68af244; background: #9d6dfa19; }
.badge-green { color: #77ebba; border-color: #57d99544; background: #3dda9214; }
.badge-gold { color: #e3c789; border-color: #d7b86344; background: #edb86d13; }
.game-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 26px; align-items: start; }
.prose { color: #c4cde0; line-height: 1.85; overflow-wrap: anywhere; }
#downloads { scroll-margin-top: 24px; }
.screenshots { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.screenshots img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; width: 100%; border: 1px solid var(--line); }
.download-options { margin-top: 23px; display: grid; gap: 12px; }
.download-option { display: flex; align-items: center; gap: 16px; padding: 17px; background: #8c66e012; border: 1px solid #a180ed33; border-radius: 14px; }
.download-option:hover { background: #9b70ff20; border-color: #b490ff7a; }
.download-option > .icon { margin-left: auto; color: #c5a4ff; }
.download-option strong { display: block; line-height: 1.5; }
.download-option small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.download-icon { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 10px; color: #b99bff; background: #9b77f124; flex: 0 0 41px; }
.fine-print { color: #96a5c4; font-size: 12px; line-height: 1.75; margin-top: 18px; }
.game-facts dl { margin: 0; }
.game-facts dl > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.game-facts dt { color: #95a4c2; font-size: 12px; margin-bottom: 3px; }
.game-facts dd { margin: 0; color: #dfe6f7; font-size: 14px; overflow-wrap: anywhere; }
.fact-tip { display: flex; align-items: center; gap: 15px; margin-top: 27px; color: #ae8cf2; }
.fact-tip > .icon { width: 35px; height: 35px; }
.fact-tip p { font-size: 13px; }
.related-section { margin-top: 46px; }
.related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.related-section .section-heading h2 { font-size: 32px; }
.download-confirm { max-width: 590px; margin: 16px auto 30px; text-align: center; padding: 36px 40px; }
.confirm-icon { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid #b585ff66; background: #9460ff24; border-radius: 21px; color: #c6a6ff; margin: 0 auto 20px; }
.confirm-icon .icon { width: 31px; height: 31px; }
.download-confirm h1 { font-size: 43px; }
.download-game { text-align: left; display: flex; gap: 16px; align-items: center; margin: 28px 0; }
.download-game img { width: 97px; height: 65px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; }
.download-game h2 { font-size: 19px; margin-bottom: 7px; }
.download-game p { font-size: 13px; color: var(--muted); }
.destination { border: 1px solid var(--line); background: #09132b99; border-radius: 13px; padding: 19px; margin-bottom: 22px; }
.destination span, .destination small { display: block; color: var(--muted); font-size: 12px; }
.destination strong { display: block; color: #d0b9ff; font-size: 17px; margin: 6px 0; overflow-wrap: anywhere; }
.download-confirm .back-link { margin: 19px 0 0; }
.notice { border: 1px solid #a683ea4d; border-radius: 11px; padding: 13px 16px; background: #8260bf1a; color: #d0c2ec; font-size: 13px; margin: 18px 0; overflow-wrap: anywhere; }
.notice ul { margin: 7px 0 0; padding-left: 20px; }
.notice-error { background: #a8345720; border-color: #f2859b55; color: #ffbbcb; }
.notice-success { background: #2ed59e12; border-color: #69e7b740; color: #9bedce; }
.stack-form { margin-top: 26px; }
.field { display: flex; flex-direction: column; min-width: 0; margin-bottom: 21px; }
.field > label, .field > label > input, .field > label > select { display: block; }
.field label { color: #d8e0f0; font-size: 13px; font-weight: 550; margin-bottom: 8px; }
.field > label > input, .field > label > select { margin-top: 8px; }
input:not([type='checkbox']):not([type='hidden']), select, textarea { width: 100%; min-height: 46px; border: 1px solid #7180a543; border-radius: 10px; background: #08142a; color: #e7ecf9; padding: 11px 13px; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: #7786a6; }
input:focus, select:focus, textarea:focus { border-color: #ae82ee; box-shadow: 0 0 0 3px #a580ef17; }
textarea { resize: vertical; min-height: 80px; line-height: 1.65; }
select { color-scheme: dark; }
.field small, .field-help { font-size: 11.5px; color: #91a0bf; line-height: 1.65; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 21px; }
.field-wide { grid-column: 1/-1; }
.form-grid > .field:last-child { margin-bottom: 0; }
.required { color: #d295f9; }
.password-field { position: relative; }
.password-field input { padding-right: 50px !important; }
.reveal-password { position: absolute; inset: 0 0 0 auto; width: 46px; border: 0; background: transparent; color: #91a1c5; display: grid; place-items: center; }
.checkbox-card { display: flex; align-items: flex-start; gap: 13px; padding: 16px 0; cursor: pointer; }
.checkbox-card input { width: 17px; height: 17px; margin: 4px 0 0; accent-color: #ac70f1; flex: 0 0 17px; }
.checkbox-card strong { display: block; color: #e2e8f6; font-size: 13px; }
.checkbox-card small { display: block; color: #9aa9c6; font-size: 11.5px; margin-top: 4px; }
.step-label { color: #b493ec; border: 1px solid #9776d740; padding: 3px 9px; border-radius: 7px; font-size: 11px; }
.auth-icon { width: 49px; height: 49px; display: grid; place-items: center; background: #a16ff224; border: 1px solid #b188ec4d; border-radius: 15px; color: #c2a0ff; margin-bottom: 22px; }
.auth-icon .icon { width: 25px; height: 25px; }
.login-main { display: grid; grid-template-columns: 1fr .8fr; gap: 75px; max-width: 1080px; align-items: center; padding-top: 70px; padding-bottom: 25px; }
.login-intro h1 { font-size: clamp(36px,3.9vw,57px); margin: 15px 0 20px; }
.login-intro > p { color: #b6c2df; font-size: 16px; line-height: 1.85; }
.login-emblem { height: 140px; width: 220px; margin: 12px 0 20px; position: relative; display: flex; align-items: center; justify-content: center; }
.login-emblem::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(#7454d640,transparent 65%); transform: scale(2); z-index: -1; }
.login-emblem img { height: 110px; width: auto; transform: rotate(-8deg); filter: drop-shadow(0 8px 17px #863cec66); }
.login-panel { padding: 34px; }
.login-panel h2 { font-size: 30px; margin-bottom: 9px; }
.login-panel .muted { font-size: 14px; }
.setup-main { max-width: 1170px; padding-top: 45px; }
.setup-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; align-items: start; }
.setup-form .panel + .panel { margin-top: 24px; }
.setup-form .button-wide { margin-top: 15px; }
.server-checks { list-style: none; margin: 24px 0 0; padding: 0; }
.server-checks li { display: flex; gap: 10px; align-items: center; font-size: 12px; margin: 17px 0; }
.server-checks li > span { width: 22px; text-align: center; }
.check-pass { color: #7de9b7; }
.check-fail { color: #ff90ac; font-size: 19px; font-weight: 700; }
.error-page { display: grid; place-items: center; min-height: 100vh; padding: 30px; background: radial-gradient(at top right,#3d236f77,transparent 70%), var(--bg); }
.error-panel { max-width: 660px; padding: 44px; }
.error-panel .brand { margin-bottom: 35px; }
.error-panel h1 { font-size: 40px; }
.error-panel > p:not(.eyebrow) { color: var(--muted); margin: 20px 0 28px; }
@media (min-width: 1750px) { .home-main { padding-top: 64px; } .platform-card { min-height: 365px; } }
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .hero-slogan { flex-basis: 185px; margin-right: 0; font-size: 31px; }
  .hero h1 { font-size: 49px; }
  .hero-description { font-size: 16px; }
  .platform-card { min-height: 330px; padding: 26px; }
  .platform-content { width: 68%; }
  .platform-card h2 { font-size: 37px; }
  .platform-card p { font-size: 13px; }
  .platform-icon { width: 62px; height: 62px; }
  .platform-art { right: -24px; }
  .platform-card .button { padding: 11px 19px; gap: 13px; }
  .world-edge { opacity: .5; }
  .game-detail-grid { grid-template-columns: minmax(0,1fr) 270px; }
  .game-detail-hero { gap: 30px; }
  .library-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .login-main { gap: 40px; }
}
@media (max-width: 850px) {
  .site-header { width: calc(100% - 40px); gap: 20px; padding-inline: 18px; }
  .brand { font-size: 27px; }
  .brand > img { width: 34px; height: 42px; }
  .main-nav { margin: 0; gap: 25px; }
  .avatar-link { display: none; }
  .home-main { padding-top: 40px; }
  .hero-slogan { display: none; }
  .hero h1 { font-size: 47px; }
  .platform-grid { gap: 17px; }
  .platform-card { padding: 23px; min-height: 341px; }
  .platform-content { width: 90%; }
  .platform-art { opacity: .65; width: 75%; right: -66px; }
  .platform-card p { max-width: 220px; }
  .featured-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 16px; }
  .section-heading h2 { font-size: 35px; }
  .community-strip { padding: 22px; }
  .community-icon { display: none; }
  .footer-main { flex-wrap: wrap; gap: 20px; }
  .footer-links { margin-left: 0; width: 100%; }
  .game-detail-grid { grid-template-columns: minmax(0,1fr); }
  .game-facts dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 20px; }
  .game-facts .fact-tip { display: none; }
  .game-detail-hero { grid-template-columns: .9fr 1.1fr; gap: 25px; }
  .detail-intro h1 { font-size: 34px; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .login-main { grid-template-columns: 1fr; max-width: 530px; gap: 35px; padding-top: 42px; }
  .login-intro h1 { font-size: 43px; }
  .login-intro .login-emblem, .login-intro .back-link { display: none; }
  .setup-layout { grid-template-columns: minmax(0,1fr); }
  .setup-layout > aside { order: -1; }
  .setup-layout > aside > .panel + .panel { display: none; }
  .server-checks { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 15px; }
  .server-checks li { margin: 5px 0; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .site-header { margin-top: 12px; width: calc(100% - 28px); border-radius: 17px; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 11px 17px 6px; }
  .site-header .brand { margin-right: auto; }
  .site-header .avatar-link { display: block; flex-basis: 34px; }
  .site-header .avatar-link img { width: 32px; height: 32px; }
  .site-header .main-nav { width: 100%; order: 2; justify-content: space-between; gap: 20px; }
  .main-nav a { padding: 10px 3px; font-size: 12px; }
  .brand { font-size: 25px; gap: 10px; }
  .brand > img { width: 30px; height: 35px; }
  .world { background-size: auto 800px; }
  .world-edge { opacity: .24; width: 80px; height: 950px; }
  .hero { min-height: auto; margin-bottom: 24px; }
  .home-main { padding-top: 34px; }
  .hero h1 { font-size: clamp(34px,9vw,45px); line-height: 1.12; max-width: 450px; letter-spacing: -.045em; }
  .hero-description { font-size: 14px; line-height: 1.6; margin-top: 12px; max-width: 330px; }
  .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .platform-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .platform-card { min-height: 314px; padding: 23px; border-radius: 20px; }
  .platform-content { width: 64%; }
  .platform-art { opacity: 1; width: 61%; right: -12px; }
  .platform-card h2 { font-size: 35px; }
  .platform-icon { width: 57px; height: 57px; border-radius: 15px; margin-bottom: 12px; }
  .platform-icon .icon { width: 34px; height: 34px; }
  .ios-card .platform-icon .icon { width: 39px; height: 39px; }
  .platform-number { font-size: 11px; }
  .platform-card p { font-size: 12px; line-height: 1.7; max-width: 215px; min-height: 60px; margin: 10px 0 15px; }
  .platform-card .button { min-height: 43px; padding: 9px 17px; font-size: 12px; gap: 12px; }
  .platform-card .button .icon { width: 17px; height: 17px; }
  .featured-section { margin-top: 30px; }
  .section-heading { align-items: flex-end; gap: 12px; margin-bottom: 15px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading > .text-link { font-size: 11px; gap: 5px; margin-bottom: 3px; }
  .section-heading > .text-link .icon { width: 15px; height: 15px; }
  .eyebrow-line { gap: 8px; font-size: 8px; }
  .eyebrow-line::before { width: 25px; }
  .featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 13px; }
  .game-cover { border-radius: 10px; }
  .game-card-info h3 { font-size: 12px; }
  .game-card-info p { font-size: 10px; gap: 4px; }
  .game-open { display: none; }
  .community-strip { margin-top: 31px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .community-strip h3 { font-size: 17px; }
  .community-strip p { font-size: 12px; }
  .community-strip .button { margin: 0; font-size: 12px; min-height: 43px; }
  .site-footer { margin-top: 30px; padding: 23px 0; }
  .footer-main { gap: 12px 22px; }
  .site-footer p { font-size: 10px; }
  .footer-links { gap: 15px; font-size: 10px; flex-wrap: wrap; }
  .inner-main { padding-top: 27px; }
  .page-heading { margin-bottom: 27px; align-items: flex-start; }
  .page-heading h1 { font-size: 37px; }
  .page-heading p:not(.eyebrow) { font-size: 14px; }
  .count-pill { font-size: 10px; padding: 5px 10px; margin-top: 5px; }
  .library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 14px; }
  .library-grid .game-card-info h3, .related-grid .game-card-info h3 { font-size: 13px; }
  .library-grid .game-card-info p, .related-grid .game-card-info p { font-size: 10px; }
  .library-toolbar { gap: 14px; padding-bottom: 19px; }
  .tab { font-size: 12px; padding: 8px 13px; gap: 7px; }
  .filter-form { width: 100%; gap: 8px; }
  .filter-form select { min-width: 0; flex: 1; padding-inline: 8px; font-size: 11px; }
  .filter-form .button { font-size: 11px; padding-inline: 12px; }
  .game-detail-hero { grid-template-columns: minmax(0,1fr); gap: 25px; margin-bottom: 25px; }
  .detail-cover > img { aspect-ratio: 16/9; }
  .detail-intro h1 { font-size: 39px; margin: 14px 0; }
  .detail-intro > p { font-size: 14px; }
  .panel { padding: 22px; border-radius: 16px; }
  .panel h2 { font-size: 21px; }
  .prose { font-size: 14px; }
  .game-facts dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .screenshots { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .download-option { padding: 13px; gap: 11px; }
  .download-option strong { font-size: 13px; }
  .download-option small { font-size: 10px; }
  .download-confirm { padding: 29px 23px; }
  .download-confirm h1 { font-size: 36px; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .field-wide { grid-column: auto; }
  .field label { font-size: 12px; }
  input:not([type='checkbox']):not([type='hidden']), select, textarea { font-size: 16px; }
  .login-main { padding-top: 33px; }
  .login-intro h1 { font-size: 39px; }
  .login-intro > p { font-size: 14px; }
  .login-panel { padding: 25px; }
  .setup-main { padding-top: 32px; }
  .error-panel { padding: 28px; }
  .error-panel h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
/* Feather the illustration after responsive cropping, not just inside its source. */
.platform-art { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); mask-image: linear-gradient(90deg, transparent, #000 32%); }

/* Community footer: local SVG icons; destinations are managed in Admin > Settings. */
.footer-community { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--line); }
.footer-community-copy h2 { font-size: 23px; letter-spacing: -.035em; }
.footer-community-copy p { margin-top: 7px; color: var(--muted); font-size: 12px; }
.footer-community-copy .social-coming-soon { color: #8494b5; font-size: 11px; }
.social-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(460px, 100%); flex-shrink: 0; }
.social-channel { --social-accent: #55cdff; --social-rgb: 55, 168, 239; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 5px; border-radius: 15px; min-width: 0; text-align: center; }
.social-whatsapp { --social-accent: #5bef98; --social-rgb: 48, 207, 119; }
.social-channel-icon { position: relative; display: grid; place-items: center; width: 51px; height: 51px; border-radius: 16px; color: #fff; border: 1px solid rgba(var(--social-rgb), .8); background: linear-gradient(140deg, rgba(var(--social-rgb), .38), rgba(var(--social-rgb), .12)); box-shadow: inset 0 0 14px rgba(var(--social-rgb), .1), 0 5px 20px rgba(var(--social-rgb), .09); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.social-channel-icon .icon { width: 27px; height: 27px; }
.social-channel-number { position: absolute; bottom: -5px; right: -5px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #0d1c2f; border: 1px solid rgba(var(--social-rgb), .7); color: var(--social-accent); font-size: 10px; font-weight: 700; line-height: 1; }
.social-channel-label { color: #c1d0e6; font-size: 11px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
a.social-channel:hover .social-channel-icon, a.social-channel:focus-visible .social-channel-icon { transform: translateY(-3px); background: linear-gradient(140deg, rgba(var(--social-rgb), .58), rgba(var(--social-rgb), .21)); box-shadow: 0 6px 23px rgba(var(--social-rgb), .24); }
a.social-channel:hover .social-channel-label { color: var(--social-accent); }
.social-channel.is-unconfigured { opacity: .58; cursor: default; }
@media (max-width: 850px) {
  .footer-community { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 600px) {
  .footer-community { align-items: center; text-align: center; padding-top: 23px; margin-top: 23px; }
  .footer-community-copy h2 { font-size: 22px; }
  .footer-community-copy p { font-size: 11px; }
  .social-links { gap: 7px; }
  .social-channel { padding: 7px 1px; }
  .social-channel-icon { width: 46px; height: 46px; border-radius: 14px; }
  .social-channel-icon .icon { width: 25px; height: 25px; }
  .social-channel-label { font-size: 10px; }
}
