/* ===== COMPONENTS v1.0 — jubk168.com 改版 ===== */

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.5rem; border-radius: 999px;
  font-family: 'Noto Sans TC', sans-serif; font-weight: 700;
  font-size: 0.9rem; cursor: pointer;
  transition: all 0.25s ease; border: none;
  min-height: 38px;
}
.btn-gold {
  background: var(--accent); color: #07070d;
}
.btn-gold:hover {
  background: #e0b84e; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,168,67,0.3);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
}

/* ===== CARDS ===== */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.card-glow:hover {
  border-color: rgba(107,92,231,0.3);
  box-shadow: 0 8px 24px rgba(107,92,231,0.1);
}

/* ===== WELL (嵌入容器) ===== */
.well {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px; padding: 2rem;
}
.well-tight { padding: 0.5rem; border-radius: 10px; }

/* ===== TAG ===== */
.tag {
  display: inline-block; padding: 0.25rem 0.65rem;
  border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  background: rgba(107,92,231,0.12); color: var(--accent-ghost);
  letter-spacing: 0.02em;
}
.tag-hot {
  background: rgba(196,75,47,0.12); color: var(--accent-ember);
}

/* ===== EYEBROW ===== */
.eyebrow {
  font-family: 'Inter', monospace; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--dim); font-weight: 600;
}

/* ===== SECTION HEADING ===== */
.section-heading {
  margin-bottom: 2rem;
}
.section-heading h2 {
  font-family: 'Noto Serif TC', serif; font-weight: 700;
  font-size: 1.5rem; color: var(--text);
  margin-bottom: 0.4rem;
}
.section-heading p {
  color: var(--dim); font-size: 0.9rem; max-width: 45ch;
}

/* ===== HORIZONTAL SCROLL ===== */
.scroll-row {
  display: flex; gap: 1rem; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem; scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * { scroll-snap-align: start; flex-shrink: 0; }

/* ===== LIKE BUTTON ===== */
.like-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgba(107,92,231,0.08); border: 1px solid rgba(107,92,231,0.15);
  color: var(--accent-ghost); font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s;
}
.like-btn:hover {
  background: rgba(107,92,231,0.15); transform: scale(1.05);
}
.like-btn.liked {
  background: rgba(107,92,231,0.2); border-color: var(--accent-ghost);
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px; background: var(--card-border); margin: 2rem 0;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 780px; margin: 0 auto; padding: 0 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .section-heading h2 { font-size: 2rem; }
  .well { padding: 3rem; }
}
