body {
  font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
  padding: 40px;
  background: #0a0e14; /* 깊은 밤의 색 */
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

.mystic-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, #1a2332 0%, #0a0e14 100%);
  z-index: -1;
}

.box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 480px;
  width: 100%;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.header-section {
  text-align: center;
  margin-bottom: 40px;
}

.sub-title {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #c5a059; /* 고풍스러운 금색 */
  display: block;
  margin-bottom: 8px;
  font-weight: 300;
}

h1 {
  font-size: 2.8rem;
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.title-underline {
  width: 40px;
  height: 2px;
  background: #c5a059;
  margin: 15px auto 0;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.input-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-row:focus-within {
  border-color: #c5a059;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.input-row label {
  font-size: 0.8rem;
  color: #c5a059;
  font-weight: 600;
  width: 65px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 15px;
}

.input-row input, 
.input-row select {
  flex: 1;
  border: none;
  padding: 12px 0;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.input-row select option {
  background: #1a2332;
  color: #fff;
}

.main-btn {
  width: 100%;
  padding: 18px;
  background: #c5a059;
  color: #0a0e14;
  border: none;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.main-btn:hover {
  background: #d4b475;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
}

.loading {
  color: #c5a059;
  margin-top: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  text-align: center;
  letter-spacing: 0.1em;
}

.result {
  margin-top: 30px;
}

.fortune-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 30px;
  border-radius: 20px;
  color: #e0e0e0;
  line-height: 1.7;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fortune-card.gold-border {
  border: 2px solid #c5a059;
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}

.super-lucky-tag {
  background: linear-gradient(135deg, #c5a059, #8c6d39);
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  background: rgba(197, 160, 89, 0.15);
  color: #c5a059;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.fortune-card hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 20px 0;
}

.intro { color: #aaa; font-size: 0.95rem; }
.content { color: #fff; font-size: 1.1rem; font-weight: 500; }

.lucky-box {
  margin-top: 25px;
  padding: 20px;
  background: rgba(197, 160, 89, 0.05);
  border-radius: 15px;
  text-align: center;
  color: #c5a059;
  border-left: 4px solid #c5a059;
}

.lucky-box span {
  font-size: 1.2rem;
  font-weight: 800;
}

.source-info {
  margin-top: 25px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  font-style: italic;
}
