:root {
  --ink: #3a2d3f;
  --muted: #7a6a7e;
  --cream: #fff8f0;
  --card: #ffffff;
  --pink: #ff6f91;
  --coral: #ff8a7a;
  --soft-pink: #ffd1e3;
  --soft-yellow: #fff0a8;
  --soft-blue: #dff6ff;
  --soft-mint: #d8f5e8;
  --shadow: 0 8px 24px rgba(58, 45, 63, 0.1);
  --radius: 22px;
  --safeT: env(safe-area-inset-top, 0px);
  --safeB: env(safe-area-inset-bottom, 0px);
  --safeL: env(safe-area-inset-left, 0px);
  --safeR: env(safe-area-inset-right, 0px);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "PingFang HK", "PingFang TC", "Noto Sans TC", "Helvetica Neue",
    system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(165deg, #ffe3ef 0%, var(--cream) 42%, #dff6ff 100%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg i {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(2px);
}

.bg i:nth-child(1) {
  width: 42vmin;
  height: 42vmin;
  left: -12vmin;
  top: 6%;
  background: var(--soft-pink);
}

.bg i:nth-child(2) {
  width: 28vmin;
  height: 28vmin;
  right: -8vmin;
  top: 18%;
  background: var(--soft-blue);
}

.bg i:nth-child(3) {
  width: 34vmin;
  height: 34vmin;
  left: 20%;
  bottom: -10vmin;
  background: var(--soft-yellow);
}

.bg i:nth-child(4) {
  width: 18vmin;
  height: 18vmin;
  right: 18%;
  bottom: 12%;
  background: var(--soft-mint);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: calc(var(--safeT) + 28px) calc(var(--safeL) + 18px)
    calc(var(--safeB) + 28px) calc(var(--safeR) + 18px);
}

.hero {
  text-align: center;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 900;
  color: #ff4d8d;
  text-shadow: 0 3px 0 #fff;
  letter-spacing: 0.02em;
}

.sub {
  margin: 10px 0 0;
  font-size: clamp(15px, 3.8vw, 17px);
  color: var(--muted);
  font-weight: 600;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 16px 16px 14px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 209, 227, 0.7);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
}

.card:active {
  transform: scale(0.98);
}

.card:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: linear-gradient(160deg, #fff6fb, #fff0d8);
  box-shadow: inset 0 0 0 2px rgba(255, 111, 145, 0.12);
}

.card:nth-child(2) .icon {
  background: linear-gradient(160deg, #fff8e8, #e8f8ff);
}

.card:nth-child(3) .icon {
  background: linear-gradient(160deg, #eef8ff, #f3fff6);
}

.card:nth-child(4) .icon {
  background: linear-gradient(160deg, #fff5e8, #ffe8f0);
}

.card:nth-child(5) .icon {
  background: linear-gradient(160deg, #f0f4ff, #fff0f4);
}

.body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.title {
  font-size: clamp(18px, 4.6vw, 21px);
  font-weight: 900;
  line-height: 1.25;
}

.desc {
  font-size: clamp(13px, 3.4vw, 15px);
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}

.chev {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--pink);
  background: #fff0f5;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #8a7a55;
  background: #fff3c4;
  border: 1px solid #f0df8a;
  white-space: nowrap;
}

.card.pending {
  opacity: 0.72;
  border-style: dashed;
  border-color: #e8d9c0;
  background: #fffcf6;
  cursor: default;
}

.card.pending .chev {
  color: #b5a48a;
  background: #f5efe3;
}

.card.pending .icon {
  filter: grayscale(0.25);
}

.foot {
  margin-top: 26px;
  text-align: center;
}

.foot p {
  margin: 0;
  font-size: 12px;
  color: #a090a4;
  font-weight: 600;
}

@media (min-width: 600px) {
  .card:hover:not(.pending) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(58, 45, 63, 0.14);
  }
}
