:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --white: #ffffff;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
}

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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.site-main {
    flex: 1;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.logo-slogan {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.2;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
}

.nav-vip-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.header-search {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 620px;
    margin: 0 24px;
}

.header-search input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg);
    font-size: 14px;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search input:focus {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.header-search input::placeholder {
    color: var(--gray-light);
}

.header-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.header-search button:hover {
    transform: translateY(-50%) scale(1.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-size: 20px;
    cursor: pointer;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    gap: 6px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary-light);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.06);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* Hero V2 */
.hero-v2 {
    position: relative;
    padding: 64px 0 56px;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(49, 46, 129, 0.82) 50%, rgba(15, 23, 42, 0.88) 100%);
    z-index: 1;
}

.hero-v2 .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-v2 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-v2 .hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

.hero-v2 h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-v2 h1 .line {
    display: block;
}

.hero-v2 h1 .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2 p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-v2 .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero V3 - 更简洁的首页 */
.hero-v3 {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 56px 0 48px;
    text-align: center;
}

.hero-v3 .hero-content {
    max-width: 680px;
    margin: 0 auto;
}

.hero-v3 h1 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-v3 h1 .line {
    display: block;
}

.hero-v3 h1 .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v3 p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 24px;
    line-height: 1.6;
    max-width: 520px;
}

.hero-v3 .hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Section */
.section {
    padding: 80px 0;
}

.section-compact {
    padding: 48px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--gray);
    font-size: 15px;
}

.section-header-compact {
    text-align: center;
    margin-bottom: 28px;
}

.section-header-compact h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.section-header-compact p {
    color: var(--gray);
    font-size: 14px;
}

/* Tutorial Cards */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.home-tutorial-grid {
    margin-bottom: 8px;
}

.tutorial-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.tutorial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.package-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.tutorial-card.package-info .package-tag { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.tutorial-card.package-net .package-tag { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.tutorial-card.package-spec .package-tag { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.preview-tip {
    font-size: 11px;
    color: var(--gray);
    background: var(--bg);
    padding: 3px 8px;
    border-radius: 20px;
}

.tutorial-card .card-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tutorial-card .card-title a {
    color: var(--dark);
    text-decoration: none;
}

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

.tutorial-card .card-category {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 10px;
}

.tutorial-card .card-summary {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tutorial-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
}

.tutorial-card .meta-income {
    color: var(--success);
    font-weight: 600;
}

.tutorial-card .meta-cost {
    color: var(--gray);
}

.tutorial-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    gap: 10px;
}

.lock-hint {
    font-size: 12px;
    color: var(--gray-light);
}

/* Home More Button */
.home-more {
    text-align: center;
    margin-top: 36px;
}

/* Preview Grid - 首页项目标题预览 */
.section-preview {
    padding: 40px 0;
}

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

.preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.preview-card .preview-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.preview-card .preview-category {
    font-size: 12px;
    color: var(--gray);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 20px;
    align-self: flex-start;
}

.preview-card .preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.preview-card .preview-meta .meta-income {
    color: var(--success);
    font-weight: 600;
}

.preview-card .preview-meta .meta-cost {
    color: var(--gray);
}

.preview-card .preview-lock {
    font-size: 11px;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    padding: 3px 8px;
    border-radius: 20px;
    align-self: flex-start;
}

.home-package-tabs {
    margin-bottom: 24px;
}

/* 首页分页 */
.home-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.home-pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-pagination .page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.home-pagination .page-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    font-weight: 600;
}

.home-pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.home-pagination .page-prev,
.home-pagination .page-next {
    padding: 0 16px;
}

.home-pagination .page-ellipsis {
    color: var(--gray-light);
    font-size: 14px;
    padding: 0 4px;
    user-select: none;
}

.home-more {
    text-align: center;
    margin-top: 28px;
}

.home-more .btn {
    min-width: 200px;
}

/* CTA */
.home-cta {
    background: var(--gradient-dark);
    color: #fff;
    padding: 36px 0;
}

.home-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.home-cta-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-cta .cta-icon {
    font-size: 42px;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.4));
}

.home-cta h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 6px;
}

.home-cta p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin: 0;
}

.home-cta-action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.home-cta-price {
    font-size: 32px;
    font-weight: 800;
    color: #fbbf24;
}

.home-cta-price span {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

/* Content Page */
.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 18px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.page-header-vip {
    background: var(--gradient-hero);
    padding: 14px 0;
}

.header-vip-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 14px 18px;
    backdrop-filter: blur(8px);
}

.header-vip-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.header-vip-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.header-vip-action {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-vip-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

.header-vip-price span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.header-vip-action .btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
}

.content-section {
    padding: 40px 0 60px;
}

.content-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.package-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.package-tabs a {
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.package-tabs a:hover,
.package-tabs a.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.package-tabs a span {
    opacity: 0.8;
    margin-left: 4px;
}

.search-box {
    display: flex;
    gap: 8px;
}

.search-box input {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    width: 260px;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.content-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 80px;
    min-width: 0;
}

.content-main {
    min-width: 0;
}

.sidebar-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray);
    font-size: 14px;
    transition: all 0.2s;
}

.category-item:hover,
.category-item.active {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
}

.category-item .cat-count {
    font-size: 12px;
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 20px;
}

.vip-card {
    background: var(--gradient-dark);
    color: #fff;
}

.vip-card h3 {
    color: #fff;
}

.vip-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

.vip-price {
    font-size: 28px;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 14px;
}

.vip-price span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
}

.pagination a:hover {
    background: var(--bg);
}

.pagination .current {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* Detail Page */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.detail-header {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.detail-header .back-link {
    font-size: 14px;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.detail-header .back-link:hover {
    color: var(--primary);
}

.detail-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray);
}

.detail-meta .meta-item .label {
    font-weight: 600;
    color: var(--dark);
}

.detail-body {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    line-height: 1.9;
    color: #334155;
    font-size: 15px;
}

.detail-body h2,
.detail-body h3 {
    color: var(--dark);
    margin: 28px 0 14px;
    font-weight: 700;
}

.detail-body h2 {
    font-size: 22px;
    border-left: 4px solid var(--primary);
    padding-left: 14px;
}

.detail-body h3 {
    font-size: 18px;
}

.detail-body p {
    margin-bottom: 14px;
}

.detail-body pre {
    background: var(--bg);
    padding: 16px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid var(--border);
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Paywall */
.paywall {
    background: var(--gradient-dark);
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
    color: var(--white);
    margin: 40px 0;
}

.paywall h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.paywall p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.paywall-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.paywall-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.paywall-price span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Detail Page V2 */
.detail-hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 40px 0 48px;
}

.detail-hero-inner {
    max-width: 860px;
}

.detail-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.detail-hero .breadcrumb a:hover {
    color: var(--white);
}

.detail-hero h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.detail-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
}

.meta-pill em {
    font-style: normal;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.6;
    margin-right: 2px;
}

.meta-pill.meta-income {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

/* 项目详情页分享 */
.detail-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

.share-wechat {
    background: rgba(7, 193, 96, 0.15);
    border-color: rgba(7, 193, 96, 0.35);
    color: #4ad395;
}

.share-wechat:hover {
    background: rgba(7, 193, 96, 0.25);
}

.share-copy {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
}

.share-copy:hover {
    background: rgba(99, 102, 241, 0.25);
}

.share-more {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fcd34d;
}

.share-more:hover {
    background: rgba(245, 158, 11, 0.25);
}

/* 分享弹窗 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.share-modal-content {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.share-modal-content h3 {
    font-size: 18px;
    margin-bottom: 18px;
    color: var(--dark);
}

.share-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
}

.share-qrcode {
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    padding: 10px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.share-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.share-modal-tip {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.share-modal-url {
    display: flex;
    gap: 8px;
}

.share-modal-url input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--dark);
    background: var(--bg);
}

.paywall-share-tip {
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.paywall-share-tip a {
    color: #6ee7b7;
    text-decoration: underline;
}

.detail-section {
    padding: 32px 0 60px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: stretch;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.detail-content-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}

.tutorial-content {
    padding: 32px;
    color: #334155;
    font-size: 15px;
    line-height: 1.85;
}

/* 非会员预览内容底部渐隐 */
.preview-content {
    position: relative;
    max-height: 520px;
    overflow: hidden;
}

.preview-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85) 60%, var(--card-bg) 100%);
    pointer-events: none;
}

.content-section-block {
    margin-bottom: 32px;
}

.content-section-block:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.section-num {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.section-body p {
    margin-bottom: 12px;
}

.section-body p.step-item {
    background: var(--bg);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark);
}

.vip-status-bar {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-top: 1px solid #a7f3d0;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #065f46;
    font-size: 14px;
    font-weight: 500;
}

.paywall {
    background: var(--gradient-dark);
    padding: 48px 32px;
    text-align: center;
    color: var(--white);
}

.paywall-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.paywall h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.paywall > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-size: 14px;
}

.paywall-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.paywall-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.paywall-features span::before {
    content: '✓';
    color: var(--success);
    margin-right: 4px;
    font-weight: 700;
}

/* Detail Sidebar */
.info-card .info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    color: var(--gray);
}

.info-value {
    font-weight: 600;
    color: var(--dark);
    text-align: right;
    max-width: 60%;
}

.text-success {
    color: var(--success);
}

/* Related Recommendations */
.related-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.related-card h3 {
    flex-shrink: 0;
}

.related-card .related-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

/* Ad Card */
.ad-card {
    flex-shrink: 0;
    text-align: center;
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.ad-img {
    font-size: 36px;
    margin-bottom: 4px;
}

.ad-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.ad-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.related-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.related-item:hover {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.related-index {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.related-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.related-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.45;
}

.related-item:hover .related-title {
    color: var(--primary);
}

.related-income {
    font-size: 12px;
    color: var(--success);
    font-weight: 500;
}

/* Forms */
.auth-section {
    min-height: calc(100vh - 72px - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.auth-card h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.auth-card .subtitle {
    color: var(--gray);
    text-align: center;
    margin-bottom: 32px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 6px;
}

.form-success {
    color: var(--success);
    font-size: 13px;
    margin-top: 6px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Profile */
.profile-section {
    padding: 60px 0;
}

.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.profile-info h2 {
    font-size: 24px;
    font-weight: 700;
}

.profile-info p {
    color: var(--gray);
    font-size: 14px;
}

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

.view-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--dark);
    transition: background 0.2s;
}

.view-item:hover {
    background: rgba(99, 102, 241, 0.06);
}

.view-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.view-category {
    font-size: 12px;
    color: var(--gray);
}

.view-time {
    font-size: 12px;
    color: var(--gray-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.profile-actions .btn {
    flex: 1;
    justify-content: center;
}

.password-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.password-form .form-group {
    margin-bottom: 10px;
}

.password-form .form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.password-form .form-actions {
    display: flex;
    gap: 8px;
}

.password-form .form-actions .btn {
    flex: 1;
}

/* Admin */
.admin-section {
    padding: 40px 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 800;
}

.admin-stats {
    margin-bottom: 32px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.admin-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--dark);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-form {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.admin-form h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-card .value {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.stat-card .label {
    color: var(--gray);
    font-size: 14px;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(99, 102, 241, 0.1);
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

/* Float Buttons */
.float-buttons {
    position: fixed;
    right: 24px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.float-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-btn.back-to-top {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.float-btn.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
}

.float-btn.go-to-bottom {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4);
}

.float-btn.go-to-bottom:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.5);
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 48px 0 20px;
}

.footer-content {
    margin-bottom: 28px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .content-sidebar {
        order: 1;
    }
    .content-main {
        order: 2;
    }
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .detail-sidebar {
        order: 2;
        height: auto;
    }
    .related-card {
        flex: none;
    }
    .related-card .related-list {
        justify-content: flex-start;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: auto;
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 10px;
    }
    .main-nav {
        display: flex;
        width: 100%;
        order: 4;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 16px;
        padding-top: 6px;
        border-top: 1px solid var(--border);
    }
    .main-nav a {
        padding: 8px 0;
        font-size: 13px;
    }
    .nav-vip-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
    .main-nav a.active::after {
        display: none;
    }
    .main-nav a.active {
        color: var(--primary);
        font-weight: 700;
    }
    .header-actions {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    .header-actions .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    .user-menu {
        gap: 8px;
    }
    .user-name {
        display: none;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
    .logo-name {
        font-size: 17px;
    }
    .logo-slogan {
        display: none;
    }
    .header-search {
        order: 3;
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .hero-v2 {
        padding: 48px 0 40px;
        text-align: center;
    }
    .hero-v2 .hero-content {
        max-width: 100%;
    }
    .hero-v2 .hero-badge {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }
    .hero-v2 h1 {
        font-size: 28px;
        margin-bottom: 14px;
    }
    .hero-v2 h1 .line {
        display: block;
    }
    .hero-v2 p {
        font-size: 14px;
        margin: 0 auto 20px;
        max-width: 90%;
    }
    .hero-v2 .hero-actions {
        justify-content: center;
        gap: 10px;
    }
    .hero-v2 .hero-actions .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-v3 {
        padding: 40px 0 32px;
    }
    .hero-v3 h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    .hero-v3 p {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 90%;
    }
    .hero-v3 .hero-actions .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
    }
    .section-compact {
        padding: 32px 0;
    }
    .section-header h2 {
        font-size: 24px;
    }
    .section-header-compact h2 {
        font-size: 20px;
    }

    .tutorial-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tutorial-card {
        padding: 18px;
    }

    .section-preview {
        padding: 28px 0;
    }
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .preview-card {
        padding: 14px;
        gap: 6px;
    }
    .preview-card .preview-title {
        font-size: 15px;
    }

    .detail-hero {
        padding: 28px 0 32px;
    }
    .detail-hero h1 {
        font-size: 22px;
    }
    .detail-meta-bar {
        gap: 8px;
    }
    .meta-pill {
        padding: 5px 10px;
        font-size: 12px;
    }
    .detail-share-bar {
        margin-top: 14px;
        gap: 8px;
    }
    .share-label {
        font-size: 12px;
    }
    .share-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    .share-btn svg {
        width: 14px;
        height: 14px;
    }
    .share-modal-content {
        padding: 22px 18px;
    }
    .share-qrcode {
        width: 150px;
        height: 150px;
    }
    .tutorial-content {
        padding: 20px;
    }
    .section-title {
        font-size: 17px;
    }
    .paywall {
        padding: 32px 20px;
    }
    .paywall h3 {
        font-size: 18px;
    }

    .page-header {
        padding: 12px 0;
    }
    .page-header h1 {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-header-vip {
        padding: 10px 0;
    }
    .header-vip-card {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 14px;
    }
    .header-vip-info h3 {
        font-size: 14px;
    }
    .header-vip-info p {
        font-size: 12px;
    }
    .header-vip-action {
        justify-content: space-between;
        gap: 10px;
    }
    .header-vip-price {
        font-size: 18px;
    }
    .header-vip-price span {
        font-size: 12px;
    }
    .header-vip-action .btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    .home-cta {
        padding: 28px 0;
    }
    .home-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .home-cta-text {
        flex-direction: column;
        gap: 10px;
    }
    .home-cta .cta-icon {
        font-size: 36px;
    }
    .home-cta h2 {
        font-size: 18px;
    }
    .home-cta-action {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .home-cta-price {
        font-size: 26px;
    }
    .home-cta .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }

    .content-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box input {
        width: 100%;
    }
    .package-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    .package-tabs a {
        flex: 1 1 auto;
        text-align: center;
        padding: 6px 10px;
        font-size: 12px;
        white-space: nowrap;
        min-width: 0;
    }

    /* 移动端分类栏改为横向滚动标签，节省纵向空间 */
    .content-sidebar {
        position: static;
        margin-bottom: 16px;
    }
    .content-sidebar .sidebar-card {
        padding: 10px;
    }
    .content-sidebar .sidebar-card h3 {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .content-sidebar .category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }
    .content-sidebar .category-item {
        flex: 0 0 auto;
        padding: 2px 8px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 50px;
        font-size: 11px;
        white-space: nowrap;
        line-height: 1.5;
    }
    .content-sidebar .category-item.active {
        background: var(--gradient-primary);
        color: var(--white);
        border-color: transparent;
    }
    .content-sidebar .category-item .cat-count {
        font-size: 9px;
        padding: 0 4px;
        margin-left: 3px;
        background: rgba(255, 255, 255, 0.2);
    }

    .home-pagination {
        gap: 6px;
        margin-top: 20px;
    }
    .home-pagination .page-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
    .home-pagination .page-prev,
    .home-pagination .page-next {
        padding: 0 12px;
    }

    .detail-header {
        padding: 22px;
    }
    .detail-header h1 {
        font-size: 22px;
    }
    .detail-body {
        padding: 22px;
    }

    .auth-card {
        padding: 28px 22px;
    }
    .auth-card h2 {
        font-size: 24px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .admin-table {
        display: block;
        overflow-x: auto;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-links {
        gap: 20px;
    }

    .site-footer {
        padding: 32px 0 16px;
    }

    .footer-content {
        margin-bottom: 20px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-column a {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .footer-bottom {
        padding-top: 14px;
        font-size: 11px;
    }
}

/* Activate page */
.activate-pay-option {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.activate-pay-option p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.activate-help {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.activate-help h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.activate-help p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
}

.contact-wechat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
}

.wechat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
}

.wechat-id {
    font-size: 18px;
    font-weight: 800;
    color: var(--success);
    letter-spacing: 1px;
}

/* Profile account info rows */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.info-row:last-child {
    border-bottom: none;
}
.info-row span {
    color: var(--gray);
}
.info-row strong {
    color: var(--dark);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    word-break: break-all;
}

/* Referral card */
.referral-card .referral-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.referral-card .stat-item {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}
.referral-card .stat-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}
.referral-card .stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}
.referral-card .referral-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 14px;
}
.referral-card .referral-link-box {
    display: flex;
    gap: 8px;
}
.referral-card .referral-link-box input {
    flex: 1;
    min-width: 0;
    font-size: 12px;
}

/* Detail unlock status bar */
.unlock-status-bar {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-top: 1px solid #c7d2fe;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #3730a3;
    font-size: 14px;
    font-weight: 500;
}
.paywall-unlock-tip {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}
.paywall-unlock-tip a {
    color: #fbbf24;
    text-decoration: underline;
}
.unlock-form {
    display: inline-flex;
}

/* Utilities */
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-gray { color: var(--gray); }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.w-full { width: 100%; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .referral-card .referral-stats {
        grid-template-columns: 1fr 1fr;
    }
    .referral-card .referral-link-box {
        flex-direction: column;
    }
    .unlock-status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 20px;
    }
}
