* {
  box-sizing: border-box;
  font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Card ===== */

.container {
  background: #ffffff;
  width: 420px;
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(0,0,0,0.28);
}

/* ===== Profile & Slider ===== */

.profile {
  text-align: center;
  margin-bottom: 28px;
}

.slider {
  position: relative;
  width: 260px;
  height: 150px;
  margin: 0 auto 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 260px;
  height: 150px;
  border-radius: 18px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.slide.active {
  opacity: 1;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
}

.slider .prev {
  left: -20px;
}

.slider .next {
  right: -20px;
}

/* ===== Title ===== */

.profile h1 {
  margin: 8px 0 6px;
  font-size: 23px;
  font-weight: 600;
}

.profile p {
  font-size: 14px;
  color: #666;
}

/* ===== Login ===== */

.login-box h2 {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #2a5298;
  margin-bottom: 20px;
}

.login-box input {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.login-box input:focus {
  outline: none;
  border-color: #2a5298;
}

.login-box button {
  width: 100%;
  padding: 14px;
  background: #2a5298;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.login-box button:hover {
  background: #1e3c72;
}

@media (max-width: 480px) {

  body {
    padding: 20px;
    align-items: flex-start;
  }

  .container {
    width: 100%;
    max-width: 360px;
    padding: 26px 22px;
    border-radius: 16px;
  }

  /* 이미지 슬라이더 */
  .slider {
    width: 100%;
    height: 180px;
    margin-bottom: 18px;
  }

  .slide {
    width: 100%;
    height: 180px;
    border-radius: 14px;
  }

  .slider .prev {
    left: 8px;
  }

  .slider .next {
    right: 8px;
  }

  /* 타이틀 */
  .profile h1 {
    font-size: 20px;
  }

  .profile p {
    font-size: 13px;
  }

  /* 로그인 */
  .login-box h2 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .login-box input {
    padding: 13px;
    font-size: 14px;
  }

  .login-box button {
    padding: 13px;
    font-size: 14px;
  }
}
