body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  text-align: center;
}

/* 제목 */
.title-panel {
  margin-top: 60px;
}

.title-panel h1 {
  font-size: 32px;
  font-weight: 600;
}

/* 설명 */
.desc-panel {
  margin: 20px auto;
  width: 60%;
  background: white;
  padding: 20px;
  border-radius: 20px;
  font-size: 14px;
  color: #6e6e73;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* 입력 컨테이너 */
.input-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* 패널 */
.panel {
  width: 250px;
  background: white;
  padding: 25px;
  border-radius: 25px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.panel:hover {
  transform: translateY(-5px);
}

.panel h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

input, select {
  width: 90%;
  padding: 8px;
  margin: 8px auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
}

input[type="range"] {
  padding: 0;
}

label {
  font-size: 13px;
  color: #6e6e73;
  display: block;
  margin-top: 10px;
}

p {
  font-size: 13px;
  color: #6e6e73;
}

.calc-btn {
  margin: 40px;
  padding: 15px 30px;
  border: none;
  border-radius: 20px;
  background: black;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* 블러 배경 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.2);
  z-index: 10;
}

/* 모달 */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  width: 320px;
  border-radius: 25px;
  z-index: 20;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* 숨김 */
.hidden {
  display: none;
}

/* 분석 카드 */
.tag {
  padding: 8px;
  margin: 5px 0;
  border-radius: 10px;
  font-size: 13px;
  animation: pop 0.3s ease;
}

.good {
  background: #e6f9ec;
  color: #1a7f37;
}

.bad {
  background: #fde8e8;
  color: #b42318;
}

@keyframes pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.info-btn {
  padding: 15px 20px;
  border: none;
  border-radius: 20px;
  background: #e5e5ea;
  color: black;
  margin-left: 10px;
  cursor: pointer;
}

.info-content {
  text-align: left;
  font-size: 14px;
  color: #333;
}

.info-content p {
  margin-bottom: 10px;
}

.small {
  font-size: 12px;
  color: #888;
}
