:root {
        --bg-dark: #0f0f13;
        --bg-card: #1a1a24;
        --purple: #8a2be2;
        --purple-light: #a855f7;
        --yellow: #fbbf24;
        --yellow-light: #fde047;
        --red: #ef4444;
        --red-hover: #dc2626;
        --text-main: #f3f4f6;
        --text-muted: #9ca3af;
        --border-color: rgba(138, 43, 226, 0.3);
        --glass-bg: rgba(26, 26, 36, 0.7);
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        background-color: var(--bg-dark);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
        background-image: radial-gradient(circle at 50% 0%, rgba(138,43,226,0.15) 0%, transparent 50%),
                          radial-gradient(circle at 10% 80%, rgba(251,191,36,0.05) 0%, transparent 40%);
        background-attachment: fixed;
    }

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

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

    /* 导航条 */
    .navbar {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--glass-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        transition: all 0.3s ease;
    }

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

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--yellow);
        white-space: nowrap;
    }

    .brand img {
        height: 32px;
        width: auto;
    }

    .nav-links {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        font-size: 0.9rem;
        color: var(--text-main);
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid transparent;
        transition: all 0.2s;
    }

    .nav-links a:hover {
        color: var(--yellow);
        border-color: var(--border-color);
        background: rgba(138, 43, 226, 0.2);
    }

    .toggle-btn {
        display: none;
        background: transparent;
        border: 1px solid var(--border-color);
        color: var(--yellow);
        padding: 6px 12px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.9rem;
    }

    /* 首屏区块 */
    .hero {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        color: var(--text-main);
    }

    .hero h1 span {
        color: var(--yellow);
        text-shadow: 0 0 10px rgba(251,191,36,0.3);
    }

    .hero p {
        color: var(--text-muted);
        font-size: 1.1rem;
    }

    .download-area {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .btn-download {
        display: inline-block;
        background: var(--red);
        color: #fff;
        font-weight: bold;
        font-size: 1.1rem;
        padding: 14px 32px;
        border-radius: 50px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
        transition: all 0.3s ease;
        animation: bounce 2s infinite;
    }

    .btn-download:hover {
        background: var(--red-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-8px); }
        60% { transform: translateY(-4px); }
    }

    .update-time {
        font-size: 0.8rem;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    /* 扑克牌轮播 */
    .carousel-wrapper {
        position: relative;
        width: 100%;
        height: 450px;
        perspective: 1000px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        touch-action: pan-y;
    }

    .carousel-card {
        position: absolute;
        width: 240px;
        height: 360px;
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        transition: all 0.5s ease;
        cursor: pointer;
        background: var(--bg-card);
    }

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

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

    .play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0.8;
        transition: all 0.3s;
        pointer-events: none;
    }

    .play-overlay::after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 0 8px 14px;
        border-color: transparent transparent transparent #fff;
        margin-left: 4px;
    }

    .carousel-card:hover .play-overlay {
        opacity: 1;
        background: var(--red);
        border-color: var(--red);
        transform: translate(-50%, -50%) scale(1.1);
    }

    /* 滚动横幅 */
    .marquee-section {
        background: linear-gradient(90deg, var(--purple) 0%, var(--yellow) 100%);
        padding: 10px 0;
        overflow: hidden;
        white-space: nowrap;
        display: flex;
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 20s linear infinite;
        color: #1a1a24;
        font-weight: bold;
        font-size: 0.95rem;
    }

    .marquee-content span {
        margin: 0 30px;
    }

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

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

    .section-title {
        font-size: 2rem;
        color: var(--yellow);
        margin-bottom: 30px;
        text-align: center;
        position: relative;
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--purple), transparent);
    }

    /* 剧库 & 热播 */
    .grid-6 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .card-item {
        background: var(--bg-card);
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
        position: relative;
    }

    .card-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
        border-color: var(--yellow);
    }

    .card-img-wrapper {
        position: relative;
        aspect-ratio: 3/4;
        overflow: hidden;
    }

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

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

    .card-text {
        padding: 15px;
        font-size: 0.95rem;
        color: var(--text-main);
        text-align: center;
        border-top: 1px solid var(--border-color);
    }

    /* 特色区块 */
    .feature-section {
        background: rgba(138, 43, 226, 0.05);
        border-radius: 20px;
        padding: 40px;
        border: 1px solid var(--border-color);
        margin-top: 20px;
    }

    .feature-text {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--text-muted);
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .feature-text strong {
        color: var(--yellow);
    }

    /* 排行榜 */
    .rank-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .rank-item {
        display: flex;
        align-items: center;
        background: var(--bg-card);
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        padding: 10px;
        gap: 15px;
        transition: all 0.3s;
    }

    .rank-item:hover {
        border-color: var(--yellow);
        background: rgba(26, 26, 36, 0.9);
    }

    .rank-img {
        width: 60px;
        height: 80px;
        border-radius: 6px;
        object-fit: cover;
    }

    .rank-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .rank-title {
        font-weight: bold;
        font-size: 1rem;
        color: var(--text-main);
    }

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

    .rank-data span {
        color: var(--red);
    }

    /* 弹幕互动 */
    .player-section {
        position: relative;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        aspect-ratio: 16/9;
        background: #000;
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid var(--border-color);
    }

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

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

    .danmaku {
        position: absolute;
        white-space: nowrap;
        color: #fff;
        font-size: 1.1rem;
        font-weight: bold;
        text-shadow: 1px 1px 2px #000, -1px -1px 2px #000;
        opacity: 0.9;
        will-change: transform;
    }

    .danmaku.d1 { top: 15%; animation: dm 8s linear infinite; }
    .danmaku.d2 { top: 30%; animation: dm 10s linear infinite 2s; }
    .danmaku.d3 { top: 45%; animation: dm 7s linear infinite 1s; }
    .danmaku.d4 { top: 60%; animation: dm 12s linear infinite 4s; }
    .danmaku.d5 { top: 75%; animation: dm 9s linear infinite 3s; }
    .danmaku.d6 { top: 85%; animation: dm 11s linear infinite 5s; }

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

    /* 历史介绍 */
    .history-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        color: var(--text-muted);
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .history-text p {
        margin-bottom: 15px;
    }

    /* 常见问题手风琴 */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

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

    .faq-question {
        padding: 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        color: var(--yellow);
        background: rgba(138, 43, 226, 0.05);
        transition: background 0.2s;
    }

    .faq-question:hover {
        background: rgba(138, 43, 226, 0.15);
    }

    .faq-icon {
        transition: transform 0.3s;
        font-size: 1.2rem;
    }

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

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

    .faq-item.active .faq-answer {
        max-height: 200px;
        padding: 20px;
        border-top: 1px solid var(--border-color);
    }

    /* 网友热议 */
    .comments-area {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .comment-form {
        display: flex;
        gap: 15px;
        align-items: flex-start;
        background: var(--bg-card);
        padding: 20px;
        border-radius: 10px;
        border: 1px solid var(--border-color);
    }

    .comment-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--purple);
    }

    .form-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .comment-input {
        width: 100%;
        background: var(--bg-dark);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 12px;
        color: var(--text-main);
        resize: vertical;
        min-height: 80px;
        font-family: inherit;
    }

    .comment-input:focus {
        outline: none;
        border-color: var(--yellow);
    }

    .comment-submit {
        align-self: flex-end;
        background: var(--purple);
        color: #fff;
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        cursor: pointer;
        font-weight: bold;
        transition: background 0.2s;
    }

    .comment-submit:hover {
        background: var(--purple-light);
    }

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

    .comment-item {
        display: flex;
        gap: 15px;
        background: var(--bg-card);
        padding: 15px;
        border-radius: 10px;
        border: 1px solid var(--border-color);
    }

    .comment-content {
        flex: 1;
    }

    .comment-name {
        font-weight: bold;
        color: var(--text-main);
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    .comment-text {
        color: var(--text-muted);
        font-size: 0.95rem;
    }

    /* 弹窗 */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        backdrop-filter: blur(5px);
    }

    .modal-overlay.active {
        display: flex;
    }

    .modal-box {
        background: var(--bg-card);
        padding: 30px;
        border-radius: 16px;
        border: 2px solid var(--yellow);
        text-align: center;
        max-width: 400px;
        width: 90%;
        animation: popIn 0.3s ease;
    }

    @keyframes popIn {
        from { transform: scale(0.8); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    .modal-title {
        font-size: 1.5rem;
        color: var(--yellow);
        margin-bottom: 15px;
    }

    .modal-text {
        color: var(--text-muted);
        margin-bottom: 20px;
    }

    .modal-btn {
        background: var(--red);
        color: #fff;
        border: none;
        padding: 10px 30px;
        border-radius: 20px;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.2s;
    }

    .modal-btn:hover {
        background: var(--red-hover);
    }

    /* 内裤下落特效 */
    .falling-panties {
        position: fixed;
        top: -50px;
        font-size: 1.5rem;
        pointer-events: none;
        z-index: 999;
        animation: fall linear forwards;
        opacity: 0.6;
    }

    @keyframes fall {
        to {
            transform: translateY(105vh) rotate(360deg);
        }
    }

    /* 页脚 */
    footer {
        border-top: 1px solid var(--border-color);
        padding: 30px 20px;
        text-align: center;
        color: var(--text-muted);
        font-size: 0.85rem;
        background: rgba(15, 15, 19, 0.8);
    }

    footer p {
        margin-bottom: 10px;
    }

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

    footer a:hover {
        color: var(--yellow);
    }

    /* 响应式：768px */
    @media (max-width: 768px) {
        .nav-links {
            display: none;
            position: absolute;
            top: 64px;
            left: 0;
            width: 100%;
            background: var(--glass-bg);
            flex-direction: column;
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .nav-links.active {
            display: flex;
        }

        .toggle-btn {
            display: block;
        }

        .hero {
            grid-template-columns: 1fr;
            padding: 20px;
            gap: 20px;
        }

        .hero h1 {
            font-size: 2rem;
            text-align: center;
        }

        .hero p {
            text-align: center;
        }

        .download-area {
            align-items: center;
        }

        .carousel-wrapper {
            height: 350px;
        }

        .carousel-card {
            width: 180px;
            height: 270px;
        }

        .grid-6 {
            grid-template-columns: repeat(2, 1fr);
        }

        .section {
            padding: 40px 15px;
        }

        .section-title {
            font-size: 1.5rem;
        }

        .feature-section {
            padding: 20px;
        }

        .comment-form {
            flex-direction: column;
            align-items: center;
        }

        .comment-avatar {
            margin-bottom: 10px;
        }

        .form-content {
            width: 100%;
        }

        .comment-submit {
            align-self: center;
            width: 100%;
        }
    }

    /* 响应式：1024px */
    @media (min-width: 769px) and (max-width: 1024px) {
        .hero h1 {
            font-size: 2.4rem;
        }

        .carousel-wrapper {
            height: 400px;
        }

        .carousel-card {
            width: 210px;
            height: 315px;
        }
    }