:root {
      --bg-1: #020713;
      --bg-2: #03111f;
      --bg-3: #08253c;
      --bg-4: #0b3856;
      --panel-dark: rgba(3, 7, 14, 0.92);
      --panel-soft: rgba(5, 16, 28, 0.84);
      --line: rgba(182, 224, 255, 0.14);
      --line-strong: rgba(182, 224, 255, 0.22);
      --text: #f5fbff;
      --muted: rgba(232, 245, 255, 0.76);
      --soft: rgba(218, 237, 250, 0.48);
      --accent: #b9dfff;
      --accent-2: #eff9ff;
      --glow: rgba(133, 212, 255, 0.45);
      --button-text: #05111d;
      --shadow: 0 36px 90px rgba(0, 0, 0, 0.50);
    }

    * { box-sizing: border-box; }
    html, body { min-height: 100%; }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      font-family: "Outfit", sans-serif;
      background:
        radial-gradient(circle at 20% 12%, rgba(79, 164, 212, 0.20), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(24, 111, 157, 0.18), transparent 18%),
        linear-gradient(180deg, #01060e 0%, var(--bg-1) 18%, var(--bg-2) 52%, var(--bg-3) 76%, #04101b 100%);
      overflow-x: hidden;
      position: relative;
    }

    body::before,
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    body::before {
      background:
        radial-gradient(ellipse at 50% -10%, rgba(185, 223, 255, 0.10), transparent 45%),
        linear-gradient(90deg,
          transparent 0%,
          rgba(185, 223, 255, 0.05) 10%,
          transparent 20%,
          transparent 40%,
          rgba(185, 223, 255, 0.03) 50%,
          transparent 62%,
          transparent 100%);
      background-size: 100% 100%, 420px 100%;
      mix-blend-mode: screen;
      opacity: 0.75;
      animation: waterSweep 20s ease-in-out infinite alternate;
    }

    body::after {
      background:
        repeating-radial-gradient(circle at 50% 110%, rgba(255,255,255,0.03) 0 2px, transparent 2px 16px),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.26) 100%);
      background-size: 100% 100%, 100% 100%;
      opacity: 0.22;
      filter: blur(0.5px);
      animation: deepCurrent 18s ease-in-out infinite alternate;
    }

    .page-shell {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 34px;
    }

    .login-card {
      width: min(1120px, 100%);
      min-height: 700px;
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
      background: linear-gradient(180deg, rgba(3, 8, 14, 0.82), rgba(2, 6, 11, 0.93));
      border: 1px solid rgba(196, 232, 255, 0.12);
      border-radius: 30px;
      overflow: hidden;
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .brand-panel {
      position: relative;
      overflow: hidden;
      padding: 42px 42px 34px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background:
        linear-gradient(180deg, rgba(2, 13, 25, 0.24), rgba(2, 12, 22, 0.52)),
        radial-gradient(circle at 60% 14%, rgba(154, 224, 255, 0.18), transparent 22%),
        url("bg_jellyfishimg.png") center center / cover no-repeat,
        linear-gradient(180deg, #02101c 0%, #04192c 50%, #062740 100%);
      border-right: 1px solid rgba(182, 224, 255, 0.09);
      isolation: isolate;
    }

    .brand-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(1, 9, 18, 0.18) 0%, rgba(1, 10, 18, 0.06) 18%, rgba(1, 10, 18, 0.20) 100%),
        linear-gradient(90deg, rgba(2, 12, 22, 0.34) 0%, rgba(2, 12, 22, 0.10) 32%, rgba(2, 12, 22, 0.10) 74%, rgba(2, 12, 22, 0.28) 100%),
        radial-gradient(ellipse at 50% 0%, rgba(215, 241, 255, 0.16), transparent 42%),
        linear-gradient(90deg,
          transparent 0%,
          rgba(157, 219, 255, 0.05) 35%,
          transparent 55%,
          rgba(157, 219, 255, 0.03) 75%,
          transparent 100%);
      mix-blend-mode: screen;
      opacity: 0.9;
      animation: panelDrift 14s ease-in-out infinite alternate;
      z-index: -1;
    }

    .brand-panel::after {
      content: "";
      position: absolute;
      inset: auto -18% -18% auto;
      width: 76%;
      height: 76%;
      background: radial-gradient(ellipse at center, rgba(69, 166, 219, 0.18), transparent 64%);
      filter: blur(12px);
      opacity: 0.62;
      animation: glowPulse 7s ease-in-out infinite;
      z-index: -1;
    }

    .brand-head {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
    }

    .brand-logo {
      width: min(250px, 72%);
      height: auto;
      display: block;
      filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
    }

    .art-stage {
      flex: 1 1 auto;
      min-height: 430px;
      pointer-events: none;
    }

    .art-caption {
      max-width: 410px;
      margin: 4px auto 0;
      text-align: center;
      color: rgba(245, 250, 255, 0.92);
      font-size: 15px;
      line-height: 1.75;
      font-weight: 300;
      letter-spacing: 0.04em;
      text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
    }

    .form-panel {
      display: grid;
      place-items: center;
      padding: 58px 64px;
      background:
        radial-gradient(circle at 0% 0%, rgba(85, 169, 220, 0.07), transparent 26%),
        linear-gradient(180deg, rgba(2, 7, 13, 0.97), rgba(3, 8, 13, 0.99)),
        var(--panel-dark);
      position: relative;
    }

    .form-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 12%),
        linear-gradient(90deg, transparent 0%, rgba(185, 223, 255, 0.03) 48%, transparent 100%);
      animation: panelDrift 16s ease-in-out infinite alternate;
      pointer-events: none;
    }

    .form-inner {
      width: min(390px, 100%);
      position: relative;
      z-index: 1;
    }

    .kicker {
      display: inline-block;
      margin-bottom: 16px;
      color: var(--accent);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.26em;
      text-transform: uppercase;
    }

    h1 {
      margin: 0;
      font-family: "Montserrat", sans-serif;
      font-size: clamp(36px, 4.2vw, 52px);
      line-height: 1.02;
      letter-spacing: -0.05em;
      color: #ffffff;
      text-shadow: 0 0 20px rgba(120, 200, 255, 0.05);
    }

    .intro {
      margin: 14px 0 34px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.65;
      font-weight: 300;
    }

    .field {
      margin-bottom: 22px;
    }

    .field label {
      display: block;
      margin-bottom: 9px;
      font-size: 13px;
      font-weight: 600;
      color: rgba(245, 251, 255, 0.96);
    }

    input {
      width: 100%;
      height: 56px;
      padding: 0 17px;
      border: 1px solid var(--line-strong);
      border-radius: 14px;
      outline: none;
      color: var(--text);
      background: linear-gradient(90deg, rgba(255,255,255,0.045), rgba(185,223,255,0.02));
      font: inherit;
      transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease;
    }

    input::placeholder {
      color: rgba(228, 244, 255, 0.36);
    }

    input:hover {
      background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(185,223,255,0.03));
    }

    input:focus {
      border-color: rgba(185, 223, 255, 0.92);
      background: linear-gradient(90deg, rgba(255,255,255,0.075), rgba(185,223,255,0.04));
      box-shadow: 0 0 0 4px rgba(133, 212, 255, 0.12), 0 0 20px rgba(133, 212, 255, 0.08);
      transform: translateY(-1px);
    }

    .password-wrap {
      position: relative;
    }

    .password-wrap input {
      padding-right: 58px;
    }

    .password-toggle {
      position: absolute;
      top: 50%;
      right: 10px;
      width: 40px;
      height: 40px;
      transform: translateY(-50%);
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 10px;
      background: transparent;
      color: rgba(215, 238, 255, 0.55);
      cursor: pointer;
      transition: color .2s ease, background .2s ease;
    }

    .password-toggle:hover {
      color: var(--text);
      background: rgba(185,223,255,0.08);
    }

    .password-toggle svg {
      width: 21px;
      height: 21px;
    }

    #eyeOpen { display: none; }
    .password-toggle.is-showing #eyeClosed { display: none; }
    .password-toggle.is-showing #eyeOpen { display: block; }

    .btn-login {
      width: 100%;
      min-height: 58px;
      margin-top: 8px;
      border: 1px solid rgba(204, 236, 255, 0.42);
      border-radius: 14px;
      background: linear-gradient(135deg, #eff9ff 0%, #c8eaff 100%);
      color: var(--button-text);
      font-family: "Montserrat", sans-serif;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      cursor: pointer;
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.30), 0 0 24px rgba(110, 195, 246, 0.12);
      transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    }

    .btn-login:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 40px rgba(0, 0, 0, 0.34), 0 0 28px rgba(110, 195, 246, 0.16);
      filter: brightness(1.03);
    }

    .btn-login:active {
      transform: translateY(0);
    }

    .security-note {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin: 18px 0 0;
      color: var(--soft);
      font-size: 12px;
      letter-spacing: 0.02em;
    }

    .security-note svg {
      width: 16px;
      height: 16px;
      color: var(--accent);
      flex: 0 0 auto;
    }

    .form-footer {
      margin-top: 34px;
      padding-top: 20px;
      border-top: 0px solid rgba(182,224,255,0.10);
      color: rgba(216, 237, 251, 0.36);
      font-size: 12px;
      line-height: 1.55;
      text-align: center;
      letter-spacing: 0.03em;
    }

    @keyframes waterSweep {
      0% {
        transform: translate3d(-1.5%, -1%, 0) scale(1.02);
        opacity: 0.6;
      }
      50% {
        transform: translate3d(1%, 1%, 0) scale(1.05);
        opacity: 0.78;
      }
      100% {
        transform: translate3d(2%, -1%, 0) scale(1.03);
        opacity: 0.68;
      }
    }

    @keyframes deepCurrent {
      0% {
        transform: translateY(0) scale(1);
      }
      100% {
        transform: translateY(10px) scale(1.02);
      }
    }

    @keyframes panelDrift {
      0% {
        transform: translateX(-1.5%) translateY(-1%);
      }
      100% {
        transform: translateX(1.5%) translateY(1%);
      }
    }

    @keyframes glowPulse {
      0%, 100% {
        opacity: 0.55;
        transform: scale(1);
      }
      50% {
        opacity: 0.78;
        transform: scale(1.05);
      }
    }

        @media (max-width: 940px) {
      .page-shell { padding: 20px; }
      .login-card {
        grid-template-columns: 1fr;
        min-height: 0;
      }
      .brand-panel {
        min-height: 330px;
        padding: 28px 28px 24px;
      }
      .brand-head { justify-content: center; }
      .brand-logo { width: min(220px, 70vw); }
      .art-stage { min-height: 230px; }
      .art-caption { font-size: 14px; }
      .form-panel { padding: 42px 30px 46px; }
    }

    @media (max-width: 560px) {
      .page-shell { padding: 0; }
      .login-card {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
      }
      .brand-panel {
        min-height: 250px;
        padding: 24px 22px 18px;
      }
      .art-stage { min-height: 150px; }
      .art-caption {
        max-width: 280px;
        font-size: 13px;
      }
      .form-panel { padding: 38px 22px 42px; }
      h1 { font-size: 38px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
      }
    }