:root {
    --yellow: #FFD500;
    --black: #111111;
    --cream: #F9F6EE;
    --red: #E63946;
    --blue: #1D3557;
    --border-width: 3px;
    --shadow-hard: 4px 4px 0px var(--black);
    --font-main: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  }
  
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  
  body {
    font-family: var(--font-main);
    background-color: var(--cream);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* Typography */
  h1, h2, h3 { font-weight: 900; line-height: 1.2; }
  h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; text-shadow: 3px 3px 0 var(--black); color: var(--cream); -webkit-text-stroke: 2px var(--black); }
  h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
  h3 { font-size: 1.5rem; margin-bottom: 1rem; }
  p { font-size: 1.1rem; margin-bottom: 1rem; }
  
  /* Global Utilities */
  .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--yellow); color: var(--black);
    padding: 0.8rem 2rem; font-size: 1.2rem; font-weight: bold;
    border: var(--border-width) solid var(--black);
    border-radius: 50px; text-decoration: none;
    box-shadow: var(--shadow-hard); transition: transform 0.1s, box-shadow 0.1s;
  }
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
  .btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--black); }
  .btn-dark { background: var(--black); color: var(--yellow); border-color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow); }
  .btn-dark:hover { box-shadow: 6px 6px 0 var(--yellow); }
  .btn-dark:active { box-shadow: 2px 2px 0 var(--yellow); }

  /* Header */
  header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--cream); border-bottom: var(--border-width) solid var(--black);
    z-index: 1000; padding: 10px 0;
  }
  .header-inner { display: flex; justify-content: space-between; align-items: center; }
  .logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
  .logo-area img { height: 36px; width: auto; }
  .logo-text { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; }
  
  .nav-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; flex: 1; margin: 0 20px; white-space: nowrap; scrollbar-width: none; }
  .nav-tabs::-webkit-scrollbar { display: none; }
  .nav-tab {
    background: var(--yellow); padding: 4px 12px; border-radius: 12px 12px 0 0;
    font-weight: bold; font-size: 0.9rem; text-decoration: none; color: var(--black);
    border: 2px solid var(--black); border-bottom: none; transform-origin: bottom;
    transition: transform 0.2s, background 0.2s;
  }
  .nav-tab:hover, .nav-tab.active { transform: translateY(2px); background: var(--cream); border-color: var(--black); border-bottom: 2px solid var(--cream); }
  
  /* Hero */
  section { padding: 100px 0; }
  #hero { background: var(--yellow); padding-top: 120px; padding-bottom: 60px; }
  .hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-sub { font-size: 1.2rem; font-weight: bold; max-width: 600px; margin-bottom: 1.5rem; }
  .hero-btns { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 1.5rem; }
  .trust-info { font-size: 0.9rem; color: var(--black); font-weight: bold; }
  
  .hero-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
  .cover-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; border: var(--border-width) solid var(--black); box-shadow: var(--shadow-hard); }
  .cover-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform 0.3s; }
  .cover-card:hover img { transform: scale(1.05); }
  .peel-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 15px; }
  .banana-skin {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--yellow); border-radius: 10px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; z-index: 2;
  }
  .cover-card:hover .banana-skin { transform: translateY(-100%); border-bottom: 4px solid var(--black); }
  .cover-card.revealed .banana-skin { transform: translateY(-100%); border-bottom: 4px solid var(--black); }
  
  .peel-surface { font-weight: bold; font-size: 1.2rem; margin-bottom: 10px; }
  .peel-title { background: var(--black); color: var(--yellow); display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; margin-bottom: 5px; }
  .peel-meta { font-size: 0.8rem; color: #333; }
  
  /* Marquee */
  .marquee-wrapper { overflow: hidden; white-space: nowrap; margin-top: 30px; }
  .marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .marquee-item { display: inline-block; margin-right: 20px; font-weight: bold; font-size: 1.1rem; }

  /* Common Section Styles */
  .section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
  .tag { background: var(--black); color: var(--cream); padding: 4px 10px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; }
  
  /* Ranking */
  #ranking { background: var(--cream); }
  .ranking-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
  .rank-item { display: flex; flex-direction: column; gap: 10px; position: relative; }
  .rank-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; border: 2px solid var(--black); }
  .rank-num { position: absolute; top: -10px; left: -10px; background: var(--red); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; border: 2px solid var(--black); z-index: 10; }
  .rank-title { font-weight: bold; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rank-meta { font-size: 0.8rem; color: #555; }

  /* Genre */
  #genre { background: var(--cream); }
  .genre-tags { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
  .genre-tag { background: var(--yellow); border: 2px solid var(--black); padding: 8px 16px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: transform 0.2s; }
  .genre-tag.active { transform: translateY(-3px); box-shadow: 0 3px 0 var(--black); }
  .genre-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

  /* Playlist */
  #playlist { background: var(--cream); }
  .playlist-stack { display: flex; flex-direction: column; gap: 20px; }
  .playlist-layer { background: #F5E6A3; border: 3px solid var(--black); padding: 30px; border-radius: 16px; position: relative; box-shadow: inset 0 0 0 5px rgba(255,255,255,0.3); }
  .playlist-layer:nth-child(2) { margin-left: 20px; background: #F7DD79; }
  .playlist-layer:nth-child(3) { margin-left: 40px; background: #F9D24D; }
  .playlist-cards { display: flex; gap: 15px; overflow-x: auto; margin-top: 15px; padding-bottom: 10px; }
  .playlist-cards .cover-card { min-width: 150px; flex: 1; }

  /* Twist Wall */
  #twist-wall { background: var(--black); color: var(--cream); }
  #twist-wall h2 { color: var(--yellow); }
  .wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
  .wall-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
  .wall-card .banana-skin { background: var(--yellow); justify-content: center; text-align: center; padding: 15px; }
  .wall-card .peel-surface { font-size: 1rem; margin-bottom: 5px; }
  .wall-card .peel-meta { font-size: 0.8rem; }
  .wall-card:hover .banana-skin, .wall-card.revealed .banana-skin { transform: rotateX(90deg); transform-origin: top; opacity: 0; transition: transform 0.4s, opacity 0.4s; }
  .wall-card img { transition: transform 0.3s; }
  .wall-card:hover img { transform: scale(1.05); }

  /* Updates */
  #updates { background: var(--cream); }
  .update-cards { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
  .update-card { min-width: 250px; scroll-snap-align: start; }
  .ripeness-bar { width: 100%; height: 12px; background: #eee; border-radius: 6px; margin-top: 10px; overflow: hidden; border: 2px solid var(--black); }
  .ripeness-fill { height: 100%; background: var(--yellow); }
  .ripeness-fill.green { background: #83D475; }
  .ripeness-fill.yellow { background: var(--yellow); }
  .ripeness-fill.brown { background: #D4A373; }

  /* Pacing */
  #pacing { background: var(--cream); }
  .pacing-visual { position: relative; height: 300px; margin: 40px 0; border: 3px dashed var(--black); border-radius: 20px; padding: 20px; display: flex; align-items: center; justify-content: space-around; }
  .path-line { display: flex; align-items: center; gap: 10px; font-weight: bold; }
  .path-dot { width: 16px; height: 16px; background: var(--black); border-radius: 50%; }
  .path-cover { width: 80px; aspect-ratio: 3/4; object-fit: cover; border: 2px solid var(--black); border-radius: 8px; }

  /* Steps */
  #steps { background: var(--yellow); }
  .step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
  .step-item { display: flex; flex-direction: column; gap: 15px; }
  .step-num { font-size: 3rem; font-weight: 900; -webkit-text-stroke: 2px var(--black); color: var(--cream); }
  .phone-mockup { border: 4px solid var(--black); border-radius: 30px; overflow: hidden; background: #000; position: relative; aspect-ratio: 9/16; max-width: 250px; margin: 0 auto; }
  .phone-mockup img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
  .phone-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; color: white; pointer-events: none; }
  .phone-ui .ui-btn { background: rgba(255,255,255,0.3); padding: 5px 10px; border-radius: 20px; font-size: 0.8rem; backdrop-filter: blur(4px); width: fit-content; }

  /* Reviews */
  #reviews { background: var(--cream); }
  .reviews-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .review-card { background: var(--yellow); padding: 20px; border-radius: 20px 20px 20px 0; border: 2px solid var(--black); box-shadow: var(--shadow-hard); position: relative; }
  .review-card::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 20px; height: 20px; background: var(--yellow); border-bottom: 2px solid var(--black); border-left: 2px solid var(--black); transform: skewX(30deg); }
  .review-user { font-weight: bold; margin-bottom: 5px; }
  .review-text { font-size: 1rem; }

  /* FAQ */
  #faq { background: var(--cream); }
  .faq-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
  .faq-side h2 { writing-mode: vertical-rl; text-orientation: upright; margin: 0; height: 200px; letter-spacing: 5px; }
  .faq-list { display: flex; flex-direction: column; gap: 15px; }
  .faq-item { border: 2px solid var(--black); border-radius: 12px; background: white; overflow: hidden; }
  .faq-item summary { padding: 15px 20px; font-weight: bold; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: '+'; font-size: 1.5rem; }
  .faq-item[open] summary::after { content: '-'; }
  .faq-content { padding: 0 20px 15px; color: #333; }

  /* Download */
  #download { background: var(--black); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
  #download h2 { color: var(--yellow); margin-bottom: 2rem; }
  .download-btn-wrapper { display: flex; justify-content: center; margin: 2rem 0; }
  .qr-placeholder { width: 150px; height: 150px; background: white; margin: 0 auto; border-radius: 12px; padding: 10px; border: 2px solid var(--yellow); }
  .qr-placeholder img { width: 100%; height: 100%; object-fit: contain; }
  .quote-bottom { font-size: 1.2rem; font-weight: bold; margin-top: 2rem; color: var(--yellow); }

  /* Footer */
  footer { background: var(--cream); padding: 40px 0 20px; border-top: 4px solid var(--black); font-size: 0.85rem; color: #666; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
  .footer-links a { color: var(--black); text-decoration: none; font-weight: bold; }
  .footer-links a:hover { text-decoration: underline; }
  .footer-info { margin-bottom: 15px; }
  .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid #ccc; padding-top: 15px; }

  /* Responsive */
  @media (min-width: 768px) {
    .hero-showcase { grid-template-columns: repeat(3, 1fr); }
    .faq-layout { grid-template-columns: 100px 1fr; }
    .reviews-layout { grid-template-columns: 1fr 1fr; }
  }
  
  @media (min-width: 1024px) {
    .hero-content { flex-direction: row; justify-content: space-between; align-items: center; }
    .hero-text { flex: 0 0 35%; }
    .hero-showcase { flex: 0 0 60%; margin-top: 0; }
    .ranking-grid { grid-template-columns: repeat(5, 1fr); }
    .genre-cards { grid-template-columns: repeat(4, 1fr); }
    .wall-grid { grid-template-columns: repeat(6, 1fr); }
    .reviews-layout { grid-template-columns: 1fr 1fr 1fr; }
  }

  @media (prefers-reduced-motion: reduce) {
    .marquee-content { animation: none; }
    .banana-skin { transition: none; }
    html { scroll-behavior: auto; }
  }