:root {
        --bg-color: #0a0a0a;
        --card-bg: #1a1a1a;
        --primary-red: #e50914;
        --primary-red-hover: #ff1a25;
        --btn-yellow: #ffcc00;
        --btn-yellow-hover: #ffe033;
        --text-main: #ffffff;
        --text-muted: #aaaaaa;
        --border-color: #333333;
    }

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

    body {
        background-color: var(--bg-color);
        color: var(--text-main);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
    }

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

    /* 导航条 */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.95);
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
    }

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

    .nav-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 18px;
        font-weight: bold;
        color: var(--primary-red);
    }

    .nav-brand img {
        height: 32px;
        border-radius: 4px;
    }

    .nav-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--text-main);
        font-size: 24px;
        cursor: pointer;
    }

    .nav-links {
        display: flex;
        gap: 20px;
        list-style: none;
    }

    .nav-links a {
        color: var(--text-main);
        font-size: 14px;
        transition: color 0.3s;
    }

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

    /* 背景蓝莓粒子动画 */
    .berry-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
        overflow: hidden;
    }

    .berry {
        position: absolute;
        background-color: #1a237e;
        border-radius: 50%;
        opacity: 0.4;
        animation: fall linear infinite;
    }

    @keyframes fall {
        0% { transform: translateY(-10vh) scale(1); }
        100% { transform: translateY(110vh) scale(1.5); }
    }

    /* 首屏 */
    .hero {
        padding: 100px 20px 40px;
        text-align: center;
        position: relative;
        background: linear-gradient(180deg, rgba(229,9,20,0.1) 0%, rgba(10,10,10,1) 100%);
    }

    .hero h1 {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero h1 span {
        color: var(--primary-red);
    }

    .hero p {
        color: var(--text-muted);
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto 30px;
    }

    .download-btn {
        display: inline-block;
        background-color: var(--btn-yellow);
        color: #000;
        font-size: 18px;
        font-weight: bold;
        padding: 15px 40px;
        border-radius: 30px;
        transition: transform 0.3s, background-color 0.3s;
        box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    }

    .download-btn:hover {
        background-color: var(--btn-yellow-hover);
        transform: translateY(-3px);
    }

    .update-time {
        margin-top: 15px;
        font-size: 12px;
        color: var(--text-muted);
    }

    /* 轮播图 */
    .carousel-section {
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
        overflow: hidden;
    }

    .carousel-container {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 400px;
        perspective: 1000px;
    }

    .carousel-track {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform 0.5s ease;
    }

    .carousel-card {
        position: absolute;
        width: 220px;
        height: 320px;
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.5s ease;
        cursor: pointer;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .carousel-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .play-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .carousel-card:hover .play-overlay {
        opacity: 1;
    }

    .play-icon {
        width: 50px;
        height: 50px;
        background-color: rgba(255,255,255,0.8);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .play-icon::after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid var(--bg-color);
        margin-left: 5px;
    }

    /* 滚动横幅 */
    .marquee {
        background-color: var(--primary-red);
        color: #fff;
        padding: 10px 0;
        overflow: hidden;
        white-space: nowrap;
        font-weight: bold;
        font-size: 14px;
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 20s linear infinite;
    }

    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* 通用区块 */
    section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-title {
        text-align: center;
        font-size: 28px;
        margin-bottom: 40px;
        position: relative;
    }

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background-color: var(--primary-red);
        margin: 10px auto 0;
    }

    /* 黄火剧集 */
    .grid-6 {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

    .drama-card {
        background-color: var(--card-bg);
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }

    .drama-card img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
        display: block;
    }

    .drama-info {
        padding: 10px;
        font-size: 12px;
        text-align: center;
        color: var(--text-muted);
    }

    /* 黄火特点 */
    .feature-content {
        background-color: var(--card-bg);
        padding: 30px;
        border-radius: 10px;
        border-left: 4px solid var(--primary-red);
        font-size: 16px;
        line-height: 1.8;
        color: #ddd;
    }

    /* 黄火热播 */
    .hot-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .hot-card {
        display: flex;
        background-color: var(--card-bg);
        border-radius: 8px;
        overflow: hidden;
    }

    .hot-card img {
        width: 120px;
        height: 160px;
        object-fit: cover;
    }

    .hot-info {
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hot-info h3 {
        font-size: 16px;
        margin-bottom: 10px;
        color: var(--btn-yellow);
    }

    .hot-info p {
        font-size: 13px;
        color: var(--text-muted);
    }

    /* 黄火排行榜 */
    .rank-list {
        background-color: var(--card-bg);
        border-radius: 10px;
        padding: 20px;
    }

    .rank-item {
        display: flex;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .rank-item:last-child {
        border-bottom: none;
    }

    .rank-num {
        font-size: 24px;
        font-weight: bold;
        width: 40px;
        color: var(--primary-red);
        font-style: italic;
    }

    .rank-item img {
        width: 60px;
        height: 80px;
        border-radius: 4px;
        object-fit: cover;
        margin-right: 15px;
    }

    .rank-info {
        flex: 1;
    }

    .rank-info h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .rank-stats {
        font-size: 12px;
        color: var(--text-muted);
        display: flex;
        gap: 15px;
    }

    /* 火热弹幕 */
    .danmaku-player {
        position: relative;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        aspect-ratio: 16/9;
        background-color: #000;
        border-radius: 10px;
        overflow: hidden;
    }

    .danmaku-player img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.6;
    }

    .danmaku-layer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
    }

    .danmaku-item {
        position: absolute;
        white-space: nowrap;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        text-shadow: 1px 1px 2px #000;
        animation: danmaku-move linear forwards;
    }

    @keyframes danmaku-move {
        from { transform: translateX(100vw); }
        to { transform: translateX(-100%); }
    }

    /* 黄火历程 */
    .history-timeline {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        padding-left: 30px;
    }

    .history-timeline::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: var(--border-color);
    }

    .history-item {
        position: relative;
        margin-bottom: 30px;
    }

    .history-item::before {
        content: '';
        position: absolute;
        left: -36px;
        top: 5px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: var(--primary-red);
        border: 2px solid var(--bg-color);
    }

    .history-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: var(--btn-yellow);
    }

    .history-item p {
        font-size: 14px;
        color: var(--text-muted);
    }

    /* 常见问题 */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        background-color: var(--card-bg);
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    .faq-question {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        color: var(--text-main);
        font-size: 16px;
        padding: 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .faq-question::after {
        content: '+';
        font-size: 20px;
        color: var(--primary-red);
        transition: transform 0.3s;
    }

    .faq-item.active .faq-question::after {
        transform: rotate(45deg);
    }

    .faq-answer {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        color: var(--text-muted);
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
        max-height: 200px;
    }

    /* 网友热议 */
    .comments-section {
        max-width: 800px;
        margin: 0 auto;
    }

    .comment-box {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .comment-box img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #fff;
    }

    .comment-input-area {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .comment-input-area textarea {
        width: 100%;
        height: 80px;
        background-color: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: #fff;
        padding: 10px;
        resize: none;
        font-family: inherit;
    }

    .comment-input-area button {
        align-self: flex-end;
        background-color: var(--primary-red);
        color: #fff;
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        cursor: pointer;
    }

    .comment-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .comment-item {
        display: flex;
        gap: 15px;
    }

    .comment-item img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #fff;
    }

    .comment-content h4 {
        font-size: 14px;
        margin-bottom: 5px;
        color: var(--btn-yellow);
    }

    .comment-content p {
        font-size: 14px;
        color: #ddd;
    }

    /* 弹窗 */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
        z-index: 2000;
        justify-content: center;
        align-items: center;
    }

    .modal.active {
        display: flex;
    }

    .modal-content {
        background-color: var(--card-bg);
        padding: 30px;
        border-radius: 10px;
        text-align: center;
        max-width: 400px;
        width: 90%;
        border: 1px solid var(--border-color);
        position: relative;
    }

    .modal-close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
        background: none;
        border: none;
    }

    .modal-content h3 {
        margin-bottom: 15px;
        color: var(--btn-yellow);
    }

    .modal-content p {
        margin-bottom: 20px;
        font-size: 14px;
        color: var(--text-muted);
    }

    .modal-content .download-btn {
        padding: 10px 30px;
        font-size: 16px;
    }

    /* 页脚 */
    footer {
        text-align: center;
        padding: 30px 20px;
        border-top: 1px solid var(--border-color);
        color: var(--text-muted);
        font-size: 12px;
    }

    footer p {
        margin-bottom: 10px;
    }

    footer a {
        color: var(--text-muted);
        transition: color 0.3s;
    }

    footer a:hover {
        color: #fff;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
        .grid-6 { grid-template-columns: repeat(3, 1fr); }
        .hot-grid { grid-template-columns: repeat(2, 1fr); }
        .carousel-container { height: 350px; }
        .carousel-card { width: 180px; height: 260px; }
    }

    @media (max-width: 768px) {
        .nav-toggle { display: block; }
        .nav-links {
            display: none;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background-color: var(--bg-color);
            flex-direction: column;
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        .nav-links.active {
            display: flex;
        }
        .hero h1 { font-size: 28px; }
        .grid-6 { grid-template-columns: repeat(2, 1fr); }
        .hot-grid { grid-template-columns: 1fr; }
        .carousel-container { height: 300px; }
        .carousel-card { width: 140px; height: 200px; }
        .hot-card img { width: 100px; height: 140px; }
    }