:root {
    --macaron-pink: #ffe4e8;
    --macaron-green: #e0f7ec;
    --macaron-yellow: #fff8d6;
    --macaron-blue: #e0f2fe;
    --macaron-purple: #f3e8ff;
    --text-dark: #2d2d2d;
    --text-light: #666;
    --primary: #ff6b81;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 20px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-dark); line-height: 1.6; background: #fff; overflow-x: hidden; }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; height: auto; display: block; }
  ul { list-style: none; }
  .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .section-title { font-size: 2rem; text-align: center; margin-bottom: 2rem; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
  .section-title::after { content: ''; position: absolute; bottom: -8px; left: 20%; width: 60%; height: 4px; background: var(--primary); border-radius: 2px; }

  /* Header */
  header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid #f0f0f0; }
  .header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
  .logo-group { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; color: var(--text-dark); }
  .logo-group img { height: 32px; width: auto; border-radius: 8px; }
  nav ul { display: flex; gap: 20px; font-size: 0.95rem; font-weight: 500; }
  nav a:hover { color: var(--primary); }
  .menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }

  /* Hero */
  .hero { position: relative; background: linear-gradient(135deg, var(--macaron-pink) 0%, var(--macaron-purple) 50%, var(--macaron-blue) 100%); padding: 80px 0; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; overflow: hidden; }
  .hero::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; animation: float 6s ease-in-out infinite; }
  .hero::after { content: ''; position: absolute; bottom: 50px; left: -30px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; animation: float 8s ease-in-out infinite reverse; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
  .hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
  .hero-text { flex: 1; min-width: 300px; }
  .hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
  .hero-text p { font-size: 1.1rem; color: #555; margin-bottom: 30px; }
  .download-buttons { display: flex; flex-direction: column; gap: 15px; }
  .btn { display: inline-flex; justify-content: center; align-items: center; padding: 12px 30px; border-radius: 30px; font-size: 1.1rem; font-weight: bold; color: #fff; background: linear-gradient(90deg, #ff8fa3, #ff6b81); box-shadow: 0 4px 15px rgba(255,107,129,0.4); transition: transform 0.2s; text-align: center; }
  .btn:hover { transform: translateY(-2px); }
  .btn.secondary { background: #333; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
  .hero-images { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; min-width: 300px; }
  .hero-images img { border-radius: 15px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 3/4; transition: transform 0.3s; }
  .hero-images img:hover { transform: scale(1.05); }
  .hero-images .img-wrap:nth-child(2) { margin-top: 30px; }

  /* Sections Base */
  section { padding: 60px 0; }
  .section-bg-pink { background-color: var(--macaron-pink); }
  .section-bg-green { background-color: var(--macaron-green); }
  .section-bg-yellow { background-color: var(--macaron-yellow); }
  .section-bg-blue { background-color: var(--macaron-blue); }
  .section-bg-purple { background-color: var(--macaron-purple); }

  /* 糖分热榜 (Gashapon) */
  .hot-list-layout { display: flex; gap: 40px; flex-wrap: wrap; }
  .gashapon-station { flex: 1; min-width: 300px; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
  .gashapon-machine { width: 200px; height: 250px; background: linear-gradient(to bottom, #ffb6c1, #ff69b4); border-radius: 20px; position: relative; margin-bottom: 20px; border: 5px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 20px; }
  .gashapon-machine::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60%; background: rgba(255,255,255,0.3); border-top-left-radius: 15px; border-top-right-radius: 15px; }
  .capsule { width: 60px; height: 60px; background: #fff; border-radius: 50%; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: inset -5px -5px 10px rgba(0,0,0,0.1); z-index: 1; transition: transform 0.5s; }
  .gashapon-btn { padding: 10px 20px; background: #333; color: #fff; border-radius: 20px; cursor: pointer; border: none; z-index: 1; font-weight: bold; }
  .gashapon-btn:hover { background: #000; }
  .gachapon-result { margin-top: 20px; text-align: center; min-height: 250px; }
  .gachapon-result img { width: 120px; border-radius: 10px; margin: 0 auto 10px; display: none; }
  .gachapon-result img.active { display: block; animation: popIn 0.5s ease-out; }
  @keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
  .sweetness-shelf { flex: 1; min-width: 300px; }
  .shelf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .shelf-item { background: #fff; padding: 15px; border-radius: 15px; box-shadow: var(--shadow); display: flex; gap: 15px; align-items: center; opacity: 0.8; transition: all 0.3s; }
  .shelf-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
  .shelf-item h4 { font-size: 1rem; margin-bottom: 5px; }
  .shelf-item span { font-size: 0.8rem; background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 10px; }

  /* 独家手作 (Unwrap Gallery) */
  .unwrap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .unwrap-item { display: flex; gap: 20px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
  .unwrap-img-box { position: relative; width: 140px; height: 200px; border-radius: 15px; overflow: hidden; flex-shrink: 0; }
  .unwrap-img-box img { width: 100%; height: 100%; object-fit: cover; }
  .unwrap-text h3 { font-size: 1.3rem; margin-bottom: 10px; }
  .unwrap-text p { font-size: 0.9rem; color: #666; margin-bottom: 15px; }
  .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
  .tag { font-size: 0.8rem; background: var(--macaron-pink); color: #d6336c; padding: 4px 10px; border-radius: 10px; }
  .date { font-size: 0.8rem; color: #999; }

  /* 上新糖果车 (Candy Train) */
  .candy-train-container { overflow-x: auto; padding-bottom: 20px; }
  .candy-train { display: flex; gap: 20px; width: max-content; padding: 20px; }
  .train-car { background: #fff; border-radius: 15px; width: 160px; padding: 15px; box-shadow: var(--shadow); text-align: center; border-bottom: 5px solid #ccc; }
  .train-car.highlight { border-bottom-color: var(--primary); animation: pulse 2s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,107,129,0.4); } 70% { box-shadow: 0 0 0 10px rgba(255,107,129,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,129,0); } }
  .train-car .time { font-weight: bold; font-size: 1.1rem; margin-bottom: 10px; color: var(--primary); }
  .train-car img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
  .train-car p { font-size: 0.9rem; }

  /* 许愿糖果罐 (Candy Jar) */
  .jar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
  .jar-card { background: rgba(255,255,255,0.6); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.8); border-radius: var(--radius); padding: 20px; text-align: center; position: relative; }
  .jar-card img { width: 100px; height: 140px; object-fit: cover; border-radius: 10px; margin: 0 auto 15px; }
  .jar-card h4 { margin-bottom: 10px; }
  .jar-visual { width: 60px; height: 80px; background: rgba(255,255,255,0.5); border-radius: 30px 30px 10px 10px; margin: 10px auto; position: relative; overflow: hidden; border: 2px solid #fff; }
  .jam-level { position: absolute; bottom: 0; left: 0; width: 100%; background: var(--primary); transition: height 0.5s ease; }
  .vote-btn { padding: 6px 15px; background: #ff8fa3; color: #fff; border: none; border-radius: 15px; cursor: pointer; font-size: 0.9rem; margin-top: 10px; }

  /* 观剧回响 (Soda Bubble Wall) */
  .bubble-wall { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
  .bubble { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: flex; gap: 15px; width: calc(50% - 10px); }
  .bubble:nth-child(even) { margin-top: 30px; }
  .bubble img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
  .bubble-content p { font-size: 0.9rem; color: #444; margin-bottom: 5px; }
  .bubble-content .name { font-size: 0.8rem; color: #999; }

  /* 常见问题 (Vending FAQ) */
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .faq-item { background: #fff; border-radius: 15px; box-shadow: var(--shadow); padding: 20px; cursor: pointer; perspective: 1000px; }
  .faq-front { display: flex; align-items: center; justify-content: space-between; font-weight: bold; font-size: 1.05rem; }
  .faq-front::after { content: '+'; font-size: 1.5rem; color: var(--primary); }
  .faq-item.active .faq-front::after { content: '-'; }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 0.95rem; color: #555; margin-top: 10px; }
  .faq-item.active .faq-answer { max-height: 200px; }

  /* 下载与安装步骤 */
  .download-area { text-align: center; background: var(--macaron-blue); padding: 60px 0; border-radius: 40px 40px 0 0; }
  .install-steps { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
  .step { background: #fff; padding: 20px; border-radius: 15px; width: 250px; text-align: left; box-shadow: var(--shadow); }
  .step h4 { color: var(--primary); margin-bottom: 10px; }
  .step p { font-size: 0.9rem; color: #666; }
  .download-group { margin-top: 20px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
  .download-group .btn { width: 200px; }

  /* Footer */
  footer { background: #f9f9f9; text-align: center; padding: 30px 0; font-size: 0.8rem; color: #999; }
  footer p { margin-bottom: 10px; }
  footer a { color: #666; text-decoration: underline; }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.5rem; }
    .unwrap-grid { grid-template-columns: 1fr; }
    .shelf-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    nav ul { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: var(--shadow); }
    nav ul.show { display: flex; }
    .menu-toggle { display: block; }
    .hero { padding: 40px 0; }
    .hero-text { text-align: center; }
    .hero-text h1 { font-size: 2rem; }
    .hero-content { flex-direction: column; }
    .hero-images { width: 100%; justify-content: center; }
    .hero-images .img-wrap:nth-child(2) { margin-top: 0; }
    .download-buttons { align-items: center; }
    .download-group { flex-direction: column; align-items: center; }
    .faq-grid { grid-template-columns: 1fr; }
    .bubble { width: 100%; }
    .bubble:nth-child(even) { margin-top: 0; }
    .install-steps { flex-direction: column; align-items: center; }
  }