:root {
  --red: #d81e18;
  --red-dark: #b81510;
  --bg: #f7f5f3;
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #7a7a7a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background: #fff;
  padding: 16px 20px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid #efefef;
}

.hero {
  background: radial-gradient(circle at top, #ff7a4a 0%, #d81e18 45%, #b1100b 100%);
  color: #fff;
  padding: 32px 20px 24px;
  position: relative;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.hero p {
  text-align: center;
  margin: 10px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.hero .badge {
  margin: 20px auto 0;
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.container {
  width: min(92vw, 460px);
  margin: 18px auto 0;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card + .card {
  margin-top: 16px;
}

.button {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:active {
  background: var(--red-dark);
}

.button.block {
  width: 100%;
}

.button.ghost {
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
}

.menu {
  margin: 60px auto;
  width: min(86vw, 360px);
  display: grid;
  gap: 18px;
}

.menu .button {
  border-radius: 8px;
  padding: 14px 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.input-group label {
  font-size: 13px;
  color: var(--muted);
}

.input-group input,
.input-group select {
  padding: 12px 12px;
  border-radius: 8px;
  border: 1px solid #e1e1e1;
  font-size: 14px;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 12px 0 6px;
}

.list-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.list-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.course-item {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.course-item + .course-item {
  margin-top: 14px;
}

.course-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.tag {
  display: inline-block;
  background: rgba(216, 30, 24, 0.1);
  color: var(--red);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  margin-right: 6px;
}

.notice {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 6px;
}

.result {
  margin-top: 12px;
  font-size: 14px;
}

.result .result-item {
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
  margin-top: 12px;
}

.result .label {
  color: var(--muted);
  margin-right: 6px;
}

.footer-space {
  height: 40px;
}

@media (max-width: 420px) {
  .container {
    width: 92vw;
  }
}
