:root {
  --page-background: #f1ebe1;
  --page-foreground: #18253d;
  --muted-foreground: #68758a;
  --card-background: #fbf7f0;
  --card-border: rgba(24, 37, 61, 0.08);
  --card-shadow: 0 24px 64px rgba(24, 37, 61, 0.12);
  --star-idle: #d4cab8;
  --star-active: #f0b429;
  --star-glow: rgba(240, 180, 41, 0.26);
  --input-background: #fffdf8;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.82), transparent 42%),
    linear-gradient(180deg, #f4eee5 0%, var(--page-background) 100%);
  color: var(--page-foreground);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
textarea {
  font: inherit;
}

.about-page {
  width: min(920px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.about-page > .app-menu-bar {
  margin-bottom: 18px;
}

.about-card {
  padding: 38px;
  border: 1px solid var(--card-border);
  border-radius: 32px;
  background: var(--card-background);
  box-shadow: var(--card-shadow);
}

.about-header {
  max-width: 720px;
}

.about-eyebrow {
  margin: 0 0 12px;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.about-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
}

.about-intro {
  margin: 18px 0 0;
  color: var(--muted-foreground);
  font-size: 1.04rem;
  line-height: 1.8;
}

.rating-panel,
.feedback-panel {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid rgba(24, 37, 61, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.36rem;
}

.panel-copy {
  margin: 10px 0 0;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.star-rating {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.star-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--star-idle);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, color 140ms ease, text-shadow 140ms ease;
}

.star-button:hover {
  transform: translateY(-2px) scale(1.03);
}

.star-button.is-active {
  color: var(--star-active);
  text-shadow: 0 0 18px var(--star-glow);
}

.star-button:focus-visible {
  outline: 2px solid rgba(24, 37, 61, 0.3);
  outline-offset: 6px;
  border-radius: 10px;
}

.rating-text {
  margin: 16px 0 0;
  color: var(--muted-foreground);
  font-weight: 600;
}

.feedback-label {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.feedback-input {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(24, 37, 61, 0.12);
  border-radius: 18px;
  background: var(--input-background);
  color: var(--page-foreground);
  line-height: 1.7;
  resize: vertical;
  min-height: 180px;
}

.feedback-input:focus {
  outline: 2px solid rgba(24, 37, 61, 0.16);
  border-color: rgba(24, 37, 61, 0.16);
}

@media (max-width: 720px) {
  .about-page {
    width: min(920px, calc(100vw - 24px));
    padding: 24px 0 40px;
  }

  .about-card {
    padding: 22px;
    border-radius: 24px;
  }

  .rating-panel,
  .feedback-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .star-rating {
    gap: 4px;
    justify-content: space-between;
  }
}
