@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700&family=Noto+Sans+TC:wght@500;600;700;800&display=swap');

:root {
  --cream: #fffaf0;
  --sand: #f7e8c8;
  --gold: #d69d42;
  --gold-deep: #b97524;
  --ink: #33291f;
  --muted: #7c6d5e;
  --white: #fff;
  --line: rgba(76, 54, 31, .12);
  --shadow: 0 14px 38px rgba(92, 62, 25, .12);
}

* { box-sizing: border-box; }

html { background: var(--cream); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(241, 200, 124, .42), transparent 31rem),
    linear-gradient(180deg, #fffaf1 0%, #f8f1e6 100%);
}

a { color: inherit; }

.page-shell {
  position: relative;
  width: min(100% - 32px, 620px);
  margin: 0 auto;
  padding: 54px 0 34px;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
  z-index: 0;
}

.blob-one {
  width: 180px;
  height: 180px;
  right: -110px;
  top: 190px;
  background: rgba(216, 163, 82, .12);
}

.blob-two {
  width: 130px;
  height: 130px;
  left: -88px;
  top: 490px;
  background: rgba(255, 255, 255, .7);
}

.profile,
.links,
footer { position: relative; z-index: 1; }

.profile {
  text-align: center;
  margin-bottom: 30px;
}

.avatar {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e7b75e, #c88d30);
  border: 5px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}

.dog-face {
  position: relative;
  width: 65px;
  height: 60px;
  background: #efc46f;
  border-radius: 45% 45% 48% 48%;
}

.ear {
  position: absolute;
  width: 21px;
  height: 35px;
  top: 2px;
  background: #c98930;
  border-radius: 75% 35% 70% 60%;
}

.ear-left { left: -11px; transform: rotate(18deg); }
.ear-right { right: -11px; transform: scaleX(-1) rotate(18deg); }

.eye {
  position: absolute;
  width: 6px;
  height: 7px;
  top: 24px;
  border-radius: 50%;
  background: #3d2c1f;
}
.eye-left { left: 17px; }
.eye-right { right: 17px; }

.muzzle {
  position: absolute;
  width: 32px;
  height: 22px;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  background: #f8d996;
  border-radius: 50%;
}

.nose {
  position: absolute;
  width: 10px;
  height: 7px;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: #35271f;
  border-radius: 60% 60% 50% 50%;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

h1 {
  margin: 0;
  font-size: clamp(29px, 7vw, 42px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.intro {
  margin: 11px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.links {
  display: grid;
  gap: 14px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  align-items: center;
  min-height: 132px;
  padding: 19px;
  border-radius: 26px;
  text-decoration: none;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(92,62,25,.17);
  outline: none;
}

.link-card.featured {
  background: linear-gradient(135deg, #e8b55c 0%, #cf8e30 100%);
  color: #2c2117;
  border: none;
}

.link-card.dark {
  background: #33291f;
  color: #fff8e9;
  border-color: #33291f;
}

.card-topline {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  color: #624218;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.badge.light {
  color: var(--gold-deep);
  background: #fff5df;
}

.dark-badge {
  color: #f7d896;
  background: rgba(255,255,255,.09);
}

.arrow {
  font-size: 20px;
  line-height: 1;
  opacity: .72;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.6);
  font-weight: 900;
  font-size: 20px;
}

.card-icon.soft {
  background: #f7ead3;
  color: #9c6826;
}

.dark-icon {
  color: #36271c;
  background: #e4b55f;
}

.card-copy {
  min-width: 0;
  margin-top: 25px;
}

.card-copy h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.card-copy p {
  margin: 0;
  color: inherit;
  opacity: .7;
  font-size: 13px;
  line-height: 1.55;
}

.coupon {
  position: absolute;
  right: 18px;
  bottom: 15px;
  padding: 6px 9px;
  border: 1px dashed #d2a45d;
  border-radius: 9px;
  color: #9e6c29;
  background: #fffaf1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

footer {
  text-align: center;
  padding: 26px 10px 4px;
  color: #918273;
  font-size: 12px;
}

footer p { margin: 0 0 5px; }

footer a {
  color: #72563a;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 430px) {
  .page-shell {
    width: min(100% - 24px, 620px);
    padding-top: 38px;
  }

  .link-card {
    min-height: 126px;
    border-radius: 23px;
    padding: 17px;
  }

  .card-copy h2 { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
