@import url('https://fonts.googleapis.com/css2?family=Chiron+GoRound+TC:wght@200..900&family=Dela+Gothic+One&family=Kiwi+Maru&family=Mochiy+Pop+P+One&family=Noto+Sans+TC:wght@100..900&display=swap');

:root {
  --yellow:   #FFE14D;
  --orange:   #FF6B35;
  --pink:     #FF4EA1;
  --green:    #74c000;
  --teal:     #00C9A7;
  --purple:   #7B5EA7;
  --cream:    #FFF8F0;
  --dark:     #2B2440;
  --shadow:   4px 6px 0px var(--dark);
  --shadow-lg: 6px 8px 0px var(--dark);
  --radius:   20px;
  --radius-lg: 32px;
}

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

body {
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei' sans-serif;
  background-color: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,225,77,0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255,78,161,0.15) 0%, transparent 40%),
    radial-gradient(circle at 60% 40%, rgba(0,201,167,0.12) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

header {
  background: var(--yellow);
  border-bottom: 3px solid var(--dark);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 0 var(--dark);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Dela Gothic One', cursive;
  font-size: 1.9rem;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.nav-logo .emoji { font-size: 2rem; animation: wiggle 2s infinite; }

@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(5deg); }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 50px;
  border: 2.5px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover {
  background: var(--dark);
  color: var(--yellow);
  border-color: var(--dark);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 2rem 3rem;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 200;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  border: 2.5px solid var(--dark);
  box-shadow: 3px 3px 0 var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  animation: bounceIn 0.6s ease;
}

.hero h1 {
  font-family: 'Mochiy Pop P One', cursive;
  font-size: clamp(2.1rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 3;
  color: var(--dark);
  margin-bottom: 1rem;
  animation: slideUp 0.7s ease both;
}

.hero h1 span {  font-size: 110%;font-weight: 500; color: var(--green); }

.hero p {
  font-size: 1.15rem;
  font-weight: 500;
  color: #5a5075;
  max-width: 670px;
  margin: 0 auto 2rem;
  animation: slideUp 0.8s ease both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.category-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 2rem 3rem;
}

.cat {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Mochiy Pop P One';
  font-weight: 200;
  font-size: 0.95rem;
  padding: 9px 22px;
  border-radius: 50px;
  border: 2.5px solid var(--dark);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  color: var(--dark);
  user-select: none;
}

.cat-tag:hover {
  transform: translate(-2px, -4px);
  box-shadow: var(--shadow-lg);
}

.cat-radio:checked + .cat-tag {
  transform: translate(2px, 3px);
  box-shadow: 2px 3px 0 var(--dark);
  outline: 3px solid var(--dark);
  outline-offset: 2px;
}

.cat-tag.c1 { background: var(--yellow); }
.cat-tag.c2 { background: var(--orange); color: #fff; }
.cat-tag.c3 { background: var(--pink);   color: #fff; }
.cat-tag.c4 { background: var(--teal);   color: #fff; }

.section-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei';
  font-size: 38px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 3px;
  background: var(--dark);
  border-radius: 99px;
}

.stores-grid {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.store-card {
  border-radius: var(--radius-lg);
  border: 3px solid var(--dark);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 0.22s, box-shadow 0.22s;
  cursor: pointer;
}

.store-card:hover {
  transform: translate(-4px, -6px);
  box-shadow: 10px 14px 0 var(--dark);
}

.store-card iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
  pointer-events: none;
  transition: pointer-events 0s;
}

.store-card:focus-within iframe,
.store-card.active iframe {
  pointer-events: auto;
}

.store-card-footer {
  padding: 14px 20px;
  border-top: 2.5px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--yellow);
}

.store-card-footer .store-name {
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei';
  font-size: 1.25rem;
}

.btn-visit {
  font-weight: 800;
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei';
  font-size: 0.88rem;
  padding: 7px 18px;
  border-radius: 50px;
  border: 2.5px solid var(--dark);
  box-shadow: 3px 3px 0 var(--dark);
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-visit:hover {
  transform: translate(-1px, -2px);
  box-shadow: 4px 5px 0 var(--dark);
}

.feature-banner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.banner-inner {
  background: var(--teal);
  border: 3px solid var(--dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner-inner h2 {
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei';
  font-weight: 500;
  font-size: 2rem;
  color: #2B2440;
}

.banner-inner p {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  margin-top: 6px;
  max-width: 380px;
  color: #5a5075;
}

footer {
  position: relative;
  z-index: 1;
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 2.5rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

footer a { color: var(--yellow); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-emoji { font-size: 1.8rem; font-weight: 200; margin-bottom: 0.5rem; display: block; }


.store-page {
  font-family: 'Nunito', sans-serif;
  background: #fff;
  color: var(--dark);
  padding: 0;
}

.store-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.store-hero-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.store-content { padding: 1.5rem; }

.store-content h2 {
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei';
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.meta-chip {
  font-size: 0.8rem;
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei';
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  border: 2px solid var(--dark);
}

.meta-chip.type  { background: var(--yellow); }
.meta-chip.price { background: var(--teal);  color:#fff; }
.meta-chip.stars { background: var(--orange); color:#fff; }

.store-content p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #5a5075;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.store-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-info-list li {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.store-info-list li span.icon { flex-shrink: 0; }

.store-menu-title {
  font-family: 'Mochiy Pop P One', 'Microsoft JhengHei';
  font-size: 1.1rem;
  font-weight: 200;
  margin: 1.2rem 0 0.6rem;
  color: var(--orange);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.menu-item {
  background: var(--cream);
  border: 2px solid var(--dark);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.menu-item .price { color: var(--pink); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .stores-grid { grid-template-columns: 1fr; }
  .banner-inner { flex-direction: column; text-align: center; }
}
