:root {
  --navy: #172c5d;
  --deep: #10234d;
  --cream: #fff7e7;
  --yellow: #ffd24a;
  --orange: #ff7046;
  --ink: #17213f;
  --muted: #65708a;
  --line: #eadfc9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.song-page {
  width: min(430px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  background: #fff8ea;
  overflow: hidden;
}

.song-hero {
  position: relative;
  min-height: 250px;
  background: var(--navy);
  color: #fff;
  padding: 28px 28px 36px;
  border-bottom-left-radius: 50% 9%;
  border-bottom-right-radius: 50% 9%;
}

.back-home {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  margin-bottom: 18px;
}

.song-hero::before {
  content: "";
  position: absolute;
  left: -58px;
  top: -90px;
  width: 220px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badges span {
  display: inline-flex;
  align-items: center;
  height: 22px;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
}

.badges span:first-child {
  background: var(--yellow);
}

.song-hero h1 {
  position: relative;
  margin: 0;
  font-size: 35px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-line {
  margin: 12px 0 2px;
  color: var(--yellow);
  font-weight: 900;
  font-size: 17px;
}

.sub-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.music-mark {
  position: absolute;
  right: -32px;
  top: 34px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #0d1c41;
}

.music-mark span {
  position: absolute;
  top: 18px;
  left: -10px;
  width: 96px;
  height: 34px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 6px, transparent 6px 18px);
  border-radius: 12px;
}

.music-mark strong {
  position: absolute;
  left: 34px;
  top: 45px;
  color: #ff6870;
  font-size: 80px;
}

.summary-card,
.panel,
.style-panel,
.form-card,
.contact-card {
  width: calc(100% - 36px);
  margin: 16px auto;
  border-radius: 14px;
}

.summary-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  background: #fff;
  padding: 14px 16px;
  margin-top: -24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(23, 44, 93, 0.12);
}

h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.summary-card p,
.summary-card strong {
  display: block;
  margin: 4px 0 0;
  font-size: 12px;
}

.summary-card strong {
  color: var(--orange);
}

.price-badge {
  width: 64px;
  height: 58px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  flex-shrink: 0;
  font-weight: 900;
}

.price-badge span {
  font-size: 12px;
}

.panel,
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
}

.outcome-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.outcome-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0;
  font-size: 14px;
  font-weight: 800;
}

.outcome-list span {
  min-width: 26px;
  height: 22px;
  border-radius: 8px;
  background: var(--yellow);
  display: inline-grid;
  place-content: center;
  font-size: 12px;
}

.style-panel {
  background: var(--deep);
  color: #fff;
  padding: 16px;
}

.demo-videos {
  width: calc(100% - 36px);
  margin: 16px auto;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
}

.demo-videos p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.song-video-grid {
  display: grid;
  gap: 12px;
}

.song-video-grid video {
  width: 100%;
  display: block;
  border-radius: 12px;
  background: #0d1c41;
}

.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.style-tags span {
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 900;
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.form-head p {
  margin: 0 0 4px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.form-head span {
  border-radius: 999px;
  background: var(--yellow);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf7;
  padding: 12px;
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

button {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  padding: 13px 16px;
  cursor: pointer;
  font-weight: 900;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: var(--yellow);
  padding: 16px;
  margin-bottom: 22px;
}

.contact-card p {
  margin: 6px 0;
  font-weight: 900;
}

.contact-card strong {
  display: block;
  margin-top: 16px;
  font-size: 13px;
}

.contact-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.result {
  margin-top: 14px;
  border-radius: 12px;
  background: #fff5ce;
  padding: 14px;
  font-size: 14px;
}

.result strong,
.result p {
  display: block;
  margin: 0 0 6px;
}

.hidden {
  display: none;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(16, 35, 77, 0.92);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
