:root {
  color-scheme: dark;
  --bg: #030810;
  --panel: #060e19;
  --text: #f2f6ff;
  --muted: #aac4de;
  --blue: #008cff;
  --cyan: #24c9ff;
  --red: #ff3439;
  --border: rgba(161, 196, 231, .27);
  --body-font: 'Roboto', Arial, sans-serif;
  --display-font: 'Rajdhani', 'Arial Narrow', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--body-font); -webkit-font-smoothing: antialiased; isolation: isolate; }
body::before { content: ''; position: fixed; inset: 0; z-index: -3; background: url('battle-background.png') center center / cover no-repeat; pointer-events: none; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(1, 4, 9, .12), rgba(1, 4, 9, .06) 60%, rgba(0, 3, 9, .64)), radial-gradient(ellipse at 49% 42%, rgba(1, 5, 13, .65) 8%, rgba(1, 5, 13, .39) 35%, transparent 72%); }
.background-video { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; filter: saturate(1.06) contrast(1.04); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
button { color: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: wait; opacity: .7; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.icon { display: block; flex: 0 0 auto; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 30; padding: 14px 20px; background: #005ecb; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-header { position: relative; z-index: 5; min-height: 80px; border-bottom: 1px solid rgba(159, 193, 221, .15); background: linear-gradient(110deg, rgba(2, 10, 19, .96), rgba(3, 8, 15, .93) 74%, rgba(23, 4, 11, .93)); box-shadow: 0 6px 28px rgba(0, 0, 0, .2); }
.header-inner { width: min(1464px, calc(100% - 80px)); min-height: 80px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand img { width: 50px; height: 59px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(22, 178, 255, .14)); }
.brand strong { display: block; font-family: var(--display-font); font-size: 1.65rem; letter-spacing: 1.3px; line-height: 1; font-weight: 700; }
.brand span span { display: block; padding-top: 5px; font-family: var(--display-font); font-size: .96rem; line-height: 1; color: #c5d9ed; letter-spacing: 3.4px; }
.main-nav { display: flex; align-items: center; gap: 12px; }
.nav-link { min-height: 44px; display: flex; justify-content: center; align-items: center; gap: 11px; padding: 0 15px; font: 600 .93rem var(--display-font); white-space: nowrap; color: #b9cce3; letter-spacing: .45px; border: 1px solid transparent; background: transparent; border-radius: 9px; }
.nav-link .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.nav-link:hover { color: #fff; background: rgba(35, 131, 241, .12); }
.nav-link.is-active { padding-inline: 23px; color: #e6f8ff; border-color: rgba(0, 115, 255, .35); border-bottom-color: #0dbbff; background: linear-gradient(180deg, rgba(0, 37, 89, .65), rgba(0, 72, 183, .4)); box-shadow: inset 0 -5px 10px -5px #009eff, 0 5px 14px -8px #009dff; }
.nav-link.is-active .icon { fill: #edfaff; filter: drop-shadow(0 0 6px #007bff); }
.download-button { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 0 18px; background: rgba(2, 7, 13, .55); border: 1px solid #8192a7; border-radius: 12px; font: 700 1rem var(--display-font); letter-spacing: .45px; white-space: nowrap; }
.download-button .small { width: 14px; height: 14px; }
.download-button:hover { background: rgba(19, 59, 99, .35); border-color: var(--cyan); box-shadow: 0 0 18px rgba(0, 158, 255, .14); }
.menu-toggle { display: none; }
.portal-main { width: min(1040px, calc(100% - 64px)); margin: auto; padding: 46px 0 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: 42px; align-items: center; }
.hero { min-width: 0; padding-top: 22px; }
.hero-heading { text-align: center; }
.eyebrow { margin: 0 0 3px; color: #d2e4f6; font: 500 1.08rem var(--display-font); letter-spacing: 7px; text-shadow: 0 2px 8px #000; }
.hero h1 { margin: 0; font-weight: 900; line-height: .98; }
.title-metal { display: block; font: italic 900 clamp(3.5rem, 5.1vw, 5.2rem)/.95 'Barlow Condensed', Impact, sans-serif; letter-spacing: 1px; color: #d9eaff; background: linear-gradient(180deg, #f4fcff 5%, #bccfe3 44%, #7894b1 48%, #f0f8ff 59%, #85a5c9 88%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 0 #253747) drop-shadow(0 4px 6px #000); }
.title-metal span { font-size: .68em; }
.title-electric { display: block; margin: 3px -6px 0 -12px; color: #05b8ff; font: 400 clamp(5rem, 7.5vw, 7.45rem)/1.02 'Bangers', Impact, sans-serif; letter-spacing: 3px; transform: skew(-8deg) rotate(-2deg); background: linear-gradient(174deg, #73eaff 12%, #08c7ff 39%, #008bff 67%, #48daff 84%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(1px 2px 0 #004aab) drop-shadow(0 0 12px rgba(0, 129, 255, .52)); }
.hero-brand { margin: 3px 0 0; font: 700 1.8rem var(--display-font); letter-spacing: 3px; line-height: 1.1; text-shadow: 0 3px 6px #000; }
.hero-tagline { margin: 12px -5px 0; font: 500 .95rem var(--display-font); letter-spacing: 4px; color: #c2d9f0; white-space: nowrap; text-shadow: 0 2px 8px #000; }
.features { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; scroll-margin-top: 28px; border-radius: 16px; }
.feature { display: flex; align-items: center; gap: 22px; padding: 20px 21px; min-height: 100px; background: linear-gradient(130deg, rgba(8, 20, 33, .95), rgba(2, 8, 15, .92)); border: 1px solid var(--border); border-radius: 15px; box-shadow: inset 0 1px 1px rgba(188, 217, 255, .04), 0 10px 24px rgba(0, 0, 0, .18); }
.feature .icon { width: 44px; height: 44px; color: #24adff; stroke-width: 1.65; filter: drop-shadow(0 2px 0 #004fbc) drop-shadow(0 0 7px rgba(0, 153, 255, .32)); }
.feature h2 { margin: 0 0 3px; font: 700 1rem var(--display-font); white-space: nowrap; }
.feature p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.feature p span { color: #49bbff; }
.hero-motto { margin: 28px 0 0; color: #c4ddf7; font: 500 .95rem var(--display-font); letter-spacing: 12px; text-align: center; text-shadow: 0 2px 9px #000; }
.hero-motto span { display: block; height: 3px; width: 135px; margin: 13px auto 0; border-radius: 4px; background: #09bcff; box-shadow: 0 0 12px #007bff; }
.login-panel { position: relative; padding: 23px 42px 33px; min-width: 0; border: 1px solid transparent; border-radius: 18px; background: linear-gradient(120deg, rgba(5, 17, 30, .97) 10%, rgba(8, 13, 23, .97) 58%, rgba(32, 13, 20, .96)) padding-box, linear-gradient(124deg, #119bff 2%, #264252 21%, #314453 45%, #702d38 78%, #ff5757 96%) border-box; box-shadow: -12px 2px 36px -24px #0095ff, 12px 17px 38px -26px #ff2529, 0 24px 44px rgba(0, 0, 0, .35); scroll-margin-top: 20px; }
.login-panel::before { content: ''; position: absolute; width: 2px; height: 150px; top: 37%; left: -1px; background: linear-gradient(transparent, #04c9ff, #046cff, transparent); box-shadow: -2px 0 12px -1px #007dff; pointer-events: none; }
.login-panel::after { content: ''; position: absolute; right: -1px; bottom: 14px; width: 2px; height: 190px; background: linear-gradient(transparent, #ff5f60); box-shadow: 3px 3px 11px #ff2828; pointer-events: none; }
.panel-brand { text-align: center; }
.panel-brand img { display: block; margin: 0 auto 6px; width: 48px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(0, 145, 234, .25)); }
.panel-brand strong { display: block; font: 700 1.55rem/1 var(--display-font); }
.panel-brand > span { display: block; margin-top: 3px; color: #b4d2ed; font: 500 .875rem var(--display-font); letter-spacing: 1.6px; }
.panel-divider { height: 1px; max-width: 145px; margin: 16px auto; background: linear-gradient(90deg, transparent, #344653, transparent); text-align: center; }
.panel-divider span { display: block; width: 3px; height: 2px; margin: auto; background: #97b8d4; }
.login-panel h2 { font-size: 2rem; letter-spacing: -.5px; line-height: 1.15; margin: 0 0 5px; }
.login-intro { color: var(--muted); font-size: 1rem; line-height: 1.45; margin: 0 0 22px; }
.field { position: relative; margin-bottom: 15px; }
.field input { width: 100%; height: 57px; padding: 0 18px 0 58px; color: #e6f3ff; font-size: 1rem; border-radius: 11px; border: 1px solid #516271; background: linear-gradient(115deg, rgba(2, 12, 22, .85), rgba(4, 8, 15, .75)); box-shadow: inset 0 1px 2px rgba(198, 224, 255, .09), 0 0 9px rgba(69, 140, 209, .05); outline: none; transition: box-shadow .2s, border-color .2s; }
.field input::placeholder { color: #adc7e1; opacity: 1; }
.field input:focus { border-color: #18aaff; box-shadow: 0 0 0 3px rgba(0, 139, 255, .13), 0 0 20px rgba(0, 128, 255, .08); }
.field input[aria-invalid] { border-color: #e66a79; }
.field input:-webkit-autofill { -webkit-text-fill-color: #ddecff; box-shadow: 0 0 0 60px #0b1b2b inset; }
.field-icon { position: absolute; top: 17px; left: 19px; width: 23px; height: 23px; color: #bbddff; }
.password-field input { padding-right: 57px; }
.password-field { margin-bottom: 0; }
.password-toggle { position: absolute; top: 7px; right: 6px; width: 44px; height: 43px; background: transparent; border-radius: 7px; display: grid; place-items: center; color: #d8e9fd; }
.password-toggle:hover { color: var(--cyan); background: rgba(30, 117, 200, .12); }
.password-toggle[aria-pressed="true"] .icon { color: var(--cyan); }
.primary-button, .secondary-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 51px; padding: 12px 16px; border-radius: 11px; font: 700 1.08rem var(--display-font); letter-spacing: .2px; line-height: 1.25; text-align: center; }
.primary-button { border: 1px solid #48dbff; background: linear-gradient(114deg, #0096ff, #0064ff 68%, #008fff); color: white; box-shadow: inset 0 0 13px rgba(76, 229, 255, .8), 0 0 19px rgba(0, 115, 255, .56), 0 8px 30px rgba(0, 76, 255, .24); }
.primary-button:hover { background: linear-gradient(114deg, #16baff, #087aff 68%, #00b5ff); box-shadow: inset 0 0 14px rgba(100, 237, 255, .9), 0 0 27px rgba(0, 132, 255, .6); transform: translateY(-1px); }
.login-button { min-height: 54px; margin-top: 19px; }
.login-button .icon { width: 29px; height: 29px; stroke-width: 2.4; }
.form-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 17px; color: var(--muted); font-size: .875rem; }
.remember { display: flex; align-items: center; gap: 8px; min-height: 30px; cursor: pointer; }
.remember input { width: 18px; height: 18px; accent-color: #009cff; margin: 0; cursor: pointer; }
.text-button { background: none; color: #31b8ff; padding: 5px 0; font-size: .875rem; }
.text-button:hover { color: #94e1ff; text-decoration: underline; }
.secondary-button { min-height: 49px; border: 1px solid #4d6579; color: #c7e3ff; background: linear-gradient(115deg, rgba(2, 10, 17, .82), rgba(8, 15, 23, .75)); }
.secondary-button:hover { color: #fff; border-color: #2db8ff; background: rgba(11, 54, 94, .48); }
.form-status:empty { display: none; }
.form-status, .noscript-note { margin: 12px 0 0; font-size: .875rem; color: #b7d9f9; line-height: 1.5; }
.login-error { padding: 12px 14px; margin: 0 0 17px; font-size: .875rem; line-height: 1.4; color: #ffd0d8; background: rgba(181, 39, 55, .15); border: 1px solid rgba(255, 101, 121, .45); border-radius: 9px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; padding: 19px 0; border: 1px solid rgba(149, 181, 213, .25); border-radius: 17px; background: linear-gradient(110deg, rgba(7, 20, 33, .95), rgba(9, 12, 18, .92) 65%, rgba(28, 13, 18, .95)); box-shadow: inset 0 1px 0 rgba(149, 192, 232, .04), 0 14px 40px rgba(0, 0, 0, .22); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; min-height: 51px; padding: 0 14px; border-right: 1px solid rgba(156, 182, 207, .25); background: none; color: #e8f3ff; text-align: left; }
.trust-item:last-child { border-right: 0; }
button.trust-item:hover { color: #7fd8ff; }
.trust-item .icon { width: 35px; height: 35px; filter: drop-shadow(0 0 7px rgba(0, 118, 255, .15)); }
.trust-item strong { display: block; font: 700 1.45rem/1.1 var(--display-font); }
.trust-item span { display: block; margin-top: 5px; font-size: .875rem; color: #b5c9e0; }
.side-motto { position: absolute; right: 4.2%; top: 70%; text-align: center; font: 500 1rem/1.55 var(--display-font); letter-spacing: 9px; color: #f0e6eb; text-shadow: 0 2px 10px #000; pointer-events: none; }
.side-motto span { display: block; width: 86px; height: 3px; margin: 13px auto 0; background: #ff675f; box-shadow: 0 0 9px #ff261b; }
.site-footer { width: 100%; min-height: 60px; padding: 8px 3% 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-quote { margin: 0; color: #c9cdd9; font: italic 500 .81rem/1.6 var(--display-font); letter-spacing: 4px; text-align: center; justify-self: start; }
.copyright { margin: 0; color: #d4d3df; text-align: center; font: 500 .85rem/1.6 var(--display-font); letter-spacing: 1.8px; }
.copyright > span { margin-left: 12px; white-space: nowrap; }
.copyright .footer-separator { margin-inline: 12px; }
.footer-links { display: flex; align-items: center; justify-self: end; gap: 13px; }
.footer-links a { width: 34px; height: 34px; display: grid; place-items: center; color: #d3e5ff; filter: drop-shadow(0 0 6px rgba(24, 101, 243, .55)); border-radius: 50%; }
.footer-links a:hover { color: #4ad0ff; transform: translateY(-2px); }
.footer-links .whatsapp-link { color: #a6e8bc; filter: drop-shadow(0 0 6px rgba(47, 187, 94, .45)); }
.portal-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 48px); overflow: auto; padding: 34px; border: 1px solid #315879; border-radius: 18px; background: linear-gradient(145deg, #091a2c, #080d18 80%); color: var(--text); box-shadow: 0 0 50px rgba(0, 99, 255, .2); }
.portal-dialog::backdrop { background: rgba(0, 3, 10, .79); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: transparent; border-radius: 8px; color: #b6cbe1; }
.dialog-close:hover { background: #132e49; color: white; }
.dialog-icon { color: #23bdff; width: 40px; height: 40px; margin-bottom: 20px; }
.dialog-eyebrow { color: #63c6ff; font: 600 .875rem var(--display-font); letter-spacing: 2px; margin: 0 0 8px; }
.portal-dialog h2 { font: 700 1.85rem/1.1 var(--display-font); margin: 0 0 12px; }
.portal-dialog > p:not(.dialog-eyebrow) { color: #b5cce5; font-size: 1rem; line-height: 1.6; }
.portal-dialog .primary-button { margin-top: 24px; }
.portal-dialog .secondary-button { margin-top: 13px; }
.dialog-email { display: block; width: fit-content; max-width: 100%; margin: 22px auto 0; text-align: center; color: #54bfff; overflow-wrap: anywhere; font-size: .875rem; }
.dialog-email:hover { text-decoration: underline; }
.portal-dialog .dialog-note { font-size: .875rem; margin-bottom: 0; }
.module-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; list-style: none; padding: 0; margin: 23px 0; }
.module-list li { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.module-list .icon { width: 18px; height: 18px; color: #25bfff; }
.server-dialog { width: min(660px, calc(100% - 32px)); }
.server-dialog .dialog-icon { margin-bottom: 14px; }
.server-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.server-option { width: 100%; min-width: 0; min-height: 82px; display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(72, 151, 222, .36); border-radius: 11px; background: linear-gradient(125deg, rgba(9, 42, 75, .72), rgba(3, 14, 27, .82)); color: #e8f4ff; text-align: left; }
.server-option:hover { transform: translateY(-2px); border-color: #28c5ff; background: linear-gradient(125deg, rgba(8, 69, 128, .78), rgba(4, 25, 47, .9)); box-shadow: 0 0 22px rgba(0, 144, 255, .19); }
.server-option__visual { position: relative; width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(42, 197, 255, .55); border-radius: 10px; background: rgba(0, 111, 210, .24); box-shadow: inset 0 0 18px rgba(0, 129, 255, .14); }
.server-option__visual img, .server-option__visual video { width: 100%; height: 100%; object-fit: cover; }
.server-option__visual b { position: absolute; left: 4px; bottom: 4px; padding: 2px 5px; border-radius: 4px; background: rgba(0, 8, 20, .83); color: #6bdcff; font: 800 .67rem var(--display-font); }
.server-option__visual.is-code-only b { position: static; padding: 0; background: none; font-size: .95rem; }
.server-option__content { min-width: 0; }
.server-option__content strong, .server-option__content small { display: block; }
.server-option__content strong { font: 700 1rem/1.15 var(--display-font); }
.server-option__content small { margin-top: 4px; color: #91adc9; font-size: .72rem; line-height: 1.25; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.server-option > .icon { width: 17px; height: 17px; color: #47cfff; }
.server-dialog .dialog-note { margin-top: 18px; color: #8faecb; text-align: center; }
.server-detail-dialog { width: min(860px, calc(100% - 32px)); padding: 24px; background: linear-gradient(145deg, #08192b, #070c17 82%); }
.server-detail-dialog .dialog-close { z-index: 3; border: 1px solid rgba(132, 182, 224, .38); background: rgba(3, 12, 24, .82); backdrop-filter: blur(5px); }
.server-detail-dialog.is-standard-video { width: min(700px, calc(100% - 32px)); }
.server-detail-dialog.is-portrait-video { width: min(520px, calc(100% - 32px)); }
.server-detail-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(51, 178, 255, .42); border-radius: 14px; background: radial-gradient(circle at center, #0b3961, #030914 72%); box-shadow: inset 0 0 38px rgba(0, 116, 255, .13), 0 14px 30px rgba(0, 0, 0, .3); transition: aspect-ratio .2s ease; }
.server-detail-media video, .server-detail-media img { width: 100%; height: 100%; object-fit: contain; background: #020711; }
.server-detail-media [hidden] { display: none; }
.server-detail-placeholder { display: grid; place-items: center; gap: 8px; color: #78d9ff; }
.server-detail-placeholder strong { font: 800 3.3rem/1 var(--display-font); text-shadow: 0 0 22px rgba(0, 162, 255, .45); }
.server-detail-placeholder span { color: #8eabc7; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; }
.server-fullscreen-button { width: 100%; min-height: 42px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(59, 178, 255, .38); border-radius: 9px; background: rgba(8, 45, 78, .72); color: #bfe9ff; font: 700 .88rem var(--display-font); letter-spacing: .5px; }
.server-fullscreen-button:hover { border-color: #35c8ff; background: rgba(9, 75, 129, .78); color: #fff; }
.server-fullscreen-button .icon { width: 18px; height: 18px; }
.server-fullscreen-button[hidden] { display: none; }
.server-detail-content { position: relative; padding: 24px 6px 4px; }
.server-detail-code { float: right; margin: 0 0 10px 18px; padding: 7px 13px; border: 1px solid rgba(44, 195, 255, .48); border-radius: 8px; background: rgba(0, 116, 218, .18); color: #70dcff; font: 800 .9rem var(--display-font); }
.server-detail-content h2 { margin-bottom: 10px; font-size: 2.15rem; }
.server-detail-description { clear: both; min-height: 48px; margin: 0; color: #bdd1e6; font-size: 1rem; line-height: 1.65; white-space: pre-line; }
.server-detail-actions { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; margin-top: 22px; }
.server-detail-actions .primary-button, .server-detail-actions .secondary-button { margin-top: 0; }
.server-detail-actions [hidden] { display: none; }
body.dialog-open { overflow: hidden; }
@media (min-width: 1500px) {
  .portal-main { width: 1040px; padding-top: 46px; padding-bottom: 26px; }
  .main-grid { grid-template-columns: 520px 460px; gap: 40px; }
  .hero { padding-top: 26px; }
  .login-panel { padding-top: 26px; padding-bottom: 34px; }
  .panel-brand img { width: 52px; height: 60px; }
  .features { margin-top: 38px; }
  .trust-strip { margin-top: 44px; }
}
@media (max-width: 1400px) {
  .header-inner { width: calc(100% - 48px); gap: 15px; }
  .brand strong { font-size: 1.5rem; }
  .brand span span { font-size: .85rem; letter-spacing: 3px; }
  .main-nav { gap: 3px; }
  .nav-link { padding-inline: 10px; gap: 8px; }
  .download-button { padding-inline: 13px; gap: 9px; }
  .side-motto { display: none; }
}
@media (max-width: 1160px) {
  .brand img { width: 43px; height: 52px; }
  .brand strong { font-size: 1.3rem; }
  .brand span span { font-size: .78rem; letter-spacing: 2.5px; }
  .nav-link { padding-inline: 8px; font-size: .875rem; }
  .nav-link.is-active { padding-inline: 14px; }
  .nav-link .icon { width: 16px; height: 16px; }
  .download-button { font-size: .875rem; padding-inline: 12px; }
  .download-button .small { display: none; }
  .portal-main { width: min(940px, calc(100% - 64px)); padding-top: 38px; }
  .main-grid { gap: 28px; }
  .login-panel { padding-inline: 28px; }
  .hero-tagline { letter-spacing: 2.9px; font-size: .875rem; }
  .feature { gap: 15px; padding: 18px 15px; }
  .feature .icon { width: 35px; height: 35px; }
  .feature h2 { font-size: .95rem; }
  .trust-item { gap: 14px; }
  .trust-item strong { font-size: 1.3rem; }
  .trust-item span { font-size: .875rem; }
  .footer-quote { display: none; }
  .site-footer { grid-template-columns: 1fr auto; }
  .copyright { text-align: left; }
}
@media (max-width: 1020px) {
  .header-inner { gap: 16px; }
  .brand strong { font-size: 1.6rem; }
  .brand span span { font-size: .875rem; letter-spacing: 3px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #35516e; border-radius: 9px; background: rgba(15, 45, 75, .5); margin-left: auto; order: 3; }
  .main-nav { display: none; position: absolute; top: calc(100% + 8px); right: 24px; width: 260px; padding: 12px; border: 1px solid #315573; border-radius: 13px; background: #06111f; box-shadow: 0 15px 40px rgba(0, 0, 0, .7); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .nav-link, .nav-link.is-active { justify-content: flex-start; padding-inline: 16px; font-size: 1rem; }
  .download-button { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .portal-main { width: min(850px, calc(100% - 48px)); }
  .main-grid { gap: 24px; grid-template-columns: 1fr 1fr; }
  .hero-tagline { white-space: normal; line-height: 1.6; max-width: 310px; margin-inline: auto; }
  .title-metal { font-size: 3.8rem; }
  .title-electric { font-size: 5.6rem; letter-spacing: 1px; }
  .hero-brand { font-size: 1.6rem; }
  .features { gap: 10px; margin-top: 26px; }
  .feature { flex-direction: column; text-align: center; gap: 12px; padding: 18px 9px; }
  .feature h2 { font-size: 1rem; }
  .hero-motto { letter-spacing: 8px; }
  .login-panel { padding: 25px 25px 28px; }
  .login-panel h2 { font-size: 1.8rem; }
  .trust-item { gap: 10px; padding: 0 12px; }
  .trust-item .icon { width: 29px; height: 29px; }
  .trust-item strong { font-size: 1.2rem; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 24px; }
  .site-header, .header-inner { min-height: 74px; }
  .header-inner { width: calc(100% - 32px); gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 38px; height: 49px; }
  .brand strong { font-size: 1.3rem; letter-spacing: .7px; }
  .brand span span { font-size: .75rem; letter-spacing: 2.1px; }
  .download-button { display: none; }
  .menu-toggle { margin-left: auto; flex-shrink: 0; }
  .main-nav { right: 16px; }
  body::before { background-size: auto 900px; background-position: center 38px; opacity: .85; }
  body::after { background: linear-gradient(180deg, rgba(2, 7, 15, .3), rgba(2, 7, 15, .4) 35%, #030810 80%); }
  .portal-main { width: min(460px, calc(100% - 32px)); padding: 31px 0 22px; }
  .main-grid { display: flex; flex-direction: column; gap: 0; }
  .hero { display: contents; }
  .hero-heading { order: 0; width: 100%; padding: 0 8px; margin-bottom: 28px; }
  .eyebrow { font-size: .9rem; letter-spacing: 5px; }
  .title-metal { font-size: clamp(3.2rem, 11.5vw, 4.3rem); }
  .title-electric { margin-top: 1px; font-size: clamp(4.6rem, 16.5vw, 6.4rem); line-height: 1.03; }
  .hero-brand { font-size: 1.5rem; letter-spacing: 2.5px; }
  .hero-tagline { max-width: none; font-size: .875rem; letter-spacing: 2.3px; margin-top: 10px; }
  .login-panel { order: 1; width: 100%; padding: 22px 26px 26px; }
  .panel-brand img { width: 43px; height: 50px; }
  .panel-brand strong { font-size: 1.4rem; }
  .panel-divider { margin-block: 15px; }
  .login-panel h2 { font-size: 1.85rem; }
  .login-intro { margin-bottom: 20px; }
  .form-options { gap: 4px 10px; }
  .features { width: 100%; order: 2; margin-top: 28px; gap: 12px; }
  .feature { min-height: 140px; padding: 20px 10px; }
  .feature .icon { width: 36px; height: 36px; }
  .feature h2 { font-size: 1rem; }
  .hero-motto { order: 3; font-size: .875rem; letter-spacing: 7px; margin-top: 25px; }
  .trust-strip { grid-template-columns: 1fr 1fr; margin-top: 29px; padding: 6px 0; }
  .trust-item { justify-content: flex-start; gap: 13px; padding: 20px 16px; border-right: 0; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .trust-item .icon { width: 27px; height: 27px; }
  .trust-item strong { font-size: 1.15rem; }
  .trust-item span { font-size: .875rem; line-height: 1.4; }
  .site-footer { display: flex; flex-direction: column-reverse; gap: 16px; padding: 3px 24px 26px; }
  .footer-links { gap: 18px; }
  .copyright { max-width: 330px; text-align: center; font-size: .75rem; letter-spacing: 1.5px; line-height: 1.9; }
  .copyright .footer-separator { display: none; }
  .copyright > span { margin-left: 8px; }
  .portal-dialog { padding: 28px 24px; }
  .server-options { grid-template-columns: 1fr; }
  .server-detail-dialog { padding: 18px; }
  .server-detail-content { padding: 20px 2px 2px; }
  .server-detail-content h2 { font-size: 1.8rem; }
  .server-detail-actions { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .brand strong { font-size: 1.15rem; }
  .brand span span { font-size: .75rem; letter-spacing: 1.3px; }
  .login-panel { padding-inline: 19px; }
  .hero-tagline { letter-spacing: 1.5px; }
  .form-options { align-items: flex-start; flex-direction: column; }
  .trust-item { padding-inline: 11px; gap: 8px; }
  .trust-item .icon { width: 23px; height: 23px; }
  .module-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .background-video { display: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
