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

  :root {
    --bg:        #0b1120;
    --surface:   #0d1830;
    --cyan:      #00d2ff;
    --purple:    #9d50bb;
    --text:      #ffffff;
    --muted:     #8892a4;
    --border:    rgba(255,255,255,0.1);
    --glass-bg:  rgba(255,255,255,0.05);
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
  }

  /* ── 배경 파티클/웨이브 ── */
  .bg-canvas {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
  }
  .bg-wave {
    position: absolute; inset: 0; opacity: 0.25;
    background:
      radial-gradient(ellipse 80% 50% at 20% 60%, rgba(157,80,187,0.4) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 80% 40%, rgba(0,210,255,0.3) 0%, transparent 60%);
    animation: bgPulse 8s ease-in-out infinite alternate;
  }
  @keyframes bgPulse {
    from { transform: scale(1) rotate(0deg); }
    to   { transform: scale(1.05) rotate(2deg); }
  }
  /* SVG 웨이브 라인 */
  .wave-svg {
    position: absolute; width: 100%; height: 100%;
    opacity: 0.2;
  }

  /* ── 메인 컨테이너 ── */
  .container {
    position: relative; z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
  }

  /* ── 마스코트 섹션 ── */
  .mascot-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .mascot-wrap {
    position: relative;
    width: 320px; height: 320px;
    animation: float 4s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-18px); }
  }
  .mascot-wrap .glow-ring {
    position: absolute; inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,210,255,0.2) 0%, transparent 70%);
    animation: glow 3s ease-in-out infinite alternate;
  }
  @keyframes glow {
    from { opacity: 0.5; transform: scale(0.9); }
    to   { opacity: 1;   transform: scale(1.1); }
  }
  .mascot-img {
    width: 320px; height: 320px;
    object-fit: contain;
    position: relative; z-index: 1;
    filter: drop-shadow(0 0 30px rgba(0,210,255,0.4));
  }
  .mascot-shadow {
    position: absolute;
    bottom: -16px; left: 50%;
    transform: translateX(-50%);
    width: 160px; height: 20px;
    background: rgba(0,210,255,0.25);
    border-radius: 50%;
    filter: blur(12px);
    animation: shadowPulse 4s ease-in-out infinite;
  }
  @keyframes shadowPulse {
    0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.6; }
    50%       { transform: translateX(-50%) scaleX(0.7); opacity: 0.3; }
  }
  .mascot-label {
    font-size: 13px;
    color: var(--cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
  }

  /* ── 로그인 카드 ── */
  .login-card {
    width: 100%;
    max-width: 420px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  @keyframes slideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  /* 카드 상단 장식 */
  .card-dots {
    position: absolute; top: 16px; right: 16px;
    display: flex; gap: 6px; opacity: 0.3;
  }
  .card-dots span {
    width: 8px; height: 8px;
    border-radius: 50%; background: var(--cyan);
  }

  /* ── DLIVE 로고 ── */
  .brand {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 32px;
  }
  .brand-logo {
    position: relative;
    width: 64px; height: 64px;
    flex-shrink: 0;
  }
  .brand-logo svg { width: 100%; height: 100%; }
  .brand-name {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--text);
  }

  .subtitle {
    font-size: 16px;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 36px;
  }

  /* ── 폼 ── */
  .form-group { margin-bottom: 18px; }
  .form-group input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .form-group input::placeholder { color: var(--muted); }
  .form-group input:focus {
    border-color: rgba(0,210,255,0.5);
    box-shadow: 0 0 0 3px rgba(0,210,255,0.1);
  }

  .form-options {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px; font-size: 13px;
  }
  .form-options label {
    display: flex; align-items: center; gap: 8px;
    color: var(--muted); cursor: pointer;
  }
  .form-options input[type="checkbox"] {
    width: 16px; height: 16px;
    border-radius: 4px;
    accent-color: var(--cyan);
  }
  .form-options a {
    color: var(--cyan); text-decoration: none;
    transition: opacity 0.2s;
  }
  .form-options a:hover { opacity: 0.7; }

  .btn-login {
    width: 100%;
    padding: 16px;
    border: none; border-radius: 50px;
    font-size: 16px; font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    background: linear-gradient(90deg, #ff00cc, #6633ff, #00d2ff);
    background-size: 200% auto;
    cursor: pointer;
    transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(157,80,187,0.4);
  }
  .btn-login:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(157,80,187,0.6);
  }
  .btn-login:active { transform: translateY(0); }
  .btn-login:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

  .err-msg {
    margin-top: 16px; padding: 12px 16px;
    background: rgba(248,81,73,0.1);
    border: 1px solid rgba(248,81,73,0.3);
    border-radius: 10px;
    color: #f85149; font-size: 13px;
    display: none;
  }
  .err-msg.show { display: block; }

  /* ── 반응형 ── */
  @media (max-width: 768px) {
    .mascot-section { display: none; }
    .login-card { max-width: 100%; padding: 36px 28px; }
  }
