:root {
    --bg-dark: #0a0a0c;
    --bg-card: #16161a;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a5;
    --accent-yellow: #ffcc00;
    --accent-red: #e53935;
    --border-color: #2a2a30;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-yellow);
}
.logo-area img {
    height: 32px;
}
.menu-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
}
.nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.nav-menu.active {
    max-height: 500px;
}
.nav-list {
    list-style: none;
    padding: 10px 0;
}
.nav-list li {
    text-align: center;
}
.nav-list a {
    display: block;
    padding: 12px;
    color: var(--text-muted);
    transition: color 0.2s;
}
.nav-list a:hover {
    color: var(--accent-yellow);
}
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
    .nav-menu {
        position: static;
        max-height: none;
        width: auto;
        background: transparent;
        border: none;
    }
    .nav-list {
        display: flex;
        gap: 20px;
        padding: 0;
    }
    .nav-list a {
        padding: 0;
    }
}
/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
}
.hero h1 {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}
.hero p {
    color: var(--text-muted);
    margin-bottom: 30px;
}
.btn-download {
    display: inline-block;
    background-color: var(--accent-red);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}
.update-time {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
/* Carousel */
.carousel-section {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
}
.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 20px;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}
.carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.carousel-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.4s;
}
.carousel-item:hover img {
    transform: scale(1.05);
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    margin-left: 6px;
}
@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 45%;
    }
}
@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 30%;
    }
}
/* Marquee */
.marquee-wrap {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    padding: 10px 0;
    margin: 40px 0;
}
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    color: var(--accent-yellow);
    font-size: 0.9rem;
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* Sections */
.section {
    padding: 60px 0;
}
.section-title {
    font-size: 1.8rem;
    color: var(--accent-yellow);
    margin-bottom: 30px;
    text-align: center;
}
.grid-6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
@media (min-width: 768px) {
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .grid-6 { grid-template-columns: repeat(6, 1fr); }
}
.card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-color);
}
.card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.card-text {
    padding: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}
.card:hover .play-icon {
    background-color: rgba(255, 204, 0, 0.3);
    border-color: var(--accent-yellow);
}
.play-icon.small {
    width: 40px;
    height: 40px;
}
.play-icon.small::after {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
    margin-left: 4px;
}
/* Features */
.feature-text {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    line-height: 1.8;
    color: var(--text-muted);
}
.feature-text strong {
    color: var(--accent-yellow);
}
/* Ranking */
.rank-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.rank-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-red);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}
.rank-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
}
.rank-stats span {
    color: var(--accent-yellow);
}
/* Danmaku */
.danmaku-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background-color: #000;
}
.danmaku-container img {
    width: 100%;
    display: block;
}
.danmaku-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}
.danmaku-item {
    position: absolute;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000, -1px -1px 2px #000;
    white-space: nowrap;
    animation: danmaku-move linear infinite;
    opacity: 0.85;
}
@keyframes danmaku-move {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}
/* History */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
    margin-left: 20px;
}
.history-item {
    position: relative;
}
.history-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
}
.history-item h3 {
    font-size: 1.1rem;
    color: var(--accent-yellow);
    margin-bottom: 5px;
}
.history-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* FAQ */
.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-item summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    color: var(--accent-yellow);
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item p {
    padding: 0 15px 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
/* Comments */
.comment-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.comment-box textarea {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-main);
    resize: none;
    height: 80px;
}
.comment-box button {
    background-color: var(--accent-yellow);
    color: #000;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.comment-item {
    display: flex;
    gap: 15px;
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    padding: 4px;
}
.comment-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}
/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid var(--border-color);
}
.modal-content h3 {
    color: var(--accent-yellow);
    margin-bottom: 15px;
}
.modal-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.modal-content .btn-download {
    width: 100%;
}
/* Footer */
.site-footer {
    background-color: #050508;
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.site-footer a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.site-footer a:hover {
    color: var(--accent-yellow);
}
.about-us-section {
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.about-us-section details {
    text-align: left;
}
.about-us-section summary {
    cursor: pointer;
    outline: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 10px;
}
.about-us-section summary::-webkit-details-marker {
    display: none;
}
.about-us-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 15px;
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    justify-content: center;
}
.about-us-links a {
    font-size: 0.8rem;
}
/* Falling leaves effect */
.leaf {
    position: fixed;
    top: -50px;
    background-color: var(--accent-yellow);
    opacity: 0.2;
    border-radius: 50% 0 50% 50%;
    pointer-events: none;
    z-index: 9999;
    animation: fall linear infinite;
}
@keyframes fall {
    to { transform: translateY(100vh) rotate(360deg); }
}