/* 進財唱片網站：八〇年代台灣唱片封面、歌廳秀海報的感覺（放射狀漸層、粗黃字配深紅描邊） */

:root {
  --ink: #2b1408;
  --muted: #6b4a36;
  --red: #9b1c12;
  --red-dark: #7a140c;
  --red-error: #b3261e;
  --orange: #e8742a;
  --orange-light: #f7a23b;
  --yellow: #ffd84a;
  --logo-yellow: #ffe14d;
  --cream: #fff4e0;
  --paper: #fffaf0;
  --line: #f0c98a;
  --radius: 8px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-dark);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  line-height: 1.3;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- 頁首 ---------- */

.site-header {
  background: var(--red-dark);
  border-bottom: 4px solid var(--yellow);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--logo-yellow);
  -webkit-text-stroke: 0.06em #3d0a05;
  paint-order: stroke fill;
  text-shadow: 0.05em 0.05em 0 #3d0a05;
}

.brand-en {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: #ffe9b0;
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 0.4rem 0.7rem;
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.nav a:hover {
  background: rgba(255, 216, 74, 0.15);
  color: #fff3c2;
}

.nav a[aria-current="page"] {
  background: var(--yellow);
  color: var(--red-dark);
}

/* ---------- 首頁大圖 ---------- */

.hero {
  background:
    repeating-conic-gradient(from 0deg at 28% 50%, rgba(255, 236, 160, 0.38) 0deg 5deg, rgba(255, 236, 160, 0) 5deg 12deg),
    radial-gradient(circle at 28% 50%, #ffcf5a 0%, var(--orange-light) 38%, var(--orange) 85%);
  border-bottom: 4px solid var(--red-dark);
  overflow: hidden;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 4rem;
  padding-block: 3rem 3.5rem;
}

.hero-cover {
  position: relative;
  width: min(340px, 68vw);
  margin-right: 12%;
}

.hero-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 8px solid #fff8ea;
  box-shadow: 0 12px 30px rgba(70, 20, 0, 0.4);
  transform: rotate(-3deg);
}

.vinyl {
  position: absolute;
  top: 7%;
  right: -30%;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #3a2a10 0 2.5%, #f0b429 3% 22%, var(--red) 22.5% 23.5%, transparent 24%),
    repeating-radial-gradient(circle, #141414 0 2px, #262626 2px 4px);
  box-shadow: 0 10px 24px rgba(70, 20, 0, 0.35);
}

.hero-text {
  flex: 1 1 340px;
  max-width: 560px;
}

.logo {
  margin: 0;
  font-size: clamp(3.2rem, 10vw, 6.2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--logo-yellow);
  -webkit-text-stroke: 0.09em var(--red-dark);
  paint-order: stroke fill;
  text-shadow: 0.07em 0.07em 0 var(--red-dark);
  line-height: 1.15;
}

.tagline {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.3rem, 3.6vw, 2rem);
  font-weight: 900;
  color: var(--red-dark);
  letter-spacing: 0.08em;
}

.hero-intro {
  margin: 0 0 1.5rem;
  font-weight: 700;
  color: #3d1606;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 按鈕 ---------- */

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--paper);
  color: var(--red);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #ffe9c4;
  color: var(--red-dark);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 0 var(--red-dark);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn-big {
  font-size: 1.25rem;
  padding: 0.85rem 2.2rem;
}

/* ---------- 區塊 ---------- */

.page {
  padding-block: 2rem 3rem;
}

.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.center .actions {
  justify-content: center;
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 900;
  color: var(--red-dark);
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 700;
}

.crumb {
  margin: 0 0 0.75rem;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  margin-block: 2.5rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 3px solid var(--orange);
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red-dark);
}

.box {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 1.4rem;
  margin-bottom: 1.5rem;
}

.empty {
  padding: 2rem;
  text-align: center;
  background: var(--paper);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------- 影片 ---------- */

.player {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 880px;
  background: #000;
  border: 6px solid #1c0d05;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(60, 20, 0, 0.25);
}

.player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.latest {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.latest-text h3 {
  margin: 0;
  font-size: 1.7rem;
}

.latest-text h3 a {
  text-decoration: none;
}

@media (max-width: 800px) {
  .latest {
    grid-template-columns: 1fr;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(90, 40, 0, 0.18);
}

/* YouTube 的 hqdefault 是 4:3，縮圖本身是 16:9，上下有黑邊；裁成 16:9 剛好切掉 */
.card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 1rem 1rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--red-dark);
}

.card-hook {
  font-size: 0.95rem;
  line-height: 1.55;
}

.card-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.shorts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.short a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.short img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--line);
}

.short-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.short a:hover .short-title {
  color: var(--red);
  text-decoration: underline;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
}

.prose-pre {
  white-space: pre-line;
}

.description {
  background: var(--paper);
  border-left: 6px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  line-height: 1.95;
  max-width: 880px;
  overflow-wrap: anywhere;
}

/* ---------- 引導 ---------- */

.cta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-block: 2.5rem;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background:
    repeating-conic-gradient(from 0deg at 0% 100%, rgba(255, 236, 160, 0.4) 0deg 4deg, rgba(255, 236, 160, 0) 4deg 9deg),
    linear-gradient(135deg, #ffcf5a, var(--orange-light));
  border: 2px solid var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.cta:hover {
  box-shadow: 0 8px 18px rgba(90, 40, 0, 0.2);
  color: var(--ink);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red-dark);
}

/* ---------- 藝人 ---------- */

.artists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.artist-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.artist-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(90, 40, 0, 0.18);
  color: inherit;
}

.artist-link img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 4px solid var(--orange);
}

.artist-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.8rem 1.3rem 1.2rem;
}

.artist-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red-dark);
  line-height: 1.3;
}

.artist-role {
  margin-left: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.artist-line {
  font-weight: 800;
}

.artist-count {
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.artist-link:hover .artist-count {
  text-decoration: underline;
}

.artist-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
  margin-bottom: 1rem;
}

.artist-hero img {
  width: 100%;
  border-radius: var(--radius);
  border: 4px solid #fff8ea;
  box-shadow: 0 8px 22px rgba(70, 20, 0, 0.25);
}

.artist-hero .page-title .artist-role {
  font-size: 1.1rem;
}

.artist-slogan {
  display: inline-block;
  margin: 0.2rem 0 0.8rem;
  padding: 0.2rem 0.9rem;
  background: var(--red-dark);
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .artist-hero {
    grid-template-columns: 1fr;
  }
  .artist-hero img {
    max-width: 260px;
  }
}

/* ---------- 表單 ---------- */

.form {
  display: grid;
  gap: 1.2rem;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.req {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 0 0.4rem;
  margin-left: 0.3rem;
  vertical-align: 0.15em;
}

.hint {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid #d9a66b;
  border-radius: 6px;
}

.field textarea {
  resize: vertical;
  min-height: 12rem;
  line-height: 1.7;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}

.field [aria-invalid="true"] {
  border-color: var(--red-error);
  background: #fff6f5;
}

.field.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.6rem;
  align-items: start;
}

.field.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.3rem;
  accent-color: var(--red);
}

.field.check label {
  font-weight: 700;
  margin: 0;
}

.field.check .field-error {
  grid-column: 2;
}

.field-error {
  margin: 0.3rem 0 0;
  color: var(--red-error);
  font-weight: 700;
  font-size: 0.95rem;
}

.alert {
  background: #fde3df;
  border: 2px solid var(--red-error);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.alert.soon {
  background: #fff1c7;
  border-color: #c98a00;
}

.legal h2 {
  font-size: 1.3rem;
  color: var(--red-dark);
  margin-top: 2rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

/* ---------- 頁尾 ---------- */

.site-footer {
  background: #2b1408;
  color: #f5e3c8;
  padding-block: 2rem 2.5rem;
  border-top: 4px solid var(--yellow);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--yellow);
}

.footer-brand {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--logo-yellow);
  margin: 0 0 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.disclaimer,
.copyright {
  margin: 0.2rem 0;
  color: #d9c2a3;
}

@media (prefers-reduced-motion: reduce) {
  .card a,
  .artist-link {
    transition: none;
  }
  .card a:hover,
  .artist-link:hover {
    transform: none;
  }
}
