:root {
  --pink: #ff94ba;
  --pink-soft: #ffe3ee;
  --blue: #1b2be0;
  --cream: #fff9f4;
  --green: #b9c486;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: "jf open 粉圓", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  color: var(--blue);
  background-color: var(--cream);
  background-image: radial-gradient(var(--pink-soft) 3px, transparent 3px);
  background-size: 34px 34px;
  line-height: 1.8;
}

img, video { max-width: 100%; display: block; }

nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 4px 16px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 3px solid var(--pink);
}
nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; }
nav a { color: var(--blue); text-decoration: none; font-weight: 700; }
nav a:hover { color: #d9487a; }
.brand { font-size: 1.2rem; }

.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 56px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 18px;
  padding: 40px 20px;
  text-align: center;
}
.face {
  width: min(320px, 62vw); aspect-ratio: 1;
  background: #fff; border: 5px solid var(--pink); border-radius: 50%;
  padding: 18px;
  position: relative;
}
.face img { width: 100%; height: 100%; object-fit: contain; }
.hero h1 { width: min(620px, 90vw); position: relative; }
.tag {
  position: relative;
  background: var(--blue); color: #fff;
  padding: 2px 22px; border-radius: 99px;
  font-weight: 700; letter-spacing: .3em; text-indent: .3em;
}
.button {
  position: relative;
  background: var(--pink); color: #fff; text-decoration: none; font-weight: 700;
  padding: 10px 30px; border-radius: 99px;
  border: 4px solid #fff; box-shadow: 0 4px 0 #e56a96;
}
.button:hover { transform: translateY(2px); box-shadow: 0 2px 0 #e56a96; }

.deco { position: absolute; left: var(--x); top: var(--y); width: var(--w); pointer-events: none; }
.float { animation: float 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

main { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }

h2 {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 2rem; margin-bottom: 24px;
}
h2 img { width: 60px; height: 60px; object-fit: contain; }
h3 { font-size: 1.4rem; margin-bottom: 8px; }
.lead { text-align: center; margin-bottom: 20px; }

.card {
  background: #fff; border: 4px solid var(--pink); border-radius: 28px;
  padding: 28px;
}
.card > * + * { margin-top: 14px; }

.todo { border: 2px dashed #8a93e8; border-radius: 12px; padding: 10px 14px; color: #5560b8; }

.video { padding: 12px; }
.video video { width: 100%; max-height: 75vh; border-radius: 18px; background: #000; }

.outfits img { margin: 0 auto; border-radius: 16px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
figure { background: #fff; padding: 12px 12px 8px; border-radius: 18px; border: 4px solid var(--green); }
figure button { display: block; width: 100%; border: 0; background: none; cursor: zoom-in; }
figure img { width: 100%; border-radius: 10px; }
figcaption { text-align: center; font-weight: 700; padding-top: 6px; }

.stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 18px; }
.stickers button {
  aspect-ratio: 1; padding: 6px;
  background: none; border: 0; cursor: pointer;
  transition: transform .15s;
}
.stickers img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(120, 60, 90, .25)); }
.stickers button:hover { transform: rotate(-8deg) scale(1.08); }
.stickers button.pop { animation: pop .45s ease; }
@keyframes pop {
  40% { transform: scale(1.35) rotate(10deg); }
  70% { transform: scale(.9) rotate(-6deg); }
}

footer { text-align: center; padding: 28px; background: var(--pink); color: #fff; font-weight: 700; }

dialog {
  margin: auto; border: 0; background: transparent;
  max-width: 95vw; max-height: 95vh;
}
dialog::backdrop { background: rgba(40, 20, 40, .85); }
dialog img { max-width: 92vw; max-height: 84vh; border-radius: 12px; }
dialog form { text-align: right; margin-bottom: 8px; }
dialog form button {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--blue); font-size: 1.1rem; cursor: pointer;
}

@media (max-width: 640px) {
  .deco { width: calc(var(--w) * .55); }
  .card { padding: 18px; }
  nav ul { gap: 4px 12px; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .stickers button.pop { animation: none; }
}
