:root {
  --ink: #14453e;
  --mint: #62d9c4;
  --mint-deep: #2f9e8c;
  --mint-pale: #d3f5ee;
  --pink: #ffb3d1;
  --pink-deep: #ff85b3;
  --lavender: #c6b6e8;
  --lavender-deep: #a892dd;
  --cream: #fdf3d9;
  --paper: #fbfaf3;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
}

h1, h2, h3 {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 900;
  margin: 0;
}

a { color: inherit; }

/* ---------- Top navigation ---------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--cream);
}

.topnav-logo {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--cream);
  font-size: 1rem;
  white-space: nowrap;
}

.topnav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--cream);
  color: var(--cream);
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.topnav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topnav-menu > li {
  position: relative;
}

.topnav-menu > li > a {
  display: block;
  padding: 9px 18px;
  text-decoration: none;
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.topnav-menu > li > a:hover,
.topnav-menu > li.active > a {
  background: var(--mint);
  color: var(--ink);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 8px;
  list-style: none;
  margin: 10px 0 0;
  box-shadow: 6px 6px 0 var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.topnav-menu > li.has-sub:hover .submenu,
.topnav-menu > li.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.submenu a:hover { background: var(--pink); }

@media (max-width: 780px) {
  .topnav-toggle { display: inline-block; }

  .topnav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 32px;
    gap: 2px;
    display: none;
    overflow-y: auto;
  }

  .topnav-menu.open { display: flex; }

  .topnav-menu > li > a { padding: 12px 8px; }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    margin: 0 0 8px 14px;
    padding: 0;
  }

  .submenu a { color: var(--cream); padding: 8px; }
  .submenu a:hover { background: rgba(255, 255, 255, 0.12); }
}

/* ---------- Hero (home page) ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  overflow: hidden;
  background: linear-gradient(200deg, #d7f7ef 0%, #7fe0cd 45%, #3fb9a6 100%);
}

.hero::before,
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(253, 243, 217, 0.55) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.deco {
  position: absolute;
  font-size: 2.2rem;
  color: var(--cream);
  opacity: 0.85;
  filter: drop-shadow(0 2px 0 rgba(20, 69, 62, 0.25));
  pointer-events: none;
  z-index: 1;
}

.deco-star1 { top: 12%; left: 8%; font-size: 2.6rem; color: var(--pink); }
.deco-star2 { top: 22%; right: 12%; font-size: 1.8rem; color: var(--cream); }
.deco-star3 { bottom: 18%; left: 14%; font-size: 2rem; color: var(--lavender); }
.deco-heart1 { top: 16%; right: 22%; color: var(--pink-deep); font-size: 2rem; }
.deco-heart2 { bottom: 24%; right: 10%; color: var(--pink); font-size: 1.6rem; }
.deco-glasses { top: 30%; left: 18%; font-size: 2.6rem; opacity: 0.9; }
.deco-camera { bottom: 14%; right: 20%; font-size: 2.4rem; opacity: 0.9; }

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 24px 64px;
}

.hero-eyebrow {
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.65;
  margin-bottom: 24px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.badge {
  display: inline-block;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 12px 32px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.badge-pink {
  background: var(--pink);
  color: var(--paper);
  -webkit-text-stroke: 1px var(--ink);
}

.badge-mint {
  background: var(--paper);
  color: var(--mint-deep);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.tag {
  background: var(--cream);
  border: 2.5px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.tag-alt { background: var(--lavender); }

.hero-cta {
  text-decoration: none;
  background: var(--ink);
  color: var(--cream);
  border: 2.5px solid var(--ink);
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: transform 0.15s ease;
}

.hero-cta:hover { transform: translateY(-2px); }

/* ---------- Page banner (sub pages) ---------- */

.page-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 24px 48px;
  color: var(--ink);
  background: linear-gradient(200deg, #d7f7ef 0%, #7fe0cd 45%, #3fb9a6 100%);
}

.page-banner-inner { position: relative; z-index: 2; }

.page-banner h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin: 8px 0 0;
}

/* ---------- Sub tabs (in-page section nav) ---------- */

.subtabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
  position: relative;
  z-index: 2;
}

.subtabs a {
  text-decoration: none;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.9rem;
  transition: transform 0.15s ease;
}

.subtabs a:hover { background: var(--mint); transform: translate(-1px, -1px); }

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(56px, 9vw, 110px) 24px; }

.section-inner { max-width: var(--max-width); margin: 0 auto; }

.pill-label {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  padding: 6px 20px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  margin-bottom: 20px;
}

.pill-pink { background: var(--pink); color: var(--ink); }
.pill-mint { background: var(--mint); color: var(--ink); }
.pill-lavender { background: var(--lavender); color: var(--ink); }

.section h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 24px; }

.section + .section { border-top: 3px solid var(--ink); }

.bg-pale { background: var(--mint-pale); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }

.dotted {
  background-image: radial-gradient(rgba(98, 217, 196, 0.25) 1.6px, transparent 1.6px);
  background-size: 24px 24px;
}

.lead {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--ink);
}

/* ---------- Highlight / feature cards ---------- */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 12px;
}

.highlight-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.15s ease;
}

.highlight-card:hover { transform: translate(-2px, -2px); }

.card-pink { background: var(--pink); }
.card-mint { background: var(--mint); }
.card-lavender { background: var(--lavender); }

.highlight-icon { display: block; font-size: 2.2rem; margin-bottom: 14px; }

.highlight-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--ink); }

.highlight-card p { margin: 0; font-size: 0.95rem; color: var(--ink); opacity: 0.85; }

/* ---------- Info blocks / map ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.info-block {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 5px 5px 0 var(--ink);
}

.info-block h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mint-deep);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.info-value { font-size: 1.3rem; font-weight: 900; margin: 0; color: var(--ink); }

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Video ---------- */

.video-frame {
  position: relative;
  padding-top: 56.25%;
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--ink);
}

.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 700;
  text-align: center;
  padding: 24px;
}

.video-placeholder .icon { font-size: 2.4rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.step-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 5px 5px 0 var(--ink);
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink);
  border: 2.5px solid var(--ink);
  font-weight: 900;
  margin-bottom: 14px;
}

.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { margin: 0; font-size: 0.9rem; opacity: 0.85; }

/* ---------- Shop cards ---------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.shop-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 5px 5px 0 var(--ink);
}

.shop-card h3 { font-size: 1.05rem; margin-bottom: 6px; }

.shop-addr { font-size: 0.88rem; opacity: 0.75; margin: 0 0 10px; }

.shop-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--mint);
  border: 1.5px solid var(--ink);
}

/* ---------- Winners table ---------- */

.winners-month { font-size: 1.1rem; font-weight: 800; margin: 0 0 4px; }

.winners-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 24px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
}

.winners-table th, .winners-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid rgba(20, 69, 62, 0.12);
  font-size: 0.95rem;
}

.winners-table th { background: var(--mint); font-weight: 800; }

.winners-table tr:last-child td { border-bottom: none; }

/* ---------- Misc ---------- */

.note-box {
  background: var(--cream);
  border: 2.5px dashed var(--ink);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 0.9rem;
  margin-top: 24px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 44px 24px;
  font-size: 0.9rem;
}

.footer-badge {
  display: inline-block;
  background: var(--pink);
  color: var(--ink);
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 999px;
  border: 2px solid var(--cream);
  margin-bottom: 10px;
}

.footer-dates { opacity: 0.75; font-size: 0.85rem; margin: 8px 0 0; }
