:root {
    --primary-red: #E23E3E;
    --primary-dark: #2B1A1A;
    --melon-green: #2D6A4F;
    --seed-black: #1A1A1A;
    --bg-light: #FDFBF7;
    --text-main: #333333;
    --text-muted: #666666;
    --radius-lg: 16px;
    --radius-md: 10px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; object-fit: cover; }

  /* Typography */
  h1, h2, h3 { color: var(--seed-black); line-height: 1.3; }
  h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
  h2 { font-size: 1.8rem; margin-bottom: 1.5rem; font-weight: 700; }
  h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
  
  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid #EAE3D9;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.2rem;
  }
  .logo-group img {
    height: 32px;
    width: auto;
  }
  .header-download {
    background: var(--primary-red);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    transition: background 0.2s, transform 0.2s;
  }
  .header-download:hover {
    background: #C93131;
    transform: scale(1.02);
  }
  .header-download svg {
    width: 18px; height: 18px; fill: currentColor;
  }

  /* Hero Section */
  .hero {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
  }
  .hero-actions {
    display: flex;
    gap: 1rem;
  }
  .btn-primary {
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 12px rgba(226, 62, 62, 0.3);
    min-height: 44px;
  }
  .btn-primary:hover {
    background: #C93131;
    transform: translateY(-2px);
  }
  .hero-gallery {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #fce4e4, #f0dada);
  }
  .gallery-track {
    display: flex;
    gap: 10px;
    padding: 10px;
    width: max-content;
    animation: scroll-left 30s linear infinite;
  }
  .gallery-track img {
    width: 140px;
    height: 186px; /* 3:4 ratio */
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 5px)); }
  }
  .hero-gallery:hover .gallery-track {
    animation-play-state: paused;
  }

  /* Common Sections */
  .section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  /* Melon Knock (敲瓜) */
  .knock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
  }
  .knock-card {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s;
  }
  .knock-card:hover {
    transform: scale(1.02);
  }
  .knock-card img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
  }
  .knock-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1rem 0.5rem 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
    font-size: 0.85rem;
  }
  .knock-card:hover .knock-info {
    transform: translateY(0);
  }
  .knock-card::after {
    content: "敲一下";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(255,255,255,0.9);
    color: var(--primary-red);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
  }
  .knock-card:hover::after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }

  /* Fridge (冰镇) */
  .fridge-section {
    background: var(--seed-black);
    color: white;
    padding: 4rem 1rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
  }
  .fridge-shelf {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) transparent;
  }
  .fridge-shelf::-webkit-scrollbar {
    height: 6px;
  }
  .fridge-shelf::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
  }
  .fridge-item {
    flex: 0 0 120px;
  }
  .fridge-item img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    border: 2px solid #333;
  }
  .fridge-item h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
  }

  /* Vine (顺藤摸瓜) */
  .vine-box {
    position: relative;
    padding: 2rem 0;
  }
  .vine-line {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 4px;
    background: var(--melon-green);
    border-radius: 2px;
    z-index: 1;
  }
  .vine-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    position: relative;
    z-index: 2;
    padding: 1rem 0;
  }
  .vine-item {
    flex: 0 0 100px;
    text-align: center;
  }
  .vine-item img {
    width: 100px;
    height: 133px;
    border-radius: 50% / 40%; /* leaf-like shape */
    border: 3px solid var(--melon-green);
    transition: transform 0.3s;
  }
  .vine-item:hover img {
    transform: scale(1.1);
  }

  /* Footer */
  .site-footer {
    background: #F0EBE1;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4rem;
  }
  .site-footer a {
    color: var(--text-muted);
  }
  .site-footer a:hover {
    text-decoration: underline;
  }

  /* Responsive */
  @media (min-width: 768px) {
    .hero {
      grid-template-columns: 1fr 1fr;
      padding: 5rem 2rem;
    }
    .hero-gallery {
      height: 500px;
    }
    .gallery-track img {
      width: 180px;
      height: 240px;
    }
    .knock-grid {
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
  }

  @media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .hero-gallery {
      height: 600px;
    }
    .gallery-track img {
      width: 220px;
      height: 293px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .gallery-track { animation: none; }
    * { transition: none !important; }
  }