:root {
    --bg-color: #fcf8f2;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --melon-red: #e63946;
    --melon-red-hover: #c1121f;
    --melon-green: #2a9d8f;
    --seed-black: #111111;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e5e0d8;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.06);
    --transition: all 0.3s ease;
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  img {
    max-width: 100%;
    display: block;
  }

  /* Header */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(252, 248, 242, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
  }

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--seed-black);
  }

  .logo-box img {
    height: 34px;
    width: auto;
  }

  .download-btn {
    background-color: var(--melon-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    min-height: 44px;
  }

  .download-btn:hover {
    background-color: var(--melon-red-hover);
    transform: translateY(-2px);
  }

  /* Main structure */
  main {
    max-width: 1200px;
    margin: 0 auto;
  }

  section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--seed-black);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 24px;
    background-color: var(--melon-red);
    border-radius: 4px;
  }

  .section-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
  }

  /* Hero Section */
  .hero {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    position: relative;
  }

  .hero-text {
    margin-bottom: 40px;
    z-index: 2;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--seed-black);
  }

  .hero h1 span {
    color: var(--melon-red);
  }

  .hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
  }

  .hero-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    height: 400px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  }

  .hero-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: scrollDown 20s linear infinite;
  }

  .hero-col:nth-child(2) {
    animation: scrollUp 22s linear infinite;
  }

  .hero-col:nth-child(3) {
    animation: scrollDown 18s linear infinite;
  }

  .hero-poster {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 4;
  }

  .hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @keyframes scrollDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }

  @keyframes scrollUp {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
  }

  /* Knock Knock */
  .knock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }

  .knock-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
  }

  .knock-card:hover {
    border-color: var(--melon-red);
    transform: translateY(-4px);
  }

  .knock-img-box {
    aspect-ratio: 3 / 4;
    position: relative;
  }

  .knock-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .knock-info {
    padding: 12px;
    background: var(--white);
  }

  .knock-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .knock-tags {
    font-size: 12px;
    color: var(--melon-green);
    background: #e8f5f3;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
  }

  /* Cut Melon */
  .fan-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 0;
    min-height: 300px;
  }

  .fan-item {
    width: 140px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: absolute;
    transform-origin: bottom center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #fff;
  }

  .fan-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fan-item:nth-child(1) { transform: rotate(-30deg) translateY(20px); z-index: 1; }
  .fan-item:nth-child(2) { transform: rotate(-15deg) translateY(10px); z-index: 2; }
  .fan-item:nth-child(3) { transform: rotate(0deg); z-index: 3; }
  .fan-item:nth-child(4) { transform: rotate(15deg) translateY(10px); z-index: 2; }
  .fan-item:nth-child(5) { transform: rotate(30deg) translateY(20px); z-index: 1; }

  .fan-list-container:hover .fan-item:nth-child(1) { transform: rotate(-40deg) translateX(-40px) translateY(10px); }
  .fan-list-container:hover .fan-item:nth-child(2) { transform: rotate(-20deg) translateX(-20px); }
  .fan-list-container:hover .fan-item:nth-child(3) { transform: scale(1.05); }
  .fan-list-container:hover .fan-item:nth-child(4) { transform: rotate(20deg) translateX(20px); }
  .fan-list-container:hover .fan-item:nth-child(5) { transform: rotate(40deg) translateX(40px) translateY(10px); }

  /* Fridge */
  .fridge-box {
    background: #e0e5ec;
    padding: 30px 20px;
    border-radius: 20px;
    border: 4px solid #b0b8c4;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    position: relative;
  }

  .fridge-box::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #b0b8c4;
    transform: translateX(-50%);
    display: none;
  }

  .fridge-shelves {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
  }

  .fridge-item {
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    background: #fff;
  }

  .fridge-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fridge-item::after {
    content: "已缓存";
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: var(--melon-green);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
  }

  /* Schedule */
  .schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .schedule-table th, .schedule-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }

  .schedule-table th {
    background: #fdfbf7;
    font-weight: 600;
    color: var(--seed-black);
  }

  .schedule-table tr:last-child td {
    border-bottom: none;
  }

  /* Features */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }

  .feature-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--seed-black);
  }

  .feature-card p {
    color: var(--text-muted);
    font-size: 14px;
  }

  /* User Voice */
  .voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .voice-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--melon-green);
  }

  .voice-text {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-style: italic;
  }

  .voice-user {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Footer */
  footer {
    background: #f0ece4;
    padding: 40px 20px;
    margin-top: 40px;
    font-size: 13px;
    color: #777;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-links a {
    color: #777;
    transition: var(--transition);
  }

  .footer-links a:hover {
    color: var(--melon-red);
  }

  .footer-info p {
    margin-bottom: 8px;
  }

  /* Responsive */
  @media (min-width: 768px) {
    .hero {
      flex-direction: row;
      align-items: center;
      padding: 60px 40px;
    }
    .hero-text {
      flex: 1;
      margin-bottom: 0;
      padding-right: 40px;
    }
    .hero h1 {
      font-size: 48px;
    }
    .hero-wall {
      flex: 1;
      height: 600px;
      grid-template-columns: repeat(4, 1fr);
    }
    .section-title {
      font-size: 32px;
    }
    .fan-item {
      width: 180px;
    }
  }

  @media (min-width: 1024px) {
    .hero-wall {
      grid-template-columns: repeat(4, 1fr);
    }
    .fan-item {
      width: 200px;
    }
    .knock-grid {
      grid-template-columns: repeat(5, 1fr);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-col {
      animation: none;
    }
    * {
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }