* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #db2777;
    --primary-light: #f472b6;
    --primary-dark: #9d174d;
    --bg: #fdf2f8;
    --card-bg: #ffffff;
    --text-main: #1e1b2b;
    --text-sub: #4b4453;
    --gray-light: #f3eef2;
    --shadow-sm: 0 4px 20px rgba(219, 39, 119, 0.12);
    --shadow-hover: 0 12px 28px rgba(219, 39, 119, 0.22);
    --radius-card: 14px;
    --radius-btn: 30px;
    --radius-tag: 20px;
    --max-width: 1200px;
    --font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
body {
    background-color: var(--bg);
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.5;
    padding: 0 16px 40px;
    scroll-behavior: smooth;
}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.hover-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}
.section-trust {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-light);
    padding-left: 14px;
    background: rgba(219, 39, 119, 0.04);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    gap: 6px;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(219, 39, 119, 0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}
.btn-outline {
    background: rgba(255,255,255,0.85);
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 10px;
    flex-wrap: wrap;
    background: transparent;
    transition: background 0.3s;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--primary-dark);
    cursor: pointer;
}
.logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 0 2px var(--primary-light);
    transition: box-shadow 0.3s;
}
.logo-badge:hover {
    box-shadow: 0 0 0 6px rgba(219, 39, 119, 0.2), 0 0 18px var(--primary);
}
.footer-badge {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: none;
}
.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 500;
    color: var(--text-main);
    flex-wrap: wrap;
}
.nav-links a {
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s;
}
.nav-links a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

.hero {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 28px;
    padding: 56px 24px 48px;
    text-align: center;
    color: #fff;
    margin-bottom: 48px;
    box-shadow: 0 20px 30px -10px rgba(157, 23, 77, 0.4);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "📖";
    position: absolute;
    font-size: 160px;
    opacity: 0.06;
    right: -20px;
    bottom: -30px;
    transform: rotate(10deg);
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.1);
    line-height: 1.3;
}
.hero p {
    max-width: 720px;
    margin: 0 auto 12px;
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.7;
}
.hero .search-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    display: flex;
    align-items: center;
    max-width: 560px;
    margin: 28px auto 20px;
}
.hero .search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    padding: 10px 0;
}
.hero .search-box input::placeholder {
    color: rgba(255,255,255,0.8);
}
.hero .search-box button {
    background: #fff;
    border: none;
    border-radius: 40px;
    padding: 12px 30px;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    transition: 0.2s;
}
.hero .search-box button:hover {
    background: var(--bg);
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 28px;
}
.hero-tags span {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    cursor: default;
}
.hero-tags span:hover {
    background: rgba(255,255,255,0.35);
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-actions .btn-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}
.hero-actions .btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}
.hero-qr-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.hero-qr-card {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    min-width: 280px;
}
.qr-box {
    width: 84px;
    height: 84px;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
    flex-shrink: 0;
}
.qr-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.qr-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.qr-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.qr-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}
.qr-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 6px 14px;
    background: #fff;
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
}
.qr-btn:hover {
    background: var(--bg);
    transform: translateY(-1px);
}

.intro-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    margin-bottom: 52px;
    transition: box-shadow 0.3s;
}
.intro-card p {
    text-indent: 2em;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-sub);
    line-height: 1.8;
}

.grid {
    display: grid;
    gap: 20px;
    margin-bottom: 52px;
}
.grid-auto-260 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.hot-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.25s;
    border: 1px solid rgba(219, 39, 119, 0.08);
}
.hot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.hot-cover {
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: rgba(255,255,255,0.7);
}
.hot-type-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(2px);
}
.hot-follow {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
}
.hot-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hot-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}
.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.hot-tags span {
    background: #fce7f3;
    color: var(--primary-dark);
    padding: 2px 12px;
    border-radius: var(--radius-tag);
    font-size: 0.7rem;
    font-weight: 500;
}
.hot-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hot-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #7a6b7a;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0e2ea;
}
.player-icon {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.7rem;
    background: rgba(219,39,119,0.1);
    padding: 2px 8px;
    border-radius: 30px;
    color: var(--primary);
    margin-top: 8px;
    width: fit-content;
}

.news-item {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 20px;
    border-left: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}
.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.news-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}
.news-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 8px 0 6px;
    color: var(--text-main);
}
.news-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.5;
}

.cat-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 22px 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.25s;
    border: 1px solid rgba(219,39,119,0.08);
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.cat-emoji {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.cat-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}
.cat-desc {
    font-size: 0.8rem;
    color: var(--text-sub);
    line-height: 1.5;
}

.rel-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}
.rel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.rel-cover {
    height: 110px;
    background: linear-gradient(135deg, #f472b6, #db2777);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    opacity: 0.9;
}
.rel-body {
    padding: 16px;
}
.rel-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}
.rel-date {
    font-size: 0.75rem;
    color: #9a8b95;
    margin-bottom: 8px;
}
.rel-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.analysis-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    padding: 34px;
    margin-bottom: 52px;
}
.analysis-card p {
    text-indent: 2em;
    margin-bottom: 1.1rem;
    font-size: 0.98rem;
    color: var(--text-sub);
    line-height: 1.8;
}

.guide-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}
.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.guide-emoji {
    font-size: 1.8rem;
    margin-bottom: 6px;
}
.guide-name {
    font-weight: 700;
    color: var(--primary-dark);
}
.guide-summary {
    background: #fce7f3;
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 14px 14px 0;
    margin-top: 24px;
    margin-bottom: 52px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-sub);
}

.faq-container {
    max-height: 520px;
    overflow-y: auto;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 12px 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 52px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) #f0e2ea;
}
.faq-container::-webkit-scrollbar {
    width: 6px;
}
.faq-container::-webkit-scrollbar-track {
    background: #f0e2ea;
    border-radius: 10px;
}
.faq-container::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}
.faq-item {
    border-bottom: 1px solid #f0e2ea;
}
.faq-question {
    padding: 16px 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1rem;
}
.faq-question::after {
    content: "➕";
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.2s;
}
.faq-item.active .faq-question::after {
    content: "➖";
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.2s;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 220px;
    padding: 0 0 18px;
}

.comment-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 20px;
    display: flex;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0e2ea;
    transition: all 0.25s;
}
.comment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f472b6, #db2777);
}
.comment-body {
    flex: 1;
}
.comment-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.comment-nick {
    font-weight: 700;
    color: var(--primary-dark);
}
.comment-time {
    font-size: 0.7rem;
    color: #9a8b95;
}
.comment-text {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.5;
}

.hotspot-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}
.hotspot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.hotspot-cover {
    height: 100px;
    background: linear-gradient(135deg, #f9a8d4, #db2777);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
}
.hotspot-body {
    padding: 16px;
}
.hotspot-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}
.hotspot-date {
    font-size: 0.7rem;
    color: #9a8b95;
    margin-bottom: 8px;
}
.hotspot-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.5;
}

.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    border-radius: 28px 28px 0 0;
    padding: 40px 28px 20px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: var(--max-width);
    margin: 0 auto 28px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
}
.footer h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.footer ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
}
.footer ul li a:hover {
    opacity: 1;
    color: #fff;
    text-decoration: underline;
}
.copyright {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 22px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-apk-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.footer-apk-btn:hover {
    background: #fff;
    color: var(--primary-dark);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(219,39,119,0.5);
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 14px;
        padding: 20px 0 10px;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 1.9rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-qr-card {
        width: 100%;
        min-width: auto;
    }
    .grid-3, .grid-4, .grid-5, .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-auto-260 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .intro-card, .analysis-card {
        padding: 24px;
    }
    .faq-container {
        max-height: 400px;
    }
    .hero {
        padding: 36px 16px 32px;
    }
    .hero .search-box {
        flex-direction: row;
    }
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comment-grid {
        grid-template-columns: 1fr;
    }
    .copyright {
        justify-content: center;
        text-align: center;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-auto-260 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}