/* css/top.css — トップ・生年月日入力画面 */

/* ── ヒーローエリア ── */
.top-hero {
  text-align: center;
  padding: var(--sp-xl) 0 var(--sp-md);
}

.top-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--sp-lg);
  background: radial-gradient(circle at 40% 35%, rgba(219,89,151,0.5), rgba(100,50,200,0.2));
  border: 1px solid rgba(219,89,151,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(240,232,245,0.8);
  animation: pulseGlow 3.5s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(219,89,151,0.2);
}

.top-hero__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(240,232,245,0.38);
  font-weight: 300;
  margin-bottom: var(--sp-sm);
}

.top-hero__title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff, oklch(82% 0.16 338));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.top-hero__subtitle {
  font-size: 0.85rem;
  color: rgba(240,232,245,0.42);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-top: var(--sp-xs);
}

/* ── 入力フォームカード ── */
.birth-form {
  margin-top: var(--sp-lg);
  padding: 28px 22px;
}

.birth-form__label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  color: rgba(240,232,245,0.42);
  letter-spacing: 0.22em;
  text-align: center;
  margin-bottom: var(--sp-md);
}

.birth-form__selects {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  margin-bottom: var(--sp-md);
}

.birth-form__selects select {
  flex: 1;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(219,89,151,0.18);
  border-radius: 12px;
  color: #f0e8f5;
  font-family: var(--font-family);
  font-size: 14px;
  padding: 10px 28px 10px 12px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c46ea0' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.2s;
}

.birth-form__selects select:focus {
  border-color: rgba(219,89,151,0.55);
}

.birth-form__selects select option {
  background: #160d22;
  color: #f0e8f5;
}

.birth-form__error {
  margin-top: var(--sp-xs);
  font-size: 0.78rem;
  color: var(--color-error);
  min-height: 1.2em;
  text-align: center;
}

.birth-form__note {
  margin-bottom: var(--sp-md);
  font-size: 10px;
  color: rgba(240,232,245,0.2);
  text-align: center;
  line-height: 1.7;
  font-weight: 300;
}

.birth-form__start {
  margin-top: var(--sp-md);
}

/* ── 説明セクション ── */
.top-desc {
  margin-top: var(--sp-xl);
  text-align: center;
}

.top-desc__heading {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(240,232,245,0.32);
  font-weight: 300;
  margin-bottom: var(--sp-md);
}

.top-desc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 290px;
  margin: 0 auto;
}

.top-desc__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  color: rgba(240,232,245,0.52);
  font-weight: 300;
}

.top-desc__list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: oklch(55% 0.25 338);
  box-shadow: 0 0 6px rgba(219,89,151,0.7);
  flex-shrink: 0;
}

/* ── 相性リンク ── */
.top-compat-link {
  text-align: center;
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
}

.top-compat-link::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  margin: 0 auto var(--sp-lg);
  background: linear-gradient(90deg, transparent, rgba(219,89,151,0.35), transparent);
}

.top-compat-link__text {
  font-size: 11px;
  color: rgba(240,232,245,0.32);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.08em;
}

/* ── 辛口モードリンク ── */
.top-reverse-link {
  text-align: center;
  margin-top: var(--sp-md);
}

.btn-reverse-mode {
  display: inline-block;
  font-size: 0.8rem;
  color: rgba(240,232,245,0.35);
  text-decoration: none;
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--radius-full);
  border: 1px dashed rgba(255,255,255,0.1);
  transition: color 0.2s, border-color 0.2s;
  font-weight: 300;
}

.btn-reverse-mode:hover {
  color: rgba(240,232,245,0.65);
  border-color: rgba(219,89,151,0.4);
}

/* ── パートナー入力サマリー ── */
.partner-self-summary {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  background: rgba(219,89,151,0.07);
  border: 1px solid rgba(219,89,151,0.18);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.partner-self-summary__img--placeholder {
  width: 56px;
  height: 56px;
  background: rgba(219,89,151,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.partner-self-summary__info { flex: 1; }

.partner-self-summary__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #f0e8f5;
}

.partner-self-summary__badges {
  margin-top: var(--sp-xs);
  display: flex;
  gap: var(--sp-xs);
}

/* ── 相性モードの補助ラベル（互換） ── */
.birth-form__sub-label {
  display: block;
  font-size: 9px;
  font-weight: 300;
  color: rgba(240,232,245,0.38);
  letter-spacing: 0.18em;
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-xs);
}
