/* ============================================
   興隆A+ v2.0 — Global Styles
   Brand: 生命綠 #3ea669 / 紅 #ec6064 / 黃 #fcca00 / 藍 #00a1e1
   ============================================ */

:root {
  --green: #3ea669;
  --green-dark: #2d8a54;
  --green-light: #e8f5ee;
  --red: #ec6064;
  --yellow: #fcca00;
  --blue: #00a1e1;
  --brown: #9f4e27;
  --cream: #fefdf8;
  --text: #2d3a2e;
  --text-light: #6b7c6e;
  --shadow: rgba(62, 166, 105, 0.1);
  --radius: 20px;
}

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

body {
  font-family: 'Noto Sans TC', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ========== 導航列 ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  height: 40px;
  transition: transform 0.3s;
}

.nav-logo:hover {
  transform: scale(1.05);
}

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

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  background: var(--green-light);
  color: var(--green);
}

.nav-links a.active {
  background: var(--green);
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.3rem;
  color: var(--text);
}

/* ========== 浮動色塊 ========== */
.floating-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  transition: margin 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.blob:nth-child(1) { width: 400px; height: 400px; background: var(--green); top: -5%; left: -5%; animation: blobDrift 25s infinite ease-in-out; }
.blob:nth-child(2) { width: 350px; height: 350px; background: var(--yellow); top: 20%; right: -5%; animation: blobDrift 30s infinite ease-in-out reverse; }
.blob:nth-child(3) { width: 300px; height: 300px; background: var(--blue); bottom: 10%; left: 15%; animation: blobDrift 28s infinite ease-in-out; animation-delay: -8s; }
.blob:nth-child(4) { width: 280px; height: 280px; background: var(--red); bottom: 20%; right: 15%; animation: blobDrift 22s infinite ease-in-out; animation-delay: -12s; }
.blob:nth-child(5) { width: 200px; height: 200px; background: var(--yellow); top: 50%; left: 40%; animation: blobDrift 35s infinite ease-in-out; animation-delay: -5s; }
.blob:nth-child(6) { width: 250px; height: 250px; background: var(--green); top: 70%; right: 30%; animation: blobDrift 27s infinite ease-in-out reverse; animation-delay: -15s; }

@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.02); }
}

/* ========== 區塊通用 ========== */
.section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: 'Nunito', 'Noto Sans TC', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--green);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-radius: 2px;
  margin: 0.8rem auto 0;
}

/* ========== 卡片 ========== */
.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 24px var(--shadow);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(62, 166, 105, 0.15);
}

/* ========== 活動卡片 ========== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 4px 24px var(--shadow);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--green);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(62, 166, 105, 0.18);
}

.event-card:nth-child(2) { border-left-color: var(--yellow); }
.event-card:nth-child(3) { border-left-color: var(--blue); }
.event-card:nth-child(4) { border-left-color: var(--red); }

.event-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.event-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.event-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.event-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.event-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== 完整活動卡片（活動頁） ========== */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.event-full {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  transition: all 0.4s ease;
}

.event-full:hover {
  box-shadow: 0 12px 40px rgba(62, 166, 105, 0.15);
}

.event-full-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}

.event-full-img {
  overflow: hidden;
}

.event-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.event-full-content {
  padding: 1.5rem 2rem;
}

.event-full-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.event-day-badge {
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 10px;
}

.event-time-badge {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.event-fee-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.event-fee-badge.free { background: #e8f5ee; color: var(--green-dark); }
.event-fee-badge.paid { background: #fce8e8; color: #c0392b; }

.event-full-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  color: var(--text);
}

.event-full-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.event-full-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-bottom: 0.8rem;
}

.meta-item {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.host-badge {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.event-full-notes {
  font-size: 0.82rem;
  color: var(--brown);
  background: rgba(252, 202, 0, 0.1);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .event-full-layout {
    grid-template-columns: 1fr;
  }
  .event-full-img img {
    min-height: auto;
    aspect-ratio: 1;
  }
  .event-full-content { padding: 1.2rem 1.5rem; }
  .event-full-title { font-size: 1.2rem; }
}

/* ========== 成員卡片 v2 — 顏料潑濺風格（呼應 Logo） ========== */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.member-card-v2 {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.member-card-v2:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 16px 48px rgba(62, 166, 105, 0.18);
}

/* 顏料色塊頭部 */
.member-header {
  position: relative;
  height: 160px;
  overflow: hidden;
}

/* 主色塊背景 */
.color-1 .member-header { background: linear-gradient(135deg, #e8f5ee 0%, #d4edda 100%); }
.color-2 .member-header { background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%); }
.color-3 .member-header { background: linear-gradient(135deg, #e6f4f9 0%, #d1ecf1 100%); }
.color-4 .member-header { background: linear-gradient(135deg, #fce8e8 0%, #f8d7da 100%); }

/* 顏料色塊們 — Logo 的潑濺風格 */
.paint-blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  filter: blur(0.5px);
}

.blob-main {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* 色塊 1 — 綠系 */
.color-1 .blob-main { background: rgba(62, 166, 105, 0.2); }
.color-1 .blob-1 { background: var(--red); opacity: 0.5; }
.color-1 .blob-2 { background: var(--yellow); opacity: 0.55; }
.color-1 .blob-3 { background: var(--blue); opacity: 0.4; }

/* 色塊 2 — 黃系 */
.color-2 .blob-main { background: rgba(252, 202, 0, 0.2); }
.color-2 .blob-1 { background: var(--green); opacity: 0.5; }
.color-2 .blob-2 { background: var(--red); opacity: 0.45; }
.color-2 .blob-3 { background: var(--blue); opacity: 0.4; }

/* 色塊 3 — 藍系 */
.color-3 .blob-main { background: rgba(0, 161, 225, 0.15); }
.color-3 .blob-1 { background: var(--green); opacity: 0.45; }
.color-3 .blob-2 { background: var(--yellow); opacity: 0.5; }
.color-3 .blob-3 { background: var(--red); opacity: 0.4; }

/* 色塊 4 — 紅系 */
.color-4 .blob-main { background: rgba(236, 96, 100, 0.15); }
.color-4 .blob-1 { background: var(--green); opacity: 0.45; }
.color-4 .blob-2 { background: var(--yellow); opacity: 0.5; }
.color-4 .blob-3 { background: var(--blue); opacity: 0.4; }

/* 小色塊定位 — 模仿 Logo 的隨機潑濺感 */
.blob-sm {
  transition: transform 0.4s ease;
}

.blob-1 {
  width: 50px; height: 38px;
  top: 15%; right: 15%;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
}

.blob-2 {
  width: 40px; height: 30px;
  bottom: 20%; left: 12%;
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
}

.blob-3 {
  width: 35px; height: 28px;
  bottom: 15%; right: 20%;
  border-radius: 50% 50% 45% 55% / 55% 45% 50% 50%;
}

.member-card-v2:hover .blob-1 { transform: translate(3px, -5px) scale(1.1); }
.member-card-v2:hover .blob-2 { transform: translate(-4px, 3px) scale(1.1); }
.member-card-v2:hover .blob-3 { transform: translate(5px, 4px) scale(1.05); }

/* 每張卡片的色塊位置稍微不同，增加隨機感 */
.member-card-v2:nth-child(odd) .blob-1 { top: 20%; right: 10%; }
.member-card-v2:nth-child(odd) .blob-2 { bottom: 25%; left: 15%; }
.member-card-v2:nth-child(odd) .blob-3 { bottom: 10%; right: 25%; }

.member-card-v2:nth-child(3n) .blob-1 { top: 10%; right: 20%; width: 45px; height: 35px; }
.member-card-v2:nth-child(3n) .blob-2 { bottom: 15%; left: 8%; width: 38px; height: 28px; }
.member-card-v2:nth-child(3n) .blob-3 { bottom: 25%; right: 12%; width: 30px; height: 24px; }

.member-card-v2:nth-child(5n) .blob-1 { top: 25%; right: 8%; }
.member-card-v2:nth-child(5n) .blob-2 { bottom: 10%; left: 18%; }

/* 資訊區 */
.member-body {
  padding: 1.2rem 1.5rem 1.5rem;
}

.member-code {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.member-project {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.member-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-logo {
  width: min(280px, 60vw);
  margin-bottom: 1.5rem;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-slogan {
  font-family: 'Nunito', 'Noto Sans TC', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-light);
  max-width: 500px;
  line-height: 1.8;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  width: 30px;
  height: 50px;
  border: 2px solid var(--green);
  border-radius: 15px;
  opacity: 0.5;
}

.scroll-hint span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin: 8px auto 0;
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ========== 快速入口 ========== */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.quick-link {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px var(--shadow);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 700;
  font-size: 1.05rem;
}

.quick-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(62, 166, 105, 0.18);
  color: var(--green);
}

.quick-link .icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

/* ========== Footer ========== */
footer {
  position: relative;
  z-index: 1;
  background: var(--green);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 2rem;
}

.footer-logo {
  width: 80px;
  filter: brightness(10);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.social-links a:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.footer-text {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

.footer-address {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ========== About 頁面 ========== */
.story-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px var(--shadow);
  line-height: 1.9;
}

.story-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--green);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  box-shadow: 0 4px 24px var(--shadow);
}

.highlight-number {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}

.highlight-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ========== 願景區塊 ========== */
.vision-section {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.vision-content p {
  font-size: 1.1rem;
  line-height: 2;
  opacity: 0.9;
}

.location-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== Contact / FAQ ========== */
.faq-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px var(--shadow);
}

.faq-q {
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.faq-a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 3px solid var(--green);
}

.testimonial .quote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.testimonial .author {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ========== CTA 按鈕 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 166, 105, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-secondary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

/* ========== Admin 後台 ========== */
.admin-container {
  max-width: 900px;
  margin: 100px auto 2rem;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-size: 1.8rem;
  color: var(--green);
}

.login-box {
  max-width: 400px;
  margin: 20vh auto;
  text-align: center;
}

.login-box h1 {
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.login-box p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.error-msg {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.success-msg {
  color: var(--green);
  background: var(--green-light);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Admin 活動列表 */
.admin-event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 12px var(--shadow);
}

.admin-event-info {
  flex: 1;
}

.admin-event-info h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.admin-event-info .meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.admin-event-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-danger {
  background: var(--red);
  color: white;
  border: none;
  cursor: pointer;
}

.btn-danger:hover {
  opacity: 0.8;
}

/* ========== 滾動動畫 ========== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Toast 通知 ========== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  z-index: 9999;
  animation: toastIn 0.4s ease;
}

.toast.error { background: var(--red); }

@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ========== RWD ========== */
@media (max-width: 768px) {
  nav { padding: 0.6rem 1rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.mobile-open { display: flex; }
  .mobile-menu-btn { display: block; }

  .events-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .quick-links { grid-template-columns: 1fr; }

  .member-header { height: 140px; }

  .section { padding: 3rem 1.2rem; }
  .story-card { padding: 1.5rem; }
}
