@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --bg: #020915;
    --bg-2: #041326;
    --panel: rgba(5, 22, 43, .76);
    --panel-solid: #06182e;
    --blue: #1aa8ff;
    --blue-2: #73d7ff;
    --blue-dim: rgba(26, 168, 255, .22);
    --gold: #ffc54a;
    --gold-2: #ffe8a5;
    --gold-dim: rgba(255, 197, 74, .20);
    --text: #e9f7ff;
    --muted: #8aa8bc;
    --line: rgba(83, 187, 255, .25);
    --line-strong: rgba(83, 187, 255, .58);
    --danger: #ffcc70;
    --shadow-blue: 0 0 28px rgba(26,168,255,.14);
    --shadow-gold: 0 0 24px rgba(255,197,74,.16);
}

* { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 75% 10%, #082d52 0, transparent 32%), radial-gradient(circle at 10% 44%, rgba(24,91,143,.19), transparent 28%), var(--bg); font-family: 'Chakra Petch', system-ui, sans-serif; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { color: var(--blue-2); font-family: Consolas, monospace; }
.shell { width: min(1180px, calc(100% - 42px)); margin: 0 auto; position: relative; z-index: 2; }
.page-grid { position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(61,157,213,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(61,157,213,.08) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 80%); }
.scanline { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .025; background: repeating-linear-gradient(to bottom, #fff 0 1px, transparent 1px 4px); }



/* Official ArenaTop100 vote banner */
.arena-top100-vote {
    position: relative;
    z-index: 45;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,197,74,.34);
    background: linear-gradient(90deg, rgba(3,13,31,.96), rgba(7,31,62,.96), rgba(3,13,31,.96));
    box-shadow: 0 8px 28px rgba(0,0,0,.3), inset 0 -1px 0 rgba(67,188,255,.1);
}
.arena-top100-vote a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    filter: drop-shadow(0 0 8px rgba(75,190,255,.28));
    transition: transform .18s ease, filter .18s ease;
}
.arena-top100-vote a:hover {
    transform: translateY(-1px) scale(1.04);
    filter: drop-shadow(0 0 12px rgba(255,197,74,.45));
}
.arena-top100-vote img {
    display: block;
    width: 70px;
    height: 40px;
}

.site-header { height: 88px; border-bottom: 1px solid var(--line); background: rgba(2,9,21,.86); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 40; box-shadow: 0 10px 40px rgba(0,0,0,.22); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-kicker { color: var(--blue-2); letter-spacing: .24em; font-size: 9px; font-weight: 700; }
.brand-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: .055em; font-size: 25px; }
.brand-title strong { color: var(--gold); text-shadow: 0 0 18px rgba(255,197,74,.55); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .12em; color: #aac6d6; padding: 13px 16px; border: 1px solid transparent; transition: .22s ease; }
.main-nav a:hover { color: #fff; border-color: var(--blue); background: rgba(26,168,255,.09); box-shadow: inset 0 0 20px rgba(26,168,255,.08), 0 0 16px rgba(26,168,255,.12); }
.main-nav .nav-client { border-color: rgba(255,197,74,.55); color: var(--gold-2); background: rgba(255,197,74,.06); }
.main-nav .nav-client:hover { border-color: var(--gold); background: rgba(255,197,74,.12); box-shadow: inset 0 0 22px rgba(255,197,74,.08), var(--shadow-gold); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--blue); color: var(--text); font: inherit; padding: 10px 13px; }

.hero { min-height: 750px; display: flex; align-items: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero:before { content: ''; position: absolute; width: 62%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); left: 19%; top: 0; opacity: .6; box-shadow: 0 0 20px var(--gold); }
.hero:after { content: 'DIGITAL // WORLD // LINK ESTABLISHED // 01001001'; position: absolute; right: -78px; top: 50%; transform: rotate(90deg); color: rgba(120,206,255,.18); letter-spacing: .28em; font-size: 10px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .65fr); gap: 70px; align-items: center; }
.hero-copy h1, .download-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(62px, 8vw, 104px); letter-spacing: -.045em; line-height: .82; margin: 20px 0 32px; text-transform: uppercase; text-shadow: 0 0 40px rgba(31,157,255,.10); }
.hero-copy h1 em, .download-hero h1 em { color: transparent; -webkit-text-stroke: 1px var(--gold); font-style: normal; filter: drop-shadow(0 0 12px rgba(255,197,74,.20)); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue-2); font-size: 11px; letter-spacing: .22em; font-weight: 700; }
.eyebrow span { width: 32px; height: 1px; background: var(--gold); box-shadow: 0 0 10px rgba(255,197,74,.7); }
.hero-lead { max-width: 740px; color: #aec6d4; font-size: 18px; line-height: 1.72; border-left: 2px solid var(--blue); padding-left: 20px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 0 18px; border: 1px solid var(--line-strong); font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: .1em; font-size: 14px; position: relative; overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.button:before { content: ''; position: absolute; inset: 0; transform: translateX(-110%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transition: transform .45s ease; }
.button:hover:before { transform: translateX(110%); }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--gold); color: #06111f; background: linear-gradient(90deg, #e8a82c, var(--gold)); box-shadow: 0 0 24px rgba(255,197,74,.18); }
.button-primary:hover { box-shadow: 0 0 34px rgba(255,197,74,.32); }
.button-ghost { color: var(--text); background: rgba(9,34,61,.58); }
.button-ghost:hover { border-color: var(--blue); background: rgba(26,168,255,.11); box-shadow: var(--shadow-blue); }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: #7095ab; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; display: inline-block; margin-right: 7px; background: #63f7aa; box-shadow: 0 0 12px #63f7aa; }
.hero-panel { border: 1px solid var(--line-strong); border-top: 2px solid var(--gold); background: linear-gradient(180deg, rgba(6,32,59,.82), rgba(3,14,29,.88)); padding: 28px; box-shadow: var(--shadow-blue); position: relative; }
.hero-panel:before, .feature-card:before, .alpha-box:before, .download-console:before { content: ''; position: absolute; width: 46px; height: 2px; top: -2px; left: 28px; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.panel-label { color: #6c9cb6; letter-spacing: .22em; font-size: 10px; }
.status-big { font-family: 'Rajdhani'; font-size: 66px; line-height: 1; font-weight: 700; color: var(--gold); margin: 12px 0; text-shadow: 0 0 28px rgba(255,197,74,.24); }
.hero-panel p { color: #91acbd; line-height: 1.6; font-size: 14px; }
.panel-lines { margin-top: 22px; border-top: 1px solid var(--line); }
.panel-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.panel-lines span { color: #577a90; }
.panel-lines strong { color: #bddcef; font-weight: 600; }
.hero-energy { position: absolute; border: 1px solid rgba(35,173,255,.12); transform: rotate(45deg); }
.hero-energy-a { width: 520px; height: 520px; right: -170px; top: 100px; box-shadow: inset 0 0 90px rgba(26,168,255,.05), 0 0 80px rgba(26,168,255,.05); animation: drift 12s ease-in-out infinite alternate; }
.hero-energy-b { width: 180px; height: 180px; right: 240px; top: 185px; border-color: rgba(255,197,74,.14); animation: drift 8s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: rotate(55deg) translate(18px, -12px); } }

.section { padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: 80px 1fr; align-items: start; margin-bottom: 48px; }
.section-number { font-family: 'Rajdhani'; font-size: 13px; color: var(--gold); padding-top: 5px; }
.section-heading h2, .evolution-band h2, .alpha-box h2 { font-family: 'Rajdhani'; font-size: clamp(38px, 5vw, 62px); line-height: .95; letter-spacing: -.025em; margin: 14px 0 0; }
.intro { border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; margin-left: 80px; }
.intro-lead { color: #b2ccda; font-size: 18px; line-height: 1.8; margin: 0; }
.loop-strip { border: 1px solid var(--line); background: rgba(7,28,52,.55); padding: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; box-shadow: inset 0 0 40px rgba(26,168,255,.04); }
.loop-strip span { font-family: 'Rajdhani'; font-weight: 700; font-size: 12px; letter-spacing: .1em; color: #c8e8f7; }
.loop-strip b { color: var(--gold); }
.systems { background: linear-gradient(180deg, rgba(4,18,34,.62), rgba(2,9,21,.4)); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 260px; border: 1px solid var(--line); border-top-color: rgba(255,197,74,.45); background: linear-gradient(145deg, rgba(8,31,55,.82), rgba(4,15,29,.88)); padding: 28px; position: relative; overflow: hidden; transition: .24s ease; }
.feature-card:after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(32,174,255,.06), transparent 68%); transform: translateX(-110%); transition: transform .55s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--blue); border-top-color: var(--gold); box-shadow: 0 0 30px rgba(26,168,255,.13), inset 0 0 26px rgba(26,168,255,.04); }
.feature-card:hover:after { transform: translateX(100%); }
.feature-icon { font-size: 27px; margin-bottom: 24px; filter: drop-shadow(0 0 9px rgba(26,168,255,.32)); }
.feature-card h3 { font-family: 'Rajdhani'; font-size: 24px; margin: 0 0 11px; }
.feature-card p { color: #8dacbe; line-height: 1.65; margin: 0; font-size: 14px; }
.card-code { position: absolute; left: 28px; bottom: 20px; color: #43677d; font-size: 9px; letter-spacing: .18em; }
.evolution-band { border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 50%, rgba(255,197,74,.07), transparent 28%), #030c19; }
.evolution-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; }
.evolution-layout p { color: #8eaaba; line-height: 1.8; max-width: 720px; }
.stage-stack { border-left: 1px solid var(--gold); display: grid; grid-template-columns: 1fr 1fr; }
.stage-stack span { padding: 16px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); color: #b8d4e3; font-family: 'Rajdhani'; font-weight: 700; letter-spacing: .12em; transition: .2s; }
.stage-stack span:hover { color: var(--gold-2); background: var(--gold-dim); border-color: rgba(255,197,74,.5); padding-left: 24px; }
.alpha-box { border: 1px solid rgba(255,197,74,.5); background: linear-gradient(90deg, rgba(45,31,8,.23), rgba(7,22,39,.78)); min-height: 190px; display: grid; grid-template-columns: 74px 1fr auto; gap: 30px; align-items: center; padding: 30px; position: relative; box-shadow: inset 0 0 42px rgba(255,197,74,.035); }
.alpha-mark { width: 64px; height: 64px; border: 1px solid var(--gold); display: grid; place-items: center; font-family: 'Rajdhani'; color: var(--gold); font-size: 38px; box-shadow: var(--shadow-gold); }
.alpha-box h2 { font-size: 40px; }
.alpha-box p { color: #9db5c4; line-height: 1.65; margin-bottom: 0; }
.screenshots { padding-top: 70px; background: linear-gradient(180deg, transparent, rgba(7,29,52,.34)); }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shot { margin: 0; border: 1px solid var(--line); background: #031121; position: relative; overflow: hidden; min-height: 290px; }
.shot-wide { grid-column: 1 / -1; min-height: 420px; }
.shot img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; filter: saturate(.82) contrast(1.04) brightness(.78); transition: transform .5s ease, filter .5s ease; }
.shot:after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(3,12,24,.5); pointer-events: none; }
.shot:hover { border-color: var(--blue); box-shadow: var(--shadow-blue); }
.shot:hover img { transform: scale(1.025); filter: saturate(1) contrast(1.04) brightness(.92); }
.shot figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 17px 20px; background: linear-gradient(90deg, rgba(2,9,21,.94), rgba(2,9,21,.68), transparent); font-family: 'Rajdhani'; letter-spacing: .12em; font-weight: 700; font-size: 12px; }
.shot figcaption span { color: var(--gold); margin-right: 12px; }
.site-footer { border-top: 1px solid var(--line); padding: 46px 0; background: #010711; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 40px; align-items: end; }
.footer-brand { font-size: 22px; }
.site-footer p { color: #5f7d90; font-size: 11px; line-height: 1.6; max-width: 520px; }
.footer-links { display: grid; gap: 9px; color: #83a5b8; font-size: 11px; letter-spacing: .1em; }
.footer-links a:hover { color: var(--blue-2); }
.footer-state { display: grid; gap: 4px; text-align: right; font-size: 10px; color: #526e7e; letter-spacing: .1em; }
.footer-state strong { color: var(--blue-2); }
.footer-state small { color: var(--gold); }

/* Download page */
.download-main { padding: 100px 0 120px; }
.download-hero { max-width: 900px; }
.download-hero h1 { font-size: clamp(58px, 8vw, 96px); }
.download-hero p { color: #9db8c9; font-size: 17px; line-height: 1.75; max-width: 760px; }
.download-console { margin-top: 44px; border: 1px solid var(--line-strong); border-top: 2px solid var(--gold); background: rgba(4,19,36,.88); position: relative; padding: 26px; box-shadow: var(--shadow-blue); }
.console-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 8px; letter-spacing: .14em; font-size: 11px; }
.console-top span { color: #668da4; }
.console-top strong { color: var(--gold); }
.download-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #7396a9; font-size: 13px; }
.download-row b { color: #c7e2ef; }
.download-button { margin-top: 24px; width: 100%; }
.missing-client { margin-top: 24px; padding: 18px; border: 1px solid rgba(255,197,74,.45); color: #d6b873; background: rgba(255,197,74,.05); line-height: 1.6; }
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.install-grid .feature-card { min-height: 190px; }
.download-notice { margin-top: 36px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 900px) {

    .hero-layout, .intro-grid, .evolution-layout, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 100px 0 80px; }
    .hero-layout { gap: 46px; }
    .intro-grid { margin-left: 0; gap: 28px; }
    .feature-grid, .install-grid { grid-template-columns: 1fr 1fr; }
    .alpha-box { grid-template-columns: 64px 1fr; }
    .alpha-box .button { grid-column: 1 / -1; }
    .footer-state { text-align: left; }
}
@media (max-width: 720px) {

    .shell { width: min(100% - 28px, 1180px); }
    .site-header { height: 76px; }
    .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 76px; background: #03101f; border: 1px solid var(--line-strong); padding: 8px; flex-direction: column; align-items: stretch; }
    .main-nav.open { display: flex; }
    .menu-toggle { display: block; }
    .hero-copy h1, .download-hero h1 { font-size: 54px; }
    .hero-lead { font-size: 16px; }
    .section { padding: 82px 0; }
    .section-heading { grid-template-columns: 44px 1fr; }
    .feature-grid, .install-grid, .screenshot-grid { grid-template-columns: 1fr; }
    .shot-wide { grid-column: auto; min-height: 300px; }
    .shot { min-height: 260px; }
    .stage-stack { grid-template-columns: 1fr; }
    .alpha-box { grid-template-columns: 1fr; }
    .alpha-mark { width: 50px; height: 50px; }
    .footer-grid { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Live local Unreal game-server status */
.server-panel { transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.server-state-heading { display: flex; align-items: center; gap: 13px; margin: 12px 0; }
.server-state-heading .status-big { margin: 0; }
.server-led, .mini-server-led { display: inline-block; flex: 0 0 auto; background: #708598; box-shadow: 0 0 12px rgba(112,133,152,.35); }
.server-led { width: 11px; height: 11px; }
.mini-server-led { width: 7px; height: 7px; margin-right: 7px; }
.server-panel.is-online { border-color: rgba(99,247,170,.58); border-top-color: var(--gold); box-shadow: 0 0 34px rgba(99,247,170,.10), var(--shadow-blue); }
.server-panel.is-online .status-big, .inline-server-state.is-online { color: #63f7aa; text-shadow: 0 0 24px rgba(99,247,170,.28); }
.server-panel.is-online .server-led, .inline-server-state.is-online .mini-server-led { background: #63f7aa; box-shadow: 0 0 15px rgba(99,247,170,.9); animation: serverPulse 1.8s ease-in-out infinite; }
.server-panel.is-offline { border-color: rgba(255,197,74,.50); border-top-color: var(--gold); box-shadow: var(--shadow-gold); }
.server-panel.is-offline .status-big, .inline-server-state.is-offline { color: #ffc54a; text-shadow: 0 0 24px rgba(255,197,74,.24); }
.server-panel.is-offline .server-led, .inline-server-state.is-offline .mini-server-led { background: #ffc54a; box-shadow: 0 0 13px rgba(255,197,74,.62); }
.server-panel.is-unknown .status-big, .inline-server-state.is-unknown { color: #8aa8bc; text-shadow: none; }
.server-panel.is-unknown .server-led, .inline-server-state.is-unknown .mini-server-led { background: #7691a3; box-shadow: 0 0 10px rgba(118,145,163,.35); }
.inline-server-state { display: inline-flex; align-items: center; justify-content: flex-end; font-weight: 700; }
.external-delivery-note { margin-top: 14px; padding: 14px 16px; border-left: 2px solid var(--blue); background: rgba(26,168,255,.05); color: #7fa3b8; font-size: 11px; line-height: 1.65; letter-spacing: .03em; }
.external-delivery-note strong { color: var(--blue-2); }
@keyframes serverPulse {
    0%, 100% { opacity: .68; transform: scale(.86); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* Automatic screenshot-folder gallery empty state */
.screenshot-empty { border: 1px solid var(--line); border-top-color: rgba(255,197,74,.45); background: linear-gradient(145deg, rgba(8,31,55,.82), rgba(4,15,29,.88)); min-height: 180px; padding: 30px; display: flex; align-items: center; gap: 22px; position: relative; overflow: hidden; }
.screenshot-empty:before { content: ''; position: absolute; width: 46px; height: 2px; top: -2px; left: 28px; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.screenshot-empty-icon { flex: 0 0 auto; width: 48px; height: 48px; border: 1px solid var(--blue); display: grid; place-items: center; color: var(--gold); font-size: 24px; box-shadow: inset 0 0 20px rgba(26,168,255,.08), 0 0 22px rgba(26,168,255,.08); }
.screenshot-empty strong { font-family: 'Rajdhani'; letter-spacing: .14em; font-size: 15px; }
.screenshot-empty p { margin: 8px 0 0; color: #8dacbe; line-height: 1.6; }
.screenshot-empty code { color: var(--gold); font-family: 'Share Tech Mono', monospace; }
