:root {
    --ink-black: #0B0D0C;
    --paper: #E7DDC6;
    --cinnabar: #9E3B2F;
    --jade: #4E7568;
    --gold: #C9A86A;
    --font-serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
    --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --width: 1280px;
  }

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

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    background-color: var(--ink-black);
    color: var(--paper);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
  }

  h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--paper);
  }

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

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

  .container {
    width: 100%;
    max-width: var(--width);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s, border-bottom 0.3s;
    border-bottom: 1px solid transparent;
  }

  header.scrolled {
    background-color: rgba(11, 13, 12, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gold);
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
  }

  .logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
  }

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

  .logo-box span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    font-size: 15px;
  }

  .nav-links a {
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
  }

  .nav-links a:hover {
    color: var(--gold);
  }

  .nav-actions {
    display: flex;
    align-items: center;
  }

  .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
  }

  .btn-primary {
    background-color: var(--cinnabar);
    color: #fff;
  }

  .btn-primary:hover {
    background-color: #852e24;
  }

  .btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
  }

  .btn-outline:hover {
    background: rgba(201, 168, 106, 0.1);
  }

  /* Hero */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('images/hero-cover-wz4m.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 13, 12, 0.95) 0%, rgba(11, 13, 12, 0.6) 50%, rgba(11, 13, 12, 0) 100%);
  }

  .hero-content {
    position: relative;
    z-index: 10;
    width: 50%;
    max-width: 600px;
  }

  .hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: 4px;
    margin-bottom: 16px;
    line-height: 1.1;
  }

  .hero .subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--gold);
    margin-bottom: 24px;
    letter-spacing: 1px;
  }

  .hero .desc {
    font-size: 16px;
    color: #b3a898;
    margin-bottom: 32px;
    max-width: 480px;
  }

  .platform-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
  }

  .platform-tags span {
    padding: 4px 12px;
    border: 1px solid rgba(231, 221, 198, 0.3);
    border-radius: 4px;
    font-size: 13px;
    color: #b3a898;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
  }

  /* Sections General */
  section {
    padding: 100px 0;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 16px;
    text-align: center;
  }

  .section-desc {
    text-align: center;
    color: #a39a88;
    margin-bottom: 56px;
    font-size: 16px;
  }

  /* Intro */
  .intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .intro-image {
    border-radius: 6px;
    border: 1px solid var(--gold);
    overflow: hidden;
  }

  .intro-text p {
    margin-bottom: 20px;
    color: #c4bbaa;
    font-size: 16px;
  }

  .pull-quote {
    margin: 32px 0;
    padding-left: 24px;
    border-left: 3px solid var(--cinnabar);
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--paper);
  }

  /* Features */
  .features {
    background-color: #0e1110;
  }

  .grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-card {
    background: rgba(231, 221, 198, 0.03);
    border: 1px solid rgba(201, 168, 106, 0.2);
    border-radius: 6px;
    padding: 32px;
    transition: border-color 0.3s;
  }

  .feature-card:hover {
    border-color: var(--gold);
  }

  .feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--gold);
  }

  .feature-card p {
    font-size: 15px;
    color: #a39a88;
  }

  /* Characters */
  .characters-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }

  .characters-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .characters-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
  }

  .char-card {
    flex: 0 0 280px;
    aspect-ratio: 3/4;
    border-radius: 6px;
    border: 1px solid rgba(201, 168, 106, 0.3);
    overflow: hidden;
    position: relative;
    background: #111;
  }

  .char-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
  }

  .char-card:hover img {
    transform: scale(1.05);
  }

  .char-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(0deg, rgba(11,13,12,0.95) 0%, rgba(11,13,12,0) 100%);
  }

  .char-info h3 {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .char-info span {
    font-size: 13px;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 8px;
  }

  .char-info p {
    font-size: 14px;
    color: #b3a898;
  }

  /* World */
  .world {
    background-color: #0e1110;
  }

  .world-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .world-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 106, 0.2);
    aspect-ratio: 16/9;
  }

  .world-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
  }

  .world-image:hover img {
    transform: scale(1.03);
  }

  .world-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(11, 13, 12, 0.8);
    padding: 6px 16px;
    border-radius: 4px;
    font-family: var(--font-serif);
    border: 1px solid var(--gold);
  }

  /* Loop */
  .loop-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
  }

  .loop-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(201, 168, 106, 0.2);
    z-index: 1;
  }

  .step {
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    background: var(--ink-black);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--gold);
  }

  .step h4 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .step p {
    font-size: 14px;
    color: #a39a88;
  }

  /* Download */
  .download-section {
    background-color: #0e1110;
  }

  .download-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .download-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .download-info > p {
    color: #a39a88;
    margin-bottom: 24px;
  }

  .check-list {
    list-style: none;
    margin-bottom: 32px;
  }

  .check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .check-list li::before {
    content: '✓';
    color: var(--jade);
    font-weight: bold;
  }

  .download-card {
    background: rgba(231, 221, 198, 0.03);
    border: 1px solid rgba(201, 168, 106, 0.3);
    border-radius: 6px;
    padding: 32px;
  }

  .tab-header {
    display: flex;
    border-bottom: 1px solid rgba(201, 168, 106, 0.2);
    margin-bottom: 24px;
  }

  .tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #a39a88;
    padding: 12px 0;
    font-size: 16px;
    font-family: var(--font-sans);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
  }

  .tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }

  .tab-content {
    display: none;
  }

  .tab-content.active {
    display: block;
  }

  .tab-content .btn {
    width: 100%;
    margin-bottom: 16px;
    font-size: 18px;
  }

  .file-info {
    font-size: 13px;
    color: #a39a88;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
  }

  .hash-box {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .hash-box input {
    flex: 1;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(201, 168, 106, 0.2);
    color: #a39a88;
    padding: 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    outline: none;
  }

  .hash-box button {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
  }

  /* FAQ */
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .faq-item {
    border: 1px solid rgba(201, 168, 106, 0.2);
    border-radius: 6px;
    overflow: hidden;
  }

  .faq-question {
    width: 100%;
    text-align: left;
    background: rgba(231, 221, 198, 0.03);
    border: none;
    color: var(--paper);
    padding: 20px;
    font-size: 16px;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-question::after {
    content: '+';
    color: var(--gold);
    font-size: 20px;
  }

  .faq-item.open .faq-question::after {
    content: '-';
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0,0,0,0.2);
  }

  .faq-answer-inner {
    padding: 20px;
    color: #a39a88;
    font-size: 15px;
    border-top: 1px solid rgba(201, 168, 106, 0.1);
  }

  /* Footer */
  footer {
    background: #060706;
    border-top: 1px solid rgba(201, 168, 106, 0.2);
    padding: 64px 0 32px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
  }

  .footer-col h4 {
    font-size: 16px;
    color: var(--gold);
    margin-bottom: 20px;
  }

  .footer-col p, .footer-col a {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
    display: block;
  }

  .footer-col a:hover {
    color: var(--gold);
  }

  .footer-bottom {
    text-align: center;
    color: #666;
    font-size: 13px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

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

  .age-warning {
    color: var(--cinnabar);
    font-weight: bold;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-content { width: 70%; }
    .grid-features { grid-template-columns: repeat(2, 1fr); }
    .loop-steps { grid-template-columns: repeat(2, 1fr); }
    .loop-steps::before { display: none; }
    .step { margin-bottom: 32px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { min-height: 80vh; }
    .hero-content { width: 100%; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .intro-layout { grid-template-columns: 1fr; }
    .grid-features { grid-template-columns: 1fr; }
    .world-grid { grid-template-columns: 1fr; }
    .loop-steps { grid-template-columns: 1fr; }
    .download-layout { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  }