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

:root {
  --bg: #010409;
  --panel: #050d17;
  --panel-soft: #07131f;
  --line: #15364c;
  --blue: #168cff;
  --cyan: #15d9ff;
  --orange: #ff6c24;
  --green: #7ce153;
  --violet: #b66aff;
  --text: #edf6ff;
  --muted: #8898aa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--text);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 17px;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.grid-background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(14, 98, 153, .18), transparent 34%),
    linear-gradient(rgba(12, 43, 65, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 43, 65, .14) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  pointer-events: none;
}

.portal {
  width: min(1260px, calc(100% - 38px));
  margin: 34px auto;
  padding: 24px;
  position: relative;
  border: 1px solid #18394f;
  border-radius: 9px;
  background: rgba(2, 8, 14, .96);
  box-shadow: 0 35px 90px #000, inset 0 0 65px rgba(0, 128, 207, .025);
}

.portal-account {
  min-height: 42px;
  margin: -8px 2px 15px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.portal-account span { display: grid; text-align: right; line-height: 1.1; }
.portal-account strong { color: #dce9f4; font: 600 13px "Chakra Petch"; letter-spacing: .5px; }
.portal-account small { margin-top: 4px; color: #62768a; font-size: 11px; }
.portal-account a {
  padding: 9px 13px;
  border: 1px solid #244b65;
  color: #86a2b6;
  font: 600 10px "Chakra Petch";
  letter-spacing: 1px;
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.portal-account a:hover { color: white; border-color: var(--orange); background: rgba(255, 108, 36, .08); }
.portal::before, .portal::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
}
.portal::before { inset: -1px auto auto -1px; border-top: 2px solid var(--blue); border-left: 2px solid var(--blue); border-radius: 9px 0 0; }
.portal::after { inset: auto -1px -1px auto; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); border-radius: 0 0 9px; }

.hero {
  min-height: 340px;
  padding: 48px 46px 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid #102c40;
  background:
    linear-gradient(90deg, rgba(1, 7, 13, .82), rgba(2, 9, 16, .55)),
    radial-gradient(ellipse at 50% 100%, rgba(0, 117, 193, .27), transparent 52%),
    linear-gradient(180deg, #02070c, #06131f);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  opacity: .3;
  background:
    linear-gradient(90deg, transparent 7%, #0d4566 7.2%, transparent 7.5%) 0 0/95px 100%,
    linear-gradient(180deg, transparent 35%, #092b42 36%, transparent 37%) 0 0/100% 32px;
  clip-path: polygon(0 63%, 12% 46%, 21% 67%, 34% 38%, 47% 58%, 62% 31%, 75% 62%, 89% 40%, 100% 55%, 100% 100%, 0 100%);
}
.identity { display: flex; align-items: center; gap: 28px; position: relative; z-index: 1; }
.vcp-logo {
  width: 176px;
  height: 188px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(31, 154, 255, .3));
}
.vcp-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.system-code { margin: 0 0 10px; color: #3e6580; font: 500 10px "Chakra Petch"; letter-spacing: 3px; }
.identity h1 {
  margin: 0;
  font: 700 clamp(44px, 5vw, 72px)/.95 "Chakra Petch";
  letter-spacing: 2px;
  color: #dce5ec;
  text-shadow: 0 3px #53616c, 0 0 18px rgba(255,255,255,.13);
}
.identity h1 span { color: #bfc9d0; }
.identity h2 { margin: 14px 0 9px; color: var(--orange); font: 600 23px "Chakra Petch"; letter-spacing: 1px; }
.motto { margin: 0; color: #a1b1bf; letter-spacing: 1px; }
.motto i { display: inline-block; width: 5px; height: 5px; margin: 0 8px 3px; border-radius: 50%; background: var(--blue); }

.server-panel {
  width: 310px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  border: 1px solid #183b54;
  border-radius: 9px;
  background: rgba(3, 11, 19, .87);
  box-shadow: inset 0 0 28px rgba(0, 109, 178, .05);
}
.panel-title { padding: 15px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid #143149; color: var(--blue); font-family: "Chakra Petch"; font-size: 12px; }
.panel-title strong { color: var(--green); font-size: 10px; letter-spacing: 1px; }
.status-row { min-height: 62px; padding: 0 18px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; border-bottom: 1px solid #0e273a; }
.status-row:last-child { border-bottom: 0; }
.status-icon { color: var(--blue); font: 600 14px "Chakra Petch"; }
.status-row > strong { font: 500 14px "Chakra Petch"; }
.status-row em { font-style: normal; font: 600 11px "Chakra Petch"; letter-spacing: 1px; }
.status-row em.online { color: var(--green); }
.status-row em.offline { color: #ff5c6b; }
.status-row em i { display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.scan-line { position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), white, var(--cyan), transparent); box-shadow: 0 0 15px var(--blue); }

.alert { margin: 18px 0 0; padding: 13px 17px; border: 1px solid; font-weight: 600; letter-spacing: .5px; transition: opacity .4s; }
.alert-success { border-color: #397b38; color: #93ec7b; background: rgba(54, 130, 49, .11); }
.alert-error { border-color: #7e323a; color: #ff8d97; background: rgba(136, 39, 49, .11); }
.alert.fade { opacity: 0; }

.section-heading { margin: 34px 10px 24px; display: flex; align-items: center; gap: 22px; }
.section-heading h2 { margin: 0; flex: 0 0 auto; color: var(--blue); font: 600 24px "Chakra Petch"; letter-spacing: 2px; text-shadow: 0 0 16px rgba(22, 140, 255, .35); }
.section-heading i { height: 1px; flex: 1; position: relative; background: linear-gradient(90deg, transparent, #1c739e); }
.section-heading i:last-child { background: linear-gradient(90deg, #1c739e, transparent); }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card {
  --tone: var(--blue);
  min-height: 440px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tone) 65%, #263645);
  background: linear-gradient(145deg, rgba(7, 18, 30, .97), rgba(2, 8, 14, .98));
  box-shadow: inset 0 0 35px color-mix(in srgb, var(--tone) 4%, transparent);
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px));
  transition: transform .22s, box-shadow .22s;
}
.app-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 38px color-mix(in srgb, var(--tone) 7%, transparent), 0 18px 40px #0009; }
.tone-blue { --tone: var(--blue); }.tone-green { --tone: var(--green); }.tone-violet { --tone: var(--violet); }.tone-orange { --tone: var(--orange); }.tone-cyan { --tone: var(--cyan); }
.app-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -100px;
  left: -90px;
  border-radius: 50%;
  background: var(--tone);
  filter: blur(85px);
  opacity: .06;
}
.corner { position: absolute; width: 22px; height: 22px; border-color: var(--tone); opacity: .85; }
.corner-a { left: 7px; top: 7px; border-left: 2px solid; border-top: 2px solid; }
.corner-b { right: 7px; bottom: 7px; border-right: 2px solid; border-bottom: 2px solid; }
.app-icon, .add-icon {
  width: 112px;
  height: 112px;
  margin: 4px auto 30px;
  align-self: center;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--tone);
  border: 1px solid color-mix(in srgb, var(--tone) 55%, #263645);
  background: rgba(3, 13, 23, .75);
  clip-path: polygon(25% 6%, 75% 6%, 97% 25%, 97% 75%, 75% 94%, 25% 94%, 3% 75%, 3% 25%);
  box-shadow: inset 0 0 20px color-mix(in srgb, var(--tone) 13%, transparent);
}
.book-icon span { width: 50px; height: 45px; border: 3px solid var(--blue); border-radius: 4px 4px 12px 12px; box-shadow: 0 0 15px var(--blue); }
.book-icon span::after { content: ""; display: block; width: 2px; height: 43px; margin: -1px auto; background: var(--blue); }
.custom-icon img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 10px var(--tone)); }
.fallback-icon { font-size: 55px; }
.add-icon { opacity: .72; border-style: dashed; }
.add-icon span, .add-icon i { position: absolute; width: 39px; height: 2px; background: #8290a0; }
.add-icon i { transform: rotate(90deg); }
.card-label { margin: 0 0 7px; color: var(--tone); font: 500 10px "Chakra Petch"; letter-spacing: 2px; }
.app-card h3 { margin: 0; color: #f2f6f9; font: 600 21px "Chakra Petch"; letter-spacing: .5px; }
.app-card ul { margin: 19px 0 23px; padding: 0; list-style: none; color: #adb8c4; }
.app-card li { margin: 6px 0; }
.app-card li::before { content: "•"; margin-right: 10px; color: var(--tone); text-shadow: 0 0 8px var(--tone); }
.description { margin: 18px 0 25px; color: #8d9aaa; line-height: 1.45; }
.card-button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--tone);
  background: rgba(4, 12, 20, .78);
  color: var(--tone);
  font: 600 14px "Chakra Petch";
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 15px color-mix(in srgb, var(--tone) 7%, transparent), 0 0 12px color-mix(in srgb, var(--tone) 10%, transparent);
}
.card-button:hover { background: color-mix(in srgb, var(--tone) 13%, #030a11); color: white; }
.empty-card { justify-content: flex-start; align-items: center; text-align: center; }
.empty-card .description { max-width: 230px; }
.manage-button { position: absolute; z-index: 2; top: 18px; right: 20px; border: 0; background: transparent; color: #617386; letter-spacing: 3px; cursor: pointer; }
.manage-button:hover { color: var(--tone); }

.benefits { margin-top: 28px; padding: 20px 25px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #102b40; background: #050d16; }
.benefits article { padding: 8px 28px; display: flex; align-items: center; gap: 18px; border-right: 1px solid #102b40; }
.benefits article:last-child { border-right: 0; }
.benefits article > span { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--blue); color: var(--blue); font: 600 26px "Chakra Petch"; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); }
.benefits div { display: grid; }
.benefits strong { color: var(--blue); font-family: "Chakra Petch"; letter-spacing: 1px; }
.benefits p { margin: 2px 0 0; color: #7b8b9d; line-height: 1.2; }

.portal > footer { padding: 22px 15px 0; display: flex; justify-content: center; align-items: center; gap: 14px; color: #4f6072; font-size: 12px; letter-spacing: 1px; }
.portal > footer i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

dialog {
  width: min(650px, calc(100% - 32px));
  padding: 0;
  border: 1px solid #22668b;
  background: #06111d;
  color: var(--text);
  box-shadow: 0 35px 110px #000;
}
dialog::backdrop { background: rgba(0, 4, 9, .88); backdrop-filter: blur(7px); }
.app-form { padding: 30px; display: grid; gap: 18px; }
.compact-form { gap: 13px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px; }
.dialog-heading p { margin: 0 0 5px; color: var(--blue); font: 500 10px "Chakra Petch"; letter-spacing: 2px; }
.dialog-heading h2 { margin: 0; font: 600 26px "Chakra Petch"; letter-spacing: 1px; }
.dialog-heading > button { border: 0; background: transparent; color: #78899b; font-size: 29px; cursor: pointer; }
label { display: grid; gap: 7px; color: #96a6b5; font: 500 12px "Chakra Petch"; letter-spacing: 1px; }
label b { color: var(--orange); }
input, textarea, select { width: 100%; padding: 12px 13px; outline: 0; border: 1px solid #23455d; background: #030b13; color: white; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(22, 140, 255, .12); }
label small { color: #5d7185; font-family: Rajdhani; letter-spacing: 0; }
.icon-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.dialog-actions { margin-top: 8px; display: flex; justify-content: flex-end; gap: 11px; }
.primary-button, .secondary-button, .danger-button { min-height: 44px; padding: 11px 17px; border: 1px solid; font: 600 12px "Chakra Petch"; letter-spacing: 1px; cursor: pointer; }
.primary-button { border-color: var(--blue); background: var(--blue); color: #00101d; }
.secondary-button { border-color: #345064; background: transparent; color: #9eacb8; }
.danger-button { width: 100%; border-color: #81333b; background: rgba(128, 35, 45, .1); color: #ff7b87; }

.login-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(13, 91, 145, .2), transparent 32%),
    #000;
}

.login-page .grid-background {
  opacity: .95;
  animation: login-grid-drift 24s linear infinite;
}

.login-aurora {
  position: fixed;
  z-index: 0;
  width: 46vw;
  height: 46vw;
  min-width: 480px;
  min-height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .13;
  pointer-events: none;
}
.login-aurora-blue { top: -25%; right: -12%; background: #008cff; animation: login-aurora-blue 15s ease-in-out infinite alternate; }
.login-aurora-orange { bottom: -34%; left: -14%; background: #ff6c24; animation: login-aurora-orange 18s ease-in-out infinite alternate; }

.login-console {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  overflow: hidden;
  border: 1px solid #1b4964;
  border-radius: 8px;
  background: rgba(2, 8, 14, .96);
  box-shadow: 0 42px 130px #000, inset 0 0 80px rgba(22, 140, 255, .035);
}
.login-console::before,
.login-console::after {
  position: absolute;
  z-index: 3;
  width: 112px;
  height: 112px;
  content: "";
  pointer-events: none;
}
.login-console::before { top: -1px; left: -1px; border-top: 2px solid var(--blue); border-left: 2px solid var(--blue); }
.login-console::after { right: -1px; bottom: -1px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); }

.login-console-bar {
  min-height: 46px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #12334a;
  background: rgba(3, 13, 23, .92);
  color: #507089;
  font: 600 10px "Chakra Petch";
  letter-spacing: 2px;
}
.login-console-bar strong { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 10px; }
.login-console-bar i,
.login-panel-heading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
}

.login-identity {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr;
  align-content: center;
  gap: 34px;
  min-height: 630px;
  padding: 66px 60px;
  overflow: hidden;
  border-right: 1px solid #15364c;
  background:
    linear-gradient(100deg, rgba(1, 7, 13, .62), rgba(3, 16, 27, .88)),
    radial-gradient(circle at 26% 45%, rgba(22, 140, 255, .18), transparent 33%),
    linear-gradient(145deg, #061827, #02070d 72%);
}
.login-identity::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .22;
  background:
    linear-gradient(rgba(20, 80, 116, .26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 80, 116, .26) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 86%);
}
.login-identity::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue), white, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--blue);
  animation: scan-horizontal 4.8s ease-in-out infinite;
}
.login-identity > * { position: relative; z-index: 1; }

.login-logo-wrap {
  position: relative;
  display: grid;
  width: 196px;
  height: 196px;
  place-items: center;
}
.login-logo-wrap img {
  z-index: 2;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 17px rgba(22, 140, 255, .28));
}
.login-logo-rings,
.login-logo-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(22, 140, 255, .26);
  border-radius: 50%;
}
.login-logo-rings { animation: ring-spin 18s linear infinite; }
.login-logo-rings::before,
.login-logo-rings::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan);
  opacity: .82;
}
.login-logo-rings::before { top: 14px; left: 50%; width: 5px; height: 5px; }
.login-logo-rings::after { right: 13px; bottom: 45px; width: 4px; height: 4px; background: var(--orange); box-shadow: 0 0 7px var(--orange); }
.login-logo-rings i:nth-child(1) { inset: 15px; border-style: dashed; animation: ring-spin-reverse 12s linear infinite; }
.login-logo-rings i:nth-child(2) { inset: 29px; border-color: rgba(255, 108, 36, .26); }
.login-logo-rings i:nth-child(3) { inset: 47px; border-color: rgba(21, 217, 255, .16); }

.login-brand-copy > p:first-child {
  margin: 0 0 13px;
  color: #466d86;
  font: 600 10px "Chakra Petch";
  letter-spacing: 3px;
}
.login-brand-copy h1 {
  margin: 0;
  color: #dce5ec;
  font: 700 clamp(48px, 5.5vw, 76px)/.92 "Chakra Petch";
  letter-spacing: 1px;
  text-shadow: 0 3px #53616c, 0 0 20px rgba(255, 255, 255, .12);
}
.login-brand-copy h1 span { color: var(--blue); text-shadow: 0 0 26px rgba(22, 140, 255, .38); }
.login-brand-copy h2 { margin: 15px 0 17px; color: var(--orange); font: 700 21px "Chakra Petch"; letter-spacing: 2px; }
.login-brand-copy > p:last-child { max-width: 540px; margin: 0; color: #8fa0af; font-size: 18px; line-height: 1.55; }

.login-system-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border: 1px solid #14364c;
  background: rgba(2, 10, 17, .68);
}
.login-system-grid span { min-height: 78px; padding: 17px 20px; display: grid; align-content: center; border-right: 1px solid #14364c; }
.login-system-grid span:last-child { border-right: 0; }
.login-system-grid small { color: #496a82; font: 600 9px "Chakra Petch"; letter-spacing: 2px; }
.login-system-grid strong { margin-top: 5px; color: #c9d5df; font: 600 12px "Chakra Petch"; letter-spacing: .5px; }

.login-access {
  position: relative;
  display: flex;
  padding: 66px 54px;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0, rgba(22, 140, 255, .08), transparent 32%),
    linear-gradient(180deg, rgba(7, 19, 31, .97), rgba(2, 9, 16, .99));
}
.login-access::before {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  content: "";
  border-top: 1px solid #1b5d83;
  border-right: 1px solid #1b5d83;
}
.login-panel-heading > p { margin: 0 0 8px; color: var(--orange); font: 600 10px "Chakra Petch"; letter-spacing: 2px; }
.login-panel-heading h2 { margin: 0; font: 700 38px "Chakra Petch"; letter-spacing: .2px; }
.login-panel-heading > span { display: flex; align-items: center; gap: 9px; margin-top: 11px; color: #7890a3; font-size: 15px; }
.login-access .alert { margin-top: 24px; }

.login-form { display: grid; gap: 22px; margin-top: 31px; }
.login-form label { gap: 9px; color: #8195a7; font-size: 11px; }
.login-input {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  min-height: 58px;
  border: 1px solid #23455d;
  background: #030b13;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.login-input:focus-within { border-color: var(--blue); background: #05111d; box-shadow: 0 0 0 2px rgba(22, 140, 255, .12), inset 0 0 20px rgba(22, 140, 255, .035); }
.login-input svg {
  width: 21px;
  margin: auto;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-input input {
  min-height: 56px;
  padding: 14px 16px 14px 0;
  border: 0;
  background: transparent;
  font-size: 17px;
}
.login-input input:focus { box-shadow: none; }
.login-input input::placeholder { color: #405468; }

.login-submit {
  position: relative;
  min-height: 58px;
  margin-top: 4px;
  padding: 0 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--orange);
  background: linear-gradient(135deg, #f45d18, #ff8b2b);
  color: #160700;
  font: 700 13px "Chakra Petch";
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 108, 36, .2);
  transition: transform .2s, box-shadow .2s;
}
.login-submit::before {
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -35%;
  width: 24%;
  content: "";
  background: rgba(255, 255, 255, .35);
  filter: blur(5px);
  transform: skewX(-24deg);
  transition: left .55s ease;
}
.login-submit strong { font-size: 22px; }
.login-submit:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(255, 108, 36, .3); }
.login-submit:hover::before { left: 120%; }

.login-security-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding: 15px 16px;
  border: 1px solid #12364d;
  background: rgba(5, 18, 29, .72);
}
.login-security-note svg {
  width: 28px;
  color: var(--cyan);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-security-note p { margin: 0; color: #71879a; font-size: 13px; line-height: 1.35; }
.login-security-note strong { display: block; margin-bottom: 3px; color: #9db3c5; font: 600 10px "Chakra Petch"; letter-spacing: 1px; }
.login-back { width: fit-content; margin-top: 24px; color: #7890a3; font: 600 11px "Chakra Petch"; letter-spacing: 1px; text-decoration: none; }
.login-back:hover { color: white; }

.login-console-footer {
  min-height: 46px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid #102d42;
  color: #4f6476;
  font-size: 11px;
  letter-spacing: 1px;
}
.login-console-footer i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

@keyframes status-pulse {
  50% { opacity: .4; box-shadow: 0 0 4px var(--green); }
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes scan-horizontal {
  0%, 100% { opacity: .3; transform: translateX(-45%); }
  50% { opacity: 1; transform: translateX(45%); }
}
@keyframes login-grid-drift { to { background-position: center, 64px 64px, 64px 64px; } }
@keyframes login-aurora-blue { to { translate: -13% 14%; scale: 1.16; } }
@keyframes login-aurora-orange { to { translate: 18% -12%; scale: .88; } }

@media (max-width: 1000px) {
  .hero { align-items: stretch; }
  .identity { gap: 18px; }
  .vcp-logo { width: 125px; height: 136px; }
  .identity h1 { font-size: 48px; }
  .server-panel { width: 270px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .login-layout { grid-template-columns: 1fr; }
  .login-identity { min-height: auto; border-right: 0; border-bottom: 1px solid #15364c; }
  .login-access { padding-block: 56px; }
}
@media (max-width: 740px) {
  .portal { width: 100%; margin: 0; padding: 12px; border-radius: 0; }
  .hero { min-height: 0; padding: 28px 22px 38px; display: block; }
  .identity { display: block; text-align: center; }
  .vcp-logo { width: 126px; height: 136px; margin: 0 auto 15px; }
  .identity h1 { font-size: 45px; }
  .identity h2 { font-size: 17px; }
  .system-code { display: none; }
  .server-panel { width: 100%; margin-top: 27px; }
  .section-heading { margin-top: 28px; gap: 12px; }
  .section-heading h2 { font-size: 17px; }
  .app-grid { grid-template-columns: 1fr; gap: 15px; }
  .app-card { min-height: 400px; }
  .benefits { grid-template-columns: 1fr; padding: 8px 18px; }
  .benefits article { padding: 15px 5px; border-right: 0; border-bottom: 1px solid #102b40; }
  .benefits article:last-child { border-bottom: 0; }
  .portal > footer { display: grid; text-align: center; }
  .portal > footer i { margin: auto; }
  .login-page { padding: 0; place-items: stretch; }
  .login-console { min-height: 100vh; border: 0; border-radius: 0; }
  .login-console-bar { padding-inline: 18px; }
  .login-console-bar > span { display: none; }
  .login-console-bar { justify-content: flex-end; }
  .login-identity { grid-template-columns: 1fr; justify-items: center; padding: 42px 28px; text-align: center; }
  .login-logo-wrap { width: 160px; height: 160px; }
  .login-logo-wrap img { width: 112px; height: 112px; }
  .login-brand-copy h1 { font-size: 48px; }
  .login-brand-copy > p:last-child { max-width: 560px; }
  .login-system-grid { width: 100%; }
  .login-access { padding: 46px 28px; }
}
@media (max-width: 480px) {
  .portal { padding: 8px; }
  .hero { padding-inline: 15px; }
  .identity h1 { font-size: 38px; }
  .motto { font-size: 14px; }
  .app-card { min-height: 380px; padding: 25px; }
  .icon-fields { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions button { width: 100%; }
  .portal-account { margin-inline: 4px; }
  .portal-account span { display: none; }
  .login-identity { padding: 34px 20px; }
  .login-brand-copy h1 { font-size: 40px; }
  .login-brand-copy h2 { font-size: 17px; }
  .login-brand-copy > p:last-child { font-size: 16px; }
  .login-system-grid { grid-template-columns: 1fr; }
  .login-system-grid span { min-height: 66px; border-right: 0; border-bottom: 1px solid #14364c; }
  .login-system-grid span:last-child { border-bottom: 0; }
  .login-access { padding: 38px 20px; }
  .login-panel-heading h2 { font-size: 32px; }
  .login-console-footer { display: grid; min-height: 74px; place-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}
