/* 现代简洁设计 - 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #f8f9fd 0%, #ffffff 100%);
    color: #2c3e50;
    line-height: 1.6;
    font-size: 14px;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #2C43BB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #1e2f8a;
}

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

/* 头部样式 - 简洁现代 */
.header {
    background: #2C43BB;
    color: white;
    padding: 16px 0;
    box-shadow: 0 2px 12px rgba(44, 67, 187, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

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

.logo a {
    font-size: 22px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo a:hover {
    opacity: 0.9;
}

.logo img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.slogan {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-buttons a {
    color: #fff;
}

/* 按钮样式 - 现代简洁 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    min-height: 40px;
}

.btn-primary {
    background: #2C43BB;
    color: white !important;
    box-shadow: 0 2px 8px rgba(44, 67, 187, 0.2);
}

.btn-primary:hover {
    background: #1e2f8a;
    box-shadow: 0 4px 16px rgba(44, 67, 187, 0.3);
    transform: translateY(-2px);
    color: white !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f59e0b;
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-secondary:hover {
    background: #d97706;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
    color: white;
}

/* Banner区域 - 简洁现代 */
.banner {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 搜索区域 - 简洁现代 */
.search-section {
    background: white;
    padding: 28px 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin: 24px 0;
    border: 1px solid rgba(44, 67, 187, 0.08);
}

.search-form {
    display: flex;
    max-width: 680px;
    margin: 0 auto;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 12px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}

.search-input:focus {
    border-color: #2C43BB;
    box-shadow: 0 0 0 3px rgba(44, 67, 187, 0.08);
    background: white;
}

.search-btn {
    padding: 12px 28px;
    background: #2C43BB;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
}

.search-btn:hover {
    background: #1e2f8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44, 67, 187, 0.25);
}

/* 资源区域 - 简洁现代 */
.resources-section {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin: 24px 0;
    border: 1px solid rgba(44, 67, 187, 0.08);
}

.section-title {
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
    color: #1f2937;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 资源表格样式 - 简洁设计 */
.resources-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 16px;
    font-size: 14px;
}

.resources-table th, 
.resources-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.resources-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resources-table tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resources-table tr:hover {
    background: #f9fafb;
}

/* 固定各列宽度 */
.resources-table th:nth-child(1),
.resources-table td:nth-child(1) {
    width: 12%;
}

.resources-table th:nth-child(2),
.resources-table td:nth-child(2) {
    width: 25%;
}

.resources-table th:nth-child(3),
.resources-table td:nth-child(3) {
    width: 48%;
}

.resources-table th:nth-child(4),
.resources-table td:nth-child(4) {
    width: 15%;
}

.view-link {
    color: #2C43BB;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(44, 67, 187, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 13px;
}

.view-link:hover {
    background: rgba(44, 67, 187, 0.15);
    transform: translateY(-2px);
}

/* 分页导航 - 简洁现代 */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 24px;
    gap: 8px;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    min-width: 40px;
    height: 40px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
}

.pagination a:hover {
    background: #f9fafb;
    border-color: #2C43BB;
    color: #2C43BB;
    text-decoration: none;
}

.pagination .active a {
    background: #2C43BB;
    color: white;
    border-color: #2C43BB;
    box-shadow: 0 2px 8px rgba(44, 67, 187, 0.2);
}

.pagination .disabled {
    background: #f9fafb;
    color: #d1d5db;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #f3f4f6;
}

/* 底部广告 */
.footer-ad {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.footer-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 客服区域 - 简洁现代 */
.customer-service {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.customer-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.customer-service img {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 2px solid #f3f4f6;
}

.customer-service p {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.customer-service a {
    color: #2C43BB;
    text-decoration: none;
}

/* 登录模态框 - 简洁现代 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid #e5e7eb;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: #2C43BB;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 24px;
    color: #1f2937;
    text-align: center;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}

.form-control:focus {
    border-color: #2C43BB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 67, 187, 0.08);
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #2C43BB;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
}

.submit-btn:hover {
    background: #1e2f8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44, 67, 187, 0.25);
}

/* 认证页面样式 */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    border: 1px solid #e5e7eb;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-header p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

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

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1.5px solid #bbf7d0;
}

.form-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1.5px solid #f3f4f6;
}

.auth-footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.auth-footer a {
    color: #2C43BB;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 用户信息样式 */
.user-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: white;
    font-size: 14px;
    gap: 10px;
}

.username {
    font-weight: 500;
}

.logout-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 13px;
}

.logout-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.vip-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* 后台管理样式 */
.admin-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 32px;
    margin: 24px 0;
    border: 1px solid #e5e7eb;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

.admin-header h1 {
    color: #1f2937;
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #2C43BB;
    margin-bottom: 8px;
}

.stat-number.used {
    color: #dc2626;
}

.stat-number.unused {
    color: #16a34a;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

/* 后台管理表格样式 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 14px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.admin-table th, 
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.admin-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background: #f9fafb;
}

.invite-code {
    font-family: 'Courier New', 'Consolas', monospace;
    font-weight: 600;
    color: #2C43BB;
    background: rgba(44, 67, 187, 0.08);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge.used {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.status-badge.unused {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.used-row {
    background: #fef2f2;
}

.text-center {
    text-align: center;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-edit, .btn-delete {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-weight: 500;
}

.btn-edit {
    background: #2C43BB;
    color: white;
}

.btn-edit:hover {
    background: #1e2f8a;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(44, 67, 187, 0.25);
}

.btn-delete {
    background: #dc2626;
    color: white;
}

.btn-delete:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

/* 后台页面特定样式 */
.admin-container {
    padding: 32px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

/* 底部样式 - 简洁现代 */
.site-footer {
    background: #2C43BB;
    color: white;
    padding: 32px 0;
    text-align: center;
    margin-top: 48px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
}

.footer-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.site-footer .copyright {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    margin-bottom: 8px;
}

/* 步骤列表样式 */
.steps-plain {
    margin: 20px 0;
    list-style: none;
    padding: 0;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.step-item:hover {
    background: white;
    border-color: #2C43BB;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(44, 67, 187, 0.1);
}

.step-icon {
    width: 24px;
    text-align: center;
    margin-right: 14px;
    color: #2C43BB;
    font-size: 18px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .logo {
        justify-content: center;
    }
    
    .slogan {
        font-size: 12px;
    }
    
    .auth-buttons {
        margin-top: 0;
        justify-content: center;
    }
    
    .user-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .search-section {
        padding: 20px;
    }
    
    .search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        border-radius: 10px;
    }
    
    .search-btn {
        border-radius: 10px;
        width: 100%;
    }
    
    .resources-section {
        padding: 20px;
    }
    
    .resources-table {
        display: block;
        overflow-x: auto;
        font-size: 12px;
    }
    
    .resources-table th,
    .resources-table td {
        padding: 10px 12px;
    }
    
    .customer-service {
        right: 12px;
        bottom: 12px;
        padding: 16px;
        border-radius: 12px;
    }
    
    .customer-service img {
        width: 100px;
        height: 100px;
    }
    
    .modal-content {
        padding: 28px;
        margin: 0 16px;
        border-radius: 12px;
    }
    
    .site-footer {
        padding: 24px 16px;
    }
    
    .footer-nav {
        gap: 12px;
        flex-direction: column;
    }
    
    .footer-nav a {
        padding: 10px 20px;
        width: auto;
        text-align: center;
        max-width: none;
    }
    
    .step-item {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .step-icon {
        margin-right: 10px;
        font-size: 16px;
    }
    
    .auth-box {
        padding: 32px 24px;
    }
    
    .admin-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 36px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .search-section {
        padding: 16px;
    }
    
    .resources-section {
        padding: 16px;
    }
    
    .section-title {
        font-size: 18px;
        flex-wrap: wrap;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .resource-item {
        padding: 16px;
    }
    
    .resource-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .resource-actions {
        width: 100%;
    }
    
    .download-btn,
    .login-btn {
        width: 100%;
        justify-content: center;
    }
    
    .auth-box {
        padding: 24px 20px;
    }
    
    .pricing-card {
        padding: 24px;
    }
    
    .admin-section {
        padding: 16px;
    }
}

/* 资源列表标题样式 */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #1f2937;
    font-size: 22px;
    font-weight: 600;
}

.section-title i {
    color: #2C43BB;
    font-size: 24px;
}

.resource-count {
    font-size: 15px;
    color: #6b7280;
    font-weight: 400;
}

.forum-resources {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #2C43BB;
}

.resource-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 16px;
}

.resource-id {
    flex-shrink: 0;
}

.id-badge {
    background: #2C43BB;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(44, 67, 187, 0.2);
}

.resource-title {
    flex: 1;
}

.resource-title h3 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.resource-actions {
    flex-shrink: 0;
}

.download-btn, .login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.download-btn {
    background: #16a34a;
    color: white;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
}

.download-btn:hover {
    background: #15803d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.login-btn {
    background: #2C43BB;
    color: white;
    box-shadow: 0 2px 6px rgba(44, 67, 187, 0.2);
}

.login-btn:hover {
    background: #1e2f8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 67, 187, 0.3);
}

.resource-content {
    margin-bottom: 8px;
}

.resource-description {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.resource-description i {
    color: #2C43BB;
    margin-top: 3px;
    flex-shrink: 0;
}

.resource-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 14px;
}

.resource-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 13px;
}

.meta-item i {
    color: #2C43BB;
}

.no-resources {
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}

.no-resources i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-resources p {
    font-size: 16px;
    margin: 0;
    color: #9ca3af;
}

/* 关于页面样式 */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #2C43BB;
}

.about-card h2 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* 激活卡密区域样式 */
.activate-section {
    margin: 32px 0;
}

.activate-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.activate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activate-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.activate-card p {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

.activate-card .btn {
    font-size: 14px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 激活表单样式 */
.activate-form-container {
    max-width: 560px;
    margin: 0 auto;
}

.activate-form-card {
    background: white;
    border-radius: 12px;
    padding: 36px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.activate-form-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activate-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #2C43BB;
    box-shadow: 0 0 0 3px rgba(44, 67, 187, 0.08);
    background: white;
}

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

.current-vip-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1.5px solid #bbf7d0;
    color: #15803d;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.current-vip-info i {
    color: #f59e0b;
    font-size: 18px;
}

/* 联系页面样式 */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 条款页面样式 */
.terms-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.terms-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.terms-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #2C43BB;
}

.terms-card h2 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #2C43BB;
}

.contact-card h2 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

.qr-placeholder {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

.qr-code i {
    font-size: 36px;
    color: #2C43BB;
}

.qr-code span {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover {
    background: white;
    border-color: #2C43BB;
}

.info-item i {
    color: #2C43BB;
    font-size: 18px;
}

.info-item span {
    color: #374151;
    font-weight: 500;
}

/* 按钮禁用状态 */
.btn-disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-disabled:hover {
    background: #e5e7eb;
    color: #9ca3af;
    transform: none;
    box-shadow: none;
}

/* VIP销售页面样式 */
.vip-status-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    margin-bottom: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vip-status-card.vip {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-color: #f59e0b;
}

.vip-status-card h2 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.vip-status-card.vip h2 {
    color: white;
}

.vip-status-card p {
    color: #6b7280;
    margin: 0;
    font-size: 15px;
}

.vip-status-card.vip p {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pricing-card.popular {
    border-color: #2C43BB;
    border-width: 2px;
    box-shadow: 0 4px 16px rgba(44, 67, 187, 0.15);
}

.pricing-card.popular::before {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 24px;
    background: #2C43BB;
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: #2C43BB;
    margin-bottom: 8px;
}

.plan-currency {
    font-size: 16px;
    color: #6b7280;
    vertical-align: top;
}

.plan-days {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 15px;
}

.plan-description {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    color: #6b7280;
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.5;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
    font-size: 18px;
}

.vip-expires {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 8px;
    font-weight: 400;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resource-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .resource-actions {
        align-self: stretch;
    }
    
    .download-btn, .login-btn {
        width: 100%;
        justify-content: center;
    }
    
    .resource-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .about-content, .contact-content, .terms-content {
        gap: 16px;
    }
    
    .about-card, .contact-card, .terms-card {
        padding: 16px;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .activate-form-container {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .activate-form-card {
        padding: 24px 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .vip-expires {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
}