:root {
  --background: #f6f9ff;
  --background-soft: #eef4ff;
  --surface: #ffffff;
  --surface-blue: #f5f9ff;
  --primary: #0868ff;
  --primary-dark: #0451d8;
  --primary-light: #3d8cff;
  --primary-soft: rgba(8, 104, 255, 0.1);
  --text: #101828;
  --text-sub: #4d5b70;
  --text-muted: #8995a8;
  --border: #e3eaf5;
  --border-focus: rgba(8, 104, 255, 0.48);
  --shadow-large: 0 35px 100px rgba(32, 72, 132, 0.14);
  --shadow-card: 0 20px 60px rgba(32, 72, 132, 0.1);
  --shadow-button: 0 16px 32px rgba(8, 104, 255, 0.28);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Pretendard,
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at 14% 15%,
      rgba(83, 145, 255, 0.14),
      transparent 25%
    ),
    radial-gradient(
      circle at 84% 18%,
      rgba(8, 104, 255, 0.09),
      transparent 28%
    ),
    linear-gradient(145deg, #fbfdff 0%, #f4f8ff 48%, #eef4ff 100%);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: none;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.background-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(83, 115, 166, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 115, 166, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.8) 18%,
    rgba(0, 0, 0, 0.7) 80%,
    transparent
  );
}

.background-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  animation: glowFloat 12s ease-in-out infinite alternate;
}

.glow-left {
  width: 480px;
  height: 480px;
  top: -210px;
  left: -170px;
  background: radial-gradient(
    circle,
    rgba(70, 137, 255, 0.22),
    rgba(70, 137, 255, 0)
  );
}

.glow-right {
  width: 520px;
  height: 520px;
  top: 80px;
  right: -240px;
  background: radial-gradient(
    circle,
    rgba(8, 104, 255, 0.16),
    rgba(8, 104, 255, 0)
  );
  animation-duration: 15s;
}

.glow-bottom {
  width: 600px;
  height: 400px;
  left: 42%;
  bottom: -260px;
  background: radial-gradient(
    circle,
    rgba(94, 158, 255, 0.15),
    rgba(94, 158, 255, 0)
  );
  animation-duration: 18s;
}

.background-ring {
  position: absolute;
  border: 1px solid rgba(8, 104, 255, 0.08);
  border-radius: 50%;
}

.ring-one {
  width: 440px;
  height: 440px;
  top: -210px;
  right: 6%;
}

.ring-two {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: 10%;
}

.login-page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(400px, 0.94fr);
  gap: 24px;
  align-items: center;
}

.brand-section {
  position: relative;
  min-height: 720px;
  padding: 64px 56px 44px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 38px;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(255, 255, 255, 0.36),
      transparent 26%
    ),
    linear-gradient(145deg, #0868ff 0%, #1c78ff 48%, #4d96ff 100%);
  box-shadow:
    0 38px 100px rgba(8, 82, 203, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  color: #ffffff;
}

.brand-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 36%),
    radial-gradient(
      circle at 13% 80%,
      rgba(255, 255, 255, 0.13),
      transparent 30%
    );
  pointer-events: none;
}

.brand-section::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -250px;
  bottom: -240px;
  border: 90px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.brand-decoration {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.decoration-one {
  width: 260px;
  height: 260px;
  top: -150px;
  left: -120px;
}

.decoration-two {
  width: 150px;
  height: 150px;
  top: 80px;
  right: -80px;
}

.brand-content {
  position: relative;
  z-index: 2;
}

.brand-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.13);
  animation: statusPulse 2s ease-in-out infinite;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.brand-title-logo {
  position: relative;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 38px rgba(0, 47, 136, 0.2),
    inset 0 1px 0 #ffffff;
}

.brand-icon-glow {
  position: absolute;
  inset: -16px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(15px);
}

.brand-title-logo img {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(8, 75, 170, 0.16));
  animation: iconFloat 4s ease-in-out infinite;
}

.brand-eyebrow {
  margin: 64px 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  color: rgba(255, 255, 255, 0.68);
}

.brand-section h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 86px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.065em;
  text-shadow: 0 12px 36px rgba(0, 56, 154, 0.18);
  min-width: 0;
}

.brand-description {
  margin: 25px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
}

.brand-features {
  margin-top: 44px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-item strong {
  font-size: 13px;
  font-weight: 800;
}

.feature-item span:not(.feature-icon) {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.63);
}

.brand-market-card {
  position: absolute;
  z-index: 3;
  left: 56px;
  right: 56px;
  bottom: 44px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 20px 40px rgba(0, 51, 145, 0.12);
}

.market-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.market-card-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.market-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
}

.market-card-head strong {
  font-size: 14px;
}

.market-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.market-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 11px rgba(255, 255, 255, 0.9);
}

.market-line {
  height: 5px;
  margin-top: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.market-line-fill {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), #ffffff);
  animation: marketProgress 2.4s ease-out both;
}

.market-info {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.62);
}

.market-info strong {
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.login-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  position: relative;
  width: 100%;
  padding: 46px 42px 34px;
  border: 1px solid rgba(219, 229, 243, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-large);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -110px;
  right: -90px;
  border-radius: 50%;
  background: rgba(8, 104, 255, 0.07);
}

.login-card-shine {
  position: absolute;
  inset: -60% -30%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 43%,
    rgba(255, 255, 255, 0.76) 50%,
    transparent 57%
  );
  transform: translateX(-70%);
  animation: cardShine 9s linear infinite;
}

.login-card-header,
form,
.divider,
.register-button,
.security-notice {
  position: relative;
  z-index: 2;
}

.login-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
}

.login-kicker {
  display: block;
  margin-bottom: 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  color: var(--primary);
}

.login-card-header h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--text);
}

.login-card-header p {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.login-symbol {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 104, 255, 0.12);
  border-radius: 15px;
  background: var(--primary-soft);
}

.login-symbol svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  margin: 0 0 9px 3px;
  font-size: 12px;
  font-weight: 800;
  color: #36445a;
}

.input-wrap {
  position: relative;
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 7px 20px rgba(43, 76, 124, 0.045);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.input-wrap:hover {
  border-color: #ced9e9;
}

.input-wrap:focus-within {
  border-color: var(--border-focus);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(8, 104, 255, 0.09),
    0 12px 28px rgba(8, 104, 255, 0.08);
  transform: translateY(-1px);
}

.input-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #8b98ab;
  transition: color 0.2s ease;
}

.input-wrap:focus-within .input-icon {
  color: var(--primary);
}

.input-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0;
  border: none;
  outline: none;
  color: var(--text);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.input-wrap input::placeholder {
  color: #a1acbc;
  font-weight: 500;
}

.input-check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 104, 255, 0.08);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.input-wrap:focus-within .input-check {
  opacity: 1;
  transform: scale(1);
}

.input-check svg {
  width: 13px;
  height: 13px;
  stroke: var(--primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #8c98aa;
  background: transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.password-toggle:hover {
  color: var(--primary);
  background: rgba(8, 104, 255, 0.07);
}

.password-toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.password-toggle .eye-open {
  opacity: 1;
  transform: scale(1);
}

.password-toggle .eye-closed {
  opacity: 0;
  transform: scale(0.7);
}

.password-toggle.is-visible .eye-open {
  opacity: 0;
  transform: scale(0.7);
}

.password-toggle.is-visible .eye-closed {
  opacity: 1;
  transform: scale(1);
}

.login-button,
.register-button {
  width: 100%;
  height: 60px;
  border-radius: 17px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.015em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.login-button {
  position: relative;
  margin-top: 10px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  box-shadow:
    var(--shadow-button),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.login-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.login-button:hover::before {
  transform: translateX(120%);
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 19px 38px rgba(8, 104, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-button:active {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-text {
  position: relative;
  z-index: 1;
}

.button-arrow {
  position: absolute;
  z-index: 1;
  right: 18px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
}

.button-arrow svg {
  width: 17px;
  height: 17px;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.divider {
  margin: 26px 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.divider span {
  height: 1px;
  background: var(--border);
}

.divider p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.register-button {
  border: 1px solid #dbe5f3;
  color: #2b3a51;
  background: #ffffff;
  box-shadow:
    0 9px 24px rgba(51, 81, 126, 0.055),
    inset 0 1px 0 #ffffff;
}

.register-button:hover {
  border-color: rgba(8, 104, 255, 0.24);
  color: var(--primary);
  background: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(32, 72, 132, 0.1);
}

.security-notice {
  margin-top: 24px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  background: #f6f9fd;
}

.security-notice-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(8, 104, 255, 0.09);
}

.security-notice-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-notice p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  color: #7d899b;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 246, 255, 0.76);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.auth-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.auth-box {
  position: relative;
  width: min(370px, 100%);
  padding: 34px 30px 28px;
  text-align: center;
  border: 1px solid rgba(217, 227, 241, 0.95);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 90px rgba(35, 70, 122, 0.18);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.auth-overlay.is-visible .auth-box {
  transform: translateY(0) scale(1);
}

.auth-box::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: 50%;
  top: -125px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(8, 104, 255, 0.1);
  filter: blur(6px);
}

.overlay-logo {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e9f5;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(34, 73, 131, 0.1);
}

.overlay-logo img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.spinner {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--primary),
    rgba(8, 104, 255, 0.08),
    var(--primary)
  );
  animation: spinnerRotate 1s linear infinite;
}

.spinner::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #ffffff;
}

.spinner span {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(8, 104, 255, 0.8);
}

.auth-title {
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.auth-msg {
  position: relative;
  z-index: 2;
  min-height: 20px;
  margin: 9px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.progress-track {
  position: relative;
  z-index: 2;
  height: 5px;
  margin-top: 20px;
  border-radius: 999px;
  overflow: hidden;
  background: #eaf0f9;
}

.progress-fill {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #65a4ff);
  animation: progressMove 1.6s ease-in-out infinite;
}

.auth-sub {
  position: relative;
  z-index: 2;
  margin-top: 13px;
  font-size: 11px;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.78, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes glowFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(28px, -18px, 0) scale(1.08);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.72);
    opacity: 0.68;
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes marketProgress {
  from {
    width: 0;
  }

  to {
    width: 86%;
  }
}

@keyframes cardShine {
  0% {
    transform: translateX(-70%);
  }

  100% {
    transform: translateX(70%);
  }
}

@keyframes spinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes progressMove {
  0% {
    transform: translateX(-115%);
  }

  50% {
    transform: translateX(115%);
  }

  100% {
    transform: translateX(250%);
  }
}

@media (max-width: 1000px) {
  .login-page {
    width: min(680px, calc(100% - 32px));
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .brand-section {
    min-height: 500px;
    padding: 44px 40px 130px;
  }

  .brand-section h1 {
    font-size: 62px;
  }

  .brand-eyebrow {
    margin-top: 42px;
  }

  .brand-market-card {
    left: 40px;
    right: 40px;
    bottom: 34px;
  }
}

@media (max-width: 620px) {
  body {
    background: #f5f9ff;
  }

  .login-page {
    width: min(100% - 20px, 520px);
    padding: 10px 0 20px;
    gap: 12px;
  }

  .brand-section {
    min-height: 0;
    padding: 28px 23px 22px;
    border-radius: 28px;
    overflow: hidden;
  }

  .brand-status {
    font-size: 9px;
  }

  .brand-title-row {
    gap: 12px;
    align-items: center;
  }

  .brand-title-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 17px;
  }

  .brand-title-logo img {
    width: 38px;
    height: 38px;
  }

  .brand-eyebrow {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 9px;
  }

  .brand-section h1 {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 1;
    letter-spacing: -0.055em;
    white-space: nowrap;
  }

  .brand-description {
    margin-top: 16px;
    max-width: 100%;
    font-size: clamp(12px, 3.6vw, 13px);
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .brand-description br {
    display: none;
  }

  .brand-features {
    display: none;
  }

  .brand-market-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 22px;
    padding: 14px 15px;
    border-radius: 18px;
  }

  .market-card-head strong {
    font-size: 12px;
  }

  .login-card {
    padding: 31px 20px 24px;
    border-radius: 28px;
  }

  .login-card-header {
    margin-bottom: 28px;
  }

  .login-card-header h2 {
    font-size: 25px;
  }

  .login-card-header p {
    font-size: 12px;
  }

  .login-symbol {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .field-group {
    margin-bottom: 15px;
  }

  .input-wrap {
    min-height: 56px;
    padding: 0 14px;
    border-radius: 15px;
  }

  .input-wrap input {
    height: 54px;
    font-size: 13px;
  }

  .login-button,
  .register-button {
    height: 56px;
    border-radius: 15px;
    font-size: 14px;
  }

  .security-notice {
    padding: 12px 10px;
  }

  .security-notice p {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .brand-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-title-row {
    gap: 10px;
  }

  .brand-title-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .brand-title-logo img {
    width: 34px;
    height: 34px;
  }

  .login-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .login-card-header h2 {
    font-size: 22px;
  }

  .login-symbol {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
