:root {
  --blue-950: #06183c;
  --blue-900: #08245d;
  --blue-800: #0b3f96;
  --blue-700: #0f58db;
  --blue-600: #1f70ff;
  --blue-500: #2f84ff;
  --blue-100: #dcecff;
  --blue-050: #f4f9ff;
  --gold: #ffd75e;
  --pink: #ff9fb2;
  --text: #10244f;
  --muted: #62708c;
  --line: #cfdef7;
  --card: rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(68, 151, 255, 0.28), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(122, 190, 255, 0.35), transparent 35%),
    linear-gradient(135deg, #f8fcff 0%, #e8f4ff 45%, #f9fcff 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  inset: 0;
  background:
    linear-gradient(118deg, rgba(255,255,255,0.44) 0 23%, transparent 23% 100%),
    repeating-linear-gradient(135deg, rgba(31, 99, 255, 0.04) 0 1px, transparent 1px 20px);
}

body::after {
  right: -6vw;
  bottom: -8vh;
  width: min(520px, 45vw);
  height: min(520px, 45vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(68, 137, 255, 0.16), transparent 70%);
  filter: blur(2px);
}

.landing-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.landing-page::before,
.landing-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

.landing-page::before {
  left: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background:
    radial-gradient(circle at 35% 35%, rgba(81, 153, 38, 0.28) 0 6%, transparent 7% 100%),
    radial-gradient(circle at 60% 45%, rgba(81, 153, 38, 0.22) 0 8%, transparent 9% 100%),
    radial-gradient(circle at 44% 70%, rgba(81, 153, 38, 0.20) 0 7%, transparent 8% 100%);
  filter: blur(4px);
}

.landing-page::after {
  right: -110px;
  bottom: -110px;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle at 40% 40%, rgba(81, 153, 38, 0.26) 0 8%, transparent 9% 100%),
    radial-gradient(circle at 64% 58%, rgba(81, 153, 38, 0.23) 0 7%, transparent 8% 100%);
  filter: blur(5px);
}

.bg-wordmark {
  position: fixed;
  z-index: 0;
  color: rgba(15, 70, 150, 0.56);
  pointer-events: none;
  user-select: none;
}

.bg-left {
  left: clamp(18px, 4vw, 90px);
  top: 30%;
  display: grid;
  gap: 12px;
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: clamp(22px, 2.5vw, 34px);
}

.bg-left i {
  display: block;
  width: 1px;
  height: 90px;
  background: rgba(15, 70, 150, 0.55);
  margin: 16px auto;
}

.bg-left small {
  writing-mode: horizontal-tb;
  letter-spacing: 0.42em;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(70, 94, 130, 0.52);
}

.bg-right {
  right: clamp(18px, 5vw, 90px);
  top: clamp(34px, 6vw, 78px);
  display: grid;
  gap: 8px;
  transform: rotate(-10deg);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: clamp(18px, 2vw, 28px);
}

.bg-right i {
  display: block;
  width: 150px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-500), transparent);
}

.landing-card {
  position: relative;
  width: min(1120px, 100%);
  border: 1px solid rgba(161, 199, 255, 0.82);
  border-radius: clamp(28px, 3vw, 40px);
  background:
    radial-gradient(circle at 86% 44%, rgba(220, 236, 255, 0.78), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.90));
  box-shadow:
    0 30px 80px rgba(32, 89, 160, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
  padding: clamp(26px, 5vw, 70px);
  overflow: hidden;
}

.landing-card::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 420px;
  height: 320px;
  opacity: 0.5;
  background:
    linear-gradient(150deg, transparent 0 34%, rgba(126, 185, 255, 0.28) 35% 100%),
    radial-gradient(circle at 72% 50%, rgba(76, 138, 214, 0.18), transparent 54%);
  border-radius: 44% 0 0 0;
  pointer-events: none;
}

.hero-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(110px, 15vw, 160px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  width: min(820px, 100%);
  margin: 0 auto clamp(30px, 5vw, 48px);
}

.school-logo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(6, 26, 68, 0.12));
}

.hero-title {
  text-align: center;
}

.eyebrow {
  color: var(--blue-600);
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: clamp(14px, 1.6vw, 21px);
  line-height: 1.25;
  margin-bottom: 10px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--blue-950);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.05;
  text-shadow: 0 5px 18px rgba(8, 36, 93, 0.08);
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(460px, 92%);
  margin: clamp(14px, 2vw, 20px) auto clamp(14px, 2vw, 22px);
}

.title-divider span {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
}

.title-divider b {
  color: var(--blue-600);
  font-size: 20px;
  line-height: 1;
}

.hero-title p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.support-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: clamp(16px, 4vw, 38px);
  align-items: center;
  margin: clamp(18px, 3vw, 34px) 0 clamp(24px, 4vw, 40px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #edf6ff, #dcecff);
  border: 1px solid rgba(112, 169, 255, 0.35);
  color: var(--blue-700);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 24px rgba(31, 112, 255, 0.08);
}

.pill span {
  color: var(--blue-600);
}

.support-copy h2 {
  margin: clamp(16px, 2vw, 22px) 0 clamp(12px, 1.6vw, 18px);
  color: var(--blue-950);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.18;
  letter-spacing: 0.03em;
}

.support-copy h2::after {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.support-copy p {
  max-width: 680px;
  margin: 0;
  color: #50617f;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.78;
  letter-spacing: 0.04em;
}

.heart-art {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.main-heart {
  position: relative;
  z-index: 2;
  color: rgba(255, 143, 165, 0.82);
  font-size: clamp(96px, 13vw, 158px);
  line-height: 1;
  filter: drop-shadow(0 18px 28px rgba(255, 111, 140, 0.20));
}

.heart-art::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 55% 45% 54% 46%;
  background: radial-gradient(circle at 45% 34%, rgba(255,255,255,0.86), rgba(255,165,185,0.25) 42%, transparent 70%);
  z-index: 1;
}

.hands {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 190px;
  height: 86px;
  transform: translateX(-50%);
  z-index: 1;
}

.hands span {
  position: absolute;
  bottom: 0;
  width: 82px;
  height: 82px;
  border: 10px solid rgba(133, 182, 244, 0.38);
  border-top: 0;
  border-radius: 0 0 70px 70px;
}

.hands span:first-child {
  left: 8px;
  transform: rotate(30deg);
  border-right: 0;
}

.hands span:last-child {
  right: 8px;
  transform: rotate(-30deg);
  border-left: 0;
}

.mini-heart {
  position: absolute;
  color: rgba(255, 148, 170, 0.58);
  font-size: 30px;
  z-index: 3;
}

.mini-heart.h1 {
  left: 16%;
  top: 22%;
}

.mini-heart.h2 {
  right: 14%;
  top: 16%;
}

.heart-art p {
  position: absolute;
  right: 0;
  bottom: 12px;
  margin: 0;
  color: var(--blue-800);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.5;
  transform: rotate(-8deg);
}

.heart-art p::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--blue-500);
}

.primary-donate-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 28px);
  width: min(860px, 100%);
  min-height: clamp(96px, 11vw, 132px);
  margin: 0 auto;
  border-radius: clamp(20px, 2vw, 28px);
  color: white;
  text-decoration: none;
  background:
    radial-gradient(circle at 15% 18%, rgba(70, 206, 255, 0.45), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(91, 150, 255, 0.48), transparent 34%),
    linear-gradient(135deg, #12a8ff 0%, #1f70ff 38%, #0642c8 100%);
  box-shadow:
    0 22px 42px rgba(0, 84, 210, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.28);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.primary-donate-button::before {
  content: "";
  position: absolute;
  inset: 40% -8% -55% -8%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.16), transparent 68%);
  transform: rotate(-3deg);
}

.primary-donate-button:hover,
.primary-donate-button:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.06);
  box-shadow:
    0 30px 60px rgba(0, 84, 210, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.34);
  outline: none;
}

.primary-donate-button span {
  position: relative;
  z-index: 1;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}

.primary-donate-button b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(52px, 6vw, 66px);
  height: clamp(52px, 6vw, 66px);
  border-radius: 50%;
  color: var(--blue-800);
  background: radial-gradient(circle at 35% 28%, #fff7b8, var(--gold));
  font-size: clamp(30px, 4vw, 44px);
  font-style: normal;
  box-shadow: 0 10px 22px rgba(255, 198, 47, 0.34);
}

.feature-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(900px, 100%);
  margin: clamp(30px, 5vw, 46px) auto 0;
  border-radius: 22px;
}

.feature-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 8px clamp(8px, 2vw, 30px);
}

.feature-card + .feature-card {
  border-left: 1px solid rgba(136, 163, 201, 0.42);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 70px);
  height: clamp(58px, 6vw, 70px);
  border-radius: 50%;
  background: linear-gradient(180deg, #eaf4ff, #dcecff);
  color: var(--blue-600);
  font-size: clamp(24px, 2.6vw, 32px);
  box-shadow: inset 0 1px 0 white;
}

.feature-card h3 {
  margin: 4px 0 0;
  color: var(--blue-950);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: #6b7892;
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 1.45;
}

.landing-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: clamp(30px, 5vw, 46px);
  color: #64748f;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.landing-footer span {
  display: block;
  width: min(120px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 117, 180, 0.62), transparent);
}

.landing-footer p {
  margin: 0;
  font-size: clamp(14px, 1.7vw, 18px);
}

/* 平板 */
@media (max-width: 920px) {
  .landing-page {
    padding: 18px;
  }

  .bg-wordmark {
    display: none;
  }

  .landing-card {
    padding: clamp(24px, 6vw, 44px);
  }

  .hero-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 28px;
  }

  .school-logo {
    max-width: 132px;
  }

  .support-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .support-copy h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .support-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .heart-art {
    min-height: 190px;
  }

  .heart-art p {
    right: 10%;
  }

  .primary-donate-button {
    min-height: 104px;
  }
}

/* 手機 */
@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 15% 0%, rgba(91, 165, 255, 0.32), transparent 34%),
      linear-gradient(180deg, #eef7ff 0%, #ffffff 50%, #eaf5ff 100%);
  }

  .landing-page {
    min-height: 100svh;
    padding: 14px;
    place-items: start center;
  }

  .landing-card {
    width: 100%;
    border-radius: 30px;
    padding: 26px 20px 24px;
  }

  .school-logo {
    max-width: 108px;
  }

  .eyebrow {
    font-size: 14px;
    letter-spacing: 0.13em;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: 0.02em;
  }

  .title-divider {
    margin: 14px auto 16px;
    gap: 12px;
  }

  .hero-title p {
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
  }

  .support-hero {
    text-align: left;
    margin-top: 24px;
  }

  .pill {
    font-size: 17px;
    padding: 8px 16px;
  }

  .support-copy h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.22;
  }

  .support-copy p {
    font-size: 17px;
    line-height: 1.75;
  }

  .heart-art {
    min-height: 160px;
    margin-top: -4px;
  }

  .main-heart {
    font-size: 104px;
  }

  .heart-art::before {
    width: 160px;
    height: 160px;
  }

  .hands {
    bottom: 16px;
    transform: translateX(-50%) scale(0.78);
  }

  .heart-art p {
    right: 4px;
    bottom: 4px;
    font-size: 18px;
  }

  .primary-donate-button {
    min-height: 82px;
    border-radius: 20px;
    gap: 12px;
  }

  .primary-donate-button span {
    font-size: clamp(34px, 12vw, 48px);
  }

  .primary-donate-button b {
    width: 48px;
    height: 48px;
    font-size: 30px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
  }

  .feature-card {
    grid-template-columns: 58px 1fr;
    grid-template-areas:
      "icon title"
      "icon desc";
    justify-items: start;
    text-align: left;
    padding: 14px 16px;
    border: 1px solid rgba(136, 163, 201, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
  }

  .feature-card + .feature-card {
    border-left: 1px solid rgba(136, 163, 201, 0.28);
  }

  .feature-icon {
    grid-area: icon;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .feature-card h3 {
    grid-area: title;
    margin: 2px 0 0;
    font-size: 20px;
  }

  .feature-card p {
    grid-area: desc;
    font-size: 15px;
  }

  .landing-footer {
    gap: 12px;
    margin-top: 24px;
    letter-spacing: 0.05em;
  }

  .landing-footer span {
    width: 56px;
  }

  .landing-footer p {
    font-size: 14px;
  }
}

/* 很窄的手機 */
@media (max-width: 380px) {
  .landing-card {
    padding: 22px 16px;
  }

  h1 {
    font-size: 40px;
  }

  .support-copy h2 {
    font-size: 29px;
  }

  .primary-donate-button span {
    font-size: 34px;
  }

  .primary-donate-button b {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
}
