/* ===== Menstrual (달의 리듬) Page ===== */

/* --- 동의 화면 --- */
.mens-consent-box {
  margin: 18px 0 20px;
  padding: 16px 18px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 14px;
}

.mens-consent-item + .mens-consent-item { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(139, 92, 246, 0.1); }

.mens-consent-item strong {
  display: block;
  font-size: 12px;
  color: var(--text-accent);
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.mens-consent-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-primary);
}

.mens-consent-medical strong { color: #BE185D; }

.mens-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  margin: 16px 0 14px;
  line-height: 1.5;
}

.mens-consent-check input { accent-color: #7C3AED; margin-top: 2px; }

.mens-medical-warning {
  margin: 14px 0;
  padding: 12px 14px;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 10px;
  color: #BE185D;
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 500;
}

/* --- 대시보드 --- */
.mens-phase-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 26px 26px;
  text-align: center;
}

.mens-phase-circle {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 180deg,
    rgba(91, 168, 168, 0.2) 0deg 90deg,
    rgba(167, 139, 250, 0.2) 90deg 160deg,
    rgba(236, 72, 153, 0.2) 160deg 200deg,
    rgba(245, 158, 11, 0.2) 200deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.3), 0 4px 20px rgba(139, 92, 246, 0.15);
}

.mens-phase-circle.phase-water { background: conic-gradient(from 180deg, rgba(91, 168, 168, 0.45), rgba(91, 168, 168, 0.25)); }
.mens-phase-circle.phase-wood  { background: conic-gradient(from 180deg, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.18)); }
.mens-phase-circle.phase-fire  { background: conic-gradient(from 180deg, rgba(236, 72, 153, 0.4), rgba(245, 101, 101, 0.25)); }
.mens-phase-circle.phase-earth_metal { background: conic-gradient(from 180deg, rgba(245, 158, 11, 0.35), rgba(161, 161, 170, 0.25)); }

.mens-phase-inner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.mens-phase-day {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
  letter-spacing: -1px;
}

.mens-phase-label {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 6px;
}

.mens-phase-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.mens-phase-element {
  font-size: 13px;
  color: var(--text-accent);
  font-weight: 600;
}

.mens-phase-next {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* --- 오늘 운세 CTA --- */
.mens-today-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mens-cta-title {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.mens-cta-sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}

/* --- 달주기 여신 CTA --- */
.mens-witch-cta {
  text-align: center;
}

.mens-witch-icons {
  font-size: 32px;
  letter-spacing: 8px;
  margin-bottom: 10px;
}

.mens-witch-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.mens-witch-sub {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* --- 메타 액션 --- */
.mens-meta-actions {
  display: flex;
  gap: 10px;
}

.mens-meta-actions button { flex: 1; }

.mens-danger:hover { color: #BE185D !important; border-color: rgba(236, 72, 153, 0.4) !important; }

/* --- 결과 화면 --- */
.mens-lucky {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
}

.mens-lucky-item {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  background: rgba(139, 92, 246, 0.06);
  border-radius: 10px;
}

.mens-lucky-label {
  display: block;
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 600;
}

.mens-lucky-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-accent);
}

.mens-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-primary);
}

.mens-list li::marker { color: #a78bfa; }

.mens-luna-msg {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.mens-luna-icon {
  font-size: 36px;
  flex-shrink: 0;
  color: #7C3AED;
}

.mens-luna-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 500;
  font-style: italic;
}

/* --- 달주기 여신 결과 --- */
.mens-witch-result {
  text-align: center;
  padding: 40px 28px 28px;
}

.mens-witch-emoji {
  font-size: 72px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.3));
}

.mens-witch-name {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.mens-witch-en {
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mens-witch-desc {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-primary);
}

.mens-witch-traits-label {
  font-size: 12px;
  color: var(--text-accent);
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.mens-witch-traits {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.mens-witch-traits li {
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--text-accent);
  font-weight: 600;
}

@media (max-width: 480px) {
  .mens-phase-circle { width: 160px; height: 160px; }
  .mens-phase-inner { width: 120px; height: 120px; }
  .mens-phase-day { font-size: 30px; }
  .mens-today-cta { flex-direction: column; align-items: stretch; }
  .mens-today-cta button { width: 100%; }
  .mens-lucky { flex-direction: column; }
  .mens-witch-emoji { font-size: 60px; }
  .mens-witch-name { font-size: 22px; }
}
