:root {
        --bg-main: #0f0f13;
        --bg-card: #1a1a20;
        --bg-card-hover: #22222a;
        --text-main: #f0f0f0;
        --text-muted: #a0a0a8;
        --accent: #ff3366;
        --accent-gradient: linear-gradient(90deg, #ff3366, #ff9933, #ff3366);
        --border-color: #33333d;
        --radius: 12px;
    }

    * {
        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-main);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
        padding-bottom: 80px; /* 给浮动窗口留空间 */
    }

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

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

    /* 顶部导航 */
    .site-header {
        position: sticky;
        top: 0;
        background-color: rgba(15, 15, 19, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        z-index: 100;
        padding: 12px 20px;
    }

    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: bold;
        font-size: 18px;
    }

    .logo-area img {
        height: 32px;
        border-radius: 6px;
    }

    .desktop-nav {
        display: none;
    }

    @media (min-width: 768px) {
        .desktop-nav {
            display: flex;
            gap: 20px;
        }
        .desktop-nav a {
            font-size: 14px;
            color: var(--text-muted);
            transition: color 0.3s;
            padding: 5px 0;
            position: relative;
        }
        .desktop-nav a:hover {
            color: var(--accent);
        }
        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s;
        }
        .desktop-nav a:hover::after {
            width: 100%;
        }
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
    }

    @media (min-width: 768px) {
        .mobile-menu-btn {
            display: none;
        }
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        background-color: var(--bg-card);
        padding: 10px;
        border-radius: var(--radius);
        margin-top: 10px;
        border: 1px solid var(--border-color);
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {
        padding: 12px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-main);
        font-size: 15px;
    }

    .mobile-nav a:last-child {
        border-bottom: none;
    }

    /* 首屏区域 */
    .hero-section {
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero-text {
        text-align: left;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        word-break: break-word;
    }

    .hero-text p {
        font-size: 15px;
        color: var(--text-muted);
        margin-bottom: 24px;
    }

    .download-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-download {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        background-color: var(--accent);
        color: #fff;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        transition: transform 0.2s, background-color 0.2s;
    }

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

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

    .hero-gallery img {
        border-radius: var(--radius);
        object-fit: cover;
        aspect-ratio: 3 / 4;
        width: 100%;
        transition: transform 0.3s;
    }

    .hero-gallery img:hover {
        transform: scale(1.05);
    }

    /* 跑马灯 */
    .marquee-wrap {
        background-color: #1a1a20;
        padding: 10px 0;
        overflow: hidden;
        white-space: nowrap;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 15s linear infinite;
        font-weight: bold;
    }

    .marquee-content span {
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 18px;
        margin: 0 20px;
    }

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

    /* 内容区块通用 */
    .content-section {
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .section-title::before {
        content: '';
        display: block;
        width: 4px;
        height: 24px;
        background: var(--accent);
        border-radius: 2px;
    }

    /* 今日吃瓜 - 横向滑动卡片 */
    .section-daily {
        background-color: #1c1820;
        border-radius: var(--radius);
        margin-top: 20px;
    }

    .horizontal-scroll {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

    .horizontal-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .horizontal-scroll::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 3px;
    }

    .scroll-card {
        flex: 0 0 260px;
        background: var(--bg-card);
        border-radius: var(--radius);
        padding: 16px;
        scroll-snap-align: start;
        border: 1px solid var(--border-color);
    }

    .scroll-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
        color: var(--accent);
    }

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

    /* 本周热瓜 - 网格布局 */
    .section-weekly {
        background-color: #181c1c;
        border-radius: var(--radius);
        margin-top: 20px;
    }

    .grid-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    @media (min-width: 768px) {
        .grid-layout {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .grid-layout {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .grid-card {
        background: var(--bg-card);
        border-radius: var(--radius);
        padding: 20px;
        border: 1px solid var(--border-color);
        transition: border-color 0.3s;
    }

    .grid-card:hover {
        border-color: var(--accent);
    }

    .grid-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

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

    /* 校园大赛 - 左右分栏 */
    .section-campus {
        background-color: #1a181a;
        border-radius: var(--radius);
        margin-top: 20px;
    }

    .split-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    @media (min-width: 768px) {
        .split-layout {
            flex-direction: row;
            align-items: stretch;
        }
        .split-image {
            flex: 1;
        }
        .split-content {
            flex: 1.2;
        }
    }

    .split-image img {
        border-radius: var(--radius);
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .split-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .list-item {
        background: var(--bg-card);
        padding: 12px 16px;
        border-radius: 8px;
        border-left: 3px solid var(--accent);
    }

    .list-item h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }

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

    /* 社会时间 - 问答风格 */
    .section-social {
        background-color: #1a1c1a;
        border-radius: var(--radius);
        margin-top: 20px;
    }

    .qa-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .qa-item {
        background: var(--bg-card);
        padding: 16px;
        border-radius: var(--radius);
    }

    .qa-item .q {
        font-weight: bold;
        color: var(--accent);
        margin-bottom: 6px;
    }

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

    /* 隐私安全与反馈、常见问题 */
    .section-misc {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }

    .misc-card {
        background: var(--bg-card);
        border-radius: var(--radius);
        padding: 24px;
        border: 1px solid var(--border-color);
    }

    .misc-card h3 {
        margin-bottom: 16px;
        color: var(--accent);
    }

    .misc-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .misc-list li {
        font-size: 14px;
        color: var(--text-muted);
        display: flex;
        gap: 8px;
    }

    .misc-list li::before {
        content: '•';
        color: var(--accent);
    }

    /* 下载专区 */
    .section-download {
        background: linear-gradient(135deg, #1a1a20 0%, #2a1a20 100%);
        border-radius: var(--radius);
        margin-top: 20px;
        padding: 30px 20px;
    }

    .download-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    @media (min-width: 768px) {
        .download-content {
            flex-direction: row;
            align-items: center;
        }
    }

    .download-text {
        flex: 1;
    }

    .download-text h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .download-steps {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }

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

    .download-img {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .download-img img {
        max-width: 240px;
        border-radius: var(--radius);
    }

    /* 浮动下载窗口 */
    .floating-download {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(26, 26, 32, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border-color);
        border-radius: 30px;
        padding: 8px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        z-index: 99;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        width: 90%;
        max-width: 400px;
    }

    .floating-download img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .floating-text {
        flex: 1;
        font-size: 12px;
        line-height: 1.4;
    }

    .floating-text strong {
        display: block;
        font-size: 14px;
        color: var(--accent);
    }

    .floating-btn {
        background: var(--accent);
        color: #fff;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: bold;
        white-space: nowrap;
    }

    /* 复制弹窗 */
    .copy-modal {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.7);
        z-index: 1000;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .copy-modal.active {
        display: flex;
    }
    .copy-box {
        background: var(--bg-card);
        padding: 24px;
        border-radius: var(--radius);
        text-align: center;
        max-width: 320px;
        width: 100%;
    }
    .copy-box p {
        margin-bottom: 16px;
        font-size: 14px;
    }
    .copy-input {
        width: 100%;
        padding: 10px;
        background: var(--bg-main);
        border: 1px solid var(--border-color);
        color: var(--text-main);
        border-radius: 6px;
        margin-bottom: 16px;
        text-align: center;
    }
    .copy-close {
        background: var(--accent);
        color: #fff;
        border: none;
        padding: 8px 24px;
        border-radius: 20px;
        cursor: pointer;
    }

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

    footer p {
        margin-bottom: 8px;
    }

    footer a {
        color: var(--text-muted);
        text-decoration: underline;
    }

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

    .footer-nav {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }