:root {
    --bg-cream: #fdf8f0;
    --bg-warm: #f6e9d8;
    --text-cocoa: #3a2a22;
    --text-light: #6b5a50;
    --accent-red: #d94841;
    --accent-yellow: #e8a838;
    --border-color: #e6dac9;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-cocoa);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

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

  /* 吸顶导航 */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
  }
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
  }
  .logo-area img {
    height: 36px;
    border-radius: var(--radius-sm);
  }
  .nav-links {
    display: none;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--text-light);
  }
  .nav-links a {
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 20px;
    transition: all 0.3s;
  }
  .nav-links a:hover {
    border-color: var(--text-cocoa);
    color: var(--text-cocoa);
  }
  .nav-cta {
    background-color: var(--accent-red);
    color: #fff;
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
  }
  .nav-cta:hover {
    background-color: #c03a34;
  }

  /* 布局容器 */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-cocoa);
  }
  .section-header p {
    color: var(--text-light);
    font-size: 1rem;
  }

  /* Hero 首屏 */
  .hero {
    padding: 40px 0;
  }
  .hero-inner {
    background: linear-gradient(135deg, var(--bg-warm), var(--bg-cream));
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(58, 42, 34, 0.05);
  }
  .hero-inner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.3), transparent);
    border-radius: 50%;
    filter: blur(30px);
  }
  .hero-text {
    z-index: 1;
    flex: 1;
  }
  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  .hero-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 600px;
  }
  .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  .btn-secondary {
    background-color: transparent;
    color: var(--text-cocoa);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--text-cocoa);
    transition: background 0.2s;
    display: inline-block;
  }
  .btn-secondary:hover {
    background-color: rgba(58, 42, 34, 0.05);
  }
  .hero-image {
    flex: 0 0 auto;
    text-align: center;
  }
  .hero-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 24px rgba(58, 42, 34, 0.1);
  }

  /* 今日饭票横向滑动 */
  .daily-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }
  .daily-strip::-webkit-scrollbar {
    height: 6px;
  }
  .daily-strip::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
  }
  .daily-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .daily-card .tag {
    background: var(--accent-red);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    align-self: flex-start;
  }
  .daily-card h3 {
    font-size: 1.1rem;
  }
  .daily-card p {
    font-size: 0.9rem;
    color: var(--text-light);
  }

  /* 热门榜单 */
  .top-chart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .top-one {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
  }
  .top-one img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .top-one:hover img {
    transform: scale(1.05);
  }
  .top-one .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
  }
  .top-one .overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }
  .top-rest {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .top-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 12px;
    align-items: center;
    border: 1px solid var(--border-color);
  }
  .top-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
  }
  .top-item .info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .top-item .info p {
    font-size: 0.85rem;
    color: var(--text-light);
  }

  /* 分类标签 */
  .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .category-tags span {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
  }
  .category-tags span:hover {
    border-color: var(--accent-yellow);
    background: var(--bg-warm);
  }

  /* 编辑推荐 & 深度长文 */
  .editor-picks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pick-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
  }
  .pick-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
  .pick-card .content {
    padding: 24px;
  }
  .pick-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .pick-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
  }
  .pick-card .editor-note {
    display: inline-block;
    background: var(--bg-warm);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-cocoa);
    font-weight: 500;
  }

  /* 深夜食堂 */
  .midnight-diner {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
  }
  .midnight-diner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(232, 168, 56, 0.05) 10px, rgba(232, 168, 56, 0.05) 20px);
    pointer-events: none;
  }
  .diner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
  }
  .diner-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
  }
  .diner-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .diner-card .info {
    padding: 16px;
  }
  .diner-card .info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .diner-card .info p {
    font-size: 0.9rem;
    color: var(--text-light);
  }

  /* 夸夸墙 & 茶话会 */
  .wall-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bubble {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    position: relative;
  }
  .bubble p {
    font-size: 0.95rem;
    color: var(--text-cocoa);
    margin-bottom: 8px;
  }
  .bubble .user {
    font-size: 0.85rem;
    color: var(--text-light);
  }

  /* 截图墙 */
  .screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .screenshot-item {
    background: #fff;
    border: 8px solid #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
  }
  .screenshot-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
  }
  .screenshot-item .caption {
    padding: 8px;
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-light);
    background: var(--bg-cream);
  }

  /* 年度神作 */
  .masterpiece {
    background: var(--text-cocoa);
    color: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
  }
  .masterpiece h2 {
    color: var(--accent-yellow);
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .masterpiece p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #dcd3cc;
  }

  /* 下载区 */
  .download-section {
    background-color: var(--text-cocoa);
    color: #fff;
    padding: 60px 0;
  }
  .download-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .download-text {
    flex: 1;
  }
  .download-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #fff;
  }
  .download-text p {
    font-size: 1.05rem;
    color: #dcd3cc;
    margin-bottom: 24px;
  }
  .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .features div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
  }
  .features div::before {
    content: '✓';
    color: var(--accent-yellow);
    font-weight: bold;
  }
  .download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .btn-appstore {
    background-color: var(--accent-red);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: opacity 0.2s;
  }
  .btn-appstore:hover {
    opacity: 0.9;
  }
  .btn-android {
    background-color: var(--accent-yellow);
    color: var(--text-cocoa);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: opacity 0.2s;
  }
  .btn-android:hover {
    opacity: 0.9;
  }
  .download-image {
    flex: 0 0 auto;
  }
  .download-image img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: perspective(800px) rotateY(-10deg) rotateX(5deg);
  }

  /* FAQ */
  .faq-section {
    margin-top: 40px;
  }
  .faq-section details {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
  }
  .faq-section details summary {
    font-weight: 600;
    list-style: none;
  }
  .faq-section details summary::-webkit-details-marker {
    display: none;
  }
  .faq-section details p {
    margin-top: 12px;
    color: #dcd3cc;
    font-size: 0.95rem;
  }

  /* 页脚 */
  footer {
    background-color: var(--bg-cream);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
  }
  footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  footer p {
    margin-bottom: 12px;
  }
  footer a {
    color: var(--text-light);
    text-decoration: underline;
    transition: color 0.2s;
  }
  footer a:hover {
    color: var(--text-cocoa);
  }
  .about-us {
    margin-top: 24px;
    text-align: left;
    display: inline-block;
  }
  .about-us details {
    cursor: pointer;
  }
  .about-us summary {
    font-size: 0.85rem;
    color: var(--text-light);
    list-style: none;
    display: inline-block;
  }
  .about-us summary::-webkit-details-marker {
    display: none;
  }
  .about-us .about-content {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
  }
  .about-us .about-content a {
    color: var(--text-light);
  }

  /* 悬浮下载按钮 */
  .floating-download {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
  }
  .floating-btn {
    background: linear-gradient(135deg, var(--accent-red) 50%, var(--text-cocoa) 50%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 40px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(58, 42, 34, 0.2);
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 1rem;
  }
  .floating-btn:hover {
    transform: scale(1.05);
  }
  .floating-bubble {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    color: var(--text-cocoa);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    pointer-events: none;
  }
  .floating-btn:hover + .floating-bubble {
    opacity: 1;
    transform: translateY(0);
  }
  .floating-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
  }
  .floating-panel.show {
    display: flex;
  }
  .floating-panel a {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
  }
  .floating-panel a:first-child {
    background: var(--accent-red);
    color: #fff;
  }
  .floating-panel a:last-child {
    background: var(--accent-yellow);
    color: var(--text-cocoa);
  }

  /* 响应式 */
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
    }
    .hero-inner {
      flex-direction: row;
      align-items: center;
      padding: 64px 48px;
    }
    .hero-text h1 {
      font-size: 3rem;
    }
    .hero-image img {
      width: 280px;
      height: 280px;
    }
    .top-chart-grid {
      grid-template-columns: 1fr 1fr;
    }
    .top-one {
      aspect-ratio: auto;
      height: 100%;
    }
    .editor-picks {
      grid-template-columns: 1fr 1fr;
    }
    .diner-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .wall-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .screenshot-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .download-inner {
      flex-direction: row;
      align-items: center;
    }
    .download-text h2 {
      font-size: 2.2rem;
    }
  }

  @media (min-width: 1024px) {
    .hero-text h1 {
      font-size: 3.5rem;
    }
    .wall-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .diner-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .screenshot-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }