:root {
    --paper: #f3ebd8;
    --ink: #1a1a1a;
    --peach: #ffb84d;
    --leaf: #4a6b4a;
    --line: #d8c8b0;
    --dark-bg: #121212;
    --dark-text: #e0d8c8;
    --typewriter: "Courier New", Courier, monospace;
    --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
    --serif: "Songti SC", "SimSun", serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
      linear-gradient(var(--line) 1px, transparent 1px),
      radial-gradient(#e0d4c0 1px, transparent 1px);
    background-size: 100% 32px, 20px 20px;
  }

  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; }

  /* Typography */
  h1, h2, h3 { font-family: var(--serif); font-weight: bold; line-height: 1.2; }
  h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
  h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
  .mono { font-family: var(--typewriter); }

  /* Layout */
  .container { width: 90%; max-width: 1280px; margin: 0 auto; }
  
  /* Header */
  header {
    position: sticky; top: 0; z-index: 100;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 0.5rem 0;
  }
  .header-inner {
    display: flex; justify-content: space-between; align-items: center;
  }
  .logo { display: flex; align-items: center; gap: 0.5rem; font-weight: bold; font-size: 1.2rem; }
  .logo img { height: 32px; }
  .nav-links {
    display: flex; gap: 1rem; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; padding: 0 1rem; flex: 1; justify-content: center;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 0.9rem; font-weight: bold; padding: 0.5rem; border-bottom: 2px solid transparent; }
  .nav-links a:hover { border-bottom-color: var(--peach); }
  .btn-download {
    background: var(--ink); color: var(--peach);
    padding: 0.8rem 1.5rem; border-radius: 4px;
    font-weight: bold; display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 44px; border: none; cursor: pointer;
  }
  .btn-download:hover { background: #333; }
  .progress-bar { height: 3px; background: var(--peach); width: 0%; position: absolute; bottom: -2px; left: 0; transition: width 0.1s; }

  /* 3:4 Cards general */
  .card-3-4 { aspect-ratio: 3/4; background: #fff; border: 1px solid var(--ink); position: relative; overflow: hidden; }
  .card-3-4 img { width: 100%; height: 100%; object-fit: cover; }
  .card-data { padding: 0.8rem; font-family: var(--typewriter); font-size: 0.8rem; }

  /* Hero */
  .hero { padding: 3rem 0; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
  .hero-text { display: flex; flex-direction: column; justify-content: center; }
  .hero-text p { font-size: 1.1rem; margin-bottom: 1.5rem; }
  .btn-group { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
  .btn-secondary { border: 1px solid var(--ink); padding: 0.8rem 1rem; font-weight: bold; text-align: center; }
  .trust-info { font-family: var(--typewriter); font-size: 0.85rem; color: #555; border-top: 1px dashed var(--ink); padding-top: 0.5rem; }

  .hero-content { position: relative; display: flex; gap: 1rem; }
  .cover-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; flex: 2; }
  .list-panel { flex: 1; background: #fff; border: 1px solid var(--ink); padding: 1rem; }
  .list-item { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.85rem; align-items: center; font-family: var(--typewriter); }
  .list-item img { width: 30px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid #ccc; }
  .list-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Sections */
  section { padding: 4rem 0; border-bottom: 1px solid var(--line); }
  .section-title { text-align: center; margin-bottom: 2rem; }
  .section-title h2 { display: inline-block; position: relative; }
  .section-title h2::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px; background: var(--peach); }

  /* Rules Grid */
  .rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
  .rule-card { background: #fff; border: 1px solid var(--ink); padding: 1.5rem; }
  .rule-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; border-bottom: 1px dashed var(--ink); padding-bottom: 0.5rem; }

  /* Footer */
  footer {
    padding: 3rem 0 1.5rem; background: var(--ink); color: var(--dark-text);
    font-size: 0.85rem; opacity: 0.8;
  }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer-grid h4 { color: var(--peach); margin-bottom: 0.5rem; }
  .footer-grid a { display: block; margin-bottom: 0.3rem; }
  .footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 1rem; }
  .footer-bottom a { color: var(--dark-text); }

  /* Responsive */
  @media (max-width: 1024px) {
    .nav-links { display: none; } /* Simplified for mobile */
    .hero { grid-template-columns: 1fr; }
    .cover-wall { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .hero { padding: 2rem 0; }
    .btn-group { flex-direction: column; }
    .hero-content { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
  }

  /* Animations */
  @media (prefers-reduced-motion: no-preference) {
    .card-3-4:hover { transform: scale(1.02); transition: transform 0.2s; }
  }