:root {
    --primary: #0066FF;
    --primary-light: #3385ff;
    --primary-dark: #0052cc;
    --accent: #00D4AA;
    --accent-light: #00e6b8;
    --success: #00C851;
    --warning: #FFBB33;
    --error: #FF4444;
    --text: #1a1a2e;
    --text-light: #4a4a6a;
    --text-lighter: #8888a0;
    --bg-main: #f8f9fc;
    --bg-card: #ffffff;
    --bg-dark: #1a1a2e;
    --border: #e8e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text);
    background: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-left { display: flex; align-items: center; gap: 40px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}
.logo-text { font-size: 20px; font-weight: 700; color: var(--text); }

.main-nav { display: flex; gap: 8px; }
.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    position: relative;
}
.main-nav a:hover { color: var(--primary); background: rgba(0,102,255,0.05); }
.main-nav a.active { color: var(--primary); background: rgba(0,102,255,0.08); }

.header-right { display: flex; align-items: center; gap: 16px; }

.btn-login {
    padding: 10px 24px;
    color: var(--text-light);
    font-weight: 500;
    border-radius: var(--radius-sm);
}
.btn-login:hover { color: var(--primary); }

.btn-register {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 500;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0,102,255,0.3);
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,102,255,0.4); color: #fff; }

.user-menu { display: flex; align-items: center; gap: 16px; }
.user-link { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.logout-btn { color: var(--text-lighter); font-size: 14px; }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0;
    color: #fff;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px;
}
.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.hero-title { font-size: 48px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero-desc { font-size: 18px; margin-bottom: 32px; opacity: 0.9; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; }
.btn-hero { padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 16px; }
.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #00b894 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,212,170,0.4);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,212,170,0.5); color: #fff; }
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-hero-outline:hover { border-color: #fff; color: #fff; }

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    width: fit-content;
}

.slide-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
    max-width: 700px;
}

.slide-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 600px;
    line-height: 1.7;
}

.slide-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, #00b894 100%);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(0,212,170,0.4);
    width: fit-content;
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,212,170,0.5);
    color: #fff;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Stats */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}
.stat-icon.blue { background: rgba(0,102,255,0.1); color: var(--primary); }
.stat-icon.green { background: rgba(0,212,170,0.1); color: var(--accent); }
.stat-icon.purple { background: rgba(128,0,255,0.1); color: #8000ff; }
.stat-icon.orange { background: rgba(255,153,0,0.1); color: #ff9900; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.stat-label { font-size: 14px; color: var(--text-lighter); }

/* Home Stats */
.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.home-stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.home-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.home-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-stat-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.home-stat-info {
    flex: 1;
}

.home-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.home-stat-label {
    font-size: 14px;
    color: var(--text-lighter);
    margin-top: 4px;
}

@media (max-width: 900px) {
    .home-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-stats {
        grid-template-columns: 1fr;
    }
    .home-stat-card {
        padding: 20px;
    }
    .home-stat-icon {
        width: 48px;
        height: 48px;
    }
    .home-stat-icon svg {
        width: 24px;
        height: 24px;
    }
    .home-stat-num {
        font-size: 24px;
    }
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.news-card-cover {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

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

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

.news-card-body {
    padding: 16px;
}

.news-card-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a {
    color: var(--text);
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-lighter);
}

/* Sections */
.section { margin-bottom: 60px; }

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card-large {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card-large:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.article-card-large.featured {
    grid-column: span 2;
    flex-direction: row;
}

.article-card-large .article-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.article-card-large.featured .article-cover {
    width: 350px;
    height: auto;
}

.article-card-large .article-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta-top {
    margin-bottom: 12px;
}

.article-card-large .article-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card-large .article-title a {
    color: var(--text);
}

.article-card-large .article-title a:hover {
    color: var(--primary);
}

.article-card-large .article-desc {
    font-size: 14px;
    color: var(--text-lighter);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.article-card-large .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-lighter);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}
.section-more { color: var(--text-lighter); font-weight: 500; }
.section-more:hover { color: var(--primary); }

/* Article Card */
.article-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-cover {
    width: 180px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaf0 100%);
}
.article-content { flex: 1; min-width: 0; }
.article-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-title a { color: var(--text); }
.article-title a:hover { color: var(--primary); }
.article-summary {
    font-size: 14px;
    color: var(--text-lighter);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    font-size: 13px;
    color: var(--text-lighter);
    display: flex;
    gap: 16px;
    align-items: center;
}
.article-tag {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Plugin Grid */
.plugin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Plugin Card Grid (Portrait Cards) */
.plugin-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plugin-card-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.plugin-card-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.plugin-card-cover {
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plugin-card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.plugin-card-badges .badge-vip,
.plugin-card-badges .badge-free {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.plugin-card-badges .badge-vip {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #000;
}

.plugin-card-badges .badge-free {
    background: var(--success);
    color: #fff;
}

.plugin-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.plugin-card-content {
    padding: 16px;
}

.plugin-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.plugin-card-desc {
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.plugin-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.plugin-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.plugin-card-price .price-free { color: var(--success); }
.plugin-card-price .price-vip { color: #ff9900; font-size: 14px; }

.plugin-card-downloads {
    font-size: 12px;
    color: var(--text-lighter);
}

.plugin-card-actions {
    display: flex;
    gap: 8px;
}

.btn-plugin-card {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
}

.btn-plugin-card.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-plugin-card.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-plugin-card.btn-buy {
    background: #ff6b6b;
    color: #fff;
}

.btn-plugin-card.btn-buy:hover {
    background: #ee5a5a;
}

.btn-plugin-card.btn-use {
    background: var(--success);
    color: #fff;
}

.btn-plugin-card.btn-use:hover {
    background: #00b359;
}

.btn-plugin-card.btn-enable {
    background: var(--primary);
    color: #fff;
}

.btn-plugin-card.btn-enable:hover {
    background: var(--primary-dark);
}

@media (max-width: 1200px) {
    .plugin-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .home-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .plugin-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .plugin-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .home-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .home-stat-card {
        padding: 16px;
    }
    .home-stat-icon {
        width: 40px;
        height: 40px;
    }
    .home-stat-icon svg {
        width: 20px;
        height: 20px;
    }
    .home-stat-num {
        font-size: 22px;
    }
    .home-stat-label {
        font-size: 12px;
    }
    .plugin-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .plugin-card-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .home-stats {
        grid-template-columns: 1fr;
    }
    .home-stat-card {
        padding: 16px;
    }
}

/* Plugin List (simple) */
.plugin-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    flex: 1 1 calc(50% - 8px);
    min-width: 400px;
}

.plugin-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.plugin-item .plugin-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.plugin-item .plugin-info {
    flex: 1;
    min-width: 0;
}

.plugin-item .plugin-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.plugin-item .plugin-desc {
    font-size: 13px;
    color: var(--text-lighter);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plugin-item .plugin-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-item .plugin-price {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plugin-item .price-free { color: var(--success); }
.plugin-item .price-vip { color: #ff9900; font-size: 12px; }

.plugin-item .plugin-downloads {
    font-size: 12px;
    color: var(--text-lighter);
}

.plugin-item .plugin-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.plugin-item .badge-vip, 
.plugin-item .badge-free {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
}

.plugin-item .badge-vip {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #000;
}

.plugin-item .badge-free {
    background: var(--success);
    color: #fff;
}

.plugin-item .plugin-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-plugin-action {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-plugin-action.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-plugin-action.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-plugin-action.btn-buy {
    background: #ff6b6b;
    color: #fff;
}

.btn-plugin-action.btn-buy:hover {
    background: #ee5a5a;
}

.btn-plugin-action.btn-use {
    background: var(--success);
    color: #fff;
}

.btn-plugin-action.btn-use:hover {
    background: #00b359;
}

.btn-plugin-action.btn-enable {
    background: var(--primary);
    color: #fff;
}

.btn-plugin-action.btn-enable:hover {
    background: var(--primary-dark);
}

.btn-plugin-action.btn-disable {
    background: #e0e0e0;
    color: #666;
}

.btn-plugin-action.btn-disable:hover {
    background: #d0d0d0;
}

.btn-plugin-action.btn-settings {
    background: #f0f0f0;
    color: #666;
}

.btn-plugin-action.btn-settings:hover {
    background: #e0e0e0;
}

/* Simple Plugin Card (for list view) */
.plugin-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.plugin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Detailed Plugin Card (for market/homepage) */
.plugin-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.plugin-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.plugin-cover {
    width: 100%;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plugin-cover::after {
    content: '🔌';
    font-size: 40px;
    opacity: 0.3;
}

.plugin-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.badge-vip { 
    background: linear-gradient(135deg, #ffd700, #ffb800); 
    color: #000; 
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge-free { 
    background: var(--success); 
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.plugin-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plugin-category {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 6px;
}

.plugin-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.plugin-desc {
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.plugin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.plugin-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.price-free { color: var(--success); }
.price-vip { color: #ff9900; font-size: 14px; }
.price-amount {}

.plugin-stats {
    font-size: 12px;
    color: var(--text-lighter);
}

.plugin-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.plugin-info {
    flex: 1;
    min-width: 0;
}

.plugin-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.plugin-desc {
    font-size: 13px;
    color: var(--text-lighter);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plugin-stats {
    font-size: 12px;
    color: var(--text-lighter);
    white-space: nowrap;
}

/* Topic Grid */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Post List */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-user {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.post-topic {
    font-size: 12px;
    color: var(--primary);
}

.post-time {
    font-size: 12px;
    color: var(--text-lighter);
}

.post-content {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.post-content a {
    color: var(--text);
}

.post-content a:hover {
    color: var(--primary);
}

.post-actions {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-lighter);
}

/* Plugin Card (original) */
.plugin-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.plugin-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.plugin-cover {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.plugin-body { padding: 16px; }
.plugin-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.plugin-desc {
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}
.plugin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.plugin-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}
.plugin-price.free { color: var(--success); }
.plugin-stats { font-size: 13px; color: var(--text-lighter); }
.plugin-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}
.badge-vip { background: linear-gradient(135deg, #ffd700, #ffb800); color: #000; }
.badge-free { background: var(--success); color: #fff; }

/* Topic Card */
.topic-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}
.topic-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.topic-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}
.topic-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.topic-count { font-size: 13px; color: var(--text-lighter); }

/* Post Card */
.post-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 16px;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.post-title { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--primary); }
.post-meta {
    font-size: 13px;
    color: var(--text-lighter);
    display: flex;
    gap: 16px;
    align-items: center;
}
.post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #667eea);
    background-size: 200% 100%;
    animation: footerWave 8s linear infinite;
}
@keyframes footerWave {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}
.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}
.social-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-3px);
}
.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 16px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 14px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}
.footer-links a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    color: #667eea;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
}
.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
.footer-badge {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-badge .badge {
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-brand {
        grid-column: span 2;
    }
}
@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== 响应式设计 ========== */

/* 大屏幕 (1400px+) */
@media (max-width: 1400px) {
    .container { max-width: 1100px; }
}

/* 笔记本电脑 (1200px) */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* 平板横屏 (1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .header-left { gap: 24px; }
    .main-nav { gap: 4px; }
    .main-nav a { padding: 8px 14px; font-size: 14px; }
    
    .hero-title { font-size: 40px; }
    .hero-section { padding: 60px 0; }
    
    .section-title { font-size: 22px; }
}

/* 平板竖屏 / 大手机 (768px) */
@media (max-width: 768px) {
    .site-header .container { height: 60px; }
    
    .header-left { gap: 16px; }
    .logo-text { font-size: 16px; }
    .logo-icon { width: 32px; height: 32px; font-size: 14px; }
    
    .main-nav { 
        display: none; 
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        gap: 0;
    }
    .main-nav.active { display: flex; }
    .main-nav a {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid var(--border);
    }
    .main-nav a:last-child { border-bottom: none; }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
    }
    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    .header-right { gap: 12px; }
    .btn-login, .btn-register { padding: 8px 16px; font-size: 14px; }
    
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-section { padding: 50px 0; }
    .hero-btns { flex-direction: column; gap: 12px; }
    .btn-hero { width: 100%; text-align: center; }
    
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-num { font-size: 24px; }
    .stat-label { font-size: 12px; }
    
    .section { margin-bottom: 40px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    
    /* 文章卡片 */
    .article-card { flex-direction: column; gap: 12px; }
    .article-cover { width: 100%; height: 180px; }
    .article-title { font-size: 16px; }
    .article-meta { flex-wrap: wrap; gap: 8px; }
    
    /* 话题卡片 */
    .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .topic-card { padding: 16px; }
    .topic-icon { width: 44px; height: 44px; font-size: 20px; }
    .topic-name { font-size: 14px; }
    
    /* 插件网格 */
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .plugin-cover { height: 100px; }
    .plugin-body { padding: 12px; }
    .plugin-name { font-size: 14px; }
    .plugin-desc { height: 32px; font-size: 12px; }
    
    /* 页脚 */
    .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand { grid-column: span 2; }
}

/* 手机 (480px) */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .plugin-list {
        flex-direction: column;
    }
    .plugin-item {
        flex: 1 1 100%;
        min-width: auto;
        flex-direction: column;
        align-items: flex-start;
    }
    .plugin-item .plugin-meta {
        width: 100%;
        justify-content: space-between;
    }
    .plugin-item .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .site-header .container { height: 56px; }
    
    .header-right { gap: 8px; }
    .btn-login, .btn-register { 
        padding: 8px 12px; 
        font-size: 13px; 
    }
    .user-menu .logout-btn { display: none; }
    
    .hero-title { font-size: 26px; }
    .hero-badge { font-size: 12px; padding: 6px 12px; }
    .hero-desc { font-size: 14px; }
    
    .stats-bar { grid-template-columns: 1fr; }
    
    .section-title { font-size: 18px; }
    
    .article-cover { height: 150px; }
    .article-meta { font-size: 12px; }
    
    .topic-grid { grid-template-columns: 1fr; }
    
    .card-grid { grid-template-columns: 1fr; }
    
    .footer-main { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .footer-brand { grid-column: auto; }
    .footer-title { font-size: 14px; }
    .footer-links a { font-size: 13px; }
    
    /* 登录/注册页面 */
    .auth-card { padding: 24px; }
    .auth-title { font-size: 22px; }
    
    /* 分页 */
    .pagination { flex-wrap: wrap; }
    .pagination a, .pagination span { padding: 8px 12px; font-size: 13px; }
}

/* iPad Pro 特定 (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .topic-grid { grid-template-columns: repeat(5, 1fr); }
}

/* iPad 竖屏 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .topic-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Page Transitions */
body {
    opacity: 0;
    transition: opacity 0.4s ease;
}
body.page-loaded {
    opacity: 1;
}
body.page-exit {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.stat-card.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.stat-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stat-card.animate-on-scroll:nth-child(4) { transition-delay: 0.25s; }

.article-card.animate-on-scroll:nth-child(1),
.article-card-large.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.article-card.animate-on-scroll:nth-child(2),
.article-card-large.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.article-card.animate-on-scroll:nth-child(3),
.article-card-large.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.plugin-card.animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.plugin-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.plugin-card.animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.plugin-card.animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.plugin-card.animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.plugin-card.animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.plugin-card.animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.plugin-card.animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }

/* Header Scroll Effect */
.site-header {
    transition: all 0.3s ease;
}
.site-header.scrolled {
    height: 64px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.site-header.scrolled .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
}
.site-header.scrolled .logo-text {
    font-size: 18px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.main-nav.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 8px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .main-nav {
        display: none;
    }
}

/* Card Hover Lift */
.article-card, .article-card-large, .plugin-card, .topic-card, .post-card, .stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button Ripple Effect */
.btn-register, .btn-hero-primary, .slide-btn {
    position: relative;
    overflow: hidden;
}
.btn-register::after, .btn-hero-primary::after, .slide-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}
.btn-register:hover::after, .btn-hero-primary:hover::after, .slide-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Link Underline Animation */
.main-nav a {
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

/* Logo Animation */
.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
}
.logo-icon {
    transition: transform 0.3s ease;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus States */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

/* Selection */
::selection {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   移动端响应式优化 - 大气简洁风格
   ======================================== */

/* 智能手机 (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --radius: 10px;
        --radius-sm: 6px;
    }
    
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        font-size: 15px;
        line-height: 1.6;
        background: #f5f6fa;
    }
    
    /* 容器 */
    .container {
        padding: 0 16px;
    }
    
    /* Header - 简洁导航 */
    .site-header {
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    
    .site-header .container {
        height: 50px;
        padding: 0 12px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .logo-text {
        font-size: 16px;
        font-weight: 600;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-right .btn-login,
    .header-right .btn-register {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
        border: none;
        background: transparent;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 18px;
        height: 2px;
        background: #333;
        border-radius: 2px;
        margin: 3px 0;
    }
    
    /* Hero区域 */
    .hero-section {
        padding: 50px 0 40px;
        margin-bottom: 24px;
    }
    
    .hero-badge {
        padding: 5px 12px;
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        font-size: 26px;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 12px;
    }
    
    .hero-desc {
        font-size: 14px;
        margin-bottom: 20px;
        opacity: 0.85;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-hero {
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    /* 统计卡片 */
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }
    
    .stat-card {
        padding: 16px 10px;
        border-radius: 12px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .stat-num {
        font-size: 22px;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 11px;
        color: #999;
    }
    
    /* 区块标题 */
    .section {
        margin-bottom: 24px;
    }
    
    .section-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .section-title {
        font-size: 17px;
        font-weight: 600;
    }
    
    .section-more {
        font-size: 13px;
        color: #999;
    }
    
    /* 卡片网格 */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card {
        padding: 14px;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .card-image {
        height: 140px;
        border-radius: 8px;
    }
    
    .card-body {
        padding: 12px 0 0;
    }
    
    .card-title {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    
    .card-desc {
        font-size: 13px;
        color: #666;
        display: -webkit-box;
        -webkit-line-clamp: 2;
    }
    
    .card-meta {
        font-size: 12px;
        color: #aaa;
        margin-top: 10px;
    }
    
    /* 资讯列表 */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .article-card-large {
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .article-card-large .article-cover {
        width: 100%;
        height: 160px;
    }
    
    .article-card-large .article-body {
        padding: 14px;
    }
    
    .article-title {
        font-size: 16px;
        font-weight: 600;
    }
    
    .article-meta {
        font-size: 12px;
        color: #aaa;
        margin-top: 8px;
    }
    
    /* 插件网格 */
    .plugin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .plugin-card {
        padding: 14px 10px;
        border-radius: 10px;
        background: #fff;
    }
    
    .plugin-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .plugin-name {
        font-size: 13px;
        font-weight: 500;
    }
    
    .plugin-desc {
        font-size: 11px;
        display: none;
    }
    
    /* 话题 */
    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .topic-card {
        padding: 10px 12px;
        border-radius: 8px;
    }
    
    .topic-name {
        font-size: 13px;
    }
    
    /* 社区 */
    .post-list {
        gap: 10px;
    }
    
    .post-card {
        padding: 14px;
        border-radius: 12px;
        background: #fff;
    }
    
    .post-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .post-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }
    
    .post-user {
        font-size: 14px;
        font-weight: 500;
    }
    
    .post-time {
        font-size: 11px;
        color: #aaa;
    }
    
    .post-content {
        font-size: 14px;
        line-height: 1.6;
        color: #333;
    }
    
    .post-actions {
        display: flex;
        gap: 16px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f5f5f5;
    }
    
    .post-action {
        font-size: 12px;
        color: #999;
    }
    
    /* Footer */
    .site-footer {
        padding: 24px 0;
        margin-top: 30px;
        background: #1a1a2e;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-title {
        font-size: 14px;
        color: #fff;
        margin-bottom: 12px;
    }
    
    .footer-links a {
        color: #999;
        font-size: 13px;
        line-height: 2;
    }
    
    .footer-brand p {
        font-size: 13px;
        color: #666;
    }
    
    /* 登录页面 */
    .auth-wrapper {
        flex-direction: column;
        border-radius: 16px;
        margin: 12px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }
    
    .auth-left {
        padding: 30px 20px;
    }
    
    .auth-left .logo {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .auth-left h1 {
        font-size: 24px;
        text-align: center;
    }
    
    .auth-left p {
        font-size: 13px;
        text-align: center;
    }
    
    .auth-right {
        padding: 24px 20px;
    }
    
    .auth-right h2 {
        font-size: 20px;
        text-align: center;
    }
    
    .auth-right .subtitle {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 8px;
    }
    
    .btn-submit {
        padding: 14px;
        font-size: 15px;
        border-radius: 8px;
        margin-top: 6px;
    }
    
    .remember-row {
        font-size: 13px;
    }
    
    .forgot-link {
        font-size: 13px;
    }
    
    .auth-divider {
        margin: 20px 0;
        font-size: 12px;
    }
    
    .social-login {
        gap: 10px;
    }
    
    .social-btn {
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .auth-footer {
        font-size: 12px;
        margin-top: 20px;
    }
    
    /* 会员页面 */
    .member-header {
        flex-direction: column;
        align-items: center;
        padding: 24px 16px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 0 0 24px 24px;
    }
    
    .member-avatar {
        width: 72px;
        height: 72px;
        border: 3px solid #fff;
    }
    
    .member-info {
        text-align: center;
    }
    
    .member-info h1 {
        font-size: 18px;
        color: #fff;
    }
    
    .member-info .member-level {
        color: rgba(255,255,255,0.8);
    }
    
    .member-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .member-stat {
        min-width: 70px;
    }
    
    .member-stat-num {
        font-size: 18px;
    }
    
    .member-stat-label {
        font-size: 11px;
    }
    
    .member-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 16px;
    }
    
    .member-menu a {
        padding: 14px 8px;
        border-radius: 10px;
        background: #fff;
    }
    
    .member-menu span {
        font-size: 22px;
    }
    
    .member-menu label {
        font-size: 11px;
        margin-top: 4px;
    }
    
    /* 插件详情 */
    .plugin-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
    }
    
    .plugin-header .plugin-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .plugin-header h1 {
        font-size: 20px;
        margin-top: 12px;
    }
    
    .plugin-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .plugin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
    }
    
    .plugin-tabs button {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    /* 文章详情 */
    .article-header {
        padding: 16px 0;
    }
    
    .article-title {
        font-size: 22px;
        line-height: 1.35;
        font-weight: 700;
    }
    
    .article-content {
        font-size: 16px;
        line-height: 1.8;
        color: #333;
    }
    
    .article-content p {
        margin-bottom: 16px;
    }
    
    /* 工具栏 */
    .toolbar {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
    
    .toolbar-content {
        padding: 12px 16px;
        border-radius: 12px;
    }
    
    /* 空状态 */
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-icon {
        font-size: 48px;
    }
    
    .empty-title {
        font-size: 16px;
    }
    
    .empty-desc {
        font-size: 13px;
    }
    
    /* 弹窗 */
    .modal-content {
        margin: 16px;
        padding: 20px;
        border-radius: 16px;
    }
    
    /* 搜索 */
    .search-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    /* 资讯筛选 */
    .news-filter {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-filter button {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 20px;
    }
}

/* 平板 (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .stats-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plugin-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-card-large .article-cover {
        height: 140px;
    }
}