:root {
  --login-font: "Manrope", "Segoe UI", sans-serif;
  --login-display: "Sora", "Manrope", sans-serif;
  --login-bg-base: var(--bg-primary, #f3f6fc);
  --login-text: var(--text-primary, #0f172a);
  --login-muted: var(--text-secondary, #475569);
  --login-accent: var(--accent-primary, #2563eb);
  --login-accent-2: var(--accent-secondary, #0ea5e9);
  --login-card-bg: var(--glass-bg, rgba(255, 255, 255, 0.86));
  --login-card-border: var(--glass-border, rgba(148, 163, 184, 0.25));
  --login-shadow: rgba(15, 23, 42, 0.18);
  --login-grid-color: rgba(148, 163, 184, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body.login-body {
  margin: 0;
  font-family: var(--login-font);
  color: var(--login-text);
  background: var(--login-bg-base);
  overflow-x: hidden;
}

.login-page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  overflow: hidden;
  isolation: isolate;
  background: #e8eef8;
}

.login-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #dbe7f5;
  background-image: var(--login-photo, url("../login-bg-netmon.jpg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.55;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
  will-change: opacity;
}

.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 8% 10%, rgba(var(--primary-rgb, 37, 99, 235), 0.14), transparent 65%),
    radial-gradient(44vw 44vw at 88% 92%, rgba(var(--secondary-rgb, 14, 165, 233), 0.12), transparent 70%),
    linear-gradient(180deg, rgba(243, 246, 252, 0.42) 0%, rgba(243, 246, 252, 0.28) 48%, rgba(248, 251, 255, 0.46) 100%);
}

.login-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(15, 23, 42, 0.1) 100%);
}

.login-grid {
  position: absolute;
  inset: -20% -10%;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--login-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--login-grid-color) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 78%);
  animation: gridFlow 24s linear infinite;
}

.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
}

.orb-left {
  width: min(34vw, 430px);
  height: min(34vw, 430px);
  top: -8%;
  left: -6%;
  background: radial-gradient(circle, rgba(var(--primary-rgb, 37, 99, 235), 0.52) 0%, rgba(var(--primary-rgb, 37, 99, 235), 0.18) 65%, transparent 100%);
  animation: orbFloatLeft 14s ease-in-out infinite;
}

.orb-right {
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  right: -4%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(var(--secondary-rgb, 14, 165, 233), 0.56) 0%, rgba(var(--secondary-rgb, 14, 165, 233), 0.2) 70%, transparent 100%);
  animation: orbFloatRight 18s ease-in-out infinite;
}

.orb-center {
  width: min(22vw, 280px);
  height: min(22vw, 280px);
  left: 46%;
  top: 22%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, rgba(14, 165, 233, 0.09) 70%, transparent 100%);
  animation: orbFloatCenter 16s ease-in-out infinite;
}

.login-shell {
  width: 100%;
  max-width: 1120px;
  display: flex;
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.login-shell--compact {
  max-width: 460px;
  align-items: center;
}

.login-shell--compact .login-panel {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.login-shell--compact .login-card {
  width: 100%;
}

.login-credits {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--login-muted);
}

.login-credits strong {
  color: var(--login-text);
  font-weight: 700;
}

.login-showcase {
  flex: 1 1 58%;
  min-width: 420px;
  position: relative;
  border-radius: 30px;
  padding: clamp(30px, 4vw, 44px);
  color: #eff6ff;
  background:
    linear-gradient(145deg, rgba(5, 23, 66, 0.95) 0%, rgba(18, 64, 141, 0.88) 52%, rgba(0, 105, 140, 0.82) 100%);
  border: 1px solid rgba(148, 197, 255, 0.24);
  box-shadow: 0 28px 52px -20px rgba(2, 6, 23, 0.6);
  overflow: hidden;
  animation: blockReveal 900ms cubic-bezier(0.21, 1, 0.31, 1) both;
}

.login-showcase::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 70%);
  transform: rotate(14deg);
  pointer-events: none;
}

.login-showcase::after {
  content: "";
  position: absolute;
  inset: auto -140px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.26), transparent 72%);
  pointer-events: none;
}

.showcase-kicker {
  margin: 0 0 16px;
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  opacity: 0.9;
  color: rgba(226, 232, 240, 0.95);
}

.showcase-title {
  margin: 0;
  font-family: var(--login-display);
  font-size: clamp(1.68rem, 3vw, 2.44rem);
  line-height: 1.18;
  max-width: 16ch;
  color: #f8fbff;
  text-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
}

.showcase-text {
  margin: 18px 0 0;
  color: rgba(239, 246, 255, 0.9);
  max-width: 48ch;
  line-height: 1.62;
  font-size: 0.99rem;
}

.showcase-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.showcase-points li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
  color: rgba(239, 246, 255, 0.94);
  animation: pointIn 650ms cubic-bezier(0.21, 1, 0.31, 1) both;
}

.showcase-points li:nth-child(1) {
  animation-delay: 120ms;
}

.showcase-points li:nth-child(2) {
  animation-delay: 220ms;
}

.showcase-points li:nth-child(3) {
  animation-delay: 320ms;
}

.showcase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(145deg, #67e8f9, #60a5fa);
  box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.2);
}

.showcase-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.showcase-metrics article {
  padding: 13px 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(147, 197, 253, 0.28);
  display: grid;
  gap: 4px;
  animation: pointIn 650ms cubic-bezier(0.21, 1, 0.31, 1) both;
}

.showcase-metrics article:nth-child(1) {
  animation-delay: 260ms;
}

.showcase-metrics article:nth-child(2) {
  animation-delay: 320ms;
}

.showcase-metrics article:nth-child(3) {
  animation-delay: 380ms;
}

.metric-value {
  font-family: var(--login-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fbff;
}

.metric-label {
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.8);
}

.login-panel {
  flex: 1 1 42%;
  min-width: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: min(460px, 100%);
  border-radius: 30px;
  padding: clamp(26px, 3.4vw, 38px);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.96) 0%, var(--login-card-bg) 100%);
  border: 1px solid var(--login-card-border);
  box-shadow:
    0 28px 60px -24px var(--login-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform 280ms ease, box-shadow 320ms ease;
  animation: cardRise 900ms cubic-bezier(0.21, 1, 0.31, 1) 100ms both;
}

.login-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  margin: 0 0 10px;
}

.login-brand-logo {
  width: clamp(160px, 48%, 220px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(30, 64, 175, 0.2));
}

.login-subtitle {
  margin: 0 0 4px;
  color: var(--login-muted);
  line-height: 1.55;
  font-size: 0.95rem;
  text-align: center;
}

.flash-wrap {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.login-alert {
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.login-alert.is-danger {
  color: #991b1b;
  background: rgba(254, 226, 226, 0.92);
  border-color: rgba(239, 68, 68, 0.34);
}

.login-alert.is-success {
  color: #166534;
  background: rgba(220, 252, 231, 0.92);
  border-color: rgba(22, 163, 74, 0.34);
}

.login-alert.is-info {
  color: #0c4a6e;
  background: rgba(224, 242, 254, 0.92);
  border-color: rgba(14, 165, 233, 0.34);
}

.login-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.input-shell {
  display: grid;
  gap: 8px;
}

.input-shell label {
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--login-muted);
}

.input-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(255, 255, 255, 0.68);
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.input-control:focus-within {
  border-color: rgba(var(--primary-rgb, 37, 99, 235), 0.62);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 37, 99, 235), 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.field-icon {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 20px;
  color: rgba(var(--primary-rgb, 37, 99, 235), 0.66);
  pointer-events: none;
}

.input-control input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--login-text);
  font-size: 0.97rem;
  margin: 0;
  height: auto;
  line-height: 1.4;
  padding: 14px 44px 14px 42px;
  font-family: var(--login-font);
}

.input-control input::placeholder {
  color: #9aa8be;
}

.input-control input:-webkit-autofill,
.input-control input:-webkit-autofill:hover,
.input-control input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--login-text);
  -webkit-box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.9) inset;
}

.password-toggle {
  border: 0;
  background: transparent;
  color: #64748b;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  transition: color 180ms ease, background-color 180ms ease;
}

.password-toggle:hover {
  color: var(--login-accent);
  background: rgba(var(--primary-rgb, 37, 99, 235), 0.1);
}

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

.password-toggle .icon-eye-off {
  display: none;
}

.password-toggle.is-visible .icon-eye-open {
  display: none;
}

.password-toggle.is-visible .icon-eye-off {
  display: block;
}

.login-submit {
  margin-top: 4px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: var(--login-display);
  font-weight: 700;
  font-size: 1rem;
  color: #f8fbff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--login-accent) 0%, var(--login-accent-2) 100%);
  box-shadow: 0 12px 24px -12px rgba(var(--primary-rgb, 37, 99, 235), 0.84);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.login-submit svg {
  width: 18px;
  height: 18px;
}

.login-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 22%, rgba(255, 255, 255, 0.22) 50%, transparent 78%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px -12px rgba(var(--primary-rgb, 37, 99, 235), 0.74);
  filter: brightness(1.05);
}

.login-submit:hover::before {
  transform: translateX(135%);
}

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

.login-submit:disabled,
.login-submit.is-loading {
  cursor: wait;
  opacity: 0.72;
  filter: saturate(0.85);
  pointer-events: none;
  transform: none;
}

.login-footnote {
  margin: 14px 0 0;
  font-size: 0.77rem;
  color: var(--login-muted);
}

.credits-ticker {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(241, 245, 249, 0.9));
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.credits-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: creditsTicker 32s linear infinite;
  will-change: transform;
}

.credits-line {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 18px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #334155;
}

.credits-lead {
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(100px, 34vw, 260px);
}

.credits-highlight {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: #0f172a;
  padding: 0 0.35em;
  display: inline-block;
  transition: color 0.4s ease;
}

.credits-highlight::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 220%;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.7);
  background: radial-gradient(
    ellipse at center,
    rgba(59, 130, 246, 0.55) 0%,
    rgba(96, 165, 250, 0.22) 42%,
    transparent 72%
  );
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.credits-highlight.is-centered {
  color: #1d4ed8;
  animation: creditsHighlightBreath 2.4s ease-in-out infinite;
}

.credits-highlight.is-centered::before {
  opacity: 1;
  animation: creditsAuraBreath 2.4s ease-in-out infinite;
}

.credits-ticker:hover .credits-track {
  animation-play-state: paused;
}

html[data-theme="dark"],
html[data-theme="pure-black"],
html.dark-mode {
  --login-shadow: rgba(2, 6, 23, 0.58);
  --login-grid-color: rgba(96, 165, 250, 0.16);
}

html[data-theme="dark"] .login-page,
html[data-theme="pure-black"] .login-page,
html.dark-mode .login-page {
  background: #020617;
}

html[data-theme="dark"] .login-bg,
html[data-theme="pure-black"] .login-bg,
html.dark-mode .login-bg {
  opacity: 0.32;
  filter: saturate(0.95) brightness(0.7) contrast(1.05);
}

html[data-theme="dark"] .login-page::before,
html[data-theme="pure-black"] .login-page::before,
html.dark-mode .login-page::before {
  background:
    radial-gradient(60vw 60vw at 12% 8%, rgba(var(--primary-rgb, 59, 130, 246), 0.2), transparent 70%),
    radial-gradient(44vw 44vw at 92% 86%, rgba(var(--secondary-rgb, 56, 189, 248), 0.14), transparent 70%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.55) 0%, rgba(2, 6, 23, 0.4) 50%, rgba(11, 18, 37, 0.62) 100%);
}

html[data-theme="dark"] .login-card,
html[data-theme="pure-black"] .login-card,
html.dark-mode .login-card {
  background: linear-gradient(175deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 34px 62px -28px var(--login-shadow),
    inset 0 1px 0 rgba(148, 163, 184, 0.25);
}

html[data-theme="dark"] .login-title,
html[data-theme="pure-black"] .login-title,
html.dark-mode .login-title {
  color: #e2e8f0;
}

html[data-theme="dark"] .login-subtitle,
html[data-theme="pure-black"] .login-subtitle,
html.dark-mode .login-subtitle,
html[data-theme="dark"] .input-shell label,
html[data-theme="pure-black"] .input-shell label,
html.dark-mode .input-shell label,
html[data-theme="dark"] .login-footnote,
html[data-theme="pure-black"] .login-footnote,
html.dark-mode .login-footnote {
  color: #94a3b8;
}

html[data-theme="dark"] .input-control,
html[data-theme="pure-black"] .input-control,
html.dark-mode .input-control {
  background: rgba(15, 23, 42, 0.56);
  border-color: rgba(100, 116, 139, 0.48);
}

html[data-theme="dark"] .input-control:focus-within,
html[data-theme="pure-black"] .input-control:focus-within,
html.dark-mode .input-control:focus-within {
  background: rgba(15, 23, 42, 0.84);
}

html[data-theme="dark"] .input-control input,
html[data-theme="pure-black"] .input-control input,
html.dark-mode .input-control input {
  color: #e2e8f0;
}

html[data-theme="dark"] .input-control input::placeholder,
html[data-theme="pure-black"] .input-control input::placeholder,
html.dark-mode .input-control input::placeholder {
  color: #64748b;
}

html[data-theme="dark"] .input-control input:-webkit-autofill,
html[data-theme="dark"] .input-control input:-webkit-autofill:hover,
html[data-theme="dark"] .input-control input:-webkit-autofill:focus,
html[data-theme="pure-black"] .input-control input:-webkit-autofill,
html[data-theme="pure-black"] .input-control input:-webkit-autofill:hover,
html[data-theme="pure-black"] .input-control input:-webkit-autofill:focus,
html.dark-mode .input-control input:-webkit-autofill,
html.dark-mode .input-control input:-webkit-autofill:hover,
html.dark-mode .input-control input:-webkit-autofill:focus {
  -webkit-text-fill-color: #e2e8f0;
  -webkit-box-shadow: 0 0 0 100px rgba(15, 23, 42, 0.92) inset;
}

html[data-theme="dark"] .login-alert.is-danger,
html[data-theme="pure-black"] .login-alert.is-danger,
html.dark-mode .login-alert.is-danger {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.34);
}

html[data-theme="dark"] .login-alert.is-success,
html[data-theme="pure-black"] .login-alert.is-success,
html.dark-mode .login-alert.is-success {
  color: #bbf7d0;
  background: rgba(21, 128, 61, 0.35);
  border-color: rgba(52, 211, 153, 0.34);
}

html[data-theme="dark"] .login-alert.is-info,
html[data-theme="pure-black"] .login-alert.is-info,
html.dark-mode .login-alert.is-info {
  color: #bae6fd;
  background: rgba(3, 105, 161, 0.35);
  border-color: rgba(56, 189, 248, 0.34);
}

html[data-theme="dark"] .credits-ticker,
html[data-theme="pure-black"] .credits-ticker,
html.dark-mode .credits-ticker {
  border-color: rgba(100, 116, 139, 0.44);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.94));
}

html[data-theme="dark"] .credits-line,
html[data-theme="pure-black"] .credits-line,
html.dark-mode .credits-line {
  color: #cbd5e1;
}

html[data-theme="dark"] .credits-highlight,
html[data-theme="pure-black"] .credits-highlight,
html.dark-mode .credits-highlight {
  color: #f8fafc;
}

html[data-theme="dark"] .credits-highlight.is-centered,
html[data-theme="pure-black"] .credits-highlight.is-centered,
html.dark-mode .credits-highlight.is-centered {
  color: #bfdbfe;
  animation: creditsHighlightBreathDark 2.4s ease-in-out infinite;
}

html[data-theme="dark"] .credits-highlight.is-centered::before,
html[data-theme="pure-black"] .credits-highlight.is-centered::before,
html.dark-mode .credits-highlight.is-centered::before {
  background: radial-gradient(
    ellipse at center,
    rgba(96, 165, 250, 0.62) 0%,
    rgba(59, 130, 246, 0.28) 42%,
    transparent 72%
  );
}

@media (max-width: 1024px) {
  .login-shell {
    max-width: 720px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .login-showcase {
    min-width: 0;
    order: 2;
  }

  .login-panel {
    min-width: 0;
    order: 1;
  }
}

@media (max-width: 700px) {
  .login-page {
    padding: 16px;
  }

  .login-showcase {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .showcase-text {
    font-size: 0.93rem;
  }

  .showcase-metrics {
    grid-template-columns: 1fr;
  }

  .login-card {
    border-radius: 24px;
    padding: 24px 20px;
  }

  .credits-line {
    font-size: 0.72rem;
    padding: 9px 14px;
  }
}

@media (max-width: 520px) {
  .login-showcase {
    display: none;
  }

  .login-shell {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .login-card {
    width: 100%;
  }
}

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

  .credits-track {
    animation: none;
    width: 100%;
  }

  .credits-line[aria-hidden="true"] {
    display: none;
  }
}

@keyframes gridFlow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-48px, -48px, 0);
  }
}

@keyframes orbFloatLeft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, 36px, 0) scale(1.08);
  }
}

@keyframes orbFloatRight {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-28px, -34px, 0) scale(0.94);
  }
}

@keyframes orbFloatCenter {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-20px, 24px, 0) scale(1.08);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes blockReveal {
  from {
    opacity: 0;
    transform: translateX(-26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pointIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes creditsTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes creditsHighlightBreath {
  0%,
  100% {
    text-shadow:
      0 0 6px rgba(59, 130, 246, 0.35),
      0 0 14px rgba(59, 130, 246, 0.2);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 10px rgba(37, 99, 235, 0.95),
      0 0 22px rgba(59, 130, 246, 0.72),
      0 0 38px rgba(96, 165, 250, 0.45);
    transform: scale(1.07);
  }
}

@keyframes creditsHighlightBreathDark {
  0%,
  100% {
    text-shadow:
      0 0 8px rgba(147, 197, 253, 0.45),
      0 0 16px rgba(59, 130, 246, 0.28);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 14px rgba(191, 219, 254, 0.95),
      0 0 28px rgba(96, 165, 250, 0.75),
      0 0 44px rgba(59, 130, 246, 0.42);
    transform: scale(1.07);
  }
}

@keyframes creditsAuraBreath {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 1;
  }
}
