:root {
    --bg-deep: #0a1930;
    --bg-blue: #0f2847;
    --bg-card: #143257;
    --blue-accent: #4a8df0;
    --blue-light: #7db3ff;
    --red-btn: #e63946;
    --red-hover: #ff4d5a;
    --white: #f5f9ff;
    --muted: #a8c4e8;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background: var(--bg-deep);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { text-decoration: none; color: inherit; }

  /* 蓝莓下落 */
  .berries {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }
  .berry {
    position: absolute;
    width: 14px; height: 14px;
    background: radial-gradient(circle at 30% 30%, #7db3ff, #2b5fa8 70%, #1a3d73);
    border-radius: 50%;
    opacity: 0.45;
    animation: fall linear infinite;
  }
  .berry::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 4px;
    background: #4a8df0;
    border-radius: 50% 50% 0 0;
  }
  @keyframes fall {
    0% { transform: translateY(-20px) rotate(0deg); }
    100% { transform: translateY(105vh) rotate(360deg); }
  }

  /* 导航 */
  .top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 25, 48, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 141, 240, 0.25);
  }
  .nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
  }
  .brand img { height: 34px; width: auto; }
  .nav-toggle {
    display: none;
    background: var(--blue-accent);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
  }
  .nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
  }
  .nav-links a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }

  /* 首屏 */
  .hero {
    position: relative;
    z-index: 2;
    padding: 60px 20px 50px;
    background: linear-gradient(160deg, #0f2847 0%, #0a1930 70%);
    text-align: center;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.35;
    letter-spacing: 1px;
    margin-bottom: 18px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 span { color: var(--blue-light); }
  .hero-sub {
    color: var(--muted);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto 30px;
  }
  .btn-download {
    display: inline-block;
    background: var(--red-btn);
    color: #fff;
    padding: 15px 44px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(230, 57, 70, 0.45);
    transition: transform 0.2s, background 0.2s;
  }
  .btn-download:hover { background: var(--red-hover); transform: translateY(-2px); }
  .update-time {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: #7a96bc;
  }

  /* 轮播 */
  .carousel-section {
    position: relative;
    z-index: 2;
    padding: 40px 20px 30px;
    background: var(--bg-deep);
    overflow: hidden;
  }
  .carousel-wrap {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    height: 420px;
    perspective: 1200px;
  }
  .card-slide {
    position: absolute;
    top: 50%; left: 50%;
    width: 210px;
    height: 300px;
    margin: -150px 0 0 -105px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
    background: var(--bg-card);
  }
  .card-slide img { width: 100%; height: 100%; object-fit: cover; }
  .card-slide .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-slide .play-btn::after {
    content: '';
    border-left: 14px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
  }
  .card-slide.pos-0 { transform: translateX(0) scale(1); z-index: 5; }
  .card-slide.pos-1 { transform: translateX(160px) scale(0.82) rotateY(-18deg); z-index: 4; opacity: 0.9; }
  .card-slide.pos-2 { transform: translateX(300px) scale(0.66) rotateY(-25deg); z-index: 3; opacity: 0.75; }
  .card-slide.pos-3 { transform: translateX(-160px) scale(0.82) rotateY(18deg); z-index: 4; opacity: 0.9; }
  .card-slide.pos-4 { transform: translateX(-300px) scale(0.66) rotateY(25deg); z-index: 3; opacity: 0.75; }
  .carousel-dots {
    text-align: center;
    margin-top: 20px;
  }
  .carousel-dots button {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #2f4e78;
    border: none;
    margin: 0 4px;
    cursor: pointer;
  }
  .carousel-dots button.active { background: var(--blue-light); }

  /* 滚动横幅 */
  .ticker {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #143257, #1d4a82, #143257);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    border-top: 1px solid rgba(74,141,240,0.3);
    border-bottom: 1px solid rgba(74,141,240,0.3);
  }
  .ticker-track {
    display: inline-block;
    animation: tickerMove 24s linear infinite;
    font-size: 14px;
    color: var(--blue-light);
    letter-spacing: 1px;
  }
  .ticker-track span { margin: 0 40px; }
  @keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* 通用区块 */
  section.block {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px;
  }
  .block-title {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--white);
  }
  .block-title span { color: var(--blue-light); }
  .block-desc {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 640px;
  }

  /* 蓝果剧集 */
  .grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .drama-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
    transition: transform 0.25s;
  }
  .drama-card:hover { transform: translateY(-4px); }
  .drama-card .thumb {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
  }
  .drama-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .drama-card .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: 2px solid rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .drama-card .play-btn::after {
    content: '';
    border-left: 13px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
  }
  .drama-card .caption {
    padding: 12px 14px;
    font-size: 14px;
    color: var(--white);
    background: rgba(20, 50, 87, 0.95);
  }

  /* 蓝果特点 */
  .feature-text {
    background: var(--bg-blue);
    border-left: 4px solid var(--blue-accent);
    padding: 28px 30px;
    border-radius: 0 12px 12px 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
  }
  .feature-text strong { color: var(--white); }

  /* 蓝果热播 */
  .hot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .hot-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
  }
  .hot-card .thumb {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
  }
  .hot-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .hot-card .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: 2px solid rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hot-card .play-btn::after {
    content: '';
    border-left: 13px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
  }
  .hot-card .reason {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--muted);
    background: rgba(20, 50, 87, 0.95);
  }

  /* 排行榜 */
  .rank-list { display: flex; flex-direction: column; gap: 14px; }
  .rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-blue);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
  }
  .rank-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--blue-light);
    width: 34px;
    text-align: center;
    flex-shrink: 0;
  }
  .rank-item:nth-child(1) .rank-num { color: #ffd166; }
  .rank-item:nth-child(2) .rank-num { color: #e0e6ef; }
  .rank-item:nth-child(3) .rank-num { color: #e8a46b; }
  .rank-thumb {
    width: 52px; height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .rank-info { flex: 1; min-width: 0; }
  .rank-info .name { font-size: 15px; color: var(--white); margin-bottom: 4px; }
  .rank-info .meta { font-size: 12px; color: var(--muted); }
  .rank-bar {
    height: 6px;
    background: #1a3d63;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
  }
  .rank-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
    border-radius: 3px;
  }

  /* 火热弹幕 */
  .danmu-stage {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
  }
  .danmu-stage img { width: 100%; height: auto; opacity: 0.8; }
  .danmu-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .danmu {
    position: absolute;
    white-space: nowrap;
    color: #fff;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    animation: danmuMove linear infinite;
  }
  @keyframes danmuMove {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-120%); }
  }

  /* 蓝果历程 */
  .timeline { position: relative; padding-left: 26px; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 6px; top: 6px; bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue-accent), transparent);
  }
  .tl-item { position: relative; margin-bottom: 26px; }
  .tl-item::before {
    content: '';
    position: absolute;
    left: -26px; top: 7px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--blue-accent);
    border: 2px solid var(--bg-deep);
  }
  .tl-item h3 { font-size: 16px; color: var(--blue-light); margin-bottom: 4px; }
  .tl-item p { font-size: 14px; color: var(--muted); }

  /* 常见问题 */
  .faq-item {
    background: var(--bg-blue);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
  }
  .faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--white);
    font-size: 15px;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
  }
  .faq-q::after {
    content: '+';
    font-size: 20px;
    color: var(--blue-light);
    transition: transform 0.25s;
  }
  .faq-item.open .faq-q::after { transform: rotate(45deg); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: var(--muted);
    font-size: 14px;
  }
  .faq-item.open .faq-a { max-height: 200px; padding-bottom: 16px; }

  /* 网友热议 */
  .comment-box {
    background: var(--bg-blue);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 24px;
  }
  .comment-box textarea {
    width: 100%;
    min-height: 90px;
    border-radius: 8px;
    border: 1px solid #2a4f7d;
    background: var(--bg-deep);
    color: var(--white);
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
  }
  .comment-box textarea:focus { outline: 1px solid var(--blue-accent); }
  .comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
  }
  .comment-actions span { font-size: 12px; color: #5e7ba0; }
  .btn-submit {
    background: var(--blue-accent);
    color: #fff;
    border: none;
    padding: 9px 26px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
  }
  .btn-submit:hover { background: #5c9bf5; }

  .comment-list { display: flex; flex-direction: column; gap: 16px; }
  .comment-item {
    display: flex;
    gap: 14px;
    background: var(--bg-card);
    padding: 16px 18px;
    border-radius: 12px;
  }
  .comment-item .avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-blue);
  }
  .comment-item .avatar img { width: 100%; height: 100%; object-fit: contain; }
  .comment-item .c-body { flex: 1; }
  .comment-item .c-name { font-size: 14px; color: var(--blue-light); margin-bottom: 4px; }
  .comment-item .c-text { font-size: 14px; color: var(--muted); }

  /* 弹窗 */
  .modal-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .modal-mask.show { display: flex; }
  .modal-box {
    background: var(--bg-blue);
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(74,141,240,0.3);
  }
  .modal-box h3 { font-size: 20px; margin-bottom: 10px; }
  .modal-box p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
  .modal-box .btn-download { padding: 12px 32px; font-size: 16px; }
  .modal-box .btn-close {
    display: block;
    margin: 14px auto 0;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
  }

  /* 页脚 */
  footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(74,141,240,0.15);
    color: #5e7ba0;
    font-size: 13px;
  }
  footer .foot-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 15px;
  }
  footer .foot-brand img { height: 24px; width: auto; }
  footer time { color: #4a6585; font-size: 12px; }

  /* 响应式 */
  @media (min-width: 768px) {
    .hero h1 { font-size: 42px; }
    .hero-sub { font-size: 17px; }
  }
  @media (max-width: 767px) {
    .nav-toggle { display: block; }
    .nav-links {
      display: none;
      position: absolute;
      top: 100%; left: 0; right: 0;
      background: #0d223d;
      flex-direction: column;
      padding: 16px 24px;
      gap: 14px;
      border-bottom: 1px solid rgba(74,141,240,0.25);
    }
    .nav-links.show { display: flex; }
    .hero { padding: 44px 18px 40px; }
    .hero h1 { font-size: 26px; }
    .carousel-wrap { height: 340px; }
    .card-slide { width: 170px; height: 244px; margin: -122px 0 0 -85px; }
    .card-slide.pos-1 { transform: translateX(110px) scale(0.78) rotateY(-15deg); }
    .card-slide.pos-2 { transform: translateX(210px) scale(0.6) rotateY(-22deg); }
    .card-slide.pos-3 { transform: translateX(-110px) scale(0.78) rotateY(15deg); }
    .card-slide.pos-4 { transform: translateX(-210px) scale(0.6) rotateY(22deg); }
    .grid-6, .hot-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .block-title { font-size: 22px; }
    .rank-info .meta { font-size: 11px; }
    .danmu { font-size: 12px; }
  }