@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root { --ink: #eef5f2; --muted: #91a49f; --faint: #526a63; --line: rgba(214,239,229,.15); --lime: #c9ff58; --orange: #ff7446; --deep: #081312; --panel: rgba(12,28,25,.8); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: 'Space Grotesk', 'Microsoft YaHei', sans-serif; background: var(--deep); }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; background: linear-gradient(140deg, rgba(10,25,23,.88), rgba(7,16,15,.72)), url('../images/gp4.png') center/cover; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; opacity: .16; pointer-events: none; background-image: linear-gradient(rgba(201,255,88,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(201,255,88,.17) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(120deg, black, transparent 74%); }
.download-header { position: fixed; top: 0; left: 0; right: 0; z-index: 5; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 6vw, 92px); border-bottom: 1px solid var(--line); background: rgba(5,15,14,.88); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: .15em; text-decoration: none; }
.logo-image { display: block; width: 64px; height: 64px; object-fit: contain; }
.group-link { padding: 10px 16px; border: 1px solid rgba(201,255,88,.45); color: var(--lime); font: 600 12px 'Barlow Condensed', sans-serif; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: color .2s, background .2s, border-color .2s; }
.group-link:hover { border-color: var(--lime); color: var(--deep); background: var(--lime); }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; color: var(--deep); background: var(--lime); clip-path: polygon(0 0,100% 0,70% 100%,0 100%); font-weight: 800; }
.back-link { color: var(--muted); font: 500 13px 'Barlow Condensed', sans-serif; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.back-link:hover, .download-link:hover { color: var(--lime); }
.download-page { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 154px 0 90px; }
.eyebrow { margin: 0 0 14px; color: var(--lime); font: 600 13px 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(48px, 8vw, 84px); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(238,245,242,.8); }
.intro { max-width: 520px; margin: 24px 0 44px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.download-card { min-height: 300px; display: flex; flex-direction: column; align-items: center; padding: 28px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 20px 60px rgba(0,0,0,.16); text-align: center; }
.platform-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 26px; border: 1px solid rgba(201,255,88,.4); }
.platform-icon img { display: block; width: 34px; height: 34px; object-fit: contain; }
.download-card h2 { margin: 0 0 9px; font-size: 26px; letter-spacing: -.04em; }
.download-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.version { margin-top: 19px !important; color: var(--faint) !important; font: 500 12px 'Barlow Condensed', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.download-button { width: min(220px, 100%); height: 48px; align-self: center; margin-top: auto; border: 0; color: var(--deep); background: var(--lime); font-weight: 700; letter-spacing: .06em; text-align: center; text-decoration: none; line-height: 48px; transition: transform .2s, background .2s; }
.download-button:hover { transform: translateY(-2px); background: #e0ff9a; }
.notice { min-height: 20px; margin: 26px 0 0; color: var(--lime); font-size: 12px; }
.developers { margin-top: 92px; }
.developers-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.developers-heading .eyebrow { margin-bottom: 11px; }
.developers-heading h2 { margin: 0 0 11px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.05em; }
.developer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.developer-card { min-height: 230px; padding: 24px; border: 1px solid var(--line); background: rgba(12,28,25,.58); }
.developer-avatar { width: 46px; height: 46px; display: block; margin-bottom: 30px; border: 1px solid rgba(201,255,88,.45); object-fit: cover; }
.developer-card h3 { margin: 0 0 5px; font-size: 21px; }
.developer-role { margin: 0 0 16px !important; color: var(--lime) !important; font: 600 12px 'Barlow Condensed', sans-serif !important; letter-spacing: .12em; text-transform: uppercase; }
.developer-card > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.auth-modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; background: rgba(1,9,8,.76); backdrop-filter: blur(8px); }
.auth-modal[hidden] { display: none; }
.auth-dialog { position: relative; width: min(100%, 390px); padding: 32px; border: 1px solid var(--line); background: linear-gradient(rgba(5,15,14,.86), rgba(5,15,14,.86)), url('../images/logo1.jpg') center/cover; box-shadow: 0 24px 80px rgba(0,0,0,.4); }
.auth-close { position: absolute; top: 12px; right: 15px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
.auth-close:hover { color: var(--lime); }
.auth-dialog h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.04em; }
.auth-copy { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-copy strong { color: var(--ink); }
.auth-label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.auth-input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--line); outline: 0; color: var(--ink); background: rgba(1,9,8,.6); }
.auth-input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(201,255,88,.1); }
.auth-error { min-height: 18px; margin: 10px 0 12px; color: var(--orange); font-size: 12px; }
.auth-submit { width: 100%; height: 48px; border: 0; color: var(--deep); background: var(--lime); font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.auth-submit:hover { background: #e0ff9a; }
@media (max-width: 620px) { .download-header { height: 68px; padding: 0 16px; } .download-page { width: calc(100% - 32px); padding-top: 124px; } .download-grid { grid-template-columns: 1fr; } .download-card { min-height: 260px; } .developers { margin-top: 68px; } .developers-heading { display: block; } .developer-grid { grid-template-columns: 1fr; } .developer-card { min-height: auto; } }
