/* ===========================================================
   Mood Weather — choose a mood + theme store
   =========================================================== */

/* ---------- choose ---------- */

.choose-head { padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.6rem); }
.choose-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.8vw, 1.2rem);
  padding-bottom: clamp(2rem, 5vw, 3.4rem);
}

.mood-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mood-card::after {
  content: "";
  position: absolute;
  right: -30%;
  top: -40%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mood-glow, rgba(140, 170, 255, 0.35));
  filter: blur(40px);
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.mood-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.mood-card:hover::after { opacity: 0.85; transform: scale(1.08); }
.mood-card:active { transform: translateY(-1px) scale(0.995); }
.mood-card .orb { width: 44px; height: 44px; margin-bottom: 0.15rem; }

.mood-card__name { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -0.01em; }
.mood-card__feelings { font-size: 0.74rem; color: var(--faint); letter-spacing: 0.03em; line-height: 1.5; }
.mood-card__short { font-size: 0.86rem; color: var(--soft); margin: 0.15rem 0 0; line-height: 1.5; }
.mood-card__go {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.choose-note {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.choose-note a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- theme store ---------- */

.theme-head { padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.6rem); }

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.4rem);
}

.theme-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.theme-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.theme-card.is-current { border-color: rgba(255, 217, 142, 0.45); box-shadow: 0 0 0 1px rgba(255, 217, 142, 0.25); }

.theme-card__art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.theme-card__art .wx-stage { aspect-ratio: 16 / 10; min-height: 0; height: 100%; }
.theme-card__art .theme-tint {
  position: absolute;
  inset: 0;
  z-index: 11;
  background: var(--card-wash, rgba(80, 110, 200, 0.16));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.theme-card__body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.theme-card__top { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.theme-card__name { font-family: var(--font-display); font-size: 1.24rem; margin: 0; }
.theme-card__blurb { font-size: 0.88rem; color: var(--soft); margin: 0; flex: 1; }

.badge {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--faint);
}
.badge--free { color: #9ee0b8; border-color: rgba(158, 224, 184, 0.35); background: rgba(158, 224, 184, 0.08); }
.badge--premium { color: var(--gold); border-color: rgba(255, 217, 142, 0.4); background: rgba(255, 217, 142, 0.09); }
.badge--current { color: var(--gold); border-color: rgba(255, 217, 142, 0.5); }

.theme-card__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.4rem; }
.theme-card__actions .btn { flex: 1 1 auto; justify-content: center; }

.theme-swatches { display: flex; gap: 0.28rem; }
.theme-swatches i {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.theme-note {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--faint);
  max-width: 72ch;
}

@media (max-width: 980px) {
  .mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .theme-grid { grid-template-columns: 1fr; }
}
