:root { --primary: #4caf50; --primary-dark: #2e7d32; --secondary: #5d4037; --accent: #ff9800; --danger: #ef5350; --light: #f8f9fa; --dark: #212529; --gray: #adb5bd; --shadow: 0 4px 20px rgba(0,0,0,0.08); --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); --radius: 12px; --font-sans: 'Noto Sans SC', sans-serif; --font-serif: 'Noto Serif SC', serif; --ai-bg-header: #1a5c4a; --ai-text-light: #ffffff; --ai-card-active: #2e7d32; --ai-border-active: #4caf50; --ai-btn-primary: #1a5c4a; --ai-btn-hover: #144a3a; --weather-good: #4caf50; --weather-warn: #ff9800; --weather-bad: #ef5350; --hot-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); --urgent-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); }
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@400;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); line-height: 1.6; color: var(--dark); background: linear-gradient(135deg, #f5f9f5 0%, #e8f5e9 100%); overflow-x: hidden; }
img { max-width: 100%; display: block; } a { text-decoration: none; color: inherit; } body.modal-open { overflow: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 2rem; color: var(--primary-dark); position: relative; }
.section-title::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: var(--accent); border-radius: 2px; }
.section-subtitle { text-align: center; font-size: 1rem; color: var(--gray); margin-top: 10px; font-weight: 400; }
header { background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.3); }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; cursor: pointer;}
.nav-links { display: flex; list-style: none; gap: 25px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; align-items: center; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { font-weight: 500; position: relative; padding: 5px 2px; transition: var(--transition); color: var(--dark); font-size: 1rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }
.btn-auth { background: var(--primary); color: white; padding: 8px 20px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; transition: var(--transition); border: none; cursor: pointer; white-space: nowrap; }
.btn-auth:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-auth-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-auth-outline:hover { background: var(--primary); color: white; }
.user-dropdown { position: relative; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; transition: background 0.2s; z-index: 10000; }
.user-dropdown:hover { background: rgba(0,0,0,0.05); }
.user-avatar { width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3); flex-shrink: 0; }
.user-name { font-weight: 600; color: var(--dark); font-size: 0.95rem; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.dropdown-menu { position: fixed; top: 70px; right: 5%; max-width: 260px; width: 260px; background: white; border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.2); padding: 0; z-index: 999999; opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.95); transform-origin: top right; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; overflow: hidden; }
.user-dropdown.show .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.dropdown-item { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: var(--dark); font-size: 0.95rem; transition: 0.2s; text-decoration: none; cursor: pointer; border-bottom: 1px solid #f9f9f9; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: #f0f9f0; color: var(--primary); }
.dropdown-item.logout { color: var(--danger); background: #fff5f5; }
.user-info-block { padding: 20px; background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border-bottom: 1px solid #eee; }
.user-info-block .label { font-size: 0.7rem; color: #999; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;}
.user-info-block .value { font-weight: 700; color: var(--dark); font-size: 1rem; word-break: break-all; margin-bottom: 6px;}
.user-info-block .sub-value { font-size: 0.85rem; color: #666; display: flex; align-items: center; gap: 6px; }
.user-info-block .sub-value i { font-size: 0.8rem; color: var(--primary); width: 16px; text-align: center;}
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 20px; z-index: 999; gap: 15px; }
  .nav-links.show { display: flex; }
  .nav-links li { margin: 5px 0; width: 100%; }
  .nav-links a { display: block; width: 100%; font-size: 1.1rem; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
  .user-dropdown { justify-content: flex-end; width: 100%; padding: 10px 0; }
  .user-name { display: none; }
  .dropdown-menu { right: 10px; left: 10px; width: auto; max-width: none; top: 65px; }
}

/* --- Hero 区域优化 --- */
.hero { 
  position: relative; 
  height: 80vh; 
  min-height: 500px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center; 
  color: white; 
  overflow: hidden; 
  margin-bottom: 0; 
}
.hero-bg { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%), url('https://images.unsplash.com/photo-1464822759085-2f3662c7ba87?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
  z-index: 1; 
  animation: breathe 20s infinite alternate; 
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-content { 
  position: relative; 
  z-index: 2; 
  max-width: 900px; 
  padding: 0 20px; 
  margin-top: -40px; 
}
.hero h1 { 
  font-family: var(--font-serif); 
  font-size: 3.8rem; 
  margin-bottom: 15px; 
  text-shadow: 0 4px 20px rgba(0,0,0,0.5); 
  letter-spacing: -1px; 
  animation: fadeInDown 1s ease-out; 
  line-height: 1.2; 
}
.hero p { 
  font-size: 1.25rem; 
  margin-bottom: 30px; 
  opacity: 0.95; 
  font-weight: 300; 
  text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
  animation: fadeInUp 1s ease-out 0.2s both; 
  max-width: 700px; 
  margin-left: auto; 
  margin-right: auto; 
}
.btn-group { 
  animation: fadeInUp 1s ease-out 0.4s both; 
  display: flex; 
  gap: 15px; 
  justify-content: center; 
  flex-wrap: wrap; 
}
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  background: var(--accent); 
  color: white; 
  padding: 14px 35px; 
  border-radius: 50px; 
  font-weight: 700; 
  font-size: 1rem; 
  transition: var(--transition); 
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3); 
  border: 2px solid transparent; 
  cursor: pointer;
  gap: 8px; 
  text-decoration: none;
}
.btn:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 25px rgba(255, 152, 0, 0.5); 
  background: #f57c00; 
}
.btn i {
  font-size: 1.1em; 
  line-height: 1;
}
.btn-secondary { 
  background: rgba(255,255,255,0.1); 
  border: 2px solid rgba(255,255,255,0.6); 
  backdrop-filter: blur(5px); 
}
.btn-secondary:hover { 
  background: rgba(255,255,255,0.2); 
  border-color: white; 
}
.btn-team { 
  background: rgba(76, 175, 80, 0.9); 
  border: 2px solid rgba(76, 175, 80, 0.6); 
  position: relative;
  overflow: hidden;
}
.btn-team:hover { 
  background: var(--primary); 
  box-shadow: 0 12px 25px rgba(76, 175, 80, 0.4); 
}

/* --- 关键修改：彻底隐藏底部独立的 Scroll Down 箭头 --- */
/* 这样就不会和按钮挤在一起了 */
.scroll-down-indicator { 
  display: none !important; 
}

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.trending-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; cursor: pointer; position: relative; }
.trending-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.trending-badge { position: absolute; top: 15px; left: 15px; background: var(--hot-gradient); color: white; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; z-index: 2; box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4); display: flex; align-items: center; gap: 6px; animation: pulse-badge 2s infinite; }
@keyframes pulse-badge { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.urgent-badge { position: absolute; top: 15px; right: 15px; background: var(--urgent-gradient); color: white; padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; z-index: 2; box-shadow: 0 2px 8px rgba(255, 65, 108, 0.4); animation: shake-urgent 3s infinite; }
@keyframes shake-urgent { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
.trending-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.trending-img::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.trending-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.trending-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.4; }
.trending-meta { display: flex; gap: 10px; font-size: 0.8rem; color: var(--gray); margin-bottom: 15px; flex-wrap: wrap; }
.trending-meta span { display: flex; align-items: center; gap: 4px; }
.trending-desc { font-size: 0.9rem; color: #666; line-height: 1.5; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
.trending-footer { background: #fafafa; padding: 15px 20px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 10px; }
.trending-progress { width: 100%; }
.trending-progress-bar { height: 8px; background: #e0e0e0; border-radius: 4px; overflow: hidden; position: relative; }
.trending-progress-fill { height: 100%; background: var(--hot-gradient); border-radius: 4px; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.trending-progress-fill.urgent { background: var(--urgent-gradient); animation: breathe-urgent 1.5s infinite alternate; }
@keyframes breathe-urgent { from { box-shadow: 0 0 5px rgba(255, 65, 108, 0.5); } to { box-shadow: 0 0 15px rgba(255, 65, 108, 0.8); } }
.trending-stats { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 0.8rem; }
.trending-people { font-weight: 600; color: var(--dark); }
.trending-remaining { color: var(--danger); font-weight: 700; }
.trending-btn { background: white; border: 2px solid var(--accent); color: var(--accent); padding: 8px 16px; border-radius: 20px; font-weight: 700; font-size: 0.85rem; transition: var(--transition); white-space: nowrap; text-align: center; width: 100%; }
.trending-btn:hover { background: var(--accent); color: white; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3); }
.trending-btn.urgent { background: var(--urgent-gradient); border-color: transparent; color: white; animation: pulse-btn 2s infinite; }
@keyframes pulse-btn { 0% { box-shadow: 0 4px 10px rgba(255, 65, 108, 0.4); } 50% { box-shadow: 0 6px 15px rgba(255, 65, 108, 0.6); } 100% { box-shadow: 0 4px 10px rgba(255, 65, 108, 0.4); } }
.card-link { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); animation: fadeIn 0.6s ease-out both; background: white; position: relative; }
.card-link:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.card-link:hover .card-img::after { content: "查看详情 →"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.6); color: white; padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(4px); }
.card-link:hover .card-img::after { opacity: 1; }
.card-content { padding: 25px; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-dark); }
.card p { color: var(--gray); margin-bottom: 15px; }
.card-tag { display: inline-block; background: var(--primary); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; margin-top: 10px; transition: var(--transition); }
.card-link:hover .card-tag { background: var(--accent); }
footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 60px 0 30px; font-family: var(--font-sans); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: white; font-size: 1.4rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { transition: var(--transition); display: block; padding: 5px 0; }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.disclaimer-badge { background: rgba(255,255,255,0.1); border-left: 4px solid var(--accent); padding: 15px; margin-top: 20px; border-radius: 0 8px 8px 0; font-size: 0.9rem; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.shake-animation { animation: shake 0.3s ease-in-out; border-color: #e74c3c !important; color: #e74c3c; }
.fade-in { animation: fadeIn 0.8s ease-out both; }
@keyframes slideInBottom { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* 响应式调整 */
@media (max-width: 992px) { 
  .hero { height: 70vh; min-height: 450px; }
  .hero h1 { font-size: 3rem; } 
  .hero p { font-size: 1.1rem; } 
}
@media (max-width: 768px) { 
  .hero { height: 60vh; min-height: 400px; } 
  .hero h1 { font-size: 2.2rem; } 
  .hero p { font-size: 1rem; margin-bottom: 20px; }
  .btn-group { gap: 10px; }
  .btn { padding: 12px 25px; font-size: 0.95rem; }
  
  .ai-type-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-modal-card { width: 95%; }
  .ai-header { padding: 25px 15px 15px; }
  .ai-title-main { font-size: 1.4rem; }
  .ai-option-btn { font-size: 12px; padding: 10px; }
  .ai-advanced-group { grid-template-columns: 1fr; }
  .ai-result-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ai-result-actions { width: 100%; justify-content: space-between; }
  .ai-action-btn { flex: 1; justify-content: center; }
  .weather-card { grid-template-columns: 1fr; padding: 25px; }
  .weather-score { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-right: 0; padding-bottom: 25px; margin-bottom: 20px; min-height: auto; }
  .weather-details { grid-template-columns: repeat(2, 1fr); }
  .weather-widget-container { margin-top: -40px; }
  .detail-item.highlight { grid-column: span 2; flex-direction: row; justify-content: center; gap: 20px; }
  .detail-item.highlight .detail-icon { margin-bottom: 0; }
  .detail-item.highlight .detail-info { text-align: left; }
  .kitchen-modal-card { width: 95%; max-height: 95vh; }
  .kitchen-modal-header { padding: 20px; }
  .kitchen-modal-title { font-size: 1.2rem; }
  .kitchen-form-grid { grid-template-columns: 1fr; }
  .picking-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .section-title { font-size: 2rem; }
}
@media (max-width: 480px) { 
  .hero h1 { font-size: 1.8rem; } 
  .section-title { font-size: 2rem; } 
  .logo { font-size: 1.5rem; } 
}

.weather-widget-container { margin-top: -80px; position: relative; z-index: 10; margin-bottom: 60px; padding: 0 10px; }
.weather-trigger-wrapper { display: flex; justify-content: center; margin-bottom: 20px; }
.weather-trigger-btn { background: rgba(255,255,255,0.9); color: var(--primary-dark); border: none; padding: 12px 24px; border-radius: 50px; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); cursor: pointer; display: flex; align-items: center; gap: 10px; transition: var(--transition); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.5); }
.weather-trigger-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); background: white; }
.weather-trigger-btn i { color: var(--primary); font-size: 1.2rem; }
.weather-trigger-btn.loading i { animation: spin 1s linear infinite; }
.weather-card { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); padding: 35px; display: grid; grid-template-columns: 280px 1fr; gap: 35px; align-items: start; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); overflow: visible; position: relative; color: #fff; display: none; opacity: 0; transform: translateY(20px); }
.weather-card.active { display: grid; animation: slideInBottom 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.weather-card::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--weather-good); transition: background 0.5s ease; border-radius: 24px 0 0 24px; box-shadow: 0 0 15px var(--weather-good); }
.weather-score { text-align: center; border-right: 1px solid rgba(255,255,255,0.1); padding-right: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 260px; }
.score-icon-wrapper { width: 110px; height: 110px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 4.2rem; margin-bottom: 20px; position: relative; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: default; user-select: none; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: inset 0 -4px 8px rgba(0,0,0,0.2), 0 8px 20px rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.2); }
.score-icon-wrapper:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 12px 25px rgba(0,0,0,0.3); background: rgba(255,255,255,0.15); }
.score-icon-wrapper::after { content: ''; position: absolute; top: 10%; left: 15%; width: 30%; height: 20%; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 100%); pointer-events: none; }
.icon-good { background: linear-gradient(135deg, rgba(76, 175, 80, 0.4) 0%, rgba(56, 142, 60, 0.4) 100%); color: #81c784; box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3), inset 0 -4px 8px rgba(0,0,0,0.2); border-color: rgba(76, 175, 80, 0.5); animation: breathe-good 3s infinite ease-in-out; }
@keyframes breathe-good { 0%, 100% { box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3), inset 0 -4px 8px rgba(0,0,0,0.2); } 50% { box-shadow: 0 15px 30px rgba(76, 175, 80, 0.5), inset 0 -4px 8px rgba(0,0,0,0.2); } }
.icon-warn { background: linear-gradient(135deg, rgba(255, 152, 0, 0.4) 0%, rgba(245, 124, 0, 0.4) 100%); color: #ffb74d; box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3), inset 0 -4px 8px rgba(0,0,0,0.2); border-color: rgba(255, 152, 0, 0.5); animation: shake-warn 4s infinite; }
@keyframes shake-warn { 0%, 90%, 100% { transform: rotate(0deg); } 92% { transform: rotate(-2deg); } 94% { transform: rotate(2deg); } 96% { transform: rotate(-2deg); } 98% { transform: rotate(2deg); } }
.icon-warn:hover { animation: none; transform: translateY(-5px) scale(1.05); }
.icon-bad { background: linear-gradient(135deg, rgba(239, 83, 80, 0.4) 0%, rgba(229, 57, 53, 0.4) 100%); color: #e57373; box-shadow: 0 8px 20px rgba(239, 83, 80, 0.3), inset 0 -4px 8px rgba(0,0,0,0.2); border-color: rgba(239, 83, 80, 0.5); }
.score-value { font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.score-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1.2px; margin-top: 12px; display: flex; align-items: center; gap: 6px; justify-content: center; font-weight: 600; }
.score-desc { font-size: 1rem; font-weight: 700; margin-top: 18px; padding: 8px 20px; border-radius: 30px; background: rgba(255,255,255,0.1); color: #fff; transition: var(--transition); backdrop-filter: blur(5px); }
.weather-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.detail-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 15px; background: rgba(255,255,255,0.05); border-radius: 16px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; color: #fff; }
.detail-item:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); box-shadow: 0 10px 25px rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.3); }
.detail-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left; box-shadow: 0 0 10px var(--primary); }
.detail-item:hover::before { transform: scaleX(1); }
.detail-item.highlight { background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(56, 142, 60, 0.15) 100%); border-color: rgba(76, 175, 80, 0.4); grid-column: span 1; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.detail-item.highlight .detail-icon { background: var(--primary); color: white; box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4); transform: scale(1.1); }
.detail-item.highlight .detail-info p { font-size: 1.7rem; color: #81c784; font-weight: 800; }
.detail-item.highlight .detail-info span { font-size: 1rem; font-weight: 700; color: #a5d6a7; }
.detail-item.highlight:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(76, 175, 80, 0.2); background: linear-gradient(135deg, rgba(76, 175, 80, 0.25) 0%, rgba(56, 142, 60, 0.25) 100%); }
.detail-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); color: var(--primary); margin-bottom: 5px; transition: var(--transition); }
.detail-info h4 { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-info p { font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.2; }
.detail-info span { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 600; display: block; margin-top: 4px;}
.weather-footer { grid-column: 1 / -1; margin-top: 25px; padding: 22px 28px; background: rgba(255,255,255,0.05); border-radius: 16px; display: flex; align-items: flex-start; gap: 15px; font-size: 0.95rem; color: rgba(255,255,255,0.9); line-height: 1.6; border: 1px solid rgba(255,255,255,0.1); }
.weather-footer svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 3px; filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.5)); }
.date-picker-wrapper { grid-column: 1 / -1; display: flex; justify-content: center; margin-bottom: 25px; position: relative; }
.date-trigger-btn { display: flex; align-items: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; padding: 10px 10px 10px 28px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: var(--transition); cursor: pointer; gap: 12px; min-width: 220px; justify-content: space-between; user-select: none; color: #fff; backdrop-filter: blur(5px); }
.date-trigger-btn:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(76, 175, 80, 0.3); transform: translateY(-2px); background: rgba(255,255,255,0.15); }
.date-display-text { display: flex; flex-direction: column; pointer-events: none; }
.date-day-name { font-weight: 700; color: #fff; font-size: 1rem; }
.date-full-date { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 2px; }
.calendar-icon { color: var(--primary); font-size: 1.2rem; transition: var(--transition); pointer-events: none; background: rgba(76, 175, 80, 0.2); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.date-trigger-btn:hover .calendar-icon { transform: scale(1.1); background: var(--primary); color: white; }
#datePicker { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.status-good .weather-card::before { background: var(--weather-good); box-shadow: 0 0 20px var(--weather-good); }
.status-good .score-desc { background: rgba(76, 175, 80, 0.3); color: #81c784; }
.status-warn .weather-card::before { background: var(--weather-warn); box-shadow: 0 0 20px var(--weather-warn); }
.status-warn .score-desc { background: rgba(255, 152, 0, 0.3); color: #ffb74d; }
.status-bad .weather-card::before { background: var(--weather-bad); box-shadow: 0 0 20px var(--weather-bad); }
.status-bad .score-desc { background: rgba(239, 83, 80, 0.3); color: #e57373; }
.forecast-container { grid-column: 1 / -1; margin-top: 15px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--primary) rgba(255,255,255,0.1); }
.forecast-container::-webkit-scrollbar { height: 6px; }
.forecast-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 3px; }
.forecast-container::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.forecast-scroll { display: flex; gap: 15px; padding: 5px 5px 15px 5px; min-width: max-content; }
.forecast-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 16px 12px; min-width: 100px; text-align: center; transition: var(--transition); cursor: pointer; position: relative; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: #fff; }
.forecast-item:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); box-shadow: 0 8px 20px rgba(0,0,0,0.2); border-color: var(--primary); }
.forecast-item.active { background: var(--ai-card-active); border-color: var(--ai-border-active); transform: translateY(-5px) scale(1.03); box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4); }
.forecast-item.active::after { content: '✓'; position: absolute; top: -6px; right: -6px; background: var(--primary); color: white; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.fc-date { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 700; margin-bottom: 8px; }
.fc-icon { font-size: 2.2rem; margin: 6px 0; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.fc-temp { font-size: 1.1rem; font-weight: 800; color: #fff; }
.fc-temp span { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 500; margin-left: 4px; }
.fc-score { margin-top: 8px; font-size: 0.75rem; padding: 3px 10px; border-radius: 12px; display: inline-block; font-weight: 700; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }
.score-good { color: #81c784; } .score-warn { color: #ffb74d; } .score-bad { color: #e57373; }
.forecast-item.active .score-good, .forecast-item.active .score-warn, .forecast-item.active .score-bad { background: rgba(255,255,255,0.2); color: #fff; }
#aiFloatingBtn { position: fixed; bottom: 30px; right: 30px; width: 64px; height: 64px; background: var(--accent); color: white; border: none; border-radius: 50%; font-size: 30px; box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4); cursor: pointer; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
#aiFloatingBtn:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 8px 25px rgba(255, 152, 0, 0.6); }
#aiFloatingBtn:active { transform: scale(0.95); }
#aiPlannerModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 10000; backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.ai-modal-card { background: white; width: 90%; max-width: 560px; border-radius: 20px; padding: 0; box-shadow: 0 15px 40px rgba(0,0,0,0.2); max-height: 90vh; overflow-y: auto; position: relative; animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.ai-modal-card::-webkit-scrollbar { width: 6px; }
.ai-modal-card::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.2); border-radius: 3px; }
@keyframes slideUp { from { transform: translateY(40px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.ai-header { background: var(--ai-bg-header); color: var(--ai-text-light); padding: 30px 25px 20px; border-radius: 20px 20px 0 0; text-align: center; position: relative; overflow: hidden; }
.ai-header::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); pointer-events: none; }
.ai-icon-wrapper { font-size: 42px; margin-bottom: 10px; display: inline-block; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ai-title-main { font-size: 1.6rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 6px; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.ai-title-sub { font-size: 0.95rem; opacity: 0.9; font-weight: 500; color: #e0f2f1; }
.ai-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.2); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; color: white; display: flex; align-items: center; justify-content: center; transition: var(--transition); backdrop-filter: blur(4px); }
.ai-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.ai-close:active { transform: rotate(90deg) scale(0.9); }
.ai-body { padding: 25px; }
.ai-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 25px; }
.ai-type-item { border: 2px solid #eee; border-radius: 16px; padding: 15px 5px; text-align: center; cursor: pointer; transition: var(--transition); background: white; position: relative; overflow: hidden; transform: translateY(0); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.ai-type-item:hover { border-color: var(--primary); background: #f0f9f0; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(46, 125, 50, 0.15); }
.ai-type-item:active { transform: translateY(-1px) scale(0.98); }
.ai-type-item.active { border-color: var(--ai-border-active); background: var(--primary); color: white; box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3); transform: translateY(-4px) scale(1.05); z-index: 1; }
.ai-type-item.active::after { content: '✓'; position: absolute; top: 4px; right: 6px; font-size: 14px; font-weight: bold; color: white; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ai-type-icon { font-size: 28px; display: block; margin-bottom: 8px; transition: transform 0.3s; }
.ai-type-item.active .ai-type-icon { transform: scale(1.1); }
.ai-type-label { font-size: 14px; font-weight: 600; }
.ai-form-group { margin-bottom: 20px; }
.ai-label { display: block; font-size: 14px; color: #555; margin-bottom: 10px; font-weight: 600; }
.ai-input-wrapper { position: relative; }
.ai-input { width: 100%; padding: 14px 15px; border: 2px solid #eee; border-radius: 12px; font-size: 16px; outline: none; transition: var(--transition); background: #fafafa; }
.ai-input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15); transform: translateY(-1px); }
.ai-input-placeholder { position: absolute; top: -10px; left: 12px; background: white; padding: 0 5px; font-size: 12px; color: var(--primary); font-weight: 600; transition: var(--transition); }
.ai-options-group { display: flex; background: #f0f0f0; padding: 5px; border-radius: 12px; transition: var(--transition); flex-wrap: wrap; }
.ai-option-btn { flex: 1; padding: 12px; border: none; background: transparent; border-radius: 8px; font-size: 13px; color: #666; cursor: pointer; transition: var(--transition); font-weight: 500; position: relative; overflow: hidden; transform: translateY(0); box-shadow: 0 1px 3px rgba(0,0,0,0.05); min-width: 80px; text-align: center; }
.ai-option-btn:hover { background: rgba(255,255,255,0.6); color: var(--primary-dark); transform: translateY(-2px); }
.ai-option-btn:active { transform: scale(0.95); }
.ai-option-btn.active { background: white; color: var(--primary-dark); font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: translateY(-2px) scale(1.03); border: 1px solid rgba(46, 125, 50, 0.1); z-index: 2; }
.ai-option-btn.active::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); border-radius: 8px 0 0 8px; opacity: 0.8; }
.ai-advanced-group { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #eee; }
.ai-advanced-item .ai-label { font-size: 13px; color: #777; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.ai-advanced-item .ai-label span { font-size: 16px; }
.ai-generate-btn { width: 100%; padding: 16px; background: var(--ai-btn-primary); color: white; border: none; border-radius: 12px; font-size: 17px; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 15px rgba(26, 92, 74, 0.3); position: relative; overflow: hidden; margin-top: 10px; }
.ai-generate-btn:hover { background: var(--ai-btn-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26, 92, 74, 0.4); }
.ai-generate-btn:active { transform: translateY(1px) scale(0.98); box-shadow: 0 2px 10px rgba(26, 92, 74, 0.2); }
.ai-generate-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }
#aiResultContainer { margin-top: 25px; background: #fff; border: 1px solid #e0e0e0; border-radius: 16px; min-height: 100px; font-size: 15px; line-height: 1.8; color: #333; display: none; animation: fadeInUp 0.5s ease-out; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; }
.ai-result-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #f8f9fa; border-bottom: 1px solid #eee; }
.ai-result-title { font-size: 14px; font-weight: 700; color: var(--primary-dark); display: flex; align-items: center; gap: 6px; }
.ai-result-actions { display: flex; gap: 8px; }
.ai-action-btn { background: white; border: 1px solid #ddd; color: #555; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: var(--transition); }
.ai-action-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-1px); }
.ai-action-btn svg { width: 14px; height: 14px; }
.ai-result-content { padding: 20px; max-height: 400px; overflow-y: auto; }
.ai-result-content h1, .ai-result-content h2, .ai-result-content h3 { color: var(--primary-dark); font-size: 1.25em; margin: 20px 0 12px; font-weight: 700; }
.ai-result-content h1:first-child { margin-top: 0; font-size: 1.4em; }
.ai-result-content ul { padding-left: 20px; margin-bottom: 15px; }
.ai-result-content li { margin-bottom: 8px; }
.ai-result-content strong { color: var(--primary); font-weight: 700; }
.ai-result-content p { margin-bottom: 12px; }
.ai-result-content.poster-mode { max-height: none; overflow: visible; background: linear-gradient(to bottom, #ffffff, #f9fbf9); text-align: center; }
.ai-result-content.poster-mode img { max-width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-top: 10px; }
.poster-download-btn { display: inline-block; margin-top: 15px; padding: 10px 20px; background: var(--primary); color: white; text-decoration: none; border-radius: 6px; font-weight: 600; transition: var(--transition); }
.poster-download-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.ai-loading-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: white; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 12px 20px; position: fixed; z-index: 10001; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; gap: 8px; }
#toast.show { visibility: visible; animation: slideInBottom 0.3s forwards, fadeOut 0.3s 2.5s forwards; }
#toast.success { background-color: var(--primary); }
#toast.error { background-color: #e74c3c; }
.kitchen-section { background: #fffaf0; position: relative; overflow: hidden; }
.kitchen-section::before { content: '🍳'; position: absolute; top: -20px; right: -20px; font-size: 15rem; opacity: 0.03; transform: rotate(15deg); pointer-events: none; }
.kitchen-intro { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.kintro-text { color: #666; font-size: 1.1rem; line-height: 1.8; }
.kintro-highlight { color: var(--accent); font-weight: 700; }
.kitchen-scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.scenario-card { background: white; border-radius: var(--radius); padding: 30px 25px; text-align: center; cursor: pointer; transition: var(--transition); border: 2px solid transparent; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.scenario-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 15px 30px rgba(255, 152, 0, 0.15); }
.scenario-icon { font-size: 3.5rem; margin-bottom: 20px; display: inline-block; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); transition: transform 0.3s; }
.scenario-card:hover .scenario-icon { transform: scale(1.1) rotate(5deg); }
.scenario-title { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.scenario-desc { font-size: 0.95rem; color: #777; margin-bottom: 20px; line-height: 1.5; }
.scenario-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.s-tag { font-size: 0.75rem; padding: 4px 10px; border-radius: 12px; background: #f0f0f0; color: #666; font-weight: 600; }
.s-tag.hot { background: #fff3e0; color: var(--accent); }
.s-tag.light { background: #e8f5e9; color: var(--primary); }
#kitchenModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10000; backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.kitchen-modal-card { background: white; width: 90%; max-width: 900px; max-height: 90vh; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); display: flex; flex-direction: column; animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.kitchen-modal-header { background: linear-gradient(135deg, var(--accent), #f57c00); color: white; padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; }
.kitchen-modal-title { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.kitchen-close { background: rgba(255,255,255,0.2); border: none; width: 32px; height: 32px; border-radius: 50%; color: white; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.kitchen-close:hover { background: rgba(255,255,255,0.4); transform: rotate(90deg); }
.kitchen-modal-body { padding: 30px; overflow-y: auto; flex-grow: 1; background: #fdfdfd; }
.kitchen-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.kitchen-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; transition: var(--transition); }
.kitchen-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1); }
.kitchen-hint { font-size: 0.8rem; color: #888; margin-top: 5px; }
.kitchen-result-card { background:white; border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,0.05); border:1px solid #eee; display:flex; flex-direction:column; transition: var(--transition); height: 100%; }
.kitchen-result-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.kitchen-card-img { height: 220px; background-size: cover; background-position: center; position: relative; background-color: #f0f0f0; }
.kitchen-card-img::before { content: '🍳'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; opacity: 0.3; z-index: 0; }
.kitchen-card-badge { position:absolute; top:10px; right:10px; background:rgba(0,0,0,0.7); color:white; padding:6px 12px; border-radius:20px; font-size:0.8rem; z-index: 1; backdrop-filter: blur(4px); }
.kitchen-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.kitchen-card-title { margin:0 0 10px; font-size:1.3rem; color:var(--dark); font-weight:700; line-height: 1.3; }
.kitchen-card-desc { font-size:0.95rem; color:#666; margin-bottom:15px; line-height:1.6; flex-grow:1; }
.kitchen-tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.k-tag { padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.k-tag-diff { background: #e3f2fd; color: #1976d2; }
.k-tag-cost { background: #fff3e0; color: #f57c00; }
.k-tag-nutri { background: #e8f5e9; color: #2e7d32; }
.kitchen-tip-box { background:#e8f5e9; padding:10px; border-radius:8px; font-size:0.85rem; color:#2e7d32; margin-bottom:15px; border-left:3px solid var(--primary); }
.kitchen-lnt-box { background:#f1f8e9; padding:8px; border-radius:6px; font-size:0.8rem; color:#558b2f; margin-bottom:15px; border-left:3px solid #7cb342; display: flex; gap: 8px; align-items: flex-start; }
.kitchen-list-box { background:#f9f9f9; padding:12px; border-radius:8px; font-size:0.9rem; color:#555; margin-bottom:15px; line-height: 1.6; max-height: 150px; overflow-y: auto; border: 1px solid #eee; }
.kitchen-list-box::-webkit-scrollbar { width: 6px; }
.kitchen-list-box::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.kitchen-btn-copy { width:100%; padding:12px; background:var(--accent); color:white; border:none; border-radius:8px; font-weight:600; cursor:pointer; transition:0.3s; display:flex; align-items:center; justify-content:center; gap:8px; }
.kitchen-btn-copy:hover { background:#f57c00; }
.kitchen-video-btn { display:block; text-align:center; background:#fb7299; color:white; padding:8px; border-radius:6px; text-decoration:none; font-size:0.85rem; margin-bottom:10px; transition: 0.3s; }
.kitchen-video-btn:hover { background: #ff85a9; transform: translateY(-2px); }
.picking-section { background: #fff; position: relative; overflow: hidden; }
.picking-bg-pattern { position: absolute; top: -50px; right: -50px; width: 300px; height: 300px; background-image: radial-gradient(#e8f5e9 20%, transparent 20%); background-size: 20px 20px; opacity: 0.5; pointer-events: none; z-index: 0; }
.picking-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; position: relative; z-index: 1; }
.picking-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: var(--transition); cursor: pointer; position: relative; border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; }
.picking-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.picking-img-wrapper { position: relative; height: 200px; overflow: hidden; }
.picking-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.picking-card:hover .picking-img { transform: scale(1.1); }
.picking-badge { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.95); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: var(--primary-dark); box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 5px; z-index: 2; }
.picking-badge i { color: var(--accent); }
.picking-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); z-index: 1; }
.picking-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.picking-title { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.picking-location { font-size: 0.85rem; color: var(--gray); margin-bottom: 15px; display: flex; align-items: center; gap: 5px; }
.picking-tags { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.p-tag { font-size: 0.7rem; padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.p-tag-sweet { background: #fce4ec; color: #c2185b; }
.p-tag-fresh { background: #e8f5e9; color: #2e7d32; }
.p-tag-family { background: #e3f2fd; color: #1565c0; }
.picking-desc { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.picking-footer { background: #fafafa; padding: 12px 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--gray); }
.picking-price { color: var(--accent); font-weight: 700; font-size: 1rem; }
.picking-action { color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 4px; transition: var(--transition); }
.picking-card:hover .picking-action { gap: 8px; color: var(--primary-dark); }
.picking-card.current-season { border: 2px solid var(--accent); transform: scale(1.02); }
.picking-card.current-season .picking-badge { background: var(--accent); color: white; }
.picking-card.current-season .picking-badge i { color: white; }
#authModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10002; backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.auth-container { width: 90%; max-width: 420px; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
.auth-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 25px; text-align: center; position: relative; }
.auth-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.2); border: none; width: 30px; height: 30px; border-radius: 50%; color: white; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.auth-close:hover { background: rgba(255,255,255,0.4); transform: rotate(90deg); }
.auth-tabs { display: flex; background: #f5f9f5; }
.auth-tab { flex: 1; text-align: center; padding: 15px; cursor: pointer; color: #666; font-weight: 600; transition: 0.3s; border-bottom: 2px solid transparent; }
.auth-tab.active { color: var(--primary); background: white; border-bottom-color: var(--primary); }
.auth-forms { padding: 30px; }
.auth-form { display: none; animation: fadeIn 0.3s; }
.auth-form.active { display: block; }
.form-group { margin-bottom: 18px; position: relative; }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 10px; font-size: 1rem; transition: 0.3s; background: #fafafa; }
.form-input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1); outline: none; }
.btn-auth-submit { width: 100%; padding: 14px; background: var(--primary); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3); }
.btn-auth-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }
.auth-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: #666; }
.auth-link a { color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }
.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 5px; display: none; }

/* --- 新增：热门活动区的动态状态样式 --- */
#trending.compact-mode { padding-top: 20px !important; padding-bottom: 20px !important; margin-bottom: 40px !important; }
#trending.hidden-section { display: none !important; visibility: hidden; height: 0; margin: 0; padding: 0; overflow: hidden; }
.loading-small { font-size: 1.2rem; color: var(--primary); opacity: 0.6; }

/* --- 新增：山野食堂底部的采摘跳转卡片样式 --- */
.picking-redirect-card {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 15px;
  padding: 25px 30px;
  text-align: center;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(46, 125, 50, 0.1);
}
.picking-redirect-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-color: rgba(46, 125, 50, 0.3); }
.picking-redirect-content { text-align: left; flex: 1; padding-right: 20px; }
.picking-redirect-title { font-size: 1.1rem; font-weight: bold; color: #2e7d32; margin-bottom: 4px; }
.picking-redirect-desc { color: #558b2f; font-size: 0.85rem; }
.picking-redirect-btn {
  background: #2e7d32; color: white; padding: 8px 18px; border-radius: 50px;
  text-decoration: none; font-weight: bold; white-space: nowrap; font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
  display: inline-flex; align-items: center; gap: 5px; transition: background 0.3s;
}
.picking-redirect-btn:hover { background: #1b5e20; }
@media (max-width: 768px) {
  .picking-redirect-card { flex-direction: column; text-align: center; gap: 15px; }
  .picking-redirect-content { text-align: center; padding-right: 0; }
  .picking-redirect-btn { width: 100%; justify-content: center; }
}

