/* ===== SECTION COMMON ===== */
.section {
  padding: 7rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brand-green);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brand-green);
}

.section-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-dark);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--brand-muted);
  max-width: 600px;
  font-weight: 300;
}

/* ===== PHILOSOPHY STRIP ===== */
.philosophy {
  background: var(--brand-green);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle, #fff 1px, transparent 0);
  background-size: 32px 32px;
}

.philosophy-quote {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.philosophy-sub {
  font-size: 0.95rem;
  opacity: 0.7;
  letter-spacing: 0.1em;
  font-weight: 300;
}

/* ===== SIGNATURE PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(60, 105, 50, 0.12);
}

.product-card-image {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.product-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(60, 105, 50, 0.06) 0%, transparent 70%);
}

.product-card-image img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-card-image img {
  transform: scale(1.08) rotate(2deg);
}

.product-card-info {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}

.product-card-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--brand-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-card-price {
  font-size: 0.9rem;
  color: var(--brand-green);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.product-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-green);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===== FULL MENU ===== */
.menu-section {
  background: #fff;
  padding: 7rem 0;
}

.menu-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.menu-categories {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 3rem 0 2.5rem;
  justify-content: center;
}

.menu-cat-btn {
  padding: 0.6rem 1.5rem;
  border: 1.5px solid var(--brand-green-pale);
  background: transparent;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-text);
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Noto Sans TC', sans-serif;
}

.menu-cat-btn:hover,
.menu-cat-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: #f0ede8;
  border-radius: 16px;
  overflow: hidden;
}

.menu-item {
  background: #fff;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.menu-item:hover {
  background: var(--brand-cream);
}

.menu-item-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brand-dark);
}

.menu-item-name .hot-tag {
  font-size: 0.75rem;
  background: #B8432A;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
}

.menu-item-prices {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

.menu-item-prices .price-label {
  font-size: 0.75rem;
  color: var(--brand-green-light);
}

.menu-item-prices .price-value {
  font-weight: 600;
  color: var(--brand-green);
}

.menu-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

/* ===== BRAND STORY ===== */
.story-section {
  background: var(--brand-warm);
  padding: 7rem 0;
  overflow: hidden;
}

.story-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}

.story-images {
  position: relative;
}

.story-img-main {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.story-img-accent {
  position: absolute;
  width: 45%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  bottom: -2rem;
  right: -2rem;
  border: 4px solid #fff;
}

.story-content { position: relative; }

.story-content h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.story-content p {
  font-size: 1rem;
  line-height: 2;
  color: var(--brand-text);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.story-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.story-value {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.story-value-icon {
  width: 44px;
  height: 44px;
  background: rgba(60, 105, 50, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.story-value-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-green);
}

.story-value-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.story-value-text p {
  font-size: 0.8rem;
  color: var(--brand-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===== STORE ===== */
.store-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.store-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.store-image img {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-image:hover img {
  transform: scale(1.03);
}

.store-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.store-info-card h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 2rem;
}

.store-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0ede8;
}

.store-detail:last-child { border-bottom: none; }

.store-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(60, 105, 50, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand-green);
}

.store-detail-text h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.store-detail-text p {
  font-size: 0.9rem;
  color: var(--brand-muted);
  line-height: 1.6;
}

/* ===== RAFFLE ===== */
.raffle-section {
  background: linear-gradient(135deg, var(--brand-green) 0%, #2D5425 100%);
  padding: 7rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.raffle-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, #fff 1px, transparent 0);
  background-size: 24px 24px;
}

.raffle-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.raffle-inner .section-label {
  color: var(--brand-green-pale);
}

.raffle-inner .section-label::before {
  background: var(--brand-green-pale);
}

.raffle-inner .section-title {
  color: #fff;
}

.raffle-inner .section-desc {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 3rem;
}

.raffle-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.raffle-step {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s;
}

.raffle-step:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.raffle-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.raffle-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.raffle-step p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.6;
}

.raffle-list-container {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  max-height: 300px;
  overflow-y: auto;
}

.raffle-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.raffle-list-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.raffle-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  background: rgba(232, 93, 58, 0.2);
  color: #FF8A6A;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-weight: 600;
}

.raffle-live-dot {
  width: 6px;
  height: 6px;
  background: #FF6B3A;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}


@keyframes raffleFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.raffle-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: background 0.2s;
}

.raffle-entry:hover {
  background: rgba(255, 255, 255, 0.04);
}

.raffle-entry-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.raffle-entry-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-taro) 0%, var(--brand-green-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.raffle-entry-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.raffle-entry-time {
  font-size: 0.75rem;
  opacity: 0.5;
}

.raffle-entry-status {
  font-size: 0.75rem;
  background: rgba(145, 180, 115, 0.2);
  color: var(--brand-green-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
  display: flex;
  overflow: hidden;
  background: #fff;
  padding: 1rem 0;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  animation: scroll-gallery 30s linear infinite;
}

.gallery-track img {
  height: 280px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scroll-gallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brand-dark);
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1.25rem;
  filter: brightness(10);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 340px;
}

.footer-col h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--brand-green-light); }

.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--brand-green);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
  }
  .hero-subtitle { margin: 0 auto 2.5rem; }
  .hero-image { max-width: 500px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .store-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .hero-float-1 { width: 100px; right: -5%; }
  .hero-float-2 { width: 90px; left: -3%; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .product-card-image { height: 220px; }
  .raffle-how { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .gallery-track img { height: 200px; }
  .section { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .story-values { grid-template-columns: 1fr; }
}

/* ===== LOADING / REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.active { opacity: 1; transform: translateY(0); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }

/* Smooth scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--brand-cream); }
::-webkit-scrollbar-thumb { background: var(--brand-green-pale); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-green-light); }
