:root {
  --cream: #fcfaf4;
  --paper: #fffdf8;
  --green: #48613a;
  --green-dark: #334b2e;
  --gold: #c99e2b;
  --ink: #333333;
  --muted: #62645f;
  --lavender: #b7abc8;
  --line: rgba(72, 97, 58, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans TC", sans-serif;
}

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(72, 97, 58, .12);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1440px, calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  white-space: nowrap;
}

.brand-images {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name-image {
  display: block;
  width: auto;
  height: 38px;
  max-width: min(420px, 34vw);
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: "LXGW WenKai TC", serif;
  font-size: 1.06rem;
}

.main-nav a {
  position: relative;
  padding: 28px 0 25px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 13px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px; height: 1px;
  margin: 6px auto;
  background: var(--green-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding: 58px 24px 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.98), rgba(252,250,244,.86) 48%, rgba(250,247,239,.96) 100%),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(128,118,96,.018) 7px 8px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.brand-heading {
  margin: 0;
  color: var(--green-dark);
  font-family: "LXGW WenKai TC", serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  letter-spacing: .08em;
}

h1 {
  margin: 18px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .08em;
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(340px, 80%);
  margin: 18px auto 8px;
  color: var(--gold);
}

.gold-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.gold-divider span:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.gold-divider b { font-size: 1.2rem; }

.intro {
  margin: 8px auto 22px;
  color: #42433f;
  font-family: "LXGW WenKai TC", serif;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.9;
}

.reminder-card {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 28px 50px 24px;
  border: 1px solid rgba(72, 97, 58, .10);
  border-radius: 22px;
  background: rgba(255,255,255,.80);
  box-shadow: 0 16px 38px rgba(86, 78, 62, .08);
  text-align: left;
}

.reminder-card h2 {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-family: "LXGW WenKai TC", serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  text-align: center;
  letter-spacing: .08em;
}

.reminder-card ol {
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.reminder-card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 11px 0;
  font-family: "LXGW WenKai TC", serif;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

.reminder-card li span {
  flex: 0 0 29px;
  width: 29px; height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: "Noto Sans TC", sans-serif;
  font-size: .9rem;
}

.notice {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(72,97,58,.15);
  color: var(--green-dark);
  font-size: .92rem;
  text-align: center;
}

.draw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: min(470px, 92vw);
  min-height: 76px;
  margin-top: 28px;
  padding: 0 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #71834b, #536b37);
  color: white;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: .06em;
  box-shadow: 0 14px 28px rgba(72,97,58,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.draw-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(72,97,58,.28);
}

.card-symbol {
  font-size: 2rem;
  transform: rotate(-8deg);
}

.site-footer {
  padding: 16px 20px 22px;
  border-top: 1px solid rgba(72,97,58,.14);
  background: var(--cream);
  color: #555851;
  text-align: center;
  font-family: "LXGW WenKai TC", serif;
  font-size: .92rem;
}

.botanical {
  position: absolute;
  z-index: 1;
  width: 170px;
  height: 520px;
  opacity: .42;
}

.botanical-left {
  left: 3%;
  bottom: 10px;
}

.botanical-right {
  right: 4%;
  bottom: 45px;
  transform: scaleX(-1);
  opacity: .25;
}

.stem {
  position: absolute;
  left: 82px;
  bottom: 0;
  width: 3px;
  height: 455px;
  border-radius: 100%;
  background: rgba(89,111,71,.42);
  transform: rotate(8deg);
}

.leaf {
  position: absolute;
  width: 68px;
  height: 28px;
  border: 1px solid rgba(89,111,71,.33);
  border-radius: 100% 0 100% 0;
  background: rgba(135,157,116,.12);
}

.l1 { left: 22px; bottom: 105px; transform: rotate(28deg); }
.l2 { left: 80px; bottom: 190px; transform: rotate(-32deg) scaleX(-1); }
.l3 { left: 18px; bottom: 285px; transform: rotate(36deg); }
.l4 { left: 77px; bottom: 365px; transform: rotate(-28deg) scaleX(-1); }

.flower {
  position: absolute;
  width: 16px; height: 28px;
  border-radius: 50%;
  background: rgba(159,139,189,.55);
  box-shadow:
    10px 20px 0 rgba(159,139,189,.45),
    -7px 40px 0 rgba(159,139,189,.38),
    6px 60px 0 rgba(159,139,189,.34);
}

.f1 { left: 69px; top: 26px; transform: rotate(-10deg); }
.f2 { left: 37px; top: 122px; transform: rotate(-18deg) scale(.8); }
.f3 { left: 105px; top: 188px; transform: rotate(14deg) scale(.72); }

.spark {
  position: absolute;
  z-index: 1;
  color: rgba(201,158,43,.62);
  font-size: 2rem;
}
.spark-1 { left: 16%; top: 22%; }
.spark-2 { right: 13%; top: 18%; font-size: 2.5rem; }
.spark-3 { right: 18%; top: 40%; font-size: 1.6rem; }

@media (max-width: 900px) {
  .header-inner {
    width: min(100% - 32px, 900px);
    min-height: 70px;
  }

  .brand-logo {
    height: 50px;
  }

  .brand-name-image {
    height: 33px;
    max-width: min(360px, 48vw);
  }

  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(255,253,248,.98);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .botanical {
    transform: scale(.72);
    transform-origin: bottom;
  }

  .botanical-left { left: -45px; }
  .botanical-right { right: -55px; transform: scale(-.72, .72); }
}

@media (max-width: 600px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    max-width: calc(100% - 54px);
    gap: 7px;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-name-image {
    height: 27px;
    max-width: min(250px, 58vw);
  }

  .hero {
    padding: 36px 14px 24px;
  }

  .brand-heading {
    font-size: 1.55rem;
  }

  h1 {
    margin-top: 12px;
    font-size: 3.15rem;
    letter-spacing: .04em;
  }

  .intro br { display: none; }

  .reminder-card {
    padding: 24px 20px 20px;
    border-radius: 18px;
  }

  .reminder-card li {
    gap: 10px;
    font-size: .98rem;
  }

  .reminder-card li span {
    flex-basis: 26px;
    width: 26px; height: 26px;
  }

  .draw-button {
    min-width: 100%;
    min-height: 66px;
    padding: 0 24px;
    font-size: 1.35rem;
  }

  .botanical { opacity: .16; }
  .spark { opacity: .35; }
  .site-footer { font-size: .78rem; }
}


/* V3.0 正式品牌與導流元件 */
.hero-brand-name{display:block;width:min(560px,78vw);height:auto;margin:0 auto 8px;object-fit:contain}
.site-footer{padding:36px 20px 26px;border-top:1px solid rgba(72,97,58,.14);background:var(--cream);text-align:center}
.footer-inner{width:min(1080px,100%);margin:auto}.footer-brand{display:inline-flex;align-items:center;justify-content:center;gap:14px}.footer-brand-logo{height:66px;width:auto;object-fit:contain}.footer-brand-name{height:38px;width:auto;max-width:min(430px,62vw);object-fit:contain}.footer-message{margin:16px auto 0;color:#5a5e56;font-family:"LXGW WenKai TC",serif;line-height:1.8}.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px;margin-top:20px}.footer-links a{padding:9px 15px;border:1px solid rgba(72,97,58,.25);border-radius:999px;background:rgba(255,255,255,.65);color:var(--green-dark);font-size:.9rem}.footer-links a.is-primary{color:#fff;background:var(--green);border-color:var(--green)}.footer-links a:hover,.footer-links a:focus-visible{transform:translateY(-1px)}.footer-copyright{margin:20px 0 0;color:#767970;font-size:.78rem}
@media(max-width:760px){.header-inner{width:min(100% - 28px,1440px)}.brand-logo{height:54px}.brand-name-image{height:31px;max-width:56vw}.hero-brand-name{width:min(390px,82vw)}.footer-brand-logo{height:52px}.footer-brand-name{height:29px;max-width:62vw}.footer-links{gap:8px}.footer-links a{padding:8px 12px;font-size:.82rem}}

.simple-page{min-height:100vh;display:grid;place-content:center;text-align:center;padding:32px}.simple-page h1{font-family:"Noto Serif TC",serif;color:var(--green-dark)}.simple-page p{color:var(--muted);line-height:1.8}.simple-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:22px}.simple-actions .draw-button{margin:0}
