/* ================================
   인증 화면 스타일
   로그인/회원가입 폼
================================ */

#auth-screen {
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

#auth-screen.active {
  display: flex;
}

.auth-container {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 420px;
  text-align: center;
  backdrop-filter: blur(20px);
}

/* 포켓볼 로고 */
.logo-section {
  margin-bottom: 30px;
}

.pokeball-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.pokeball-top {
  width: 100%;
  height: 50%;
  background: var(--pokemon-red);
  border-radius: 80px 80px 0 0;
  position: absolute;
  top: 0;
}

.pokeball-bottom {
  width: 100%;
  height: 50%;
  background: #fff;
  border-radius: 0 0 80px 80px;
  position: absolute;
  bottom: 0;
  border: 3px solid #333;
  border-top: none;
}

.pokeball-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #333;
}

.pokeball-center {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 4px solid #333;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.pokeball-center::after {
  content: '';
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #333;
}

.logo-section h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.logo-section h1 span {
  color: var(--gold-primary);
  font-size: 24px;
}

.tagline {
  color: var(--text-secondary);
  margin-top: 10px;
  font-size: 14px;
}

/* 인증 폼 */
.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.input-group {
  margin-bottom: 16px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 15px;
  transition: var(--transition-fast);
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.input-group input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  margin-top: 10px;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.btn-sm {
  width: auto;
  padding: 8px 20px;
  font-size: 14px;
}

.btn-secondary {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.auth-switch {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* 미디어 쿼리 */
@media (max-width: 768px) {
  .auth-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .pokeball-logo {
    width: 60px;
    height: 60px;
  }

  .logo-section h1 {
    font-size: 22px;
  }

  .logo-section h1 span {
    font-size: 18px;
  }

  .input-group input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .btn-primary {
    padding: 12px;
    font-size: 15px;
  }
}
