:root {
        --bg-color: #0a0a0a;
        --bg-light: #1a1a1a;
        --text-main: #f0f0f0;
        --text-muted: #999999;
        --accent-red: #e60012;
        --accent-red-hover: #ff1a2d;
        --btn-yellow: #ffcc00;
        --btn-yellow-hover: #ffdb4d;
        --border-color: #333333;
    }

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

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

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

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

    /* Header & Nav */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        border-bottom: 1px solid var(--border-color);
    }

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

    .logo-box {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.2rem;
        font-weight: bold;
    }

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

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

    .nav-links a {
        font-size: 0.95rem;
        color: var(--text-muted);
        transition: color 0.3s;
    }

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

    .menu-toggle {
        display: none;
        background: none;
        border: 1px solid var(--border-color);
        color: var(--text-main);
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        padding: 100px 20px 50px;
        text-align: center;
        position: relative;
        background: radial-gradient(circle at 50% 0%, #2a0a0a 0%, var(--bg-color) 70%);
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #fff;
        text-shadow: 0 2px 10px rgba(230, 0, 18, 0.5);
    }

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

    .download-btn {
        display: inline-block;
        background-color: var(--btn-yellow);
        color: #000;
        font-size: 1.2rem;
        font-weight: bold;
        padding: 15px 40px;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
        transition: transform 0.2s, background-color 0.2s;
        position: relative;
        z-index: 10;
    }

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

    .page-time {
        display: block;
        margin-top: 15px;
        font-size: 0.85rem;
        color: var(--text-muted);
    }

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

    .carousel-wrapper {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 450px;
        perspective: 1000px;
    }

    .carousel-card {
        position: absolute;
        width: 280px;
        height: 400px;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s;
        cursor: pointer;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    }

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

    .carousel-card::after {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.3);
        transition: background 0.3s;
    }

    .carousel-card:hover::after {
        background: rgba(0,0,0,0.1);
    }

    /* Card positions */
    .carousel-card.pos-0 { transform: translateX(0) scale(1); z-index: 5; opacity: 1; }
    .carousel-card.pos-1 { transform: translateX(60%) scale(0.85); z-index: 4; opacity: 0.8; }
    .carousel-card.pos-2 { transform: translateX(-60%) scale(0.85); z-index: 4; opacity: 0.8; }
    .carousel-card.pos-3 { transform: translateX(110%) scale(0.7); z-index: 3; opacity: 0.6; }
    .carousel-card.pos-4 { transform: translateX(-110%) scale(0.7); z-index: 3; opacity: 0.6; }

    .play-btn {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 60px; height: 60px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid rgba(255,255,255,0.6);
        transition: all 0.3s;
    }
    
    .carousel-card:hover .play-btn {
        background: var(--accent-red);
        border-color: var(--accent-red);
    }

    .play-btn::before {
        content: '';
        width: 0; height: 0;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-left: 20px solid #fff;
        margin-left: 5px;
    }

    /* Marquee */
    .marquee {
        background-color: var(--bg-light);
        padding: 15px 0;
        overflow: hidden;
        white-space: nowrap;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        margin: 40px 0;
    }

    .marquee-content {
        display: inline-block;
        animation: scroll 20s linear infinite;
        font-size: 0.95rem;
        color: var(--text-muted);
    }

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

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

    /* Grid Layout */
    .section-container {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .section-title::before, .section-title::after {
        content: '';
        width: 30px;
        height: 2px;
        background: var(--accent-red);
    }

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

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

    .grid-card {
        background: var(--bg-light);
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

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

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

    .card-desc {
        padding: 15px;
        font-size: 0.95rem;
        color: var(--text-muted);
        border-top: 1px solid var(--border-color);
        background: var(--bg-light);
    }

    /* Feature Section */
    .feature-text {
        background: var(--bg-light);
        padding: 30px;
        border-radius: 8px;
        border-left: 4px solid var(--accent-red);
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--text-muted);
    }

    /* Ranking */
    .ranking-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .ranking-item {
        display: flex;
        align-items: center;
        background: var(--bg-light);
        padding: 10px;
        border-radius: 8px;
        gap: 15px;
        cursor: pointer;
        transition: background 0.3s;
    }

    .ranking-item:hover {
        background: #252525;
    }

    .rank-num {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--accent-red);
        width: 40px;
        text-align: center;
    }

    .ranking-item img {
        width: 80px;
        height: 110px;
        object-fit: cover;
        border-radius: 6px;
    }

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

    .rank-info p {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    /* Danmaku Section */
    .danmaku-player {
        position: relative;
        max-width: 800px;
        margin: 0 auto;
        border-radius: 12px;
        overflow: hidden;
        background: #000;
        aspect-ratio: 16/9;
    }

    .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-item {
        position: absolute;
        white-space: nowrap;
        color: #fff;
        font-weight: bold;
        text-shadow: 1px 1px 2px #000;
        animation: danmaku-move 8s linear infinite;
        opacity: 0.9;
        font-size: 1.1rem;
    }

    @keyframes danmaku-move {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-200%); }
    }

    /* Accordion */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

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

    .faq-question {
        padding: 15px 20px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid transparent;
    }

    .faq-question.active {
        border-bottom-color: var(--border-color);
    }

    .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: 0.95rem;
    }

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

    /* Comments */
    .comment-section {
        max-width: 800px;
        margin: 0 auto;
    }

    .comment-form {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }

    .comment-form input {
        flex: 1;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid var(--border-color);
        background: var(--bg-light);
        color: #fff;
        outline: none;
    }

    .comment-form button {
        padding: 0 20px;
        background: var(--accent-red);
        color: #fff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: bold;
    }

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

    .comment-item {
        display: flex;
        gap: 15px;
        background: var(--bg-light);
        padding: 15px;
        border-radius: 8px;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: contain;
        background: #333;
    }

    .comment-content h4 {
        font-size: 0.95rem;
        margin-bottom: 5px;
        color: #ddd;
    }

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

    /* Footer */
    footer {
        text-align: center;
        padding: 40px 20px;
        border-top: 1px solid var(--border-color);
        margin-top: 60px;
    }

    footer p {
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 10px;
    }

    footer a {
        color: #666;
        transition: color 0.3s;
    }

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

    /* Modal */
    .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: 2000;
    }

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

    .modal-box {
        background: var(--bg-light);
        padding: 30px;
        border-radius: 12px;
        text-align: center;
        max-width: 400px;
        width: 90%;
        border: 1px solid var(--border-color);
    }

    .modal-box h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--btn-yellow);
    }

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

    .modal-box a {
        display: inline-block;
        background: var(--accent-red);
        color: #fff;
        padding: 10px 30px;
        border-radius: 20px;
        font-weight: bold;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .grid-3 { grid-template-columns: repeat(2, 1fr); }
        .hero h1 { font-size: 2rem; }
    }

    @media (max-width: 768px) {
        .nav-links {
            display: none;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background: var(--bg-color);
            flex-direction: column;
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        .nav-links.active { display: flex; }
        .menu-toggle { display: block; }
        
        .carousel-wrapper { height: 350px; }
        .carousel-card { width: 200px; height: 300px; }
        .carousel-card.pos-1 { transform: translateX(40%) scale(0.85); }
        .carousel-card.pos-2 { transform: translateX(-40%) scale(0.85); }
        .carousel-card.pos-3 { transform: translateX(75%) scale(0.7); }
        .carousel-card.pos-4 { transform: translateX(-75%) scale(0.7); }

        .grid-3, .grid-2 { grid-template-columns: 1fr; }
        .grid-card img { height: auto; aspect-ratio: 3/4; }
    }