* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    min-height: 100vh;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    color: #ffffff;
    background:
      radial-gradient(circle at 18% 24%, rgba(0, 220, 210, 0.12), transparent 24%),
      radial-gradient(circle at 78% 48%, rgba(0, 145, 255, 0.10), transparent 28%),
      linear-gradient(135deg, #06111d 0%, #081827 45%, #050b13 100%);
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  .page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;    /* 추가 */
    justify-content: center;
    align-items: center;
    padding: 40px 20px 40px;
  }

  .page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle, rgba(0, 210, 255, 0.55) 1px, transparent 1px),
      linear-gradient(to top, rgba(4, 13, 23, 0.95) 0%, transparent 38%);
    background-size: 120px 120px, 100% 100%;
    opacity: 0.35;
    pointer-events: none;
  }

  .login-card {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 48px 40px;
    border-radius: 24px;
    margin: auto;
    background: linear-gradient(180deg, rgba(15, 31, 49, 0.82), rgba(8, 18, 31, 0.74));
    border: 1px solid rgba(158, 205, 238, 0.22);
    box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.38),
      inset 0 0 60px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(18px);
  }
  
  .branding-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .logo-mark {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    filter: drop-shadow(0 0 22px rgba(0, 224, 218, 0.45));
  }
  
  .logo-mark svg {
    width: 100%;
    height: 100%;
  }
  
  .brand-title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 800;
    margin-bottom: 6px;
  }
  
  .brand-title span {
    color: #00d8ef;
    text-shadow: 0 0 22px rgba(0, 216, 239, 0.45);
  }
  
  .brand-subtitle {
    font-size: 14px;
    color: #9fb3c8;
  }
  
  .login-header {
    text-align: center;
    margin-bottom: 46px;
  }
  
  .login-header h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -1px;
  }
  
  .login-header p {
    color: #b8c7d8;
    font-size: 17px;
  }
  
  .form-group {
    margin-bottom: 28px;
  }
  
  .form-group label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #eef7ff;
  }
  
  .input-box {
    position: relative;
  }
  
  .input-box input {
    width: 100%;
    height: 66px;
    padding: 0 58px;
    border-radius: 10px;
    border: 1px solid rgba(160, 194, 225, 0.25);
    outline: none;
    background: rgba(3, 14, 26, 0.5);
    color: #ffffff;
    font-size: 17px;
    transition: 0.25s ease;
  }
  
  .input-box input::placeholder {
    color: #728299;
  }
  
  .input-box input:focus {
    border-color: rgba(0, 220, 239, 0.75);
    box-shadow: 0 0 0 4px rgba(0, 220, 239, 0.08);
  }
  
  .input-icon,
  .eye-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #9bb0c8;
    font-size: 22px;
  }
  
  .input-icon {
    left: 22px;
  }
  
  .eye-icon {
    right: 22px;
    cursor: pointer;
  }
  
  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 34px;
    font-size: 16px;
  }
  
  .remember {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d3eef5;
  }
  
  .remember input {
    width: 22px;
    height: 22px;
    accent-color: #12dbe8;
  }
  
  .forgot {
    color: #17eaff;
    text-decoration: none;
    font-weight: 700;
  }
  
  .login-button {
    width: 100%;
    height: 68px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(100deg, #16e0d4 0%, #0095f0 100%);
    box-shadow: 0 12px 30px rgba(0, 174, 239, 0.26);
    transition: 0.25s ease;
  }
  
  .login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 174, 239, 0.36);
  }
  
  .divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 38px 0 28px;
    color: #8493a8;
  }
  
  .divider::before,
  .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(151, 176, 205, 0.18);
  }
  
  .guest-button {
    width: 100%;
    height: 62px;
    border-radius: 9px;
    border: 1px solid rgba(0, 220, 239, 0.75);
    background: rgba(0, 155, 190, 0.04);
    color: #14eaff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
  }
  
  .guest-button:hover {
    background: rgba(0, 220, 239, 0.1);
  }
  
  .copyright {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    color: #8493a8;
    font-size: 14px;
    margin-top: 12px;
    z-index: 2;
    white-space: nowrap;
  }
  
  @media (max-width: 640px) {
    .page {
      align-items: center;
      padding: 24px 16px 60px;
    }
  
    .bottom-logo {
        margin-top: 20px;
    }
    
    .bottom-logo img {
        width: clamp(150px, 48vw, 220px);
        max-width: 80%;
    }

    .login-card {
      padding: 34px 22px;
      border-radius: 20px;
    }
  
    .logo-mark {
      width: 60px;
      height: 60px;
    }
  
    .brand-title {
      font-size: 25px;
    }
  
    .brand-subtitle {
      font-size: 13px;
    }
  
    .login-header {
      margin-bottom: 34px;
    }
  
    .login-header h2 {
      font-size: 28px;
    }
  
    .login-header p {
      font-size: 15px;
    }
  
    .input-box input {
      height: 60px;
      font-size: 16px;
    }
  
    .form-options {
      font-size: 14px;
    }
  
    .login-button {
      height: 62px;
      font-size: 19px;
    }

    .signup-menu {
        margin-top: 18px;
        font-size: 14px;
    }
  
    .copyright {
      font-size: 12px;
    }
  }

  .bottom-logo {
    position: relative;
    width: min(100%, 520px);
    margin-top: 24px;
    text-align: center;
    opacity: 0.85;
    z-index: 2;
    opacity: 0.9;
  }
  
  .bottom-logo img {
    width: clamp(180px, 34vw, 320px);
    max-width: 78%;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(0, 216, 239, 0.35));
  }
  .signup-menu {
    margin-top: 22px;
    text-align: center;
    font-size: 15px;
    color: #9fb3c8;
  }
  
  .signup-menu a {
    margin-left: 8px;
    color: #17eaff;
    font-weight: 800;
    text-decoration: none;
  }
  
  .signup-menu a:hover {
    text-shadow: 0 0 14px rgba(23, 234, 255, 0.55);
  }

  .sub-button {
    width: 100%;
    height: 58px;
    border-radius: 10px;
    border: 1px solid rgba(0, 220, 239, 0.65);
    background: rgba(0, 155, 190, 0.08);
    color: #14eaff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
    margin-top: -8px;
    margin-bottom: 26px;
  }
  
  .sub-button:hover {
    background: rgba(0, 220, 239, 0.14);
    box-shadow: 0 0 22px rgba(0, 216, 239, 0.18);
  }
  
  .signup-gap {
    margin-top: 4px;
  }

  .verify-message {
    margin: -8px 0 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
  }
  
  .verify-message.success {
    color: #17eaff;
  }
  
  .verify-message.error {
    color: #ff6b6b;
  }
  
  .sub-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }