:root {
    --bg-color: #0a0a0a;
    --surface: #161616;
    --surface-hover: #222222;
    --primary-pink: #ff2a6d;
    --primary-pink-hover: #ff5287;
    --accent-yellow: #ffd700;
    --text-main: #f5f5f5;
    --text-muted: #a3a3a3;
    --border-color: #2a2a2a;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

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

  body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }

  /* 铅笔下落背景动效 */
  .pencil-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }
  .pencil {
    position: absolute;
    top: -50px;
    width: 6px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-pink) 80%, #fff 80%);
    border-radius: 2px;
    opacity: 0.15;
    animation: fall linear infinite;
  }
  .pencil::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 8px solid #f0d9b5;
  }
  @keyframes fall {
    0% { transform: translateY(-50px) rotate(0deg); }
    100% { transform: translateY(105vh) rotate(360deg); }
  }

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

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

  /* 导航栏 */
  header {
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
  }

  .logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .logo-group img {
    height: 32px;
    border-radius: 6px;
  }
  .logo-group span {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-pink);
  }

  .menu-toggle {
    background: none;
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav-links {
    display: none; /* 默认折叠 */
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }

  /* 首屏 */
  .hero {
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }
  .hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
    background: linear-gradient(90deg, #fff, var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
  }
  .download-btn {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: #000;
    font-size: 20px;
    font-weight: bold;
    padding: 16px 48px;
    border-radius: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  }
  .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  }
  .update-time {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-muted);
  }

  /* 滚动横幅 */
  .marquee-banner {
    background-color: var(--primary-pink);
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
  }
  .marquee-content {
    display: inline-block;
    animation: scrollLeft 20s linear infinite;
  }
  @keyframes scrollLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }

  /* 通用区块 */
  section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
  }
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-pink);
    border-radius: 2px;
  }

  /* 轮播图 */
  .carousel-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
  }
  .carousel-wrapper {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    cursor: grab;
  }
  .carousel-wrapper:active {
    cursor: grabbing;
  }
  .carousel-item {
    flex: 0 0 calc(33.333% - 10px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
    transition: transform 0.3s;
  }
  .carousel-item:hover img {
    transform: scale(1.05);
  }

  /* 视频卡片网格 */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .card {
    background-color: var(--surface);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
  }
  .card-img-wrap {
    position: relative;
    cursor: pointer;
  }
  .card-img-wrap img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
  }
  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 42, 109, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .play-btn::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
  }
  .card-img-wrap:hover .play-btn {
    opacity: 1;
  }
  .card-info {
    padding: 12px;
  }
  .card-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-desc {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--primary-pink);
    margin-top: 8px;
  }

  /* 弹幕播放器 */
  .danmaku-player {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    cursor: pointer;
  }
  .danmaku-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
  }
  .danmaku-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
  }
  .danmaku {
    position: absolute;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    white-space: nowrap;
    animation: danmakuMove linear forwards;
  }
  @keyframes danmakuMove {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
  }

  /* 常见问题手风琴 */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }
  details {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
  }
  summary {
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  summary::-webkit-details-marker {
    display: none;
  }
  summary::after {
    content: '+';
    color: var(--primary-pink);
    font-size: 20px;
  }
  details[open] summary::after {
    content: '-';
  }
  .faq-answer {
    padding: 0 16px 16px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 10px;
  }

  /* 网友热议 */
  .comments-section {
    max-width: 800px;
    margin: 0 auto;
  }
  .comment-list {
    margin-bottom: 30px;
  }
  .comment-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
  }
  .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface);
    object-fit: contain;
    border: 1px solid var(--border-color);
  }
  .comment-body {
    background-color: var(--surface);
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 14px;
    flex: 1;
  }
  .comment-name {
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 4px;
    font-size: 13px;
  }
  .comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .comment-form textarea {
    width: 100%;
    height: 100px;
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-family: inherit;
    resize: none;
  }
  .comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
  }
  .submit-btn {
    align-self: flex-end;
    background-color: var(--primary-pink);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
  }

  /* 弹窗 */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  .modal-overlay.active {
    display: flex;
  }
  .modal-box {
    background-color: var(--surface);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 90%;
    width: 360px;
    border: 1px solid var(--primary-pink);
  }
  .modal-box h3 {
    color: var(--primary-pink);
    margin-bottom: 15px;
  }
  .modal-box p {
    margin-bottom: 25px;
    color: var(--text-muted);
  }
  .modal-close {
    background-color: var(--primary-pink);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    cursor: pointer;
  }

  /* 页脚 */
  footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    background-color: var(--bg-color);
  }
  footer p {
    margin-bottom: 10px;
  }
  footer a {
    color: var(--text-muted);
  }
  .about-us-details {
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-muted);
  }
  .about-us-details summary {
    cursor: pointer;
    display: inline-block;
    padding: 5px;
    font-size: 12px;
    color: var(--text-muted);
  }
  .about-us-details summary::after {
    display: none;
  }
  .about-links {
    margin-top: 10px;
    line-height: 2;
  }
  .about-links a {
    margin: 0 5px;
    color: var(--text-muted);
  }

  /* 响应式 */
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
      flex-direction: row;
      position: static;
      background: none;
      border: none;
      padding: 0;
      gap: 20px;
    }
    .nav-links a {
      padding: 0;
      border: none;
    }
    .menu-toggle {
      display: none;
    }
    .grid-container {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .hero h1 {
      font-size: 48px;
    }
  }

  @media (min-width: 1024px) {
    .grid-container {
      grid-template-columns: repeat(4, 1fr);
    }
  }