/* JASON ERP · Login 시안D (fullvideo/브랜드필름 + 대각 스크림 페이드) — 왕과 함께 확정한 원본 재현.
   클린 신축(2026-07-10) 이식본. 자기완결 CSS(kit-luxe/shell-frame 의존 제거) · db-bridge hero-video 결합 배제(그라디언트 폴백 유지).
   #loginScreen 은 클린앱에서 position:fixed 오버레이로 주입(app.js). 색/폰트는 이 파일에만. */

#loginScreen.login-d {
  position: fixed;
  inset: 0;
  z-index: 99999;
  min-height: 100vh;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: #0a0a0a;
  font-family: "Pretendard Variable", "Pretendard", "Segoe UI", "Malgun Gothic", -apple-system, system-ui, sans-serif;
  background: #071012;
}

/* ── 전면 브랜드 필름(영상 자리) + 스캔라인 ── */
#loginScreen.login-d .login-d-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(130% 120% at 8% 20%, #17564a 0%, #0f3733 38%, #0a1a1c 72%, #071012 100%);
}
#loginScreen.login-d .login-d-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 52px);
}
/* YouTube 배경영상 cover-fit (홈페이지 hero 기법: 오버사이즈 16:9 중앙, 레터박스0) */
#loginScreen.login-d #loginHeroYT { position: absolute; inset: 0; }
#loginScreen.login-d #loginHeroVideo iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 213.34vh !important;   /* 177.78vh * 1.2 */
  height: 67.5vw !important;    /* 56.25vw * 1.2 */
  min-width: 120vw !important;
  min-height: 120vh !important;
  max-width: none !important;
  transform: translate(-50%, -50%) !important;
  border: 0;
  pointer-events: none;
}
#loginScreen.login-d .login-d-glow {
  position: absolute;
  left: -6%;
  top: -12%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(31, 158, 117, 0.30), transparent);
}
/* 전면 은은한 오버레이 — 글자 가독성만 확보 */
#loginScreen.login-d .login-d-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(4, 12, 10, 0.68) 0%,
      rgba(4, 12, 10, 0.42) 34%,
      rgba(4, 12, 10, 0.28) 60%,
      rgba(4, 12, 10, 0.52) 100%),
    radial-gradient(120% 120% at 20% 30%, transparent 40%, rgba(4, 12, 10, 0.35) 100%);
}

#loginScreen.login-d .login-d-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
}

/* ── 왼쪽 브랜드 스테이지(영상 위, 흰 글씨) ── */
#loginScreen.login-d .login-d-stage {
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  background: transparent;
  border: 0;
}
#loginScreen.login-d .login-d-top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
#loginScreen.login-d .login-d-brandname { font-size: 21px; font-weight: 800; letter-spacing: -0.3px; color: #ffffff; }
#loginScreen.login-d .login-d-kicker { font-size: 11px; letter-spacing: 2.5px; color: rgba(255, 255, 255, 0.7); font-weight: 700; text-transform: uppercase; }
#loginScreen.login-d .login-d-kicker .amp { color: #7fe6b0; }
#loginScreen.login-d .login-d-hero { max-width: 680px; }
#loginScreen.login-d .login-d-filmtag { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.8); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
#loginScreen.login-d .login-d-dot { width: 9px; height: 9px; border-radius: 50%; background: #7fe6b0; box-shadow: 0 0 0 4px rgba(127, 230, 176, 0.25); }
#loginScreen.login-d .login-d-hero-title { font-size: 62px; line-height: 0.98; font-weight: 800; letter-spacing: -2.4px; margin: 16px 0 0; color: #ffffff; }
#loginScreen.login-d .login-d-hero-title .pop { color: #7fe6b0; }
#loginScreen.login-d .login-d-lead { margin-top: 16px; font-size: 16px; color: rgba(255, 255, 255, 0.85); max-width: 640px; line-height: 1.65; }
#loginScreen.login-d .login-d-stats { display: flex; gap: 34px; margin-top: 26px; }
#loginScreen.login-d .login-d-stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; color: #ffffff; }
#loginScreen.login-d .login-d-stat span { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.6); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }
#loginScreen.login-d .login-d-buyers { display: flex; align-items: center; gap: 24px; }
#loginScreen.login-d .login-d-buyers small { font-size: 11px; color: rgba(255, 255, 255, 0.55); letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
#loginScreen.login-d .login-d-buyer { font-size: 17px; font-weight: 800; letter-spacing: 0.5px; color: #ffffff; }
/* 바이어명은 CSS content 로 렌더 */
#loginScreen.login-d .login-d-buyer[data-buyer="1"]::after { content: "NIKE"; }
#loginScreen.login-d .login-d-buyer[data-buyer="2"]::after { content: "ADIDAS"; }
#loginScreen.login-d .login-d-buyer[data-buyer="3"]::after { content: "NEW BALANCE"; }

/* ── 오른쪽 로그인 = 영상 위 글래스 카드(라이트 텍스트) ── */
#loginScreen.login-d .login-d-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: transparent;
  border: 0;
  max-width: none;
  box-shadow: none;
}
#loginScreen.login-d .login-d-inner {
  width: 100%;
  max-width: 360px;
  text-align: left;
  padding: 36px 32px;
  border-radius: 18px;
  background: rgba(9, 20, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#loginScreen.login-d .login-d-signin { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin: 0; color: #ffffff; }
#loginScreen.login-d .login-d-cardsub { font-size: 13px; color: rgba(255, 255, 255, 0.72); margin: 8px 0 28px; }
#loginScreen.login-d .login-d-field { margin-bottom: 18px; }
#loginScreen.login-d .login-d-field label { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.7); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 9px; }
#loginScreen.login-d .login-d-input {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #ffffff;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
#loginScreen.login-d .login-d-input:focus { border-color: #7fe6b0; background: rgba(255, 255, 255, 0.14); }
#loginScreen.login-d .login-d-input::placeholder { color: rgba(255, 255, 255, 0.45); }
#loginScreen.login-d .login-d-enter {
  width: 100%;
  height: 54px;
  margin-top: 8px;
  background: #7fe6b0;
  color: #06231b;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
}
#loginScreen.login-d .login-d-enter:hover { background: #9bf0c4; }
#loginScreen.login-d .login-d-msg { font-size: 13px; color: #ff9a9a; min-height: 16px; margin-top: 12px; text-align: center; }
#loginScreen.login-d .login-d-note { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 16px; line-height: 1.6; text-align: center; }
#loginScreen.login-d .login-d-cfoot { font-size: 11px; color: rgba(255, 255, 255, 0.5); text-align: center; margin-top: 20px; letter-spacing: 0.3px; }

/* ── 반응형: 좁으면 스테이지 접고 카드만 ── */
@media (max-width: 900px) {
  #loginScreen.login-d .login-d-content { grid-template-columns: 1fr; }
  #loginScreen.login-d .login-d-stage { display: none; }
  #loginScreen.login-d .login-d-card { padding: 24px; }
}
